@darwinso/sdk 0.1.0 → 0.1.1
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/README.md +299 -13
- package/dist/cjs/BaseClient.d.ts +54 -0
- package/dist/cjs/BaseClient.js +77 -0
- package/dist/cjs/Client.d.ts +101 -0
- package/dist/cjs/Client.js +208 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +6 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +6 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +6 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +6 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +6 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +5 -0
- package/dist/cjs/api/errors/index.js +21 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/account/client/Client.d.ts +33 -0
- package/dist/cjs/api/resources/account/client/Client.js +120 -0
- package/dist/cjs/api/resources/account/client/index.js +2 -0
- package/dist/cjs/api/resources/account/exports.d.ts +2 -0
- package/dist/cjs/api/resources/account/exports.js +21 -0
- package/dist/cjs/api/resources/account/index.d.ts +1 -0
- package/dist/cjs/api/resources/account/index.js +17 -0
- package/dist/cjs/api/resources/ais/client/Client.d.ts +413 -0
- package/dist/cjs/api/resources/ais/client/Client.js +1385 -0
- package/dist/cjs/api/resources/ais/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/ais/client/index.js +17 -0
- package/dist/cjs/api/resources/ais/client/requests/BeginAiAssetUploadRequest.d.ts +37 -0
- package/dist/cjs/api/resources/ais/client/requests/BeginAiAssetUploadRequest.js +19 -0
- package/dist/cjs/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAccessPolicyRequest.d.ts +16 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAccessPolicyRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAiAssetRequest.d.ts +35 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAiAssetRequest.js +20 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAiInvitationRequest.d.ts +19 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAiInvitationRequest.js +11 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAiRequest.d.ts +26 -0
- package/dist/cjs/api/resources/ais/client/requests/CreateAiRequest.js +10 -0
- package/dist/cjs/api/resources/ais/client/requests/DeleteAiAssetRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ais/client/requests/DeleteAiAssetRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/GetAiRequest.d.ts +9 -0
- package/dist/cjs/api/resources/ais/client/requests/GetAiRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAccessPoliciesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAccessPoliciesRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiActivityRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiActivityRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiAssetsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiAssetsRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiInvitationsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiInvitationsRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiMembersRequest.d.ts +9 -0
- package/dist/cjs/api/resources/ais/client/requests/ListAiMembersRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/RemoveAiMemberRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ais/client/requests/RemoveAiMemberRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/RevokeAiInvitationRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ais/client/requests/RevokeAiInvitationRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAccessPolicyRequest.d.ts +16 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAccessPolicyRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAiAssetRequest.d.ts +22 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAiAssetRequest.js +11 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAiMemberRequest.d.ts +20 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAiMemberRequest.js +11 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAiRequest.d.ts +21 -0
- package/dist/cjs/api/resources/ais/client/requests/UpdateAiRequest.js +3 -0
- package/dist/cjs/api/resources/ais/client/requests/index.d.ts +19 -0
- package/dist/cjs/api/resources/ais/client/requests/index.js +15 -0
- package/dist/cjs/api/resources/ais/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ais/exports.js +21 -0
- package/dist/cjs/api/resources/ais/index.d.ts +2 -0
- package/dist/cjs/api/resources/ais/index.js +18 -0
- package/dist/cjs/api/resources/ais/types/CompleteAiAssetUploadResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/CompleteAiAssetUploadResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/CreateAccessPolicyResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/CreateAccessPolicyResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/CreateAiAssetResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/CreateAiAssetResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/CreateAiInvitationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/CreateAiInvitationResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/CreateAiResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/CreateAiResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/DeleteAiAssetResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/DeleteAiAssetResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/GetAiResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/GetAiResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/ListAIsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/ListAIsResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/ListAccessPoliciesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/ListAccessPoliciesResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/ListAiAssetsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/ListAiAssetsResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/ListAiInvitationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/ListAiInvitationsResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/ListAiMembersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/ListAiMembersResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/ListSkillCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/ListSkillCatalogResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/RemoveAiMemberResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/RemoveAiMemberResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/RevokeAiInvitationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/RevokeAiInvitationResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/UpdateAccessPolicyResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/UpdateAccessPolicyResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/UpdateAiAssetResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/UpdateAiAssetResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/UpdateAiMemberResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/UpdateAiMemberResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/UpdateAiResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ais/types/UpdateAiResponse.js +3 -0
- package/dist/cjs/api/resources/ais/types/index.d.ts +19 -0
- package/dist/cjs/api/resources/ais/types/index.js +35 -0
- package/dist/cjs/api/resources/applications/client/Client.d.ts +317 -0
- package/dist/cjs/api/resources/applications/client/Client.js +1063 -0
- package/dist/cjs/api/resources/applications/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/applications/client/index.js +17 -0
- package/dist/cjs/api/resources/applications/client/requests/ArchiveApplicationRequest.d.ts +9 -0
- package/dist/cjs/api/resources/applications/client/requests/ArchiveApplicationRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/CreateApplicationRequest.d.ts +30 -0
- package/dist/cjs/api/resources/applications/client/requests/CreateApplicationRequest.js +16 -0
- package/dist/cjs/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.d.ts +31 -0
- package/dist/cjs/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.js +16 -0
- package/dist/cjs/api/resources/applications/client/requests/CreateServiceAccountRequest.d.ts +54 -0
- package/dist/cjs/api/resources/applications/client/requests/CreateServiceAccountRequest.js +45 -0
- package/dist/cjs/api/resources/applications/client/requests/FundApplicationWalletRequest.d.ts +18 -0
- package/dist/cjs/api/resources/applications/client/requests/FundApplicationWalletRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/GetApplicationRequest.d.ts +9 -0
- package/dist/cjs/api/resources/applications/client/requests/GetApplicationRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/GetApplicationWalletRequest.d.ts +9 -0
- package/dist/cjs/api/resources/applications/client/requests/GetApplicationWalletRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/LinkApplicationAiRequest.d.ts +16 -0
- package/dist/cjs/api/resources/applications/client/requests/LinkApplicationAiRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/ListApplicationAIsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/applications/client/requests/ListApplicationAIsRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/ListEnrollmentLinksRequest.d.ts +9 -0
- package/dist/cjs/api/resources/applications/client/requests/ListEnrollmentLinksRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/ListServiceAccountsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/applications/client/requests/ListServiceAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.d.ts +11 -0
- package/dist/cjs/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/RevokeServiceAccountRequest.d.ts +11 -0
- package/dist/cjs/api/resources/applications/client/requests/RevokeServiceAccountRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/UnlinkApplicationAiRequest.d.ts +11 -0
- package/dist/cjs/api/resources/applications/client/requests/UnlinkApplicationAiRequest.js +3 -0
- package/dist/cjs/api/resources/applications/client/requests/UpdateApplicationRequest.d.ts +31 -0
- package/dist/cjs/api/resources/applications/client/requests/UpdateApplicationRequest.js +16 -0
- package/dist/cjs/api/resources/applications/client/requests/index.d.ts +15 -0
- package/dist/cjs/api/resources/applications/client/requests/index.js +11 -0
- package/dist/cjs/api/resources/applications/exports.d.ts +2 -0
- package/dist/cjs/api/resources/applications/exports.js +21 -0
- package/dist/cjs/api/resources/applications/index.d.ts +2 -0
- package/dist/cjs/api/resources/applications/index.js +18 -0
- package/dist/cjs/api/resources/applications/types/ArchiveApplicationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/ArchiveApplicationResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/CreateApplicationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/CreateApplicationResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/CreateEnrollmentLinkResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/CreateEnrollmentLinkResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/CreateServiceAccountResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/CreateServiceAccountResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/FundApplicationWalletResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/FundApplicationWalletResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/GetApplicationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/GetApplicationResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/GetApplicationWalletResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/GetApplicationWalletResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/LinkApplicationAiResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/LinkApplicationAiResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/ListApplicationAIsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/ListApplicationAIsResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/ListApplicationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/ListApplicationsResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/ListEnrollmentLinksResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/ListEnrollmentLinksResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/ListServiceAccountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/ListServiceAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/RevokeEnrollmentLinkResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/RevokeEnrollmentLinkResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/RevokeServiceAccountResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/RevokeServiceAccountResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/UnlinkApplicationAiResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/UnlinkApplicationAiResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/UpdateApplicationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/applications/types/UpdateApplicationResponse.js +3 -0
- package/dist/cjs/api/resources/applications/types/index.d.ts +16 -0
- package/dist/cjs/api/resources/applications/types/index.js +32 -0
- package/dist/cjs/api/resources/billing/client/Client.d.ts +184 -0
- package/dist/cjs/api/resources/billing/client/Client.js +598 -0
- package/dist/cjs/api/resources/billing/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/client/index.js +17 -0
- package/dist/cjs/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.d.ts +12 -0
- package/dist/cjs/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.d.ts +9 -0
- package/dist/cjs/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.d.ts +17 -0
- package/dist/cjs/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/GetAiBillingSummaryRequest.d.ts +10 -0
- package/dist/cjs/api/resources/billing/client/requests/GetAiBillingSummaryRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/ListAiBillingActivityRequest.d.ts +11 -0
- package/dist/cjs/api/resources/billing/client/requests/ListAiBillingActivityRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.d.ts +14 -0
- package/dist/cjs/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/UpdateMoneySettingsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/billing/client/requests/UpdateMoneySettingsRequest.js +11 -0
- package/dist/cjs/api/resources/billing/client/requests/WalletTopupRequest.d.ts +15 -0
- package/dist/cjs/api/resources/billing/client/requests/WalletTopupRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/billing/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/billing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/billing/exports.js +21 -0
- package/dist/cjs/api/resources/billing/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/index.js +17 -0
- package/dist/cjs/api/resources/connections/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/connections/client/Client.js +398 -0
- package/dist/cjs/api/resources/connections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/connections/client/index.js +17 -0
- package/dist/cjs/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.d.ts +11 -0
- package/dist/cjs/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.js +3 -0
- package/dist/cjs/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.d.ts +13 -0
- package/dist/cjs/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.js +3 -0
- package/dist/cjs/api/resources/connections/client/requests/DisableConnectionGrantRequest.d.ts +13 -0
- package/dist/cjs/api/resources/connections/client/requests/DisableConnectionGrantRequest.js +3 -0
- package/dist/cjs/api/resources/connections/client/requests/ListAiConnectionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/connections/client/requests/ListAiConnectionsRequest.js +3 -0
- package/dist/cjs/api/resources/connections/client/requests/RemoveAiConnectionRequest.d.ts +11 -0
- package/dist/cjs/api/resources/connections/client/requests/RemoveAiConnectionRequest.js +3 -0
- package/dist/cjs/api/resources/connections/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/connections/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/connections/exports.d.ts +2 -0
- package/dist/cjs/api/resources/connections/exports.js +21 -0
- package/dist/cjs/api/resources/connections/index.d.ts +2 -0
- package/dist/cjs/api/resources/connections/index.js +18 -0
- package/dist/cjs/api/resources/connections/types/ListAiConnectionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/connections/types/ListAiConnectionsResponse.js +3 -0
- package/dist/cjs/api/resources/connections/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/connections/types/index.js +17 -0
- package/dist/cjs/api/resources/conversations/client/Client.d.ts +125 -0
- package/dist/cjs/api/resources/conversations/client/Client.js +457 -0
- package/dist/cjs/api/resources/conversations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/conversations/client/index.js +17 -0
- package/dist/cjs/api/resources/conversations/client/requests/CreateAiConversationRequest.d.ts +9 -0
- package/dist/cjs/api/resources/conversations/client/requests/CreateAiConversationRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/CreateAiMessageRequest.d.ts +11 -0
- package/dist/cjs/api/resources/conversations/client/requests/CreateAiMessageRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/CreateConversationMessageRequest.d.ts +12 -0
- package/dist/cjs/api/resources/conversations/client/requests/CreateConversationMessageRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/GetConversationRequest.d.ts +11 -0
- package/dist/cjs/api/resources/conversations/client/requests/GetConversationRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.d.ts +10 -0
- package/dist/cjs/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/ListAiConversationsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/conversations/client/requests/ListAiConversationsRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/conversations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/exports.js +21 -0
- package/dist/cjs/api/resources/conversations/index.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/index.js +18 -0
- package/dist/cjs/api/resources/conversations/types/ListAiConversationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/conversations/types/ListAiConversationsResponse.js +3 -0
- package/dist/cjs/api/resources/conversations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/conversations/types/index.js +17 -0
- package/dist/cjs/api/resources/deals/client/Client.d.ts +130 -0
- package/dist/cjs/api/resources/deals/client/Client.js +455 -0
- package/dist/cjs/api/resources/deals/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/deals/client/index.js +17 -0
- package/dist/cjs/api/resources/deals/client/requests/CreateDealRequest.d.ts +37 -0
- package/dist/cjs/api/resources/deals/client/requests/CreateDealRequest.js +16 -0
- package/dist/cjs/api/resources/deals/client/requests/DealActionRequest.d.ts +20 -0
- package/dist/cjs/api/resources/deals/client/requests/DealActionRequest.js +13 -0
- package/dist/cjs/api/resources/deals/client/requests/GetDealRequest.d.ts +9 -0
- package/dist/cjs/api/resources/deals/client/requests/GetDealRequest.js +3 -0
- package/dist/cjs/api/resources/deals/client/requests/ListDealPaymentsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/deals/client/requests/ListDealPaymentsRequest.js +3 -0
- package/dist/cjs/api/resources/deals/client/requests/ListDealsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/deals/client/requests/ListDealsRequest.js +3 -0
- package/dist/cjs/api/resources/deals/client/requests/UpdateDealRequest.d.ts +15 -0
- package/dist/cjs/api/resources/deals/client/requests/UpdateDealRequest.js +3 -0
- package/dist/cjs/api/resources/deals/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/deals/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/deals/exports.d.ts +2 -0
- package/dist/cjs/api/resources/deals/exports.js +21 -0
- package/dist/cjs/api/resources/deals/index.d.ts +2 -0
- package/dist/cjs/api/resources/deals/index.js +18 -0
- package/dist/cjs/api/resources/deals/types/ActOnDealResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deals/types/ActOnDealResponse.js +3 -0
- package/dist/cjs/api/resources/deals/types/CreateDealResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deals/types/CreateDealResponse.js +3 -0
- package/dist/cjs/api/resources/deals/types/GetDealResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deals/types/GetDealResponse.js +3 -0
- package/dist/cjs/api/resources/deals/types/ListDealPaymentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deals/types/ListDealPaymentsResponse.js +3 -0
- package/dist/cjs/api/resources/deals/types/ListDealsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deals/types/ListDealsResponse.js +3 -0
- package/dist/cjs/api/resources/deals/types/UpdateDealResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deals/types/UpdateDealResponse.js +3 -0
- package/dist/cjs/api/resources/deals/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/deals/types/index.js +22 -0
- package/dist/cjs/api/resources/deployment/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/deployment/client/Client.js +204 -0
- package/dist/cjs/api/resources/deployment/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/deployment/client/index.js +17 -0
- package/dist/cjs/api/resources/deployment/client/requests/CreateAiDeploymentRequest.d.ts +24 -0
- package/dist/cjs/api/resources/deployment/client/requests/CreateAiDeploymentRequest.js +12 -0
- package/dist/cjs/api/resources/deployment/client/requests/GetAiDeploymentRequest.d.ts +9 -0
- package/dist/cjs/api/resources/deployment/client/requests/GetAiDeploymentRequest.js +3 -0
- package/dist/cjs/api/resources/deployment/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/deployment/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/deployment/exports.d.ts +2 -0
- package/dist/cjs/api/resources/deployment/exports.js +21 -0
- package/dist/cjs/api/resources/deployment/index.d.ts +2 -0
- package/dist/cjs/api/resources/deployment/index.js +18 -0
- package/dist/cjs/api/resources/deployment/types/CreateAiDeploymentRequestResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deployment/types/CreateAiDeploymentRequestResponse.js +3 -0
- package/dist/cjs/api/resources/deployment/types/GetAiDeploymentResponse.d.ts +4 -0
- package/dist/cjs/api/resources/deployment/types/GetAiDeploymentResponse.js +3 -0
- package/dist/cjs/api/resources/deployment/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/deployment/types/index.js +18 -0
- package/dist/cjs/api/resources/enrollment/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/enrollment/client/Client.js +209 -0
- package/dist/cjs/api/resources/enrollment/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/enrollment/client/index.js +17 -0
- package/dist/cjs/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.d.ts +12 -0
- package/dist/cjs/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.js +3 -0
- package/dist/cjs/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.d.ts +13 -0
- package/dist/cjs/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.js +3 -0
- package/dist/cjs/api/resources/enrollment/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/enrollment/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/enrollment/exports.d.ts +2 -0
- package/dist/cjs/api/resources/enrollment/exports.js +21 -0
- package/dist/cjs/api/resources/enrollment/index.d.ts +1 -0
- package/dist/cjs/api/resources/enrollment/index.js +17 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/Client.js +336 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/index.js +17 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.d.ts +29 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.d.ts +19 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.js +10 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.d.ts +11 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/ephemeralGoals/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/ephemeralGoals/exports.d.ts +2 -0
- package/dist/cjs/api/resources/ephemeralGoals/exports.js +21 -0
- package/dist/cjs/api/resources/ephemeralGoals/index.d.ts +2 -0
- package/dist/cjs/api/resources/ephemeralGoals/index.js +18 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.js +3 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/ephemeralGoals/types/index.js +20 -0
- package/dist/cjs/api/resources/goals/client/Client.d.ts +131 -0
- package/dist/cjs/api/resources/goals/client/Client.js +456 -0
- package/dist/cjs/api/resources/goals/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/goals/client/index.js +17 -0
- package/dist/cjs/api/resources/goals/client/requests/ActOnGoalRequest.d.ts +14 -0
- package/dist/cjs/api/resources/goals/client/requests/ActOnGoalRequest.js +3 -0
- package/dist/cjs/api/resources/goals/client/requests/GetGoalRequest.d.ts +11 -0
- package/dist/cjs/api/resources/goals/client/requests/GetGoalRequest.js +3 -0
- package/dist/cjs/api/resources/goals/client/requests/ListGoalsRequest.d.ts +11 -0
- package/dist/cjs/api/resources/goals/client/requests/ListGoalsRequest.js +3 -0
- package/dist/cjs/api/resources/goals/client/requests/RequestGoalPublicationRequest.d.ts +12 -0
- package/dist/cjs/api/resources/goals/client/requests/RequestGoalPublicationRequest.js +3 -0
- package/dist/cjs/api/resources/goals/client/requests/UpdateGoalBody.d.ts +12 -0
- package/dist/cjs/api/resources/goals/client/requests/UpdateGoalBody.js +3 -0
- package/dist/cjs/api/resources/goals/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/goals/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/goals/exports.d.ts +2 -0
- package/dist/cjs/api/resources/goals/exports.js +21 -0
- package/dist/cjs/api/resources/goals/index.d.ts +2 -0
- package/dist/cjs/api/resources/goals/index.js +18 -0
- package/dist/cjs/api/resources/goals/types/ActOnGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/goals/types/ActOnGoalResponse.js +3 -0
- package/dist/cjs/api/resources/goals/types/CreateGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/goals/types/CreateGoalResponse.js +3 -0
- package/dist/cjs/api/resources/goals/types/GetGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/goals/types/GetGoalResponse.js +3 -0
- package/dist/cjs/api/resources/goals/types/ListGoalsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/goals/types/ListGoalsResponse.js +3 -0
- package/dist/cjs/api/resources/goals/types/UpdateGoalResponse.d.ts +4 -0
- package/dist/cjs/api/resources/goals/types/UpdateGoalResponse.js +3 -0
- package/dist/cjs/api/resources/goals/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/goals/types/index.js +21 -0
- package/dist/cjs/api/resources/index.d.ts +71 -0
- package/dist/cjs/api/resources/index.js +110 -0
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +51 -0
- package/dist/cjs/api/resources/integrations/client/Client.js +180 -0
- package/dist/cjs/api/resources/integrations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/client/index.js +17 -0
- package/dist/cjs/api/resources/integrations/client/requests/GetAiIntegrationsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/integrations/client/requests/GetAiIntegrationsRequest.js +3 -0
- package/dist/cjs/api/resources/integrations/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/integrations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/integrations/exports.js +21 -0
- package/dist/cjs/api/resources/integrations/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/index.js +17 -0
- package/dist/cjs/api/resources/listings/client/Client.d.ts +161 -0
- package/dist/cjs/api/resources/listings/client/Client.js +544 -0
- package/dist/cjs/api/resources/listings/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/listings/client/index.js +17 -0
- package/dist/cjs/api/resources/listings/client/requests/ArchiveListingRequest.d.ts +13 -0
- package/dist/cjs/api/resources/listings/client/requests/ArchiveListingRequest.js +3 -0
- package/dist/cjs/api/resources/listings/client/requests/BatchUpsertListingsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/listings/client/requests/BatchUpsertListingsRequest.js +3 -0
- package/dist/cjs/api/resources/listings/client/requests/CreateListingBody.d.ts +15 -0
- package/dist/cjs/api/resources/listings/client/requests/CreateListingBody.js +3 -0
- package/dist/cjs/api/resources/listings/client/requests/CreateListingImportRequest.d.ts +25 -0
- package/dist/cjs/api/resources/listings/client/requests/CreateListingImportRequest.js +11 -0
- package/dist/cjs/api/resources/listings/client/requests/GetListingRequest.d.ts +11 -0
- package/dist/cjs/api/resources/listings/client/requests/GetListingRequest.js +3 -0
- package/dist/cjs/api/resources/listings/client/requests/ListListingsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/listings/client/requests/ListListingsRequest.js +3 -0
- package/dist/cjs/api/resources/listings/client/requests/UpdateListingRequest.d.ts +32 -0
- package/dist/cjs/api/resources/listings/client/requests/UpdateListingRequest.js +3 -0
- package/dist/cjs/api/resources/listings/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/listings/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/listings/exports.d.ts +2 -0
- package/dist/cjs/api/resources/listings/exports.js +21 -0
- package/dist/cjs/api/resources/listings/index.d.ts +2 -0
- package/dist/cjs/api/resources/listings/index.js +18 -0
- package/dist/cjs/api/resources/listings/types/ArchiveListingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/listings/types/ArchiveListingResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/BatchUpsertListingsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/listings/types/BatchUpsertListingsResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/CreateListingImportResponse.d.ts +4 -0
- package/dist/cjs/api/resources/listings/types/CreateListingImportResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/CreateListingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/listings/types/CreateListingResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/GetListingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/listings/types/GetListingResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/ListListingsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/listings/types/ListListingsResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/UpdateListingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/listings/types/UpdateListingResponse.js +3 -0
- package/dist/cjs/api/resources/listings/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/listings/types/index.js +23 -0
- package/dist/cjs/api/resources/network/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/network/client/Client.js +198 -0
- package/dist/cjs/api/resources/network/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/client/index.js +17 -0
- package/dist/cjs/api/resources/network/client/requests/BrowseNetworkRequest.d.ts +11 -0
- package/dist/cjs/api/resources/network/client/requests/BrowseNetworkRequest.js +3 -0
- package/dist/cjs/api/resources/network/client/requests/GetNetworkAiRequest.d.ts +10 -0
- package/dist/cjs/api/resources/network/client/requests/GetNetworkAiRequest.js +3 -0
- package/dist/cjs/api/resources/network/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/network/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/network/exports.d.ts +2 -0
- package/dist/cjs/api/resources/network/exports.js +21 -0
- package/dist/cjs/api/resources/network/index.d.ts +1 -0
- package/dist/cjs/api/resources/network/index.js +17 -0
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/notifications/client/Client.js +122 -0
- package/dist/cjs/api/resources/notifications/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/client/index.js +17 -0
- package/dist/cjs/api/resources/notifications/client/requests/GetAiNotificationsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/notifications/client/requests/GetAiNotificationsRequest.js +3 -0
- package/dist/cjs/api/resources/notifications/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/notifications/exports.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/exports.js +21 -0
- package/dist/cjs/api/resources/notifications/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/index.js +17 -0
- package/dist/cjs/api/resources/outcomes/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/outcomes/client/Client.js +266 -0
- package/dist/cjs/api/resources/outcomes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/outcomes/client/index.js +17 -0
- package/dist/cjs/api/resources/outcomes/client/requests/GetOutcomeRequest.d.ts +9 -0
- package/dist/cjs/api/resources/outcomes/client/requests/GetOutcomeRequest.js +3 -0
- package/dist/cjs/api/resources/outcomes/client/requests/ListOutcomesRequest.d.ts +8 -0
- package/dist/cjs/api/resources/outcomes/client/requests/ListOutcomesRequest.js +3 -0
- package/dist/cjs/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.d.ts +16 -0
- package/dist/cjs/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.js +3 -0
- package/dist/cjs/api/resources/outcomes/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/outcomes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/outcomes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/outcomes/exports.js +21 -0
- package/dist/cjs/api/resources/outcomes/index.d.ts +2 -0
- package/dist/cjs/api/resources/outcomes/index.js +18 -0
- package/dist/cjs/api/resources/outcomes/types/GetOutcomeResponse.d.ts +4 -0
- package/dist/cjs/api/resources/outcomes/types/GetOutcomeResponse.js +3 -0
- package/dist/cjs/api/resources/outcomes/types/ListOutcomesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/outcomes/types/ListOutcomesResponse.js +3 -0
- package/dist/cjs/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.d.ts +4 -0
- package/dist/cjs/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.js +3 -0
- package/dist/cjs/api/resources/outcomes/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/outcomes/types/index.js +19 -0
- package/dist/cjs/api/resources/permissions/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/permissions/client/Client.js +122 -0
- package/dist/cjs/api/resources/permissions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/permissions/client/index.js +17 -0
- package/dist/cjs/api/resources/permissions/client/requests/GetAiPermissionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/permissions/client/requests/GetAiPermissionsRequest.js +3 -0
- package/dist/cjs/api/resources/permissions/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/permissions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/permissions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/permissions/exports.js +21 -0
- package/dist/cjs/api/resources/permissions/index.d.ts +2 -0
- package/dist/cjs/api/resources/permissions/index.js +18 -0
- package/dist/cjs/api/resources/permissions/types/GetAiPermissionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/permissions/types/GetAiPermissionsResponse.js +3 -0
- package/dist/cjs/api/resources/permissions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/permissions/types/index.js +17 -0
- package/dist/cjs/api/resources/reputation/client/Client.d.ts +36 -0
- package/dist/cjs/api/resources/reputation/client/Client.js +124 -0
- package/dist/cjs/api/resources/reputation/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/reputation/client/index.js +17 -0
- package/dist/cjs/api/resources/reputation/client/requests/GetAiReputationRequest.d.ts +9 -0
- package/dist/cjs/api/resources/reputation/client/requests/GetAiReputationRequest.js +3 -0
- package/dist/cjs/api/resources/reputation/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/reputation/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/reputation/exports.d.ts +2 -0
- package/dist/cjs/api/resources/reputation/exports.js +21 -0
- package/dist/cjs/api/resources/reputation/index.d.ts +2 -0
- package/dist/cjs/api/resources/reputation/index.js +18 -0
- package/dist/cjs/api/resources/reputation/types/GetAiReputationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/reputation/types/GetAiReputationResponse.js +3 -0
- package/dist/cjs/api/resources/reputation/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/reputation/types/index.js +17 -0
- package/dist/cjs/api/resources/requests/client/Client.d.ts +54 -0
- package/dist/cjs/api/resources/requests/client/Client.js +207 -0
- package/dist/cjs/api/resources/requests/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/requests/client/index.js +17 -0
- package/dist/cjs/api/resources/requests/client/requests/ListRequestsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/requests/client/requests/ListRequestsRequest.js +3 -0
- package/dist/cjs/api/resources/requests/client/requests/RequestActionRequest.d.ts +25 -0
- package/dist/cjs/api/resources/requests/client/requests/RequestActionRequest.js +11 -0
- package/dist/cjs/api/resources/requests/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/requests/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/requests/exports.d.ts +2 -0
- package/dist/cjs/api/resources/requests/exports.js +21 -0
- package/dist/cjs/api/resources/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/requests/index.js +18 -0
- package/dist/cjs/api/resources/requests/types/ActOnRequestResponse.d.ts +4 -0
- package/dist/cjs/api/resources/requests/types/ActOnRequestResponse.js +3 -0
- package/dist/cjs/api/resources/requests/types/ListRequestsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/requests/types/ListRequestsResponse.js +3 -0
- package/dist/cjs/api/resources/requests/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/requests/types/index.js +18 -0
- package/dist/cjs/api/resources/skills/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/skills/client/Client.js +323 -0
- package/dist/cjs/api/resources/skills/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/skills/client/index.js +17 -0
- package/dist/cjs/api/resources/skills/client/requests/CreateAiSkillRequest.d.ts +32 -0
- package/dist/cjs/api/resources/skills/client/requests/CreateAiSkillRequest.js +16 -0
- package/dist/cjs/api/resources/skills/client/requests/DeleteAiSkillRequest.d.ts +11 -0
- package/dist/cjs/api/resources/skills/client/requests/DeleteAiSkillRequest.js +3 -0
- package/dist/cjs/api/resources/skills/client/requests/ListAiSkillsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/skills/client/requests/ListAiSkillsRequest.js +3 -0
- package/dist/cjs/api/resources/skills/client/requests/UpdateAiSkillRequest.d.ts +33 -0
- package/dist/cjs/api/resources/skills/client/requests/UpdateAiSkillRequest.js +16 -0
- package/dist/cjs/api/resources/skills/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/skills/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/skills/exports.d.ts +2 -0
- package/dist/cjs/api/resources/skills/exports.js +21 -0
- package/dist/cjs/api/resources/skills/index.d.ts +2 -0
- package/dist/cjs/api/resources/skills/index.js +18 -0
- package/dist/cjs/api/resources/skills/types/CreateAiSkillResponse.d.ts +4 -0
- package/dist/cjs/api/resources/skills/types/CreateAiSkillResponse.js +3 -0
- package/dist/cjs/api/resources/skills/types/DeleteAiSkillResponse.d.ts +4 -0
- package/dist/cjs/api/resources/skills/types/DeleteAiSkillResponse.js +3 -0
- package/dist/cjs/api/resources/skills/types/ListAiSkillsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/skills/types/ListAiSkillsResponse.js +3 -0
- package/dist/cjs/api/resources/skills/types/UpdateAiSkillResponse.d.ts +4 -0
- package/dist/cjs/api/resources/skills/types/UpdateAiSkillResponse.js +3 -0
- package/dist/cjs/api/resources/skills/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/skills/types/index.js +20 -0
- package/dist/cjs/api/resources/tasks/client/Client.d.ts +168 -0
- package/dist/cjs/api/resources/tasks/client/Client.js +538 -0
- package/dist/cjs/api/resources/tasks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/tasks/client/index.js +17 -0
- package/dist/cjs/api/resources/tasks/client/requests/ActOnTaskRequest.d.ts +14 -0
- package/dist/cjs/api/resources/tasks/client/requests/ActOnTaskRequest.js +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/GetTaskRequest.d.ts +11 -0
- package/dist/cjs/api/resources/tasks/client/requests/GetTaskRequest.js +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/ListTasksRequest.d.ts +11 -0
- package/dist/cjs/api/resources/tasks/client/requests/ListTasksRequest.js +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.js +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationRequest.js +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskBody.d.ts +12 -0
- package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskBody.js +3 -0
- package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/tasks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tasks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tasks/exports.js +21 -0
- package/dist/cjs/api/resources/tasks/index.d.ts +2 -0
- package/dist/cjs/api/resources/tasks/index.js +18 -0
- package/dist/cjs/api/resources/tasks/types/ActOnTaskResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tasks/types/ActOnTaskResponse.js +3 -0
- package/dist/cjs/api/resources/tasks/types/CreateTaskResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tasks/types/CreateTaskResponse.js +3 -0
- package/dist/cjs/api/resources/tasks/types/GetTaskResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tasks/types/GetTaskResponse.js +3 -0
- package/dist/cjs/api/resources/tasks/types/ListTasksResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tasks/types/ListTasksResponse.js +3 -0
- package/dist/cjs/api/resources/tasks/types/UpdateTaskResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tasks/types/UpdateTaskResponse.js +3 -0
- package/dist/cjs/api/resources/tasks/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/tasks/types/index.js +21 -0
- package/dist/cjs/api/resources/tools/client/Client.d.ts +51 -0
- package/dist/cjs/api/resources/tools/client/Client.js +195 -0
- package/dist/cjs/api/resources/tools/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/client/index.js +17 -0
- package/dist/cjs/api/resources/tools/client/requests/ExecuteToolRequest.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tools/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tools/exports.js +21 -0
- package/dist/cjs/api/resources/tools/index.d.ts +2 -0
- package/dist/cjs/api/resources/tools/index.js +18 -0
- package/dist/cjs/api/resources/tools/types/ListToolsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/tools/types/ListToolsResponse.js +3 -0
- package/dist/cjs/api/resources/tools/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/types/index.js +17 -0
- package/dist/cjs/api/resources/transactions/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/transactions/client/Client.js +336 -0
- package/dist/cjs/api/resources/transactions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/transactions/client/index.js +17 -0
- package/dist/cjs/api/resources/transactions/client/requests/CreateDealTransactionRequest.d.ts +12 -0
- package/dist/cjs/api/resources/transactions/client/requests/CreateDealTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/transactions/client/requests/GetTransactionRequest.d.ts +11 -0
- package/dist/cjs/api/resources/transactions/client/requests/GetTransactionRequest.js +3 -0
- package/dist/cjs/api/resources/transactions/client/requests/ListTransactionsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/client/requests/ListTransactionsRequest.js +3 -0
- package/dist/cjs/api/resources/transactions/client/requests/TransactionActionRequest.d.ts +23 -0
- package/dist/cjs/api/resources/transactions/client/requests/TransactionActionRequest.js +11 -0
- package/dist/cjs/api/resources/transactions/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/transactions/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/transactions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/exports.js +21 -0
- package/dist/cjs/api/resources/transactions/index.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/index.js +18 -0
- package/dist/cjs/api/resources/transactions/types/ActOnTransactionResponse.d.ts +4 -0
- package/dist/cjs/api/resources/transactions/types/ActOnTransactionResponse.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionResponse.d.ts +4 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionResponse.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponse.js +3 -0
- package/dist/cjs/api/resources/transactions/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/transactions/types/index.js +19 -0
- package/dist/cjs/api/resources/usage/client/Client.d.ts +36 -0
- package/dist/cjs/api/resources/usage/client/Client.js +124 -0
- package/dist/cjs/api/resources/usage/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/usage/client/index.js +17 -0
- package/dist/cjs/api/resources/usage/client/requests/GetAiUsageRequest.d.ts +9 -0
- package/dist/cjs/api/resources/usage/client/requests/GetAiUsageRequest.js +3 -0
- package/dist/cjs/api/resources/usage/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/usage/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/usage/exports.d.ts +2 -0
- package/dist/cjs/api/resources/usage/exports.js +21 -0
- package/dist/cjs/api/resources/usage/index.d.ts +2 -0
- package/dist/cjs/api/resources/usage/index.js +18 -0
- package/dist/cjs/api/resources/usage/types/GetAiUsageResponse.d.ts +4 -0
- package/dist/cjs/api/resources/usage/types/GetAiUsageResponse.js +3 -0
- package/dist/cjs/api/resources/usage/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/usage/types/index.js +17 -0
- package/dist/cjs/api/resources/verification/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/verification/client/Client.js +122 -0
- package/dist/cjs/api/resources/verification/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/verification/client/index.js +17 -0
- package/dist/cjs/api/resources/verification/client/requests/GetAiVerificationRequest.d.ts +9 -0
- package/dist/cjs/api/resources/verification/client/requests/GetAiVerificationRequest.js +3 -0
- package/dist/cjs/api/resources/verification/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/verification/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/verification/exports.d.ts +2 -0
- package/dist/cjs/api/resources/verification/exports.js +21 -0
- package/dist/cjs/api/resources/verification/index.d.ts +2 -0
- package/dist/cjs/api/resources/verification/index.js +18 -0
- package/dist/cjs/api/resources/verification/types/GetAiVerificationResponse.d.ts +4 -0
- package/dist/cjs/api/resources/verification/types/GetAiVerificationResponse.js +3 -0
- package/dist/cjs/api/resources/verification/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/verification/types/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +390 -0
- package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.d.ts +34 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.js +25 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.d.ts +12 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +9 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RevokeWebhookRequest.d.ts +11 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RevokeWebhookRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/index.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhookResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhookResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhookDeliveriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhookDeliveriesResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/RetryWebhookDeliveryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/RetryWebhookDeliveryResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/RevokeWebhookResponse.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/RevokeWebhookResponse.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +21 -0
- package/dist/cjs/api/types/AccessPolicy.d.ts +22 -0
- package/dist/cjs/api/types/AccessPolicy.js +11 -0
- package/dist/cjs/api/types/AccessPolicyRule.d.ts +14 -0
- package/dist/cjs/api/types/AccessPolicyRule.js +3 -0
- package/dist/cjs/api/types/Account.d.ts +11 -0
- package/dist/cjs/api/types/Account.js +3 -0
- package/dist/cjs/api/types/Ai.d.ts +31 -0
- package/dist/cjs/api/types/Ai.js +16 -0
- package/dist/cjs/api/types/AiActivity.d.ts +11 -0
- package/dist/cjs/api/types/AiActivity.js +3 -0
- package/dist/cjs/api/types/AiActivityPage.d.ts +5 -0
- package/dist/cjs/api/types/AiActivityPage.js +3 -0
- package/dist/cjs/api/types/AiAsset.d.ts +33 -0
- package/dist/cjs/api/types/AiAsset.js +20 -0
- package/dist/cjs/api/types/AiAssetUpload.d.ts +19 -0
- package/dist/cjs/api/types/AiAssetUpload.js +13 -0
- package/dist/cjs/api/types/AiBillingAccount.d.ts +13 -0
- package/dist/cjs/api/types/AiBillingAccount.js +12 -0
- package/dist/cjs/api/types/AiBillingActivityPage.d.ts +20 -0
- package/dist/cjs/api/types/AiBillingActivityPage.js +3 -0
- package/dist/cjs/api/types/AiBillingSummary.d.ts +24 -0
- package/dist/cjs/api/types/AiBillingSummary.js +10 -0
- package/dist/cjs/api/types/AiDeployment.d.ts +15 -0
- package/dist/cjs/api/types/AiDeployment.js +12 -0
- package/dist/cjs/api/types/AiDeploymentRequest.d.ts +17 -0
- package/dist/cjs/api/types/AiDeploymentRequest.js +12 -0
- package/dist/cjs/api/types/AiInvitation.d.ts +15 -0
- package/dist/cjs/api/types/AiInvitation.js +11 -0
- package/dist/cjs/api/types/AiMember.d.ts +21 -0
- package/dist/cjs/api/types/AiMember.js +12 -0
- package/dist/cjs/api/types/AiNotifications.d.ts +4 -0
- package/dist/cjs/api/types/AiNotifications.js +3 -0
- package/dist/cjs/api/types/AiPermissions.d.ts +15 -0
- package/dist/cjs/api/types/AiPermissions.js +12 -0
- package/dist/cjs/api/types/AiReputation.d.ts +22 -0
- package/dist/cjs/api/types/AiReputation.js +13 -0
- package/dist/cjs/api/types/AiSkill.d.ts +33 -0
- package/dist/cjs/api/types/AiSkill.js +16 -0
- package/dist/cjs/api/types/AiSkillCatalogEntry.d.ts +30 -0
- package/dist/cjs/api/types/AiSkillCatalogEntry.js +24 -0
- package/dist/cjs/api/types/AiUsage.d.ts +22 -0
- package/dist/cjs/api/types/AiUsage.js +13 -0
- package/dist/cjs/api/types/AiVerification.d.ts +5 -0
- package/dist/cjs/api/types/AiVerification.js +3 -0
- package/dist/cjs/api/types/AiWalletBalance.d.ts +15 -0
- package/dist/cjs/api/types/AiWalletBalance.js +3 -0
- package/dist/cjs/api/types/Application.d.ts +41 -0
- package/dist/cjs/api/types/Application.js +20 -0
- package/dist/cjs/api/types/ApplicationAiLink.d.ts +41 -0
- package/dist/cjs/api/types/ApplicationAiLink.js +18 -0
- package/dist/cjs/api/types/ApplicationWallet.d.ts +10 -0
- package/dist/cjs/api/types/ApplicationWallet.js +3 -0
- package/dist/cjs/api/types/Approval.d.ts +26 -0
- package/dist/cjs/api/types/Approval.js +13 -0
- package/dist/cjs/api/types/ApprovalResult.d.ts +5 -0
- package/dist/cjs/api/types/ApprovalResult.js +3 -0
- package/dist/cjs/api/types/AutoTopupSettings.d.ts +5 -0
- package/dist/cjs/api/types/AutoTopupSettings.js +3 -0
- package/dist/cjs/api/types/Connection.d.ts +4 -0
- package/dist/cjs/api/types/Connection.js +3 -0
- package/dist/cjs/api/types/ConnectionAuthorizationCompletion.d.ts +5 -0
- package/dist/cjs/api/types/ConnectionAuthorizationCompletion.js +3 -0
- package/dist/cjs/api/types/ConnectionAuthorizationSession.d.ts +1 -0
- package/dist/cjs/api/types/ConnectionAuthorizationSession.js +3 -0
- package/dist/cjs/api/types/ConnectionGrantDisableResult.d.ts +3 -0
- package/dist/cjs/api/types/ConnectionGrantDisableResult.js +3 -0
- package/dist/cjs/api/types/ConnectionRemovalResult.d.ts +4 -0
- package/dist/cjs/api/types/ConnectionRemovalResult.js +3 -0
- package/dist/cjs/api/types/ConversationMessage.d.ts +16 -0
- package/dist/cjs/api/types/ConversationMessage.js +11 -0
- package/dist/cjs/api/types/ConversationPage.d.ts +6 -0
- package/dist/cjs/api/types/ConversationPage.js +3 -0
- package/dist/cjs/api/types/ConversationSummary.d.ts +21 -0
- package/dist/cjs/api/types/ConversationSummary.js +13 -0
- package/dist/cjs/api/types/ConversationTurn.d.ts +5 -0
- package/dist/cjs/api/types/ConversationTurn.js +3 -0
- package/dist/cjs/api/types/CreateGoalRequest.d.ts +31 -0
- package/dist/cjs/api/types/CreateGoalRequest.js +17 -0
- package/dist/cjs/api/types/CreateListingRequest.d.ts +21 -0
- package/dist/cjs/api/types/CreateListingRequest.js +3 -0
- package/dist/cjs/api/types/CreateTaskRequest.d.ts +2 -0
- package/dist/cjs/api/types/CreateTaskRequest.js +3 -0
- package/dist/cjs/api/types/CreatedEnrollmentLink.d.ts +6 -0
- package/dist/cjs/api/types/CreatedEnrollmentLink.js +3 -0
- package/dist/cjs/api/types/CreatedServiceAccount.d.ts +5 -0
- package/dist/cjs/api/types/CreatedServiceAccount.js +3 -0
- package/dist/cjs/api/types/CreatedWebhook.d.ts +5 -0
- package/dist/cjs/api/types/CreatedWebhook.js +3 -0
- package/dist/cjs/api/types/Deal.d.ts +46 -0
- package/dist/cjs/api/types/Deal.js +23 -0
- package/dist/cjs/api/types/DeletedResource.d.ts +10 -0
- package/dist/cjs/api/types/DeletedResource.js +10 -0
- package/dist/cjs/api/types/EnrollmentBatch.d.ts +20 -0
- package/dist/cjs/api/types/EnrollmentBatch.js +13 -0
- package/dist/cjs/api/types/EnrollmentBatchItem.d.ts +18 -0
- package/dist/cjs/api/types/EnrollmentBatchItem.js +13 -0
- package/dist/cjs/api/types/EnrollmentBatchResult.d.ts +11 -0
- package/dist/cjs/api/types/EnrollmentBatchResult.js +3 -0
- package/dist/cjs/api/types/EnrollmentLink.d.ts +30 -0
- package/dist/cjs/api/types/EnrollmentLink.js +16 -0
- package/dist/cjs/api/types/EphemeralGoal.d.ts +38 -0
- package/dist/cjs/api/types/EphemeralGoal.js +21 -0
- package/dist/cjs/api/types/Error_.js +3 -0
- package/dist/cjs/api/types/FeeRate.d.ts +4 -0
- package/dist/cjs/api/types/FeeRate.js +3 -0
- package/dist/cjs/api/types/Goal.d.ts +51 -0
- package/dist/cjs/api/types/Goal.js +27 -0
- package/dist/cjs/api/types/GoalActionRequest.d.ts +13 -0
- package/dist/cjs/api/types/GoalActionRequest.js +13 -0
- package/dist/cjs/api/types/IntegrationCatalog.d.ts +1 -0
- package/dist/cjs/api/types/IntegrationCatalog.js +3 -0
- package/dist/cjs/api/types/Integrations.d.ts +11 -0
- package/dist/cjs/api/types/Integrations.js +3 -0
- package/dist/cjs/api/types/Listing.d.ts +26 -0
- package/dist/cjs/api/types/Listing.js +3 -0
- package/dist/cjs/api/types/ListingImport.d.ts +30 -0
- package/dist/cjs/api/types/ListingImport.js +21 -0
- package/dist/cjs/api/types/ListingPricing.d.ts +21 -0
- package/dist/cjs/api/types/ListingPricing.js +16 -0
- package/dist/cjs/api/types/ListingSelection.d.ts +5 -0
- package/dist/cjs/api/types/ListingSelection.js +3 -0
- package/dist/cjs/api/types/ListingStatus.d.ts +7 -0
- package/dist/cjs/api/types/ListingStatus.js +10 -0
- package/dist/cjs/api/types/ListingType.d.ts +10 -0
- package/dist/cjs/api/types/ListingType.js +13 -0
- package/dist/cjs/api/types/ListingVariant.d.ts +13 -0
- package/dist/cjs/api/types/ListingVariant.js +3 -0
- package/dist/cjs/api/types/ListingVisibility.d.ts +5 -0
- package/dist/cjs/api/types/ListingVisibility.js +8 -0
- package/dist/cjs/api/types/NetworkAiCard.d.ts +24 -0
- package/dist/cjs/api/types/NetworkAiCard.js +3 -0
- package/dist/cjs/api/types/NetworkAiProfile.d.ts +23 -0
- package/dist/cjs/api/types/NetworkAiProfile.js +13 -0
- package/dist/cjs/api/types/NetworkAiResult.d.ts +13 -0
- package/dist/cjs/api/types/NetworkAiResult.js +3 -0
- package/dist/cjs/api/types/NetworkBrowseResult.d.ts +16 -0
- package/dist/cjs/api/types/NetworkBrowseResult.js +3 -0
- package/dist/cjs/api/types/NetworkCategory.d.ts +12 -0
- package/dist/cjs/api/types/NetworkCategory.js +15 -0
- package/dist/cjs/api/types/NetworkListing.d.ts +17 -0
- package/dist/cjs/api/types/NetworkListing.js +3 -0
- package/dist/cjs/api/types/Outcome.d.ts +17 -0
- package/dist/cjs/api/types/Outcome.js +3 -0
- package/dist/cjs/api/types/OutcomeEvidence.d.ts +47 -0
- package/dist/cjs/api/types/OutcomeEvidence.js +29 -0
- package/dist/cjs/api/types/Payment.d.ts +19 -0
- package/dist/cjs/api/types/Payment.js +3 -0
- package/dist/cjs/api/types/PaymentIntentClientDetails.d.ts +4 -0
- package/dist/cjs/api/types/PaymentIntentClientDetails.js +3 -0
- package/dist/cjs/api/types/Payout.d.ts +9 -0
- package/dist/cjs/api/types/Payout.js +3 -0
- package/dist/cjs/api/types/PayoutSetup.d.ts +3 -0
- package/dist/cjs/api/types/PayoutSetup.js +3 -0
- package/dist/cjs/api/types/PublicationRequest.d.ts +5 -0
- package/dist/cjs/api/types/PublicationRequest.js +3 -0
- package/dist/cjs/api/types/PublicationRequestResult.d.ts +5 -0
- package/dist/cjs/api/types/PublicationRequestResult.js +3 -0
- package/dist/cjs/api/types/Request.d.ts +40 -0
- package/dist/cjs/api/types/Request.js +19 -0
- package/dist/cjs/api/types/ServiceAccount.d.ts +60 -0
- package/dist/cjs/api/types/ServiceAccount.js +49 -0
- package/dist/cjs/api/types/Task.d.ts +5 -0
- package/dist/cjs/api/types/Task.js +3 -0
- package/dist/cjs/api/types/TaskActionRequest.d.ts +2 -0
- package/dist/cjs/api/types/TaskActionRequest.js +3 -0
- package/dist/cjs/api/types/Tool.d.ts +30 -0
- package/dist/cjs/api/types/Tool.js +25 -0
- package/dist/cjs/api/types/ToolExecution.d.ts +5 -0
- package/dist/cjs/api/types/ToolExecution.js +3 -0
- package/dist/cjs/api/types/Transaction.d.ts +40 -0
- package/dist/cjs/api/types/Transaction.js +11 -0
- package/dist/cjs/api/types/TransactionFundingResult.d.ts +15 -0
- package/dist/cjs/api/types/TransactionFundingResult.js +11 -0
- package/dist/cjs/api/types/UpdateGoalRequest.d.ts +32 -0
- package/dist/cjs/api/types/UpdateGoalRequest.js +20 -0
- package/dist/cjs/api/types/UpdateTaskRequest.d.ts +2 -0
- package/dist/cjs/api/types/UpdateTaskRequest.js +3 -0
- package/dist/cjs/api/types/Visibility.d.ts +6 -0
- package/dist/cjs/api/types/Visibility.js +9 -0
- package/dist/cjs/api/types/WalletTopupIntent.d.ts +13 -0
- package/dist/cjs/api/types/WalletTopupIntent.js +10 -0
- package/dist/cjs/api/types/WalletWithdrawal.d.ts +23 -0
- package/dist/cjs/api/types/WalletWithdrawal.js +17 -0
- package/dist/cjs/api/types/Webhook.d.ts +20 -0
- package/dist/cjs/api/types/Webhook.js +11 -0
- package/dist/cjs/api/types/WebhookDelivery.d.ts +23 -0
- package/dist/cjs/api/types/WebhookDelivery.js +13 -0
- package/dist/cjs/api/types/WithdrawalQuote.d.ts +20 -0
- package/dist/cjs/api/types/WithdrawalQuote.js +14 -0
- package/dist/cjs/api/types/WithdrawalRequest.d.ts +11 -0
- package/dist/cjs/api/types/WithdrawalRequest.js +11 -0
- package/dist/cjs/api/types/WorkMode.d.ts +7 -0
- package/dist/cjs/api/types/WorkMode.js +10 -0
- package/dist/cjs/api/types/index.d.ts +97 -0
- package/dist/cjs/api/types/index.js +113 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +79 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +11 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +244 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +80 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +157 -0
- package/dist/cjs/core/fetcher/makeRequest.js +61 -0
- package/dist/cjs/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +70 -0
- package/dist/cjs/core/fetcher/signals.js +32 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +6 -0
- package/dist/cjs/core/index.js +45 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +6 -0
- package/dist/cjs/core/runtime/runtime.js +176 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +11 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.js +76 -0
- package/dist/cjs/environments.js +7 -0
- package/dist/cjs/errors/DarwinError.d.ts +15 -0
- package/dist/cjs/errors/DarwinError.js +39 -0
- package/dist/cjs/errors/DarwinTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/DarwinTimeoutError.js +52 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.js +48 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.mjs +40 -0
- package/dist/esm/Client.d.mts +101 -0
- package/dist/esm/Client.mjs +171 -0
- package/dist/esm/api/errors/TooManyRequestsError.d.mts +6 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +5 -0
- package/dist/esm/api/errors/index.mjs +5 -0
- package/dist/esm/api/resources/account/client/Client.d.mts +33 -0
- package/dist/esm/api/resources/account/client/Client.mjs +83 -0
- package/dist/esm/api/resources/account/exports.d.mts +2 -0
- package/dist/esm/api/resources/account/exports.mjs +3 -0
- package/dist/esm/api/resources/ais/client/Client.d.mts +413 -0
- package/dist/esm/api/resources/ais/client/Client.mjs +1348 -0
- package/dist/esm/api/resources/ais/client/requests/BeginAiAssetUploadRequest.d.mts +37 -0
- package/dist/esm/api/resources/ais/client/requests/BeginAiAssetUploadRequest.mjs +16 -0
- package/dist/esm/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.d.mts +11 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAccessPolicyRequest.d.mts +16 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAiAssetRequest.d.mts +35 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAiAssetRequest.mjs +17 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAiInvitationRequest.d.mts +19 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAiInvitationRequest.mjs +8 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAiRequest.d.mts +26 -0
- package/dist/esm/api/resources/ais/client/requests/CreateAiRequest.mjs +7 -0
- package/dist/esm/api/resources/ais/client/requests/DeleteAiAssetRequest.d.mts +11 -0
- package/dist/esm/api/resources/ais/client/requests/GetAiRequest.d.mts +9 -0
- package/dist/esm/api/resources/ais/client/requests/ListAccessPoliciesRequest.d.mts +9 -0
- package/dist/esm/api/resources/ais/client/requests/ListAiActivityRequest.d.mts +11 -0
- package/dist/esm/api/resources/ais/client/requests/ListAiAssetsRequest.d.mts +9 -0
- package/dist/esm/api/resources/ais/client/requests/ListAiInvitationsRequest.d.mts +9 -0
- package/dist/esm/api/resources/ais/client/requests/ListAiMembersRequest.d.mts +9 -0
- package/dist/esm/api/resources/ais/client/requests/RemoveAiMemberRequest.d.mts +11 -0
- package/dist/esm/api/resources/ais/client/requests/RevokeAiInvitationRequest.d.mts +11 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAccessPolicyRequest.d.mts +16 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAiAssetRequest.d.mts +22 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAiAssetRequest.mjs +8 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAiMemberRequest.d.mts +20 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAiMemberRequest.mjs +8 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAiRequest.d.mts +21 -0
- package/dist/esm/api/resources/ais/client/requests/UpdateAiRequest.mjs +2 -0
- package/dist/esm/api/resources/ais/client/requests/index.d.mts +19 -0
- package/dist/esm/api/resources/ais/client/requests/index.mjs +6 -0
- package/dist/esm/api/resources/ais/exports.d.mts +2 -0
- package/dist/esm/api/resources/ais/exports.mjs +3 -0
- package/dist/esm/api/resources/ais/types/CompleteAiAssetUploadResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/CompleteAiAssetUploadResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/CreateAccessPolicyResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/CreateAccessPolicyResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/CreateAiAssetResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/CreateAiAssetResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/CreateAiInvitationResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/CreateAiInvitationResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/CreateAiResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/CreateAiResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/DeleteAiAssetResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/DeleteAiAssetResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/GetAiResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/GetAiResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/ListAIsResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/ListAIsResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/ListAccessPoliciesResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/ListAccessPoliciesResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/ListAiAssetsResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/ListAiAssetsResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/ListAiInvitationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/ListAiInvitationsResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/ListAiMembersResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/ListAiMembersResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/ListSkillCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/ListSkillCatalogResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/RemoveAiMemberResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/RemoveAiMemberResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/RevokeAiInvitationResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/RevokeAiInvitationResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/UpdateAccessPolicyResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/UpdateAccessPolicyResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/UpdateAiAssetResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/UpdateAiAssetResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/UpdateAiMemberResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/UpdateAiMemberResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/UpdateAiResponse.d.mts +4 -0
- package/dist/esm/api/resources/ais/types/UpdateAiResponse.mjs +2 -0
- package/dist/esm/api/resources/ais/types/index.d.mts +19 -0
- package/dist/esm/api/resources/ais/types/index.mjs +19 -0
- package/dist/esm/api/resources/applications/client/Client.d.mts +317 -0
- package/dist/esm/api/resources/applications/client/Client.mjs +1026 -0
- package/dist/esm/api/resources/applications/client/requests/ArchiveApplicationRequest.d.mts +9 -0
- package/dist/esm/api/resources/applications/client/requests/ArchiveApplicationRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/CreateApplicationRequest.d.mts +30 -0
- package/dist/esm/api/resources/applications/client/requests/CreateApplicationRequest.mjs +13 -0
- package/dist/esm/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.d.mts +31 -0
- package/dist/esm/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.mjs +13 -0
- package/dist/esm/api/resources/applications/client/requests/CreateServiceAccountRequest.d.mts +54 -0
- package/dist/esm/api/resources/applications/client/requests/CreateServiceAccountRequest.mjs +42 -0
- package/dist/esm/api/resources/applications/client/requests/FundApplicationWalletRequest.d.mts +18 -0
- package/dist/esm/api/resources/applications/client/requests/FundApplicationWalletRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/GetApplicationRequest.d.mts +9 -0
- package/dist/esm/api/resources/applications/client/requests/GetApplicationRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/GetApplicationWalletRequest.d.mts +9 -0
- package/dist/esm/api/resources/applications/client/requests/GetApplicationWalletRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/LinkApplicationAiRequest.d.mts +16 -0
- package/dist/esm/api/resources/applications/client/requests/LinkApplicationAiRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/ListApplicationAIsRequest.d.mts +9 -0
- package/dist/esm/api/resources/applications/client/requests/ListApplicationAIsRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/ListEnrollmentLinksRequest.d.mts +9 -0
- package/dist/esm/api/resources/applications/client/requests/ListEnrollmentLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/ListServiceAccountsRequest.d.mts +9 -0
- package/dist/esm/api/resources/applications/client/requests/ListServiceAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.d.mts +11 -0
- package/dist/esm/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/RevokeServiceAccountRequest.d.mts +11 -0
- package/dist/esm/api/resources/applications/client/requests/RevokeServiceAccountRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/UnlinkApplicationAiRequest.d.mts +11 -0
- package/dist/esm/api/resources/applications/client/requests/UnlinkApplicationAiRequest.mjs +2 -0
- package/dist/esm/api/resources/applications/client/requests/UpdateApplicationRequest.d.mts +31 -0
- package/dist/esm/api/resources/applications/client/requests/UpdateApplicationRequest.mjs +13 -0
- package/dist/esm/api/resources/applications/client/requests/index.d.mts +15 -0
- package/dist/esm/api/resources/applications/client/requests/index.mjs +4 -0
- package/dist/esm/api/resources/applications/exports.d.mts +2 -0
- package/dist/esm/api/resources/applications/exports.mjs +3 -0
- package/dist/esm/api/resources/applications/types/ArchiveApplicationResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/ArchiveApplicationResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/CreateApplicationResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/CreateApplicationResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/CreateEnrollmentLinkResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/CreateEnrollmentLinkResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/CreateServiceAccountResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/CreateServiceAccountResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/FundApplicationWalletResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/FundApplicationWalletResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/GetApplicationResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/GetApplicationResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/GetApplicationWalletResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/GetApplicationWalletResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/LinkApplicationAiResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/LinkApplicationAiResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/ListApplicationAIsResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/ListApplicationAIsResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/ListApplicationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/ListApplicationsResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/ListEnrollmentLinksResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/ListEnrollmentLinksResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/ListServiceAccountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/ListServiceAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/RevokeEnrollmentLinkResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/RevokeEnrollmentLinkResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/RevokeServiceAccountResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/RevokeServiceAccountResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/UnlinkApplicationAiResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/UnlinkApplicationAiResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/UpdateApplicationResponse.d.mts +4 -0
- package/dist/esm/api/resources/applications/types/UpdateApplicationResponse.mjs +2 -0
- package/dist/esm/api/resources/applications/types/index.d.mts +16 -0
- package/dist/esm/api/resources/applications/types/index.mjs +16 -0
- package/dist/esm/api/resources/billing/client/Client.d.mts +184 -0
- package/dist/esm/api/resources/billing/client/Client.mjs +561 -0
- package/dist/esm/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.d.mts +12 -0
- package/dist/esm/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.d.mts +9 -0
- package/dist/esm/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.d.mts +17 -0
- package/dist/esm/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/GetAiBillingSummaryRequest.d.mts +10 -0
- package/dist/esm/api/resources/billing/client/requests/GetAiBillingSummaryRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/ListAiBillingActivityRequest.d.mts +11 -0
- package/dist/esm/api/resources/billing/client/requests/ListAiBillingActivityRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.d.mts +14 -0
- package/dist/esm/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/UpdateMoneySettingsRequest.d.mts +20 -0
- package/dist/esm/api/resources/billing/client/requests/UpdateMoneySettingsRequest.mjs +8 -0
- package/dist/esm/api/resources/billing/client/requests/WalletTopupRequest.d.mts +15 -0
- package/dist/esm/api/resources/billing/client/requests/WalletTopupRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/billing/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/exports.d.mts +2 -0
- package/dist/esm/api/resources/billing/exports.mjs +3 -0
- package/dist/esm/api/resources/connections/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/connections/client/Client.mjs +361 -0
- package/dist/esm/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.d.mts +11 -0
- package/dist/esm/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.mjs +2 -0
- package/dist/esm/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.d.mts +13 -0
- package/dist/esm/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.mjs +2 -0
- package/dist/esm/api/resources/connections/client/requests/DisableConnectionGrantRequest.d.mts +13 -0
- package/dist/esm/api/resources/connections/client/requests/DisableConnectionGrantRequest.mjs +2 -0
- package/dist/esm/api/resources/connections/client/requests/ListAiConnectionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/connections/client/requests/ListAiConnectionsRequest.mjs +2 -0
- package/dist/esm/api/resources/connections/client/requests/RemoveAiConnectionRequest.d.mts +11 -0
- package/dist/esm/api/resources/connections/client/requests/RemoveAiConnectionRequest.mjs +2 -0
- package/dist/esm/api/resources/connections/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/connections/exports.d.mts +2 -0
- package/dist/esm/api/resources/connections/exports.mjs +3 -0
- package/dist/esm/api/resources/connections/types/ListAiConnectionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/connections/types/ListAiConnectionsResponse.mjs +2 -0
- package/dist/esm/api/resources/connections/types/index.d.mts +1 -0
- package/dist/esm/api/resources/connections/types/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/client/Client.d.mts +125 -0
- package/dist/esm/api/resources/conversations/client/Client.mjs +420 -0
- package/dist/esm/api/resources/conversations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/conversations/client/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/client/requests/CreateAiConversationRequest.d.mts +9 -0
- package/dist/esm/api/resources/conversations/client/requests/CreateAiConversationRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/CreateAiMessageRequest.d.mts +11 -0
- package/dist/esm/api/resources/conversations/client/requests/CreateAiMessageRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/CreateConversationMessageRequest.d.mts +12 -0
- package/dist/esm/api/resources/conversations/client/requests/CreateConversationMessageRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/GetConversationRequest.d.mts +11 -0
- package/dist/esm/api/resources/conversations/client/requests/GetConversationRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.d.mts +10 -0
- package/dist/esm/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/ListAiConversationsRequest.d.mts +9 -0
- package/dist/esm/api/resources/conversations/client/requests/ListAiConversationsRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
- package/dist/esm/api/resources/conversations/exports.mjs +3 -0
- package/dist/esm/api/resources/conversations/index.d.mts +2 -0
- package/dist/esm/api/resources/conversations/index.mjs +2 -0
- package/dist/esm/api/resources/conversations/types/ListAiConversationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/conversations/types/ListAiConversationsResponse.mjs +2 -0
- package/dist/esm/api/resources/conversations/types/index.d.mts +1 -0
- package/dist/esm/api/resources/conversations/types/index.mjs +1 -0
- package/dist/esm/api/resources/deals/client/Client.d.mts +130 -0
- package/dist/esm/api/resources/deals/client/Client.mjs +418 -0
- package/dist/esm/api/resources/deals/client/index.d.mts +1 -0
- package/dist/esm/api/resources/deals/client/index.mjs +1 -0
- package/dist/esm/api/resources/deals/client/requests/CreateDealRequest.d.mts +37 -0
- package/dist/esm/api/resources/deals/client/requests/CreateDealRequest.mjs +13 -0
- package/dist/esm/api/resources/deals/client/requests/DealActionRequest.d.mts +20 -0
- package/dist/esm/api/resources/deals/client/requests/DealActionRequest.mjs +10 -0
- package/dist/esm/api/resources/deals/client/requests/GetDealRequest.d.mts +9 -0
- package/dist/esm/api/resources/deals/client/requests/GetDealRequest.mjs +2 -0
- package/dist/esm/api/resources/deals/client/requests/ListDealPaymentsRequest.d.mts +9 -0
- package/dist/esm/api/resources/deals/client/requests/ListDealPaymentsRequest.mjs +2 -0
- package/dist/esm/api/resources/deals/client/requests/ListDealsRequest.d.mts +8 -0
- package/dist/esm/api/resources/deals/client/requests/ListDealsRequest.mjs +2 -0
- package/dist/esm/api/resources/deals/client/requests/UpdateDealRequest.d.mts +15 -0
- package/dist/esm/api/resources/deals/client/requests/UpdateDealRequest.mjs +2 -0
- package/dist/esm/api/resources/deals/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/deals/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/deals/exports.d.mts +2 -0
- package/dist/esm/api/resources/deals/exports.mjs +3 -0
- package/dist/esm/api/resources/deals/index.d.mts +2 -0
- package/dist/esm/api/resources/deals/index.mjs +2 -0
- package/dist/esm/api/resources/deals/types/ActOnDealResponse.d.mts +4 -0
- package/dist/esm/api/resources/deals/types/ActOnDealResponse.mjs +2 -0
- package/dist/esm/api/resources/deals/types/CreateDealResponse.d.mts +4 -0
- package/dist/esm/api/resources/deals/types/CreateDealResponse.mjs +2 -0
- package/dist/esm/api/resources/deals/types/GetDealResponse.d.mts +4 -0
- package/dist/esm/api/resources/deals/types/GetDealResponse.mjs +2 -0
- package/dist/esm/api/resources/deals/types/ListDealPaymentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/deals/types/ListDealPaymentsResponse.mjs +2 -0
- package/dist/esm/api/resources/deals/types/ListDealsResponse.d.mts +4 -0
- package/dist/esm/api/resources/deals/types/ListDealsResponse.mjs +2 -0
- package/dist/esm/api/resources/deals/types/UpdateDealResponse.d.mts +4 -0
- package/dist/esm/api/resources/deals/types/UpdateDealResponse.mjs +2 -0
- package/dist/esm/api/resources/deals/types/index.d.mts +6 -0
- package/dist/esm/api/resources/deals/types/index.mjs +6 -0
- package/dist/esm/api/resources/deployment/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/deployment/client/Client.mjs +167 -0
- package/dist/esm/api/resources/deployment/client/index.d.mts +1 -0
- package/dist/esm/api/resources/deployment/client/index.mjs +1 -0
- package/dist/esm/api/resources/deployment/client/requests/CreateAiDeploymentRequest.d.mts +24 -0
- package/dist/esm/api/resources/deployment/client/requests/CreateAiDeploymentRequest.mjs +9 -0
- package/dist/esm/api/resources/deployment/client/requests/GetAiDeploymentRequest.d.mts +9 -0
- package/dist/esm/api/resources/deployment/client/requests/GetAiDeploymentRequest.mjs +2 -0
- package/dist/esm/api/resources/deployment/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/deployment/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/deployment/exports.d.mts +2 -0
- package/dist/esm/api/resources/deployment/exports.mjs +3 -0
- package/dist/esm/api/resources/deployment/index.d.mts +2 -0
- package/dist/esm/api/resources/deployment/index.mjs +2 -0
- package/dist/esm/api/resources/deployment/types/CreateAiDeploymentRequestResponse.d.mts +4 -0
- package/dist/esm/api/resources/deployment/types/CreateAiDeploymentRequestResponse.mjs +2 -0
- package/dist/esm/api/resources/deployment/types/GetAiDeploymentResponse.d.mts +4 -0
- package/dist/esm/api/resources/deployment/types/GetAiDeploymentResponse.mjs +2 -0
- package/dist/esm/api/resources/deployment/types/index.d.mts +2 -0
- package/dist/esm/api/resources/deployment/types/index.mjs +2 -0
- package/dist/esm/api/resources/enrollment/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/enrollment/client/Client.mjs +172 -0
- package/dist/esm/api/resources/enrollment/client/index.d.mts +1 -0
- package/dist/esm/api/resources/enrollment/client/index.mjs +1 -0
- package/dist/esm/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.d.mts +12 -0
- package/dist/esm/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.mjs +2 -0
- package/dist/esm/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.d.mts +13 -0
- package/dist/esm/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.mjs +2 -0
- package/dist/esm/api/resources/enrollment/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/enrollment/exports.d.mts +2 -0
- package/dist/esm/api/resources/enrollment/exports.mjs +3 -0
- package/dist/esm/api/resources/enrollment/index.d.mts +1 -0
- package/dist/esm/api/resources/enrollment/index.mjs +1 -0
- package/dist/esm/api/resources/ephemeralGoals/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/ephemeralGoals/client/Client.mjs +299 -0
- package/dist/esm/api/resources/ephemeralGoals/client/index.d.mts +1 -0
- package/dist/esm/api/resources/ephemeralGoals/client/index.mjs +1 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.d.mts +11 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.d.mts +29 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.d.mts +19 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.mjs +7 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.d.mts +11 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/ephemeralGoals/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/ephemeralGoals/exports.d.mts +2 -0
- package/dist/esm/api/resources/ephemeralGoals/exports.mjs +3 -0
- package/dist/esm/api/resources/ephemeralGoals/index.d.mts +2 -0
- package/dist/esm/api/resources/ephemeralGoals/index.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/ephemeralGoals/types/index.d.mts +4 -0
- package/dist/esm/api/resources/ephemeralGoals/types/index.mjs +4 -0
- package/dist/esm/api/resources/goals/client/Client.d.mts +131 -0
- package/dist/esm/api/resources/goals/client/Client.mjs +419 -0
- package/dist/esm/api/resources/goals/client/index.d.mts +1 -0
- package/dist/esm/api/resources/goals/client/index.mjs +1 -0
- package/dist/esm/api/resources/goals/client/requests/ActOnGoalRequest.d.mts +14 -0
- package/dist/esm/api/resources/goals/client/requests/ActOnGoalRequest.mjs +2 -0
- package/dist/esm/api/resources/goals/client/requests/GetGoalRequest.d.mts +11 -0
- package/dist/esm/api/resources/goals/client/requests/GetGoalRequest.mjs +2 -0
- package/dist/esm/api/resources/goals/client/requests/ListGoalsRequest.d.mts +11 -0
- package/dist/esm/api/resources/goals/client/requests/ListGoalsRequest.mjs +2 -0
- package/dist/esm/api/resources/goals/client/requests/RequestGoalPublicationRequest.d.mts +12 -0
- package/dist/esm/api/resources/goals/client/requests/RequestGoalPublicationRequest.mjs +2 -0
- package/dist/esm/api/resources/goals/client/requests/UpdateGoalBody.d.mts +12 -0
- package/dist/esm/api/resources/goals/client/requests/UpdateGoalBody.mjs +2 -0
- package/dist/esm/api/resources/goals/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/goals/index.d.mts +2 -0
- package/dist/esm/api/resources/goals/index.mjs +2 -0
- package/dist/esm/api/resources/goals/types/ActOnGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/goals/types/ActOnGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/goals/types/CreateGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/goals/types/CreateGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/goals/types/GetGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/goals/types/GetGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/goals/types/ListGoalsResponse.mjs +2 -0
- package/dist/esm/api/resources/goals/types/UpdateGoalResponse.d.mts +4 -0
- package/dist/esm/api/resources/goals/types/UpdateGoalResponse.mjs +2 -0
- package/dist/esm/api/resources/goals/types/index.d.mts +5 -0
- package/dist/esm/api/resources/goals/types/index.mjs +5 -0
- package/dist/esm/api/resources/index.d.mts +71 -0
- package/dist/esm/api/resources/index.mjs +71 -0
- package/dist/esm/api/resources/integrations/client/Client.d.mts +51 -0
- package/dist/esm/api/resources/integrations/client/Client.mjs +143 -0
- package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/client/requests/GetAiIntegrationsRequest.d.mts +9 -0
- package/dist/esm/api/resources/integrations/client/requests/GetAiIntegrationsRequest.mjs +2 -0
- package/dist/esm/api/resources/integrations/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/index.mjs +1 -0
- package/dist/esm/api/resources/listings/client/Client.d.mts +161 -0
- package/dist/esm/api/resources/listings/client/Client.mjs +507 -0
- package/dist/esm/api/resources/listings/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listings/client/index.mjs +1 -0
- package/dist/esm/api/resources/listings/client/requests/ArchiveListingRequest.d.mts +13 -0
- package/dist/esm/api/resources/listings/client/requests/ArchiveListingRequest.mjs +2 -0
- package/dist/esm/api/resources/listings/client/requests/BatchUpsertListingsRequest.d.mts +15 -0
- package/dist/esm/api/resources/listings/client/requests/BatchUpsertListingsRequest.mjs +2 -0
- package/dist/esm/api/resources/listings/client/requests/CreateListingBody.d.mts +15 -0
- package/dist/esm/api/resources/listings/client/requests/CreateListingBody.mjs +2 -0
- package/dist/esm/api/resources/listings/client/requests/CreateListingImportRequest.d.mts +25 -0
- package/dist/esm/api/resources/listings/client/requests/CreateListingImportRequest.mjs +8 -0
- package/dist/esm/api/resources/listings/client/requests/GetListingRequest.d.mts +11 -0
- package/dist/esm/api/resources/listings/client/requests/GetListingRequest.mjs +2 -0
- package/dist/esm/api/resources/listings/client/requests/ListListingsRequest.d.mts +16 -0
- package/dist/esm/api/resources/listings/client/requests/ListListingsRequest.mjs +2 -0
- package/dist/esm/api/resources/listings/client/requests/UpdateListingRequest.d.mts +32 -0
- package/dist/esm/api/resources/listings/client/requests/UpdateListingRequest.mjs +2 -0
- package/dist/esm/api/resources/listings/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/listings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listings/exports.d.mts +2 -0
- package/dist/esm/api/resources/listings/exports.mjs +3 -0
- package/dist/esm/api/resources/listings/index.d.mts +2 -0
- package/dist/esm/api/resources/listings/index.mjs +2 -0
- package/dist/esm/api/resources/listings/types/ArchiveListingResponse.d.mts +4 -0
- package/dist/esm/api/resources/listings/types/ArchiveListingResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/BatchUpsertListingsResponse.d.mts +3 -0
- package/dist/esm/api/resources/listings/types/BatchUpsertListingsResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/CreateListingImportResponse.d.mts +4 -0
- package/dist/esm/api/resources/listings/types/CreateListingImportResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/CreateListingResponse.d.mts +4 -0
- package/dist/esm/api/resources/listings/types/CreateListingResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/GetListingResponse.d.mts +4 -0
- package/dist/esm/api/resources/listings/types/GetListingResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/ListListingsResponse.d.mts +5 -0
- package/dist/esm/api/resources/listings/types/ListListingsResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/UpdateListingResponse.d.mts +4 -0
- package/dist/esm/api/resources/listings/types/UpdateListingResponse.mjs +2 -0
- package/dist/esm/api/resources/listings/types/index.d.mts +7 -0
- package/dist/esm/api/resources/listings/types/index.mjs +7 -0
- package/dist/esm/api/resources/network/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/network/client/Client.mjs +161 -0
- package/dist/esm/api/resources/network/client/index.d.mts +1 -0
- package/dist/esm/api/resources/network/client/index.mjs +1 -0
- package/dist/esm/api/resources/network/client/requests/BrowseNetworkRequest.d.mts +11 -0
- package/dist/esm/api/resources/network/client/requests/BrowseNetworkRequest.mjs +2 -0
- package/dist/esm/api/resources/network/client/requests/GetNetworkAiRequest.d.mts +10 -0
- package/dist/esm/api/resources/network/client/requests/GetNetworkAiRequest.mjs +2 -0
- package/dist/esm/api/resources/network/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/network/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/network/exports.d.mts +2 -0
- package/dist/esm/api/resources/network/exports.mjs +3 -0
- package/dist/esm/api/resources/network/index.d.mts +1 -0
- package/dist/esm/api/resources/network/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/notifications/client/Client.mjs +85 -0
- package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/client/requests/GetAiNotificationsRequest.d.mts +9 -0
- package/dist/esm/api/resources/notifications/client/requests/GetAiNotificationsRequest.mjs +2 -0
- package/dist/esm/api/resources/notifications/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/exports.d.mts +2 -0
- package/dist/esm/api/resources/notifications/exports.mjs +3 -0
- package/dist/esm/api/resources/notifications/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/index.mjs +1 -0
- package/dist/esm/api/resources/outcomes/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/outcomes/client/Client.mjs +229 -0
- package/dist/esm/api/resources/outcomes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/outcomes/client/index.mjs +1 -0
- package/dist/esm/api/resources/outcomes/client/requests/GetOutcomeRequest.d.mts +9 -0
- package/dist/esm/api/resources/outcomes/client/requests/GetOutcomeRequest.mjs +2 -0
- package/dist/esm/api/resources/outcomes/client/requests/ListOutcomesRequest.d.mts +8 -0
- package/dist/esm/api/resources/outcomes/client/requests/ListOutcomesRequest.mjs +2 -0
- package/dist/esm/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.d.mts +16 -0
- package/dist/esm/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.mjs +2 -0
- package/dist/esm/api/resources/outcomes/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/outcomes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/outcomes/exports.d.mts +2 -0
- package/dist/esm/api/resources/outcomes/exports.mjs +3 -0
- package/dist/esm/api/resources/outcomes/index.d.mts +2 -0
- package/dist/esm/api/resources/outcomes/index.mjs +2 -0
- package/dist/esm/api/resources/outcomes/types/GetOutcomeResponse.d.mts +4 -0
- package/dist/esm/api/resources/outcomes/types/GetOutcomeResponse.mjs +2 -0
- package/dist/esm/api/resources/outcomes/types/ListOutcomesResponse.d.mts +4 -0
- package/dist/esm/api/resources/outcomes/types/ListOutcomesResponse.mjs +2 -0
- package/dist/esm/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.d.mts +4 -0
- package/dist/esm/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.mjs +2 -0
- package/dist/esm/api/resources/outcomes/types/index.d.mts +3 -0
- package/dist/esm/api/resources/outcomes/types/index.mjs +3 -0
- package/dist/esm/api/resources/permissions/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/permissions/client/Client.mjs +85 -0
- package/dist/esm/api/resources/permissions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/permissions/client/index.mjs +1 -0
- package/dist/esm/api/resources/permissions/client/requests/GetAiPermissionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/permissions/client/requests/GetAiPermissionsRequest.mjs +2 -0
- package/dist/esm/api/resources/permissions/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/permissions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/permissions/exports.d.mts +2 -0
- package/dist/esm/api/resources/permissions/exports.mjs +3 -0
- package/dist/esm/api/resources/permissions/index.d.mts +2 -0
- package/dist/esm/api/resources/permissions/index.mjs +2 -0
- package/dist/esm/api/resources/permissions/types/GetAiPermissionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/permissions/types/GetAiPermissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/permissions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/permissions/types/index.mjs +1 -0
- package/dist/esm/api/resources/reputation/client/Client.d.mts +36 -0
- package/dist/esm/api/resources/reputation/client/Client.mjs +87 -0
- package/dist/esm/api/resources/reputation/client/index.d.mts +1 -0
- package/dist/esm/api/resources/reputation/client/index.mjs +1 -0
- package/dist/esm/api/resources/reputation/client/requests/GetAiReputationRequest.d.mts +9 -0
- package/dist/esm/api/resources/reputation/client/requests/GetAiReputationRequest.mjs +2 -0
- package/dist/esm/api/resources/reputation/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/reputation/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/reputation/exports.d.mts +2 -0
- package/dist/esm/api/resources/reputation/exports.mjs +3 -0
- package/dist/esm/api/resources/reputation/index.d.mts +2 -0
- package/dist/esm/api/resources/reputation/index.mjs +2 -0
- package/dist/esm/api/resources/reputation/types/GetAiReputationResponse.d.mts +4 -0
- package/dist/esm/api/resources/reputation/types/GetAiReputationResponse.mjs +2 -0
- package/dist/esm/api/resources/reputation/types/index.d.mts +1 -0
- package/dist/esm/api/resources/reputation/types/index.mjs +1 -0
- package/dist/esm/api/resources/requests/client/Client.d.mts +54 -0
- package/dist/esm/api/resources/requests/client/Client.mjs +170 -0
- package/dist/esm/api/resources/requests/client/index.d.mts +1 -0
- package/dist/esm/api/resources/requests/client/index.mjs +1 -0
- package/dist/esm/api/resources/requests/client/requests/ListRequestsRequest.d.mts +9 -0
- package/dist/esm/api/resources/requests/client/requests/ListRequestsRequest.mjs +2 -0
- package/dist/esm/api/resources/requests/client/requests/RequestActionRequest.d.mts +25 -0
- package/dist/esm/api/resources/requests/client/requests/RequestActionRequest.mjs +8 -0
- package/dist/esm/api/resources/requests/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/requests/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/requests/exports.d.mts +2 -0
- package/dist/esm/api/resources/requests/exports.mjs +3 -0
- package/dist/esm/api/resources/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/requests/index.mjs +2 -0
- package/dist/esm/api/resources/requests/types/ActOnRequestResponse.d.mts +4 -0
- package/dist/esm/api/resources/requests/types/ActOnRequestResponse.mjs +2 -0
- package/dist/esm/api/resources/requests/types/ListRequestsResponse.d.mts +4 -0
- package/dist/esm/api/resources/requests/types/ListRequestsResponse.mjs +2 -0
- package/dist/esm/api/resources/requests/types/index.d.mts +2 -0
- package/dist/esm/api/resources/requests/types/index.mjs +2 -0
- package/dist/esm/api/resources/skills/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/skills/client/Client.mjs +286 -0
- package/dist/esm/api/resources/skills/client/index.d.mts +1 -0
- package/dist/esm/api/resources/skills/client/index.mjs +1 -0
- package/dist/esm/api/resources/skills/client/requests/CreateAiSkillRequest.d.mts +32 -0
- package/dist/esm/api/resources/skills/client/requests/CreateAiSkillRequest.mjs +13 -0
- package/dist/esm/api/resources/skills/client/requests/DeleteAiSkillRequest.d.mts +11 -0
- package/dist/esm/api/resources/skills/client/requests/DeleteAiSkillRequest.mjs +2 -0
- package/dist/esm/api/resources/skills/client/requests/ListAiSkillsRequest.d.mts +9 -0
- package/dist/esm/api/resources/skills/client/requests/ListAiSkillsRequest.mjs +2 -0
- package/dist/esm/api/resources/skills/client/requests/UpdateAiSkillRequest.d.mts +33 -0
- package/dist/esm/api/resources/skills/client/requests/UpdateAiSkillRequest.mjs +13 -0
- package/dist/esm/api/resources/skills/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/skills/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/skills/exports.d.mts +2 -0
- package/dist/esm/api/resources/skills/exports.mjs +3 -0
- package/dist/esm/api/resources/skills/index.d.mts +2 -0
- package/dist/esm/api/resources/skills/index.mjs +2 -0
- package/dist/esm/api/resources/skills/types/CreateAiSkillResponse.d.mts +4 -0
- package/dist/esm/api/resources/skills/types/CreateAiSkillResponse.mjs +2 -0
- package/dist/esm/api/resources/skills/types/DeleteAiSkillResponse.d.mts +4 -0
- package/dist/esm/api/resources/skills/types/DeleteAiSkillResponse.mjs +2 -0
- package/dist/esm/api/resources/skills/types/ListAiSkillsResponse.d.mts +4 -0
- package/dist/esm/api/resources/skills/types/ListAiSkillsResponse.mjs +2 -0
- package/dist/esm/api/resources/skills/types/UpdateAiSkillResponse.d.mts +4 -0
- package/dist/esm/api/resources/skills/types/UpdateAiSkillResponse.mjs +2 -0
- package/dist/esm/api/resources/skills/types/index.d.mts +4 -0
- package/dist/esm/api/resources/skills/types/index.mjs +4 -0
- package/dist/esm/api/resources/tasks/client/Client.d.mts +168 -0
- package/dist/esm/api/resources/tasks/client/Client.mjs +501 -0
- package/dist/esm/api/resources/tasks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/tasks/client/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/client/requests/ActOnTaskRequest.d.mts +14 -0
- package/dist/esm/api/resources/tasks/client/requests/ActOnTaskRequest.mjs +2 -0
- package/dist/esm/api/resources/tasks/client/requests/GetTaskRequest.d.mts +11 -0
- package/dist/esm/api/resources/tasks/client/requests/GetTaskRequest.mjs +2 -0
- package/dist/esm/api/resources/tasks/client/requests/ListTasksRequest.d.mts +11 -0
- package/dist/esm/api/resources/tasks/client/requests/ListTasksRequest.mjs +2 -0
- package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.d.mts +12 -0
- package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.mjs +2 -0
- package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationRequest.d.mts +12 -0
- package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationRequest.mjs +2 -0
- package/dist/esm/api/resources/tasks/client/requests/UpdateTaskBody.d.mts +12 -0
- package/dist/esm/api/resources/tasks/client/requests/UpdateTaskBody.mjs +2 -0
- package/dist/esm/api/resources/tasks/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/tasks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/exports.d.mts +2 -0
- package/dist/esm/api/resources/tasks/exports.mjs +3 -0
- package/dist/esm/api/resources/tasks/index.d.mts +2 -0
- package/dist/esm/api/resources/tasks/index.mjs +2 -0
- package/dist/esm/api/resources/tasks/types/ActOnTaskResponse.d.mts +4 -0
- package/dist/esm/api/resources/tasks/types/ActOnTaskResponse.mjs +2 -0
- package/dist/esm/api/resources/tasks/types/CreateTaskResponse.d.mts +4 -0
- package/dist/esm/api/resources/tasks/types/CreateTaskResponse.mjs +2 -0
- package/dist/esm/api/resources/tasks/types/GetTaskResponse.d.mts +4 -0
- package/dist/esm/api/resources/tasks/types/GetTaskResponse.mjs +2 -0
- package/dist/esm/api/resources/tasks/types/ListTasksResponse.d.mts +4 -0
- package/dist/esm/api/resources/tasks/types/ListTasksResponse.mjs +2 -0
- package/dist/esm/api/resources/tasks/types/UpdateTaskResponse.d.mts +4 -0
- package/dist/esm/api/resources/tasks/types/UpdateTaskResponse.mjs +2 -0
- package/dist/esm/api/resources/tasks/types/index.d.mts +5 -0
- package/dist/esm/api/resources/tasks/types/index.mjs +5 -0
- package/dist/esm/api/resources/tools/client/Client.d.mts +51 -0
- package/dist/esm/api/resources/tools/client/Client.mjs +158 -0
- package/dist/esm/api/resources/tools/client/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/client/requests/ExecuteToolRequest.d.mts +10 -0
- package/dist/esm/api/resources/tools/client/requests/ExecuteToolRequest.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tools/index.d.mts +2 -0
- package/dist/esm/api/resources/tools/index.mjs +2 -0
- package/dist/esm/api/resources/tools/types/ListToolsResponse.mjs +2 -0
- package/dist/esm/api/resources/transactions/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/transactions/client/Client.mjs +299 -0
- package/dist/esm/api/resources/transactions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/transactions/client/index.mjs +1 -0
- package/dist/esm/api/resources/transactions/client/requests/CreateDealTransactionRequest.d.mts +12 -0
- package/dist/esm/api/resources/transactions/client/requests/CreateDealTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/transactions/client/requests/GetTransactionRequest.d.mts +11 -0
- package/dist/esm/api/resources/transactions/client/requests/GetTransactionRequest.mjs +2 -0
- package/dist/esm/api/resources/transactions/client/requests/ListTransactionsRequest.d.mts +8 -0
- package/dist/esm/api/resources/transactions/client/requests/ListTransactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/transactions/client/requests/TransactionActionRequest.d.mts +23 -0
- package/dist/esm/api/resources/transactions/client/requests/TransactionActionRequest.mjs +8 -0
- package/dist/esm/api/resources/transactions/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/transactions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/transactions/exports.d.mts +2 -0
- package/dist/esm/api/resources/transactions/exports.mjs +3 -0
- package/dist/esm/api/resources/transactions/index.d.mts +2 -0
- package/dist/esm/api/resources/transactions/index.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ActOnTransactionResponse.d.mts +4 -0
- package/dist/esm/api/resources/transactions/types/ActOnTransactionResponse.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionResponse.d.mts +4 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionResponse.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponse.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/index.d.mts +3 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +3 -0
- package/dist/esm/api/resources/usage/client/Client.d.mts +36 -0
- package/dist/esm/api/resources/usage/client/Client.mjs +87 -0
- package/dist/esm/api/resources/usage/client/index.d.mts +1 -0
- package/dist/esm/api/resources/usage/client/index.mjs +1 -0
- package/dist/esm/api/resources/usage/client/requests/GetAiUsageRequest.d.mts +9 -0
- package/dist/esm/api/resources/usage/client/requests/GetAiUsageRequest.mjs +2 -0
- package/dist/esm/api/resources/usage/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/usage/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/usage/exports.d.mts +2 -0
- package/dist/esm/api/resources/usage/exports.mjs +3 -0
- package/dist/esm/api/resources/usage/index.d.mts +2 -0
- package/dist/esm/api/resources/usage/index.mjs +2 -0
- package/dist/esm/api/resources/usage/types/GetAiUsageResponse.d.mts +4 -0
- package/dist/esm/api/resources/usage/types/GetAiUsageResponse.mjs +2 -0
- package/dist/esm/api/resources/usage/types/index.d.mts +1 -0
- package/dist/esm/api/resources/usage/types/index.mjs +1 -0
- package/dist/esm/api/resources/verification/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/verification/client/Client.mjs +85 -0
- package/dist/esm/api/resources/verification/client/index.d.mts +1 -0
- package/dist/esm/api/resources/verification/client/index.mjs +1 -0
- package/dist/esm/api/resources/verification/client/requests/GetAiVerificationRequest.d.mts +9 -0
- package/dist/esm/api/resources/verification/client/requests/GetAiVerificationRequest.mjs +2 -0
- package/dist/esm/api/resources/verification/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/verification/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/verification/exports.d.mts +2 -0
- package/dist/esm/api/resources/verification/exports.mjs +3 -0
- package/dist/esm/api/resources/verification/index.d.mts +2 -0
- package/dist/esm/api/resources/verification/index.mjs +2 -0
- package/dist/esm/api/resources/verification/types/GetAiVerificationResponse.d.mts +4 -0
- package/dist/esm/api/resources/verification/types/GetAiVerificationResponse.mjs +2 -0
- package/dist/esm/api/resources/verification/types/index.d.mts +1 -0
- package/dist/esm/api/resources/verification/types/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +353 -0
- package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.d.mts +34 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.mjs +22 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.d.mts +12 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.d.mts +9 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/RevokeWebhookRequest.d.mts +11 -0
- package/dist/esm/api/resources/webhooks/client/requests/RevokeWebhookRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/index.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhookResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhookResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhookDeliveriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhookDeliveriesResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/RetryWebhookDeliveryResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/RetryWebhookDeliveryResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/RevokeWebhookResponse.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/RevokeWebhookResponse.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +5 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +5 -0
- package/dist/esm/api/types/AccessPolicy.d.mts +22 -0
- package/dist/esm/api/types/AccessPolicy.mjs +8 -0
- package/dist/esm/api/types/AccessPolicyRule.d.mts +14 -0
- package/dist/esm/api/types/AccessPolicyRule.mjs +2 -0
- package/dist/esm/api/types/Account.d.mts +11 -0
- package/dist/esm/api/types/Account.mjs +2 -0
- package/dist/esm/api/types/Ai.d.mts +31 -0
- package/dist/esm/api/types/Ai.mjs +13 -0
- package/dist/esm/api/types/AiActivity.d.mts +11 -0
- package/dist/esm/api/types/AiActivity.mjs +2 -0
- package/dist/esm/api/types/AiActivityPage.d.mts +5 -0
- package/dist/esm/api/types/AiActivityPage.mjs +2 -0
- package/dist/esm/api/types/AiAsset.d.mts +33 -0
- package/dist/esm/api/types/AiAsset.mjs +17 -0
- package/dist/esm/api/types/AiAssetUpload.d.mts +19 -0
- package/dist/esm/api/types/AiAssetUpload.mjs +10 -0
- package/dist/esm/api/types/AiBillingAccount.d.mts +13 -0
- package/dist/esm/api/types/AiBillingAccount.mjs +9 -0
- package/dist/esm/api/types/AiBillingActivityPage.d.mts +20 -0
- package/dist/esm/api/types/AiBillingActivityPage.mjs +2 -0
- package/dist/esm/api/types/AiBillingSummary.d.mts +24 -0
- package/dist/esm/api/types/AiBillingSummary.mjs +7 -0
- package/dist/esm/api/types/AiDeployment.d.mts +15 -0
- package/dist/esm/api/types/AiDeployment.mjs +9 -0
- package/dist/esm/api/types/AiDeploymentRequest.d.mts +17 -0
- package/dist/esm/api/types/AiDeploymentRequest.mjs +9 -0
- package/dist/esm/api/types/AiInvitation.d.mts +15 -0
- package/dist/esm/api/types/AiInvitation.mjs +8 -0
- package/dist/esm/api/types/AiMember.d.mts +21 -0
- package/dist/esm/api/types/AiMember.mjs +9 -0
- package/dist/esm/api/types/AiNotifications.d.mts +4 -0
- package/dist/esm/api/types/AiNotifications.mjs +2 -0
- package/dist/esm/api/types/AiPermissions.d.mts +15 -0
- package/dist/esm/api/types/AiPermissions.mjs +9 -0
- package/dist/esm/api/types/AiReputation.d.mts +22 -0
- package/dist/esm/api/types/AiReputation.mjs +10 -0
- package/dist/esm/api/types/AiSkill.d.mts +33 -0
- package/dist/esm/api/types/AiSkill.mjs +13 -0
- package/dist/esm/api/types/AiSkillCatalogEntry.d.mts +30 -0
- package/dist/esm/api/types/AiSkillCatalogEntry.mjs +21 -0
- package/dist/esm/api/types/AiUsage.d.mts +22 -0
- package/dist/esm/api/types/AiUsage.mjs +10 -0
- package/dist/esm/api/types/AiVerification.d.mts +5 -0
- package/dist/esm/api/types/AiVerification.mjs +2 -0
- package/dist/esm/api/types/AiWalletBalance.d.mts +15 -0
- package/dist/esm/api/types/AiWalletBalance.mjs +2 -0
- package/dist/esm/api/types/Application.d.mts +41 -0
- package/dist/esm/api/types/Application.mjs +17 -0
- package/dist/esm/api/types/ApplicationAiLink.d.mts +41 -0
- package/dist/esm/api/types/ApplicationAiLink.mjs +15 -0
- package/dist/esm/api/types/ApplicationWallet.d.mts +10 -0
- package/dist/esm/api/types/ApplicationWallet.mjs +2 -0
- package/dist/esm/api/types/Approval.d.mts +26 -0
- package/dist/esm/api/types/Approval.mjs +10 -0
- package/dist/esm/api/types/ApprovalResult.d.mts +5 -0
- package/dist/esm/api/types/ApprovalResult.mjs +2 -0
- package/dist/esm/api/types/AutoTopupSettings.d.mts +5 -0
- package/dist/esm/api/types/AutoTopupSettings.mjs +2 -0
- package/dist/esm/api/types/Connection.d.mts +4 -0
- package/dist/esm/api/types/Connection.mjs +2 -0
- package/dist/esm/api/types/ConnectionAuthorizationCompletion.d.mts +5 -0
- package/dist/esm/api/types/ConnectionAuthorizationCompletion.mjs +2 -0
- package/dist/esm/api/types/ConnectionAuthorizationSession.d.mts +1 -0
- package/dist/esm/api/types/ConnectionAuthorizationSession.mjs +2 -0
- package/dist/esm/api/types/ConnectionGrantDisableResult.d.mts +3 -0
- package/dist/esm/api/types/ConnectionGrantDisableResult.mjs +2 -0
- package/dist/esm/api/types/ConnectionRemovalResult.d.mts +4 -0
- package/dist/esm/api/types/ConnectionRemovalResult.mjs +2 -0
- package/dist/esm/api/types/ConversationMessage.d.mts +16 -0
- package/dist/esm/api/types/ConversationMessage.mjs +8 -0
- package/dist/esm/api/types/ConversationPage.d.mts +6 -0
- package/dist/esm/api/types/ConversationPage.mjs +2 -0
- package/dist/esm/api/types/ConversationSummary.d.mts +21 -0
- package/dist/esm/api/types/ConversationSummary.mjs +10 -0
- package/dist/esm/api/types/ConversationTurn.d.mts +5 -0
- package/dist/esm/api/types/ConversationTurn.mjs +2 -0
- package/dist/esm/api/types/CreateGoalRequest.d.mts +31 -0
- package/dist/esm/api/types/CreateGoalRequest.mjs +14 -0
- package/dist/esm/api/types/CreateListingRequest.d.mts +21 -0
- package/dist/esm/api/types/CreateListingRequest.mjs +2 -0
- package/dist/esm/api/types/CreateTaskRequest.d.mts +2 -0
- package/dist/esm/api/types/CreateTaskRequest.mjs +2 -0
- package/dist/esm/api/types/CreatedEnrollmentLink.d.mts +6 -0
- package/dist/esm/api/types/CreatedEnrollmentLink.mjs +2 -0
- package/dist/esm/api/types/CreatedServiceAccount.d.mts +5 -0
- package/dist/esm/api/types/CreatedServiceAccount.mjs +2 -0
- package/dist/esm/api/types/CreatedWebhook.d.mts +5 -0
- package/dist/esm/api/types/CreatedWebhook.mjs +2 -0
- package/dist/esm/api/types/Deal.d.mts +46 -0
- package/dist/esm/api/types/Deal.mjs +20 -0
- package/dist/esm/api/types/DeletedResource.d.mts +10 -0
- package/dist/esm/api/types/DeletedResource.mjs +7 -0
- package/dist/esm/api/types/EnrollmentBatch.d.mts +20 -0
- package/dist/esm/api/types/EnrollmentBatch.mjs +10 -0
- package/dist/esm/api/types/EnrollmentBatchItem.d.mts +18 -0
- package/dist/esm/api/types/EnrollmentBatchItem.mjs +10 -0
- package/dist/esm/api/types/EnrollmentBatchResult.d.mts +11 -0
- package/dist/esm/api/types/EnrollmentBatchResult.mjs +2 -0
- package/dist/esm/api/types/EnrollmentLink.d.mts +30 -0
- package/dist/esm/api/types/EnrollmentLink.mjs +13 -0
- package/dist/esm/api/types/EphemeralGoal.d.mts +38 -0
- package/dist/esm/api/types/EphemeralGoal.mjs +18 -0
- package/dist/esm/api/types/Error_.d.mts +8 -0
- package/dist/esm/api/types/Error_.mjs +2 -0
- package/dist/esm/api/types/FeeRate.d.mts +4 -0
- package/dist/esm/api/types/FeeRate.mjs +2 -0
- package/dist/esm/api/types/Goal.d.mts +51 -0
- package/dist/esm/api/types/Goal.mjs +24 -0
- package/dist/esm/api/types/GoalActionRequest.d.mts +13 -0
- package/dist/esm/api/types/GoalActionRequest.mjs +10 -0
- package/dist/esm/api/types/IntegrationCatalog.d.mts +1 -0
- package/dist/esm/api/types/IntegrationCatalog.mjs +2 -0
- package/dist/esm/api/types/Integrations.d.mts +11 -0
- package/dist/esm/api/types/Integrations.mjs +2 -0
- package/dist/esm/api/types/Listing.d.mts +26 -0
- package/dist/esm/api/types/Listing.mjs +2 -0
- package/dist/esm/api/types/ListingImport.d.mts +30 -0
- package/dist/esm/api/types/ListingImport.mjs +18 -0
- package/dist/esm/api/types/ListingPricing.d.mts +21 -0
- package/dist/esm/api/types/ListingPricing.mjs +13 -0
- package/dist/esm/api/types/ListingSelection.d.mts +5 -0
- package/dist/esm/api/types/ListingSelection.mjs +2 -0
- package/dist/esm/api/types/ListingStatus.d.mts +7 -0
- package/dist/esm/api/types/ListingStatus.mjs +7 -0
- package/dist/esm/api/types/ListingType.d.mts +10 -0
- package/dist/esm/api/types/ListingType.mjs +10 -0
- package/dist/esm/api/types/ListingVariant.d.mts +13 -0
- package/dist/esm/api/types/ListingVariant.mjs +2 -0
- package/dist/esm/api/types/ListingVisibility.d.mts +5 -0
- package/dist/esm/api/types/ListingVisibility.mjs +5 -0
- package/dist/esm/api/types/NetworkAiCard.d.mts +24 -0
- package/dist/esm/api/types/NetworkAiCard.mjs +2 -0
- package/dist/esm/api/types/NetworkAiProfile.d.mts +23 -0
- package/dist/esm/api/types/NetworkAiProfile.mjs +10 -0
- package/dist/esm/api/types/NetworkAiResult.d.mts +13 -0
- package/dist/esm/api/types/NetworkAiResult.mjs +2 -0
- package/dist/esm/api/types/NetworkBrowseResult.d.mts +16 -0
- package/dist/esm/api/types/NetworkBrowseResult.mjs +2 -0
- package/dist/esm/api/types/NetworkCategory.d.mts +12 -0
- package/dist/esm/api/types/NetworkCategory.mjs +12 -0
- package/dist/esm/api/types/NetworkListing.d.mts +17 -0
- package/dist/esm/api/types/NetworkListing.mjs +2 -0
- package/dist/esm/api/types/Outcome.d.mts +17 -0
- package/dist/esm/api/types/Outcome.mjs +2 -0
- package/dist/esm/api/types/OutcomeEvidence.d.mts +47 -0
- package/dist/esm/api/types/OutcomeEvidence.mjs +26 -0
- package/dist/esm/api/types/Payment.d.mts +19 -0
- package/dist/esm/api/types/Payment.mjs +2 -0
- package/dist/esm/api/types/PaymentIntentClientDetails.d.mts +4 -0
- package/dist/esm/api/types/PaymentIntentClientDetails.mjs +2 -0
- package/dist/esm/api/types/Payout.d.mts +9 -0
- package/dist/esm/api/types/Payout.mjs +2 -0
- package/dist/esm/api/types/PayoutSetup.d.mts +3 -0
- package/dist/esm/api/types/PayoutSetup.mjs +2 -0
- package/dist/esm/api/types/PublicationRequest.d.mts +5 -0
- package/dist/esm/api/types/PublicationRequest.mjs +2 -0
- package/dist/esm/api/types/PublicationRequestResult.d.mts +5 -0
- package/dist/esm/api/types/PublicationRequestResult.mjs +2 -0
- package/dist/esm/api/types/Request.d.mts +40 -0
- package/dist/esm/api/types/Request.mjs +16 -0
- package/dist/esm/api/types/ServiceAccount.d.mts +60 -0
- package/dist/esm/api/types/ServiceAccount.mjs +46 -0
- package/dist/esm/api/types/Task.d.mts +5 -0
- package/dist/esm/api/types/Task.mjs +2 -0
- package/dist/esm/api/types/TaskActionRequest.d.mts +2 -0
- package/dist/esm/api/types/TaskActionRequest.mjs +2 -0
- package/dist/esm/api/types/Tool.d.mts +30 -0
- package/dist/esm/api/types/Tool.mjs +22 -0
- package/dist/esm/api/types/ToolExecution.d.mts +5 -0
- package/dist/esm/api/types/ToolExecution.mjs +2 -0
- package/dist/esm/api/types/Transaction.d.mts +40 -0
- package/dist/esm/api/types/Transaction.mjs +8 -0
- package/dist/esm/api/types/TransactionFundingResult.d.mts +15 -0
- package/dist/esm/api/types/TransactionFundingResult.mjs +8 -0
- package/dist/esm/api/types/UpdateGoalRequest.d.mts +32 -0
- package/dist/esm/api/types/UpdateGoalRequest.mjs +17 -0
- package/dist/esm/api/types/UpdateTaskRequest.d.mts +2 -0
- package/dist/esm/api/types/UpdateTaskRequest.mjs +2 -0
- package/dist/esm/api/types/Visibility.d.mts +6 -0
- package/dist/esm/api/types/Visibility.mjs +6 -0
- package/dist/esm/api/types/WalletTopupIntent.d.mts +13 -0
- package/dist/esm/api/types/WalletTopupIntent.mjs +7 -0
- package/dist/esm/api/types/WalletWithdrawal.d.mts +23 -0
- package/dist/esm/api/types/WalletWithdrawal.mjs +14 -0
- package/dist/esm/api/types/Webhook.d.mts +20 -0
- package/dist/esm/api/types/Webhook.mjs +8 -0
- package/dist/esm/api/types/WebhookDelivery.d.mts +23 -0
- package/dist/esm/api/types/WebhookDelivery.mjs +10 -0
- package/dist/esm/api/types/WithdrawalQuote.d.mts +20 -0
- package/dist/esm/api/types/WithdrawalQuote.mjs +11 -0
- package/dist/esm/api/types/WithdrawalRequest.d.mts +11 -0
- package/dist/esm/api/types/WithdrawalRequest.mjs +8 -0
- package/dist/esm/api/types/WorkMode.d.mts +7 -0
- package/dist/esm/api/types/WorkMode.mjs +7 -0
- package/dist/esm/api/types/index.d.mts +97 -0
- package/dist/esm/api/types/index.mjs +97 -0
- package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
- package/dist/esm/auth/BearerAuthProvider.mjs +42 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +6 -0
- package/dist/esm/core/fetcher/signals.d.mts +5 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/runtime/runtime.d.mts +28 -0
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/qs.d.mts +7 -0
- package/dist/esm/environments.d.mts +4 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +358 -41
- package/reference.md +6779 -0
- package/LICENSE +0 -21
- package/generated/cjs/BaseClient.d.ts +0 -64
- package/generated/cjs/BaseClient.js +0 -100
- package/generated/cjs/Client.d.ts +0 -42
- package/generated/cjs/Client.js +0 -161
- package/generated/cjs/api/errors/BadRequestError.d.ts +0 -7
- package/generated/cjs/api/errors/BadRequestError.js +0 -72
- package/generated/cjs/api/errors/ForbiddenError.d.ts +0 -7
- package/generated/cjs/api/errors/ForbiddenError.js +0 -72
- package/generated/cjs/api/errors/NotFoundError.d.ts +0 -7
- package/generated/cjs/api/errors/NotFoundError.js +0 -72
- package/generated/cjs/api/errors/UnauthorizedError.d.ts +0 -7
- package/generated/cjs/api/errors/UnauthorizedError.js +0 -72
- package/generated/cjs/api/errors/index.d.ts +0 -4
- package/generated/cjs/api/errors/index.js +0 -32
- package/generated/cjs/api/index.d.ts +0 -3
- package/generated/cjs/api/index.js +0 -31
- package/generated/cjs/api/resources/agent/client/Client.d.ts +0 -58
- package/generated/cjs/api/resources/agent/client/Client.js +0 -299
- package/generated/cjs/api/resources/agent/client/index.d.ts +0 -1
- package/generated/cjs/api/resources/agent/client/index.js +0 -29
- package/generated/cjs/api/resources/agent/client/requests/CreateAgentMessageRequest.d.ts +0 -11
- package/generated/cjs/api/resources/agent/client/requests/CreateAgentMessageRequest.js +0 -3
- package/generated/cjs/api/resources/agent/client/requests/GetConversationRequest.d.ts +0 -8
- package/generated/cjs/api/resources/agent/client/requests/GetConversationRequest.js +0 -3
- package/generated/cjs/api/resources/agent/client/requests/index.d.ts +0 -2
- package/generated/cjs/api/resources/agent/client/requests/index.js +0 -2
- package/generated/cjs/api/resources/agent/exports.d.ts +0 -2
- package/generated/cjs/api/resources/agent/exports.js +0 -38
- package/generated/cjs/api/resources/agent/index.d.ts +0 -1
- package/generated/cjs/api/resources/agent/index.js +0 -29
- package/generated/cjs/api/resources/approvals/client/Client.d.ts +0 -55
- package/generated/cjs/api/resources/approvals/client/Client.js +0 -308
- package/generated/cjs/api/resources/approvals/client/index.d.ts +0 -1
- package/generated/cjs/api/resources/approvals/client/index.js +0 -29
- package/generated/cjs/api/resources/approvals/client/requests/ApprovalDecisionRequest.d.ts +0 -19
- package/generated/cjs/api/resources/approvals/client/requests/ApprovalDecisionRequest.js +0 -11
- package/generated/cjs/api/resources/approvals/client/requests/ListApprovalsRequest.d.ts +0 -7
- package/generated/cjs/api/resources/approvals/client/requests/ListApprovalsRequest.js +0 -3
- package/generated/cjs/api/resources/approvals/client/requests/index.d.ts +0 -2
- package/generated/cjs/api/resources/approvals/client/requests/index.js +0 -10
- package/generated/cjs/api/resources/approvals/exports.d.ts +0 -2
- package/generated/cjs/api/resources/approvals/exports.js +0 -38
- package/generated/cjs/api/resources/approvals/index.d.ts +0 -2
- package/generated/cjs/api/resources/approvals/index.js +0 -30
- package/generated/cjs/api/resources/approvals/types/ListApprovalsResponse.d.ts +0 -5
- package/generated/cjs/api/resources/approvals/types/ListApprovalsResponse.js +0 -3
- package/generated/cjs/api/resources/approvals/types/index.d.ts +0 -1
- package/generated/cjs/api/resources/approvals/types/index.js +0 -29
- package/generated/cjs/api/resources/goals/client/Client.d.ts +0 -71
- package/generated/cjs/api/resources/goals/client/Client.js +0 -383
- package/generated/cjs/api/resources/goals/client/index.d.ts +0 -1
- package/generated/cjs/api/resources/goals/client/index.js +0 -29
- package/generated/cjs/api/resources/goals/client/requests/CreateGoalRequest.d.ts +0 -21
- package/generated/cjs/api/resources/goals/client/requests/CreateGoalRequest.js +0 -13
- package/generated/cjs/api/resources/goals/client/requests/GetGoalRequest.d.ts +0 -9
- package/generated/cjs/api/resources/goals/client/requests/GetGoalRequest.js +0 -3
- package/generated/cjs/api/resources/goals/client/requests/index.d.ts +0 -2
- package/generated/cjs/api/resources/goals/client/requests/index.js +0 -10
- package/generated/cjs/api/resources/goals/exports.d.ts +0 -2
- package/generated/cjs/api/resources/goals/exports.js +0 -38
- package/generated/cjs/api/resources/goals/index.d.ts +0 -2
- package/generated/cjs/api/resources/goals/index.js +0 -30
- package/generated/cjs/api/resources/goals/types/ListGoalsResponse.d.ts +0 -5
- package/generated/cjs/api/resources/goals/types/ListGoalsResponse.js +0 -3
- package/generated/cjs/api/resources/goals/types/index.d.ts +0 -1
- package/generated/cjs/api/resources/goals/types/index.js +0 -29
- package/generated/cjs/api/resources/index.d.ts +0 -12
- package/generated/cjs/api/resources/index.js +0 -72
- package/generated/cjs/api/resources/integrations/client/Client.d.ts +0 -31
- package/generated/cjs/api/resources/integrations/client/Client.js +0 -190
- package/generated/cjs/api/resources/integrations/client/index.js +0 -2
- package/generated/cjs/api/resources/integrations/exports.d.ts +0 -2
- package/generated/cjs/api/resources/integrations/exports.js +0 -38
- package/generated/cjs/api/resources/integrations/index.d.ts +0 -1
- package/generated/cjs/api/resources/integrations/index.js +0 -29
- package/generated/cjs/api/resources/tools/client/Client.d.ts +0 -54
- package/generated/cjs/api/resources/tools/client/Client.js +0 -305
- package/generated/cjs/api/resources/tools/client/index.d.ts +0 -1
- package/generated/cjs/api/resources/tools/client/index.js +0 -29
- package/generated/cjs/api/resources/tools/client/requests/ExecuteToolRequest.d.ts +0 -10
- package/generated/cjs/api/resources/tools/client/requests/ExecuteToolRequest.js +0 -3
- package/generated/cjs/api/resources/tools/client/requests/index.d.ts +0 -1
- package/generated/cjs/api/resources/tools/client/requests/index.js +0 -2
- package/generated/cjs/api/resources/tools/exports.d.ts +0 -2
- package/generated/cjs/api/resources/tools/exports.js +0 -38
- package/generated/cjs/api/resources/tools/index.d.ts +0 -2
- package/generated/cjs/api/resources/tools/index.js +0 -30
- package/generated/cjs/api/resources/tools/types/ListToolsResponse.d.ts +0 -5
- package/generated/cjs/api/resources/tools/types/ListToolsResponse.js +0 -3
- package/generated/cjs/api/resources/tools/types/index.d.ts +0 -1
- package/generated/cjs/api/resources/tools/types/index.js +0 -29
- package/generated/cjs/api/types/Approval.d.ts +0 -1
- package/generated/cjs/api/types/Approval.js +0 -3
- package/generated/cjs/api/types/Error_.d.ts +0 -8
- package/generated/cjs/api/types/Error_.js +0 -3
- package/generated/cjs/api/types/ExecuteToolResponse.d.ts +0 -5
- package/generated/cjs/api/types/ExecuteToolResponse.js +0 -3
- package/generated/cjs/api/types/Goal.d.ts +0 -1
- package/generated/cjs/api/types/Goal.js +0 -3
- package/generated/cjs/api/types/Tool.d.ts +0 -16
- package/generated/cjs/api/types/Tool.js +0 -12
- package/generated/cjs/api/types/index.d.ts +0 -5
- package/generated/cjs/api/types/index.js +0 -33
- package/generated/cjs/auth/BearerAuthProvider.d.ts +0 -19
- package/generated/cjs/auth/BearerAuthProvider.js +0 -119
- package/generated/cjs/auth/index.d.ts +0 -1
- package/generated/cjs/auth/index.js +0 -10
- package/generated/cjs/core/auth/AuthProvider.d.ts +0 -7
- package/generated/cjs/core/auth/AuthProvider.js +0 -11
- package/generated/cjs/core/auth/AuthRequest.d.ts +0 -9
- package/generated/cjs/core/auth/AuthRequest.js +0 -2
- package/generated/cjs/core/auth/BasicAuth.d.ts +0 -8
- package/generated/cjs/core/auth/BasicAuth.js +0 -33
- package/generated/cjs/core/auth/BearerToken.d.ts +0 -7
- package/generated/cjs/core/auth/BearerToken.js +0 -16
- package/generated/cjs/core/auth/NoOpAuthProvider.d.ts +0 -6
- package/generated/cjs/core/auth/NoOpAuthProvider.js +0 -9
- package/generated/cjs/core/auth/index.d.ts +0 -5
- package/generated/cjs/core/auth/index.js +0 -31
- package/generated/cjs/core/base64.js +0 -26
- package/generated/cjs/core/exports.d.ts +0 -1
- package/generated/cjs/core/exports.js +0 -29
- package/generated/cjs/core/fetcher/APIResponse.d.ts +0 -21
- package/generated/cjs/core/fetcher/APIResponse.js +0 -2
- package/generated/cjs/core/fetcher/BinaryResponse.d.ts +0 -19
- package/generated/cjs/core/fetcher/BinaryResponse.js +0 -17
- package/generated/cjs/core/fetcher/EndpointMetadata.d.ts +0 -13
- package/generated/cjs/core/fetcher/EndpointMetadata.js +0 -2
- package/generated/cjs/core/fetcher/EndpointSupplier.d.ts +0 -14
- package/generated/cjs/core/fetcher/EndpointSupplier.js +0 -44
- package/generated/cjs/core/fetcher/Fetcher.d.ts +0 -57
- package/generated/cjs/core/fetcher/Fetcher.js +0 -280
- package/generated/cjs/core/fetcher/Headers.js +0 -79
- package/generated/cjs/core/fetcher/HttpResponsePromise.d.ts +0 -72
- package/generated/cjs/core/fetcher/HttpResponsePromise.js +0 -125
- package/generated/cjs/core/fetcher/RawResponse.d.ts +0 -32
- package/generated/cjs/core/fetcher/RawResponse.js +0 -44
- package/generated/cjs/core/fetcher/Supplier.d.ts +0 -4
- package/generated/cjs/core/fetcher/Supplier.js +0 -44
- package/generated/cjs/core/fetcher/createRequestUrl.js +0 -8
- package/generated/cjs/core/fetcher/getErrorResponseBody.js +0 -70
- package/generated/cjs/core/fetcher/getFetchFn.js +0 -39
- package/generated/cjs/core/fetcher/getHeader.js +0 -11
- package/generated/cjs/core/fetcher/getRequestBody.d.ts +0 -7
- package/generated/cjs/core/fetcher/getRequestBody.js +0 -48
- package/generated/cjs/core/fetcher/getResponseBody.js +0 -101
- package/generated/cjs/core/fetcher/index.d.ts +0 -13
- package/generated/cjs/core/fetcher/index.js +0 -73
- package/generated/cjs/core/fetcher/makePassthroughRequest.d.ts +0 -55
- package/generated/cjs/core/fetcher/makePassthroughRequest.js +0 -217
- package/generated/cjs/core/fetcher/makeRequest.d.ts +0 -17
- package/generated/cjs/core/fetcher/makeRequest.js +0 -106
- package/generated/cjs/core/fetcher/redactUrl.js +0 -89
- package/generated/cjs/core/fetcher/requestWithRetries.js +0 -91
- package/generated/cjs/core/fetcher/signals.d.ts +0 -5
- package/generated/cjs/core/fetcher/signals.js +0 -36
- package/generated/cjs/core/headers.d.ts +0 -6
- package/generated/cjs/core/headers.js +0 -30
- package/generated/cjs/core/index.d.ts +0 -6
- package/generated/cjs/core/index.js +0 -66
- package/generated/cjs/core/json.d.ts +0 -22
- package/generated/cjs/core/json.js +0 -24
- package/generated/cjs/core/logging/exports.d.ts +0 -19
- package/generated/cjs/core/logging/exports.js +0 -63
- package/generated/cjs/core/logging/index.d.ts +0 -1
- package/generated/cjs/core/logging/index.js +0 -29
- package/generated/cjs/core/logging/logger.d.ts +0 -126
- package/generated/cjs/core/logging/logger.js +0 -144
- package/generated/cjs/core/requestBody.d.ts +0 -15
- package/generated/cjs/core/requestBody.js +0 -26
- package/generated/cjs/core/runtime/index.d.ts +0 -1
- package/generated/cjs/core/runtime/index.js +0 -16
- package/generated/cjs/core/runtime/runtime.d.ts +0 -28
- package/generated/cjs/core/runtime/runtime.js +0 -188
- package/generated/cjs/core/url/QueryStringBuilder.d.ts +0 -51
- package/generated/cjs/core/url/QueryStringBuilder.js +0 -88
- package/generated/cjs/core/url/encodePathParam.js +0 -21
- package/generated/cjs/core/url/index.d.ts +0 -4
- package/generated/cjs/core/url/index.js +0 -31
- package/generated/cjs/core/url/join.js +0 -66
- package/generated/cjs/core/url/qs.d.ts +0 -7
- package/generated/cjs/core/url/qs.js +0 -72
- package/generated/cjs/environments.d.ts +0 -4
- package/generated/cjs/environments.js +0 -7
- package/generated/cjs/errors/DarwinError.d.ts +0 -22
- package/generated/cjs/errors/DarwinError.js +0 -44
- package/generated/cjs/errors/DarwinTimeoutError.d.ts +0 -10
- package/generated/cjs/errors/DarwinTimeoutError.js +0 -70
- package/generated/cjs/errors/handleNonStatusCodeError.d.ts +0 -8
- package/generated/cjs/errors/handleNonStatusCodeError.js +0 -86
- package/generated/cjs/errors/index.d.ts +0 -2
- package/generated/cjs/errors/index.js +0 -17
- package/generated/cjs/exports.d.ts +0 -1
- package/generated/cjs/exports.js +0 -29
- package/generated/cjs/index.d.ts +0 -6
- package/generated/cjs/index.js +0 -94
- package/generated/esm/BaseClient.mjs +0 -37
- package/generated/esm/Client.d.mts +0 -38
- package/generated/esm/Client.mjs +0 -66
- package/generated/esm/api/errors/index.d.mts +0 -4
- package/generated/esm/api/errors/index.mjs +0 -4
- package/generated/esm/api/resources/agent/client/Client.d.mts +0 -52
- package/generated/esm/api/resources/agent/client/Client.mjs +0 -152
- package/generated/esm/api/resources/agent/client/requests/CreateAgentMessageRequest.d.mts +0 -11
- package/generated/esm/api/resources/agent/client/requests/GetConversationRequest.d.mts +0 -8
- package/generated/esm/api/resources/agent/client/requests/index.d.mts +0 -2
- package/generated/esm/api/resources/agent/exports.d.mts +0 -2
- package/generated/esm/api/resources/agent/exports.mjs +0 -3
- package/generated/esm/api/resources/approvals/client/Client.d.mts +0 -49
- package/generated/esm/api/resources/approvals/client/Client.mjs +0 -160
- package/generated/esm/api/resources/approvals/client/requests/ApprovalDecisionRequest.d.mts +0 -19
- package/generated/esm/api/resources/approvals/client/requests/ApprovalDecisionRequest.mjs +0 -8
- package/generated/esm/api/resources/approvals/client/requests/ListApprovalsRequest.d.mts +0 -7
- package/generated/esm/api/resources/approvals/client/requests/index.d.mts +0 -2
- package/generated/esm/api/resources/approvals/client/requests/index.mjs +0 -1
- package/generated/esm/api/resources/approvals/exports.d.mts +0 -2
- package/generated/esm/api/resources/approvals/exports.mjs +0 -3
- package/generated/esm/api/resources/approvals/types/ListApprovalsResponse.d.mts +0 -4
- package/generated/esm/api/resources/approvals/types/index.d.mts +0 -1
- package/generated/esm/api/resources/approvals/types/index.mjs +0 -1
- package/generated/esm/api/resources/goals/client/Client.d.mts +0 -65
- package/generated/esm/api/resources/goals/client/Client.mjs +0 -198
- package/generated/esm/api/resources/goals/client/requests/CreateGoalRequest.d.mts +0 -21
- package/generated/esm/api/resources/goals/client/requests/CreateGoalRequest.mjs +0 -10
- package/generated/esm/api/resources/goals/client/requests/GetGoalRequest.d.mts +0 -9
- package/generated/esm/api/resources/goals/client/requests/index.d.mts +0 -2
- package/generated/esm/api/resources/goals/client/requests/index.mjs +0 -1
- package/generated/esm/api/resources/goals/types/index.d.mts +0 -1
- package/generated/esm/api/resources/goals/types/index.mjs +0 -1
- package/generated/esm/api/resources/index.d.mts +0 -12
- package/generated/esm/api/resources/index.mjs +0 -12
- package/generated/esm/api/resources/integrations/client/Client.d.mts +0 -29
- package/generated/esm/api/resources/integrations/client/Client.mjs +0 -78
- package/generated/esm/api/resources/tools/client/Client.d.mts +0 -51
- package/generated/esm/api/resources/tools/client/Client.mjs +0 -154
- package/generated/esm/api/types/Approval.d.mts +0 -1
- package/generated/esm/api/types/ExecuteToolResponse.d.mts +0 -5
- package/generated/esm/api/types/Goal.d.mts +0 -1
- package/generated/esm/api/types/Tool.d.mts +0 -16
- package/generated/esm/api/types/Tool.mjs +0 -9
- package/generated/esm/api/types/index.d.mts +0 -5
- package/generated/esm/api/types/index.mjs +0 -5
- package/generated/esm/auth/BearerAuthProvider.d.mts +0 -20
- package/generated/esm/auth/BearerAuthProvider.mjs +0 -42
- /package/{generated/cjs/api/resources/integrations → dist/cjs/api/resources/account}/client/index.d.ts +0 -0
- /package/{generated/esm/api/resources/tools/client/requests/ExecuteToolRequest.d.mts → dist/cjs/api/resources/tools/client/requests/ExecuteToolRequest.d.ts} +0 -0
- /package/{generated/esm/api/types/Error_.d.mts → dist/cjs/api/types/Error_.d.ts} +0 -0
- /package/{generated/esm/core/auth/AuthRequest.d.mts → dist/cjs/core/auth/AuthRequest.d.ts} +0 -0
- /package/{generated/esm/core/auth/BasicAuth.d.mts → dist/cjs/core/auth/BasicAuth.d.ts} +0 -0
- /package/{generated/esm/core/auth/BearerToken.d.mts → dist/cjs/core/auth/BearerToken.d.ts} +0 -0
- /package/{generated → dist}/cjs/core/base64.d.ts +0 -0
- /package/{generated/esm/core/fetcher/BinaryResponse.d.mts → dist/cjs/core/fetcher/BinaryResponse.d.ts} +0 -0
- /package/{generated/esm/core/fetcher/EndpointMetadata.d.mts → dist/cjs/core/fetcher/EndpointMetadata.d.ts} +0 -0
- /package/{generated → dist}/cjs/core/fetcher/Headers.d.ts +0 -0
- /package/{generated/esm/core/fetcher/RawResponse.d.mts → dist/cjs/core/fetcher/RawResponse.d.ts} +0 -0
- /package/{generated/esm/core/fetcher/Supplier.d.mts → dist/cjs/core/fetcher/Supplier.d.ts} +0 -0
- /package/{generated → dist}/cjs/core/fetcher/createRequestUrl.d.ts +0 -0
- /package/{generated → dist}/cjs/core/fetcher/getErrorResponseBody.d.ts +0 -0
- /package/{generated → dist}/cjs/core/fetcher/getFetchFn.d.ts +0 -0
- /package/{generated → dist}/cjs/core/fetcher/getHeader.d.ts +0 -0
- /package/{generated/esm/core/fetcher/getRequestBody.d.mts → dist/cjs/core/fetcher/getRequestBody.d.ts} +0 -0
- /package/{generated → dist}/cjs/core/fetcher/getResponseBody.d.ts +0 -0
- /package/{generated/esm/core/fetcher/makeRequest.d.mts → dist/cjs/core/fetcher/makeRequest.d.ts} +0 -0
- /package/{generated → dist}/cjs/core/fetcher/redactUrl.d.ts +0 -0
- /package/{generated → dist}/cjs/core/fetcher/requestWithRetries.d.ts +0 -0
- /package/{generated/esm/core/fetcher/signals.d.mts → dist/cjs/core/fetcher/signals.d.ts} +0 -0
- /package/{generated/esm/core/headers.d.mts → dist/cjs/core/headers.d.ts} +0 -0
- /package/{generated/esm/core/json.d.mts → dist/cjs/core/json.d.ts} +0 -0
- /package/{generated/esm/core/logging/logger.d.mts → dist/cjs/core/logging/logger.d.ts} +0 -0
- /package/{generated/esm/core/requestBody.d.mts → dist/cjs/core/requestBody.d.ts} +0 -0
- /package/{generated/esm/core/runtime/runtime.d.mts → dist/cjs/core/runtime/runtime.d.ts} +0 -0
- /package/{generated/esm/core/url/QueryStringBuilder.d.mts → dist/cjs/core/url/QueryStringBuilder.d.ts} +0 -0
- /package/{generated → dist}/cjs/core/url/encodePathParam.d.ts +0 -0
- /package/{generated → dist}/cjs/core/url/join.d.ts +0 -0
- /package/{generated/esm/core/url/qs.d.mts → dist/cjs/core/url/qs.d.ts} +0 -0
- /package/{generated/esm/environments.d.mts → dist/cjs/environments.d.ts} +0 -0
- /package/{generated → dist}/esm/BaseClient.d.mts +0 -0
- /package/{generated → dist}/esm/api/errors/BadRequestError.d.mts +0 -0
- /package/{generated → dist}/esm/api/errors/BadRequestError.mjs +0 -0
- /package/{generated → dist}/esm/api/errors/ForbiddenError.d.mts +0 -0
- /package/{generated → dist}/esm/api/errors/ForbiddenError.mjs +0 -0
- /package/{generated → dist}/esm/api/errors/NotFoundError.d.mts +0 -0
- /package/{generated → dist}/esm/api/errors/NotFoundError.mjs +0 -0
- /package/{generated → dist}/esm/api/errors/UnauthorizedError.d.mts +0 -0
- /package/{generated → dist}/esm/api/errors/UnauthorizedError.mjs +0 -0
- /package/{generated → dist}/esm/api/index.d.mts +0 -0
- /package/{generated → dist}/esm/api/index.mjs +0 -0
- /package/{generated/esm/api/resources/integrations → dist/esm/api/resources/account}/client/index.d.mts +0 -0
- /package/{generated/esm/api/resources/agent/client/requests → dist/esm/api/resources/account/client}/index.mjs +0 -0
- /package/{generated/esm/api/resources/agent → dist/esm/api/resources/account}/index.d.mts +0 -0
- /package/{generated/esm/api/resources/agent → dist/esm/api/resources/account}/index.mjs +0 -0
- /package/{generated/esm/api/resources/agent → dist/esm/api/resources/ais}/client/index.d.mts +0 -0
- /package/{generated/esm/api/resources/agent → dist/esm/api/resources/ais}/client/index.mjs +0 -0
- /package/{generated/esm/api/resources/agent/client/requests/CreateAgentMessageRequest.mjs → dist/esm/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/agent/client/requests/GetConversationRequest.mjs → dist/esm/api/resources/ais/client/requests/CreateAccessPolicyRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/approvals/client/requests/ListApprovalsRequest.mjs → dist/esm/api/resources/ais/client/requests/DeleteAiAssetRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/approvals/types/ListApprovalsResponse.mjs → dist/esm/api/resources/ais/client/requests/GetAiRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/goals/client/requests/GetGoalRequest.mjs → dist/esm/api/resources/ais/client/requests/ListAccessPoliciesRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/goals/types/ListGoalsResponse.mjs → dist/esm/api/resources/ais/client/requests/ListAiActivityRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/tools/client/requests/ExecuteToolRequest.mjs → dist/esm/api/resources/ais/client/requests/ListAiAssetsRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/tools/types/ListToolsResponse.mjs → dist/esm/api/resources/ais/client/requests/ListAiInvitationsRequest.mjs} +0 -0
- /package/{generated/esm/api/types/Approval.mjs → dist/esm/api/resources/ais/client/requests/ListAiMembersRequest.mjs} +0 -0
- /package/{generated/esm/api/types/Error_.mjs → dist/esm/api/resources/ais/client/requests/RemoveAiMemberRequest.mjs} +0 -0
- /package/{generated/esm/api/types/ExecuteToolResponse.mjs → dist/esm/api/resources/ais/client/requests/RevokeAiInvitationRequest.mjs} +0 -0
- /package/{generated/esm/api/types/Goal.mjs → dist/esm/api/resources/ais/client/requests/UpdateAccessPolicyRequest.mjs} +0 -0
- /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/ais}/index.d.mts +0 -0
- /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/ais}/index.mjs +0 -0
- /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/applications}/client/index.d.mts +0 -0
- /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/applications}/client/index.mjs +0 -0
- /package/{generated/esm/api/resources/goals → dist/esm/api/resources/applications}/index.d.mts +0 -0
- /package/{generated/esm/api/resources/goals → dist/esm/api/resources/applications}/index.mjs +0 -0
- /package/{generated/esm/api/resources/goals → dist/esm/api/resources/billing}/client/index.d.mts +0 -0
- /package/{generated/esm/api/resources/goals → dist/esm/api/resources/billing}/client/index.mjs +0 -0
- /package/{generated/esm/api/resources/integrations → dist/esm/api/resources/billing}/index.d.mts +0 -0
- /package/{generated/esm/api/resources/integrations → dist/esm/api/resources/billing}/index.mjs +0 -0
- /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/client/index.d.mts +0 -0
- /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/client/index.mjs +0 -0
- /package/{generated/esm/api/resources/integrations/client → dist/esm/api/resources/connections/client/requests}/index.mjs +0 -0
- /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/index.d.mts +0 -0
- /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/index.mjs +0 -0
- /package/{generated/esm/api/resources/tools → dist/esm/api/resources/conversations}/client/requests/index.mjs +0 -0
- /package/{generated/esm/core/auth/AuthRequest.mjs → dist/esm/api/resources/enrollment/client/requests/index.mjs} +0 -0
- /package/{generated/esm/core/fetcher/APIResponse.mjs → dist/esm/api/resources/goals/client/requests/index.mjs} +0 -0
- /package/{generated → dist}/esm/api/resources/goals/exports.d.mts +0 -0
- /package/{generated → dist}/esm/api/resources/goals/exports.mjs +0 -0
- /package/{generated → dist}/esm/api/resources/goals/types/ListGoalsResponse.d.mts +0 -0
- /package/{generated/esm/core/fetcher/EndpointMetadata.mjs → dist/esm/api/resources/integrations/client/requests/index.mjs} +0 -0
- /package/{generated → dist}/esm/api/resources/integrations/exports.d.mts +0 -0
- /package/{generated → dist}/esm/api/resources/integrations/exports.mjs +0 -0
- /package/{generated → dist}/esm/api/resources/tools/client/requests/index.d.mts +0 -0
- /package/{generated → dist}/esm/api/resources/tools/exports.d.mts +0 -0
- /package/{generated → dist}/esm/api/resources/tools/exports.mjs +0 -0
- /package/{generated → dist}/esm/api/resources/tools/types/ListToolsResponse.d.mts +0 -0
- /package/{generated → dist}/esm/api/resources/tools/types/index.d.mts +0 -0
- /package/{generated → dist}/esm/api/resources/tools/types/index.mjs +0 -0
- /package/{generated → dist}/esm/auth/index.d.mts +0 -0
- /package/{generated → dist}/esm/auth/index.mjs +0 -0
- /package/{generated → dist}/esm/core/auth/AuthProvider.d.mts +0 -0
- /package/{generated → dist}/esm/core/auth/AuthProvider.mjs +0 -0
- /package/{generated → dist}/esm/core/auth/BasicAuth.mjs +0 -0
- /package/{generated → dist}/esm/core/auth/BearerToken.mjs +0 -0
- /package/{generated → dist}/esm/core/auth/NoOpAuthProvider.d.mts +0 -0
- /package/{generated → dist}/esm/core/auth/NoOpAuthProvider.mjs +0 -0
- /package/{generated → dist}/esm/core/auth/index.d.mts +0 -0
- /package/{generated → dist}/esm/core/auth/index.mjs +0 -0
- /package/{generated → dist}/esm/core/base64.d.mts +0 -0
- /package/{generated → dist}/esm/core/base64.mjs +0 -0
- /package/{generated → dist}/esm/core/exports.d.mts +0 -0
- /package/{generated → dist}/esm/core/exports.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/APIResponse.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/BinaryResponse.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/EndpointSupplier.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/EndpointSupplier.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/Fetcher.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/Fetcher.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/Headers.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/Headers.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/HttpResponsePromise.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/HttpResponsePromise.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/RawResponse.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/Supplier.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/createRequestUrl.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/createRequestUrl.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/getErrorResponseBody.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/getErrorResponseBody.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/getFetchFn.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/getFetchFn.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/getHeader.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/getHeader.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/getRequestBody.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/getResponseBody.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/getResponseBody.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/index.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/index.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/makePassthroughRequest.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/makePassthroughRequest.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/makeRequest.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/redactUrl.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/redactUrl.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/requestWithRetries.d.mts +0 -0
- /package/{generated → dist}/esm/core/fetcher/requestWithRetries.mjs +0 -0
- /package/{generated → dist}/esm/core/fetcher/signals.mjs +0 -0
- /package/{generated → dist}/esm/core/headers.mjs +0 -0
- /package/{generated → dist}/esm/core/index.d.mts +0 -0
- /package/{generated → dist}/esm/core/index.mjs +0 -0
- /package/{generated → dist}/esm/core/json.mjs +0 -0
- /package/{generated → dist}/esm/core/logging/exports.d.mts +0 -0
- /package/{generated → dist}/esm/core/logging/exports.mjs +0 -0
- /package/{generated → dist}/esm/core/logging/index.d.mts +0 -0
- /package/{generated → dist}/esm/core/logging/index.mjs +0 -0
- /package/{generated → dist}/esm/core/logging/logger.mjs +0 -0
- /package/{generated → dist}/esm/core/requestBody.mjs +0 -0
- /package/{generated → dist}/esm/core/runtime/index.d.mts +0 -0
- /package/{generated → dist}/esm/core/runtime/index.mjs +0 -0
- /package/{generated → dist}/esm/core/runtime/runtime.mjs +0 -0
- /package/{generated → dist}/esm/core/url/QueryStringBuilder.mjs +0 -0
- /package/{generated → dist}/esm/core/url/encodePathParam.d.mts +0 -0
- /package/{generated → dist}/esm/core/url/encodePathParam.mjs +0 -0
- /package/{generated → dist}/esm/core/url/index.d.mts +0 -0
- /package/{generated → dist}/esm/core/url/index.mjs +0 -0
- /package/{generated → dist}/esm/core/url/join.d.mts +0 -0
- /package/{generated → dist}/esm/core/url/join.mjs +0 -0
- /package/{generated → dist}/esm/core/url/qs.mjs +0 -0
- /package/{generated → dist}/esm/environments.mjs +0 -0
- /package/{generated → dist}/esm/errors/DarwinError.d.mts +0 -0
- /package/{generated → dist}/esm/errors/DarwinError.mjs +0 -0
- /package/{generated → dist}/esm/errors/DarwinTimeoutError.d.mts +0 -0
- /package/{generated → dist}/esm/errors/DarwinTimeoutError.mjs +0 -0
- /package/{generated → dist}/esm/errors/handleNonStatusCodeError.d.mts +0 -0
- /package/{generated → dist}/esm/errors/handleNonStatusCodeError.mjs +0 -0
- /package/{generated → dist}/esm/errors/index.d.mts +0 -0
- /package/{generated → dist}/esm/errors/index.mjs +0 -0
- /package/{generated → dist}/esm/exports.d.mts +0 -0
- /package/{generated → dist}/esm/exports.mjs +0 -0
- /package/{generated → dist}/esm/index.d.mts +0 -0
- /package/{generated → dist}/esm/index.mjs +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getResponseBody = getResponseBody;
|
|
13
|
+
const json_js_1 = require("../json.js");
|
|
14
|
+
const BinaryResponse_js_1 = require("./BinaryResponse.js");
|
|
15
|
+
// Pins the upstream Response so undici's FinalizationRegistry can't GC it and cancel the body stream.
|
|
16
|
+
function retainResponse(target, response) {
|
|
17
|
+
Object.defineProperty(target, "__fern_response_ref", {
|
|
18
|
+
value: response,
|
|
19
|
+
enumerable: false,
|
|
20
|
+
configurable: true,
|
|
21
|
+
writable: false,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function getResponseBody(response, responseType) {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
switch (responseType) {
|
|
27
|
+
case "binary-response":
|
|
28
|
+
return (0, BinaryResponse_js_1.getBinaryResponse)(response);
|
|
29
|
+
case "blob":
|
|
30
|
+
return yield response.blob();
|
|
31
|
+
case "arrayBuffer":
|
|
32
|
+
return yield response.arrayBuffer();
|
|
33
|
+
case "sse":
|
|
34
|
+
if (response.body == null) {
|
|
35
|
+
return {
|
|
36
|
+
ok: false,
|
|
37
|
+
error: {
|
|
38
|
+
reason: "body-is-null",
|
|
39
|
+
statusCode: response.status,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
retainResponse(response.body, response);
|
|
44
|
+
return response.body;
|
|
45
|
+
case "streaming":
|
|
46
|
+
if (response.body == null) {
|
|
47
|
+
return {
|
|
48
|
+
ok: false,
|
|
49
|
+
error: {
|
|
50
|
+
reason: "body-is-null",
|
|
51
|
+
statusCode: response.status,
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
retainResponse(response.body, response);
|
|
56
|
+
return response.body;
|
|
57
|
+
case "text":
|
|
58
|
+
return yield response.text();
|
|
59
|
+
}
|
|
60
|
+
// if responseType is "json" or not specified, try to parse as JSON
|
|
61
|
+
const text = yield response.text();
|
|
62
|
+
if (text.length > 0) {
|
|
63
|
+
try {
|
|
64
|
+
const responseBody = (0, json_js_1.fromJson)(text);
|
|
65
|
+
return responseBody;
|
|
66
|
+
}
|
|
67
|
+
catch (_err) {
|
|
68
|
+
return {
|
|
69
|
+
ok: false,
|
|
70
|
+
error: {
|
|
71
|
+
reason: "non-json",
|
|
72
|
+
statusCode: response.status,
|
|
73
|
+
rawBody: text,
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return undefined;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type { APIResponse } from "./APIResponse.js";
|
|
2
|
+
export type { BinaryResponse } from "./BinaryResponse.js";
|
|
3
|
+
export type { EndpointMetadata } from "./EndpointMetadata.js";
|
|
4
|
+
export { EndpointSupplier } from "./EndpointSupplier.js";
|
|
5
|
+
export type { Fetcher, FetchFunction } from "./Fetcher.js";
|
|
6
|
+
export { fetcher } from "./Fetcher.js";
|
|
7
|
+
export { getHeader } from "./getHeader.js";
|
|
8
|
+
export { HttpResponsePromise } from "./HttpResponsePromise.js";
|
|
9
|
+
export type { PassthroughRequest } from "./makePassthroughRequest.js";
|
|
10
|
+
export { makePassthroughRequest } from "./makePassthroughRequest.js";
|
|
11
|
+
export type { RawResponse, WithRawResponse } from "./RawResponse.js";
|
|
12
|
+
export { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js";
|
|
13
|
+
export { Supplier } from "./Supplier.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Supplier = exports.unknownRawResponse = exports.toRawResponse = exports.abortRawResponse = exports.makePassthroughRequest = exports.HttpResponsePromise = exports.getHeader = exports.fetcher = exports.EndpointSupplier = void 0;
|
|
4
|
+
var EndpointSupplier_js_1 = require("./EndpointSupplier.js");
|
|
5
|
+
Object.defineProperty(exports, "EndpointSupplier", { enumerable: true, get: function () { return EndpointSupplier_js_1.EndpointSupplier; } });
|
|
6
|
+
var Fetcher_js_1 = require("./Fetcher.js");
|
|
7
|
+
Object.defineProperty(exports, "fetcher", { enumerable: true, get: function () { return Fetcher_js_1.fetcher; } });
|
|
8
|
+
var getHeader_js_1 = require("./getHeader.js");
|
|
9
|
+
Object.defineProperty(exports, "getHeader", { enumerable: true, get: function () { return getHeader_js_1.getHeader; } });
|
|
10
|
+
var HttpResponsePromise_js_1 = require("./HttpResponsePromise.js");
|
|
11
|
+
Object.defineProperty(exports, "HttpResponsePromise", { enumerable: true, get: function () { return HttpResponsePromise_js_1.HttpResponsePromise; } });
|
|
12
|
+
var makePassthroughRequest_js_1 = require("./makePassthroughRequest.js");
|
|
13
|
+
Object.defineProperty(exports, "makePassthroughRequest", { enumerable: true, get: function () { return makePassthroughRequest_js_1.makePassthroughRequest; } });
|
|
14
|
+
var RawResponse_js_1 = require("./RawResponse.js");
|
|
15
|
+
Object.defineProperty(exports, "abortRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.abortRawResponse; } });
|
|
16
|
+
Object.defineProperty(exports, "toRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.toRawResponse; } });
|
|
17
|
+
Object.defineProperty(exports, "unknownRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.unknownRawResponse; } });
|
|
18
|
+
var Supplier_js_1 = require("./Supplier.js");
|
|
19
|
+
Object.defineProperty(exports, "Supplier", { enumerable: true, get: function () { return Supplier_js_1.Supplier; } });
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type LogConfig, type Logger } from "../logging/logger.js";
|
|
2
|
+
import { Supplier } from "./Supplier.js";
|
|
3
|
+
export declare namespace PassthroughRequest {
|
|
4
|
+
/**
|
|
5
|
+
* Per-request options that can override the SDK client defaults.
|
|
6
|
+
*/
|
|
7
|
+
interface RequestOptions {
|
|
8
|
+
/** Override the default timeout for this request (in seconds). */
|
|
9
|
+
timeoutInSeconds?: number;
|
|
10
|
+
/** Override the default number of retries for this request. */
|
|
11
|
+
maxRetries?: number;
|
|
12
|
+
/** Additional headers to include in this request. */
|
|
13
|
+
headers?: Record<string, string>;
|
|
14
|
+
/** Abort signal for this request. */
|
|
15
|
+
abortSignal?: AbortSignal;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* SDK client configuration used by the passthrough fetch method.
|
|
19
|
+
*/
|
|
20
|
+
interface ClientOptions {
|
|
21
|
+
/** The base URL or environment for the client. */
|
|
22
|
+
environment?: Supplier<string>;
|
|
23
|
+
/** Override the base URL. */
|
|
24
|
+
baseUrl?: Supplier<string>;
|
|
25
|
+
/** Default headers to include in requests. */
|
|
26
|
+
headers?: Record<string, unknown>;
|
|
27
|
+
/** Default maximum time to wait for a response in seconds. */
|
|
28
|
+
timeoutInSeconds?: number;
|
|
29
|
+
/** Default number of times to retry the request. Defaults to 2. */
|
|
30
|
+
maxRetries?: number;
|
|
31
|
+
/** A custom fetch function. */
|
|
32
|
+
fetch?: typeof fetch;
|
|
33
|
+
/** Logging configuration. */
|
|
34
|
+
logging?: LogConfig | Logger;
|
|
35
|
+
/** A function that returns auth headers. */
|
|
36
|
+
getAuthHeaders?: () => Promise<Record<string, string>>;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Makes a passthrough HTTP request using the SDK's configuration (auth, retry, logging, etc.)
|
|
41
|
+
* while mimicking the standard `fetch` API.
|
|
42
|
+
*
|
|
43
|
+
* @param input - The URL, path, or Request object. If a relative path, it will be resolved against the configured base URL.
|
|
44
|
+
* @param init - Standard RequestInit options (method, headers, body, signal, etc.)
|
|
45
|
+
* @param clientOptions - SDK client options (auth, default headers, logging, etc.)
|
|
46
|
+
* @param requestOptions - Per-request overrides (timeout, retries, extra headers, abort signal).
|
|
47
|
+
* @returns A standard Response object.
|
|
48
|
+
*/
|
|
49
|
+
export declare function makePassthroughRequest(input: Request | string | URL, init: RequestInit | undefined, clientOptions: PassthroughRequest.ClientOptions, requestOptions?: PassthroughRequest.RequestOptions): Promise<Response>;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.makePassthroughRequest = makePassthroughRequest;
|
|
13
|
+
const logger_js_1 = require("../logging/logger.js");
|
|
14
|
+
const join_js_1 = require("../url/join.js");
|
|
15
|
+
const EndpointSupplier_js_1 = require("./EndpointSupplier.js");
|
|
16
|
+
const getFetchFn_js_1 = require("./getFetchFn.js");
|
|
17
|
+
const makeRequest_js_1 = require("./makeRequest.js");
|
|
18
|
+
const redactUrl_js_1 = require("./redactUrl.js");
|
|
19
|
+
const requestWithRetries_js_1 = require("./requestWithRetries.js");
|
|
20
|
+
const Supplier_js_1 = require("./Supplier.js");
|
|
21
|
+
/**
|
|
22
|
+
* Makes a passthrough HTTP request using the SDK's configuration (auth, retry, logging, etc.)
|
|
23
|
+
* while mimicking the standard `fetch` API.
|
|
24
|
+
*
|
|
25
|
+
* @param input - The URL, path, or Request object. If a relative path, it will be resolved against the configured base URL.
|
|
26
|
+
* @param init - Standard RequestInit options (method, headers, body, signal, etc.)
|
|
27
|
+
* @param clientOptions - SDK client options (auth, default headers, logging, etc.)
|
|
28
|
+
* @param requestOptions - Per-request overrides (timeout, retries, extra headers, abort signal).
|
|
29
|
+
* @returns A standard Response object.
|
|
30
|
+
*/
|
|
31
|
+
function makePassthroughRequest(input, init, clientOptions, requestOptions) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
34
|
+
const logger = (0, logger_js_1.createLogger)(clientOptions.logging);
|
|
35
|
+
// Extract URL and default init properties from Request object if provided
|
|
36
|
+
let url;
|
|
37
|
+
let effectiveInit = init;
|
|
38
|
+
if (input instanceof Request) {
|
|
39
|
+
url = input.url;
|
|
40
|
+
// If no explicit init provided, extract properties from the Request object
|
|
41
|
+
if (init == null) {
|
|
42
|
+
effectiveInit = {
|
|
43
|
+
method: input.method,
|
|
44
|
+
headers: Object.fromEntries(input.headers.entries()),
|
|
45
|
+
body: input.body,
|
|
46
|
+
signal: input.signal,
|
|
47
|
+
credentials: input.credentials,
|
|
48
|
+
cache: input.cache,
|
|
49
|
+
redirect: input.redirect,
|
|
50
|
+
referrer: input.referrer,
|
|
51
|
+
integrity: input.integrity,
|
|
52
|
+
mode: input.mode,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
url = input instanceof URL ? input.toString() : input;
|
|
58
|
+
}
|
|
59
|
+
// Resolve the base URL
|
|
60
|
+
const baseUrl = (_a = (clientOptions.baseUrl != null ? yield Supplier_js_1.Supplier.get(clientOptions.baseUrl) : undefined)) !== null && _a !== void 0 ? _a : (clientOptions.environment != null ? yield Supplier_js_1.Supplier.get(clientOptions.environment) : undefined);
|
|
61
|
+
// Determine the full URL
|
|
62
|
+
let fullUrl;
|
|
63
|
+
if (url.startsWith("http://") || url.startsWith("https://")) {
|
|
64
|
+
fullUrl = url;
|
|
65
|
+
}
|
|
66
|
+
else if (baseUrl != null) {
|
|
67
|
+
fullUrl = (0, join_js_1.join)(baseUrl, url);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
fullUrl = url;
|
|
71
|
+
}
|
|
72
|
+
// Merge headers: SDK default headers -> auth headers -> user-provided headers
|
|
73
|
+
const mergedHeaders = {};
|
|
74
|
+
// Apply SDK default headers (resolve suppliers)
|
|
75
|
+
if (clientOptions.headers != null) {
|
|
76
|
+
for (const [key, value] of Object.entries(clientOptions.headers)) {
|
|
77
|
+
const resolved = yield EndpointSupplier_js_1.EndpointSupplier.get(value, { endpointMetadata: {} });
|
|
78
|
+
if (resolved != null) {
|
|
79
|
+
mergedHeaders[key.toLowerCase()] = `${resolved}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// Apply auth headers, but only when the resolved URL targets the configured base URL.
|
|
84
|
+
// This prevents the SDK's credentials from leaking to an unrelated host when a caller
|
|
85
|
+
// passes an absolute cross-origin URL into the passthrough fetch escape hatch.
|
|
86
|
+
if (clientOptions.getAuthHeaders != null && targetsBaseUrl(fullUrl, baseUrl)) {
|
|
87
|
+
const authHeaders = yield clientOptions.getAuthHeaders();
|
|
88
|
+
for (const [key, value] of Object.entries(authHeaders)) {
|
|
89
|
+
mergedHeaders[key.toLowerCase()] = value;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// Apply user-provided headers from init
|
|
93
|
+
if ((effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.headers) != null) {
|
|
94
|
+
const initHeaders = effectiveInit.headers instanceof Headers
|
|
95
|
+
? Object.fromEntries(effectiveInit.headers.entries())
|
|
96
|
+
: Array.isArray(effectiveInit.headers)
|
|
97
|
+
? Object.fromEntries(effectiveInit.headers)
|
|
98
|
+
: effectiveInit.headers;
|
|
99
|
+
for (const [key, value] of Object.entries(initHeaders)) {
|
|
100
|
+
if (value != null) {
|
|
101
|
+
mergedHeaders[key.toLowerCase()] = value;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
// Apply per-request option headers (highest priority)
|
|
106
|
+
if ((requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers) != null) {
|
|
107
|
+
for (const [key, value] of Object.entries(requestOptions.headers)) {
|
|
108
|
+
mergedHeaders[key.toLowerCase()] = value;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
const method = (_b = effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.method) !== null && _b !== void 0 ? _b : "GET";
|
|
112
|
+
const body = effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.body;
|
|
113
|
+
const timeoutInSeconds = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : clientOptions.timeoutInSeconds;
|
|
114
|
+
const timeoutMs = timeoutInSeconds != null ? timeoutInSeconds * 1000 : undefined;
|
|
115
|
+
const maxRetries = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _d !== void 0 ? _d : clientOptions.maxRetries;
|
|
116
|
+
const abortSignal = (_f = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal) !== null && _e !== void 0 ? _e : effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.signal) !== null && _f !== void 0 ? _f : undefined;
|
|
117
|
+
const fetchFn = (_g = clientOptions.fetch) !== null && _g !== void 0 ? _g : (yield (0, getFetchFn_js_1.getFetchFn)());
|
|
118
|
+
if (logger.isDebug()) {
|
|
119
|
+
logger.debug("Making passthrough HTTP request", {
|
|
120
|
+
method,
|
|
121
|
+
url: (0, redactUrl_js_1.redactUrl)(fullUrl),
|
|
122
|
+
hasBody: body != null,
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
const response = yield (0, requestWithRetries_js_1.requestWithRetries)(() => __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
return (0, makeRequest_js_1.makeRequest)(fetchFn, fullUrl, method, mergedHeaders, body !== null && body !== void 0 ? body : undefined, timeoutMs, abortSignal, (effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.credentials) === "include", undefined, // duplex
|
|
127
|
+
false);
|
|
128
|
+
}), maxRetries);
|
|
129
|
+
if (logger.isDebug()) {
|
|
130
|
+
logger.debug("Passthrough HTTP request completed", {
|
|
131
|
+
method,
|
|
132
|
+
url: (0, redactUrl_js_1.redactUrl)(fullUrl),
|
|
133
|
+
statusCode: response.status,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
return response;
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Returns true when the resolved request URL points at the same origin as the
|
|
141
|
+
* configured base URL. Relative paths are always joined onto the base URL, so
|
|
142
|
+
* they resolve to the base origin and return true. Absolute URLs only match when
|
|
143
|
+
* their origin equals the base origin. When there is no base URL to compare
|
|
144
|
+
* against, or either value is not a parseable absolute URL, this returns false so
|
|
145
|
+
* auth headers are not attached.
|
|
146
|
+
*/
|
|
147
|
+
function targetsBaseUrl(fullUrl, baseUrl) {
|
|
148
|
+
if (baseUrl == null) {
|
|
149
|
+
return false;
|
|
150
|
+
}
|
|
151
|
+
try {
|
|
152
|
+
return new URL(fullUrl).origin === new URL(baseUrl).origin;
|
|
153
|
+
}
|
|
154
|
+
catch (_a) {
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.makeRequest = void 0;
|
|
13
|
+
exports.isCacheNoStoreSupported = isCacheNoStoreSupported;
|
|
14
|
+
exports.resetCacheNoStoreSupported = resetCacheNoStoreSupported;
|
|
15
|
+
const signals_js_1 = require("./signals.js");
|
|
16
|
+
/**
|
|
17
|
+
* Cached result of checking whether the current runtime supports
|
|
18
|
+
* the `cache` option in `Request`. Some runtimes (e.g. Cloudflare Workers)
|
|
19
|
+
* throw a TypeError when this option is used.
|
|
20
|
+
*/
|
|
21
|
+
let _cacheNoStoreSupported;
|
|
22
|
+
function isCacheNoStoreSupported() {
|
|
23
|
+
if (_cacheNoStoreSupported != null) {
|
|
24
|
+
return _cacheNoStoreSupported;
|
|
25
|
+
}
|
|
26
|
+
try {
|
|
27
|
+
new Request("http://localhost", { cache: "no-store" });
|
|
28
|
+
_cacheNoStoreSupported = true;
|
|
29
|
+
}
|
|
30
|
+
catch (_a) {
|
|
31
|
+
_cacheNoStoreSupported = false;
|
|
32
|
+
}
|
|
33
|
+
return _cacheNoStoreSupported;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Reset the cached result of `isCacheNoStoreSupported`. Exposed for testing only.
|
|
37
|
+
*/
|
|
38
|
+
function resetCacheNoStoreSupported() {
|
|
39
|
+
_cacheNoStoreSupported = undefined;
|
|
40
|
+
}
|
|
41
|
+
const makeRequest = (fetchFn, url, method, headers, requestBody, timeoutMs, abortSignal, withCredentials, duplex, disableCache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
|
+
const signals = [];
|
|
43
|
+
let timeoutAbortId;
|
|
44
|
+
if (timeoutMs != null) {
|
|
45
|
+
const { signal, abortId } = (0, signals_js_1.getTimeoutSignal)(timeoutMs);
|
|
46
|
+
timeoutAbortId = abortId;
|
|
47
|
+
signals.push(signal);
|
|
48
|
+
}
|
|
49
|
+
if (abortSignal != null) {
|
|
50
|
+
signals.push(abortSignal);
|
|
51
|
+
}
|
|
52
|
+
const newSignals = (0, signals_js_1.anySignal)(signals);
|
|
53
|
+
const response = yield fetchFn(url, Object.assign({ method: method, headers, body: requestBody, signal: newSignals, credentials: withCredentials ? "include" : undefined,
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
duplex }, (disableCache && isCacheNoStoreSupported() ? { cache: "no-store" } : {})));
|
|
56
|
+
if (timeoutAbortId != null) {
|
|
57
|
+
clearTimeout(timeoutAbortId);
|
|
58
|
+
}
|
|
59
|
+
return response;
|
|
60
|
+
});
|
|
61
|
+
exports.makeRequest = makeRequest;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SENSITIVE_QUERY_PARAMS = void 0;
|
|
4
|
+
exports.redactUrl = redactUrl;
|
|
5
|
+
exports.SENSITIVE_QUERY_PARAMS = new Set([
|
|
6
|
+
"api_key",
|
|
7
|
+
"api-key",
|
|
8
|
+
"apikey",
|
|
9
|
+
"token",
|
|
10
|
+
"access_token",
|
|
11
|
+
"access-token",
|
|
12
|
+
"auth_token",
|
|
13
|
+
"auth-token",
|
|
14
|
+
"password",
|
|
15
|
+
"passwd",
|
|
16
|
+
"secret",
|
|
17
|
+
"api_secret",
|
|
18
|
+
"api-secret",
|
|
19
|
+
"apisecret",
|
|
20
|
+
"key",
|
|
21
|
+
"session",
|
|
22
|
+
"session_id",
|
|
23
|
+
"session-id",
|
|
24
|
+
]);
|
|
25
|
+
function redactUrl(url) {
|
|
26
|
+
const protocolIndex = url.indexOf("://");
|
|
27
|
+
if (protocolIndex === -1)
|
|
28
|
+
return url;
|
|
29
|
+
const afterProtocol = protocolIndex + 3;
|
|
30
|
+
// Find the first delimiter that marks the end of the authority section
|
|
31
|
+
const pathStart = url.indexOf("/", afterProtocol);
|
|
32
|
+
let queryStart = url.indexOf("?", afterProtocol);
|
|
33
|
+
let fragmentStart = url.indexOf("#", afterProtocol);
|
|
34
|
+
const firstDelimiter = Math.min(pathStart === -1 ? url.length : pathStart, queryStart === -1 ? url.length : queryStart, fragmentStart === -1 ? url.length : fragmentStart);
|
|
35
|
+
// Find the LAST @ before the delimiter (handles multiple @ in credentials)
|
|
36
|
+
let atIndex = -1;
|
|
37
|
+
for (let i = afterProtocol; i < firstDelimiter; i++) {
|
|
38
|
+
if (url[i] === "@") {
|
|
39
|
+
atIndex = i;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if (atIndex !== -1) {
|
|
43
|
+
url = `${url.slice(0, afterProtocol)}[REDACTED]@${url.slice(atIndex + 1)}`;
|
|
44
|
+
}
|
|
45
|
+
// Recalculate queryStart since url might have changed
|
|
46
|
+
queryStart = url.indexOf("?");
|
|
47
|
+
if (queryStart === -1)
|
|
48
|
+
return url;
|
|
49
|
+
fragmentStart = url.indexOf("#", queryStart);
|
|
50
|
+
const queryEnd = fragmentStart !== -1 ? fragmentStart : url.length;
|
|
51
|
+
const queryString = url.slice(queryStart + 1, queryEnd);
|
|
52
|
+
if (queryString.length === 0)
|
|
53
|
+
return url;
|
|
54
|
+
// FAST PATH: Quick check if any sensitive keywords present
|
|
55
|
+
// Using indexOf is faster than regex for simple substring matching
|
|
56
|
+
const lower = queryString.toLowerCase();
|
|
57
|
+
const hasSensitive = lower.includes("token") ||
|
|
58
|
+
lower.includes("key") ||
|
|
59
|
+
lower.includes("password") ||
|
|
60
|
+
lower.includes("passwd") ||
|
|
61
|
+
lower.includes("secret") ||
|
|
62
|
+
lower.includes("session") ||
|
|
63
|
+
lower.includes("auth");
|
|
64
|
+
if (!hasSensitive) {
|
|
65
|
+
return url;
|
|
66
|
+
}
|
|
67
|
+
// SLOW PATH: Parse and redact
|
|
68
|
+
const redactedParams = [];
|
|
69
|
+
const params = queryString.split("&");
|
|
70
|
+
for (const param of params) {
|
|
71
|
+
const equalIndex = param.indexOf("=");
|
|
72
|
+
if (equalIndex === -1) {
|
|
73
|
+
redactedParams.push(param);
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
const key = param.slice(0, equalIndex);
|
|
77
|
+
let shouldRedact = exports.SENSITIVE_QUERY_PARAMS.has(key.toLowerCase());
|
|
78
|
+
if (!shouldRedact && key.includes("%")) {
|
|
79
|
+
try {
|
|
80
|
+
const decodedKey = decodeURIComponent(key);
|
|
81
|
+
shouldRedact = exports.SENSITIVE_QUERY_PARAMS.has(decodedKey.toLowerCase());
|
|
82
|
+
}
|
|
83
|
+
catch (_a) { }
|
|
84
|
+
}
|
|
85
|
+
redactedParams.push(shouldRedact ? `${key}=[REDACTED]` : param);
|
|
86
|
+
}
|
|
87
|
+
return url.slice(0, queryStart + 1) + redactedParams.join("&") + url.slice(queryEnd);
|
|
88
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.requestWithRetries = requestWithRetries;
|
|
13
|
+
const INITIAL_RETRY_DELAY = 1000; // in milliseconds
|
|
14
|
+
const MAX_RETRY_DELAY = 60000; // in milliseconds
|
|
15
|
+
const DEFAULT_MAX_RETRIES = 2;
|
|
16
|
+
const JITTER_FACTOR = 0.2; // 20% random jitter
|
|
17
|
+
function isRetryableStatusCode(statusCode) {
|
|
18
|
+
return [408, 429].includes(statusCode) || statusCode >= 500;
|
|
19
|
+
}
|
|
20
|
+
function addPositiveJitter(delay) {
|
|
21
|
+
const jitterMultiplier = 1 + Math.random() * JITTER_FACTOR;
|
|
22
|
+
return delay * jitterMultiplier;
|
|
23
|
+
}
|
|
24
|
+
function addSymmetricJitter(delay) {
|
|
25
|
+
const jitterMultiplier = 1 + (Math.random() - 0.5) * JITTER_FACTOR;
|
|
26
|
+
return delay * jitterMultiplier;
|
|
27
|
+
}
|
|
28
|
+
function getRetryDelayFromHeaders(response, retryAttempt) {
|
|
29
|
+
const retryAfter = response.headers.get("Retry-After");
|
|
30
|
+
if (retryAfter) {
|
|
31
|
+
const retryAfterSeconds = parseInt(retryAfter, 10);
|
|
32
|
+
if (!Number.isNaN(retryAfterSeconds) && retryAfterSeconds > 0) {
|
|
33
|
+
return Math.min(retryAfterSeconds * 1000, MAX_RETRY_DELAY);
|
|
34
|
+
}
|
|
35
|
+
const retryAfterDate = new Date(retryAfter);
|
|
36
|
+
if (!Number.isNaN(retryAfterDate.getTime())) {
|
|
37
|
+
const delay = retryAfterDate.getTime() - Date.now();
|
|
38
|
+
if (delay > 0) {
|
|
39
|
+
return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
const rateLimitReset = response.headers.get("X-RateLimit-Reset");
|
|
44
|
+
if (rateLimitReset) {
|
|
45
|
+
const resetTime = parseInt(rateLimitReset, 10);
|
|
46
|
+
if (!Number.isNaN(resetTime)) {
|
|
47
|
+
const delay = resetTime * 1000 - Date.now();
|
|
48
|
+
if (delay > 0) {
|
|
49
|
+
return addPositiveJitter(Math.min(delay, MAX_RETRY_DELAY));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return addSymmetricJitter(Math.min(INITIAL_RETRY_DELAY * Math.pow(2, retryAttempt), MAX_RETRY_DELAY));
|
|
54
|
+
}
|
|
55
|
+
function requestWithRetries(requestFn_1) {
|
|
56
|
+
return __awaiter(this, arguments, void 0, function* (requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
|
|
57
|
+
let response = yield requestFn();
|
|
58
|
+
for (let i = 0; i < maxRetries; ++i) {
|
|
59
|
+
if (isRetryableStatusCode(response.status)) {
|
|
60
|
+
const delay = getRetryDelayFromHeaders(response, i);
|
|
61
|
+
yield new Promise((resolve) => setTimeout(resolve, delay));
|
|
62
|
+
response = yield requestFn();
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return response;
|
|
69
|
+
});
|
|
70
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getTimeoutSignal = getTimeoutSignal;
|
|
4
|
+
exports.anySignal = anySignal;
|
|
5
|
+
const TIMEOUT = "timeout";
|
|
6
|
+
function getTimeoutSignal(timeoutMs) {
|
|
7
|
+
const controller = new AbortController();
|
|
8
|
+
const abortId = setTimeout(() => controller.abort(TIMEOUT), timeoutMs);
|
|
9
|
+
return { signal: controller.signal, abortId };
|
|
10
|
+
}
|
|
11
|
+
function anySignal(...args) {
|
|
12
|
+
const signals = (args.length === 1 && Array.isArray(args[0]) ? args[0] : args);
|
|
13
|
+
const controller = new AbortController();
|
|
14
|
+
for (const signal of signals) {
|
|
15
|
+
if (signal.aborted) {
|
|
16
|
+
controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
|
|
17
|
+
return controller.signal;
|
|
18
|
+
}
|
|
19
|
+
signal.addEventListener("abort", () => controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason), {
|
|
20
|
+
signal: controller.signal,
|
|
21
|
+
});
|
|
22
|
+
// Re-check after adding listener: the signal may have aborted
|
|
23
|
+
// between the initial `signal.aborted` check and the `addEventListener`
|
|
24
|
+
// call above. If it did, the abort event was already dispatched and
|
|
25
|
+
// the listener will never fire — we must manually abort.
|
|
26
|
+
if (signal.aborted) {
|
|
27
|
+
controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
|
|
28
|
+
return controller.signal;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return controller.signal;
|
|
32
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mergeHeaders = mergeHeaders;
|
|
4
|
+
exports.mergeOnlyDefinedHeaders = mergeOnlyDefinedHeaders;
|
|
5
|
+
function mergeHeaders(...headersArray) {
|
|
6
|
+
const result = {};
|
|
7
|
+
for (const [key, value] of headersArray
|
|
8
|
+
.filter((headers) => headers != null)
|
|
9
|
+
.flatMap((headers) => Object.entries(headers))) {
|
|
10
|
+
const insensitiveKey = key.toLowerCase();
|
|
11
|
+
if (value != null) {
|
|
12
|
+
result[insensitiveKey] = value;
|
|
13
|
+
}
|
|
14
|
+
else if (insensitiveKey in result) {
|
|
15
|
+
delete result[insensitiveKey];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
function mergeOnlyDefinedHeaders(...headersArray) {
|
|
21
|
+
const result = {};
|
|
22
|
+
for (const [key, value] of headersArray
|
|
23
|
+
.filter((headers) => headers != null)
|
|
24
|
+
.flatMap((headers) => Object.entries(headers))) {
|
|
25
|
+
const insensitiveKey = key.toLowerCase();
|
|
26
|
+
if (value != null) {
|
|
27
|
+
result[insensitiveKey] = value;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.url = exports.logging = void 0;
|
|
40
|
+
__exportStar(require("./auth/index.js"), exports);
|
|
41
|
+
__exportStar(require("./base64.js"), exports);
|
|
42
|
+
__exportStar(require("./fetcher/index.js"), exports);
|
|
43
|
+
exports.logging = __importStar(require("./logging/index.js"));
|
|
44
|
+
__exportStar(require("./runtime/index.js"), exports);
|
|
45
|
+
exports.url = __importStar(require("./url/index.js"));
|