@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
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P
|
|
7
|
-
? value
|
|
8
|
-
: new P(function (resolve) {
|
|
9
|
-
resolve(value);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
exports.getErrorResponseBody = getErrorResponseBody;
|
|
35
|
-
const json_js_1 = require('../json.js');
|
|
36
|
-
const getResponseBody_js_1 = require('./getResponseBody.js');
|
|
37
|
-
function getErrorResponseBody(response) {
|
|
38
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
var _a, _b, _c;
|
|
40
|
-
let contentType = (_a = response.headers.get('Content-Type')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
41
|
-
if (contentType == null || contentType.length === 0) {
|
|
42
|
-
return (0, getResponseBody_js_1.getResponseBody)(response);
|
|
43
|
-
}
|
|
44
|
-
if (contentType.indexOf(';') !== -1) {
|
|
45
|
-
contentType =
|
|
46
|
-
(_c = (_b = contentType.split(';')[0]) === null || _b === void 0 ? void 0 : _b.trim()) !== null && _c !== void 0
|
|
47
|
-
? _c
|
|
48
|
-
: '';
|
|
49
|
-
}
|
|
50
|
-
switch (contentType) {
|
|
51
|
-
case 'application/hal+json':
|
|
52
|
-
case 'application/json':
|
|
53
|
-
case 'application/ld+json':
|
|
54
|
-
case 'application/problem+json':
|
|
55
|
-
case 'application/vnd.api+json':
|
|
56
|
-
case 'text/json': {
|
|
57
|
-
const text = yield response.text();
|
|
58
|
-
return text.length > 0 ? (0, json_js_1.fromJson)(text) : undefined;
|
|
59
|
-
}
|
|
60
|
-
default:
|
|
61
|
-
if (contentType.startsWith('application/vnd.') && contentType.endsWith('+json')) {
|
|
62
|
-
const text = yield response.text();
|
|
63
|
-
return text.length > 0 ? (0, json_js_1.fromJson)(text) : undefined;
|
|
64
|
-
}
|
|
65
|
-
// Fallback to plain text if content type is not recognized
|
|
66
|
-
// Even if no body is present, the response will be an empty string
|
|
67
|
-
return yield response.text();
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P
|
|
7
|
-
? value
|
|
8
|
-
: new P(function (resolve) {
|
|
9
|
-
resolve(value);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
exports.getFetchFn = getFetchFn;
|
|
35
|
-
function getFetchFn() {
|
|
36
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
-
return fetch;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.getHeader = getHeader;
|
|
4
|
-
function getHeader(headers, header) {
|
|
5
|
-
for (const [headerKey, headerValue] of Object.entries(headers)) {
|
|
6
|
-
if (headerKey.toLowerCase() === header.toLowerCase()) {
|
|
7
|
-
return headerValue;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
return undefined;
|
|
11
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P
|
|
7
|
-
? value
|
|
8
|
-
: new P(function (resolve) {
|
|
9
|
-
resolve(value);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
exports.getRequestBody = getRequestBody;
|
|
35
|
-
const json_js_1 = require('../json.js');
|
|
36
|
-
const qs_js_1 = require('../url/qs.js');
|
|
37
|
-
function getRequestBody(_a) {
|
|
38
|
-
return __awaiter(this, arguments, void 0, function* ({ body, type }) {
|
|
39
|
-
if (type === 'form') {
|
|
40
|
-
return (0, qs_js_1.toQueryString)(body, { arrayFormat: 'repeat', encode: true });
|
|
41
|
-
}
|
|
42
|
-
if (type.includes('json')) {
|
|
43
|
-
return (0, json_js_1.toJson)(body);
|
|
44
|
-
} else {
|
|
45
|
-
return body;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P
|
|
7
|
-
? value
|
|
8
|
-
: new P(function (resolve) {
|
|
9
|
-
resolve(value);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
exports.getResponseBody = getResponseBody;
|
|
35
|
-
const json_js_1 = require('../json.js');
|
|
36
|
-
const BinaryResponse_js_1 = require('./BinaryResponse.js');
|
|
37
|
-
// Pins the upstream Response so undici's FinalizationRegistry can't GC it and cancel the body stream.
|
|
38
|
-
function retainResponse(target, response) {
|
|
39
|
-
Object.defineProperty(target, '__fern_response_ref', {
|
|
40
|
-
value: response,
|
|
41
|
-
enumerable: false,
|
|
42
|
-
configurable: true,
|
|
43
|
-
writable: false,
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
function getResponseBody(response, responseType) {
|
|
47
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
-
switch (responseType) {
|
|
49
|
-
case 'binary-response':
|
|
50
|
-
return (0, BinaryResponse_js_1.getBinaryResponse)(response);
|
|
51
|
-
case 'blob':
|
|
52
|
-
return yield response.blob();
|
|
53
|
-
case 'arrayBuffer':
|
|
54
|
-
return yield response.arrayBuffer();
|
|
55
|
-
case 'sse':
|
|
56
|
-
if (response.body == null) {
|
|
57
|
-
return {
|
|
58
|
-
ok: false,
|
|
59
|
-
error: {
|
|
60
|
-
reason: 'body-is-null',
|
|
61
|
-
statusCode: response.status,
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
retainResponse(response.body, response);
|
|
66
|
-
return response.body;
|
|
67
|
-
case 'streaming':
|
|
68
|
-
if (response.body == null) {
|
|
69
|
-
return {
|
|
70
|
-
ok: false,
|
|
71
|
-
error: {
|
|
72
|
-
reason: 'body-is-null',
|
|
73
|
-
statusCode: response.status,
|
|
74
|
-
},
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
retainResponse(response.body, response);
|
|
78
|
-
return response.body;
|
|
79
|
-
case 'text':
|
|
80
|
-
return yield response.text();
|
|
81
|
-
}
|
|
82
|
-
// if responseType is "json" or not specified, try to parse as JSON
|
|
83
|
-
const text = yield response.text();
|
|
84
|
-
if (text.length > 0) {
|
|
85
|
-
try {
|
|
86
|
-
const responseBody = (0, json_js_1.fromJson)(text);
|
|
87
|
-
return responseBody;
|
|
88
|
-
} catch (_err) {
|
|
89
|
-
return {
|
|
90
|
-
ok: false,
|
|
91
|
-
error: {
|
|
92
|
-
reason: 'non-json',
|
|
93
|
-
statusCode: response.status,
|
|
94
|
-
rawBody: text,
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return undefined;
|
|
100
|
-
});
|
|
101
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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';
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
-
exports.Supplier =
|
|
4
|
-
exports.unknownRawResponse =
|
|
5
|
-
exports.toRawResponse =
|
|
6
|
-
exports.abortRawResponse =
|
|
7
|
-
exports.makePassthroughRequest =
|
|
8
|
-
exports.HttpResponsePromise =
|
|
9
|
-
exports.getHeader =
|
|
10
|
-
exports.fetcher =
|
|
11
|
-
exports.EndpointSupplier =
|
|
12
|
-
void 0;
|
|
13
|
-
var EndpointSupplier_js_1 = require('./EndpointSupplier.js');
|
|
14
|
-
Object.defineProperty(exports, 'EndpointSupplier', {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return EndpointSupplier_js_1.EndpointSupplier;
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
var Fetcher_js_1 = require('./Fetcher.js');
|
|
21
|
-
Object.defineProperty(exports, 'fetcher', {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return Fetcher_js_1.fetcher;
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
var getHeader_js_1 = require('./getHeader.js');
|
|
28
|
-
Object.defineProperty(exports, 'getHeader', {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () {
|
|
31
|
-
return getHeader_js_1.getHeader;
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
var HttpResponsePromise_js_1 = require('./HttpResponsePromise.js');
|
|
35
|
-
Object.defineProperty(exports, 'HttpResponsePromise', {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function () {
|
|
38
|
-
return HttpResponsePromise_js_1.HttpResponsePromise;
|
|
39
|
-
},
|
|
40
|
-
});
|
|
41
|
-
var makePassthroughRequest_js_1 = require('./makePassthroughRequest.js');
|
|
42
|
-
Object.defineProperty(exports, 'makePassthroughRequest', {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return makePassthroughRequest_js_1.makePassthroughRequest;
|
|
46
|
-
},
|
|
47
|
-
});
|
|
48
|
-
var RawResponse_js_1 = require('./RawResponse.js');
|
|
49
|
-
Object.defineProperty(exports, 'abortRawResponse', {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return RawResponse_js_1.abortRawResponse;
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, 'toRawResponse', {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () {
|
|
58
|
-
return RawResponse_js_1.toRawResponse;
|
|
59
|
-
},
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, 'unknownRawResponse', {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () {
|
|
64
|
-
return RawResponse_js_1.unknownRawResponse;
|
|
65
|
-
},
|
|
66
|
-
});
|
|
67
|
-
var Supplier_js_1 = require('./Supplier.js');
|
|
68
|
-
Object.defineProperty(exports, 'Supplier', {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function () {
|
|
71
|
-
return Supplier_js_1.Supplier;
|
|
72
|
-
},
|
|
73
|
-
});
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { type LogConfig, type Logger } from '../logging/logger.js';
|
|
2
|
-
import { Supplier } from './Supplier.js';
|
|
3
|
-
|
|
4
|
-
export declare namespace PassthroughRequest {
|
|
5
|
-
/**
|
|
6
|
-
* Per-request options that can override the SDK client defaults.
|
|
7
|
-
*/
|
|
8
|
-
interface RequestOptions {
|
|
9
|
-
/** Override the default timeout for this request (in seconds). */
|
|
10
|
-
timeoutInSeconds?: number;
|
|
11
|
-
/** Override the default number of retries for this request. */
|
|
12
|
-
maxRetries?: number;
|
|
13
|
-
/** Additional headers to include in this request. */
|
|
14
|
-
headers?: Record<string, string>;
|
|
15
|
-
/** Abort signal for this request. */
|
|
16
|
-
abortSignal?: AbortSignal;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* SDK client configuration used by the passthrough fetch method.
|
|
20
|
-
*/
|
|
21
|
-
interface ClientOptions {
|
|
22
|
-
/** The base URL or environment for the client. */
|
|
23
|
-
environment?: Supplier<string>;
|
|
24
|
-
/** Override the base URL. */
|
|
25
|
-
baseUrl?: Supplier<string>;
|
|
26
|
-
/** Default headers to include in requests. */
|
|
27
|
-
headers?: Record<string, unknown>;
|
|
28
|
-
/** Default maximum time to wait for a response in seconds. */
|
|
29
|
-
timeoutInSeconds?: number;
|
|
30
|
-
/** Default number of times to retry the request. Defaults to 2. */
|
|
31
|
-
maxRetries?: number;
|
|
32
|
-
/** A custom fetch function. */
|
|
33
|
-
fetch?: typeof fetch;
|
|
34
|
-
/** Logging configuration. */
|
|
35
|
-
logging?: LogConfig | Logger;
|
|
36
|
-
/** A function that returns auth headers. */
|
|
37
|
-
getAuthHeaders?: () => Promise<Record<string, string>>;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Makes a passthrough HTTP request using the SDK's configuration (auth, retry, logging, etc.)
|
|
42
|
-
* while mimicking the standard `fetch` API.
|
|
43
|
-
*
|
|
44
|
-
* @param input - The URL, path, or Request object. If a relative path, it will be resolved against the configured base URL.
|
|
45
|
-
* @param init - Standard RequestInit options (method, headers, body, signal, etc.)
|
|
46
|
-
* @param clientOptions - SDK client options (auth, default headers, logging, etc.)
|
|
47
|
-
* @param requestOptions - Per-request overrides (timeout, retries, extra headers, abort signal).
|
|
48
|
-
* @returns A standard Response object.
|
|
49
|
-
*/
|
|
50
|
-
export declare function makePassthroughRequest(
|
|
51
|
-
input: Request | string | URL,
|
|
52
|
-
init: RequestInit | undefined,
|
|
53
|
-
clientOptions: PassthroughRequest.ClientOptions,
|
|
54
|
-
requestOptions?: PassthroughRequest.RequestOptions,
|
|
55
|
-
): Promise<Response>;
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P
|
|
7
|
-
? value
|
|
8
|
-
: new P(function (resolve) {
|
|
9
|
-
resolve(value);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
exports.makePassthroughRequest = makePassthroughRequest;
|
|
35
|
-
const logger_js_1 = require('../logging/logger.js');
|
|
36
|
-
const join_js_1 = require('../url/join.js');
|
|
37
|
-
const EndpointSupplier_js_1 = require('./EndpointSupplier.js');
|
|
38
|
-
const getFetchFn_js_1 = require('./getFetchFn.js');
|
|
39
|
-
const makeRequest_js_1 = require('./makeRequest.js');
|
|
40
|
-
const redactUrl_js_1 = require('./redactUrl.js');
|
|
41
|
-
const requestWithRetries_js_1 = require('./requestWithRetries.js');
|
|
42
|
-
const Supplier_js_1 = require('./Supplier.js');
|
|
43
|
-
/**
|
|
44
|
-
* Makes a passthrough HTTP request using the SDK's configuration (auth, retry, logging, etc.)
|
|
45
|
-
* while mimicking the standard `fetch` API.
|
|
46
|
-
*
|
|
47
|
-
* @param input - The URL, path, or Request object. If a relative path, it will be resolved against the configured base URL.
|
|
48
|
-
* @param init - Standard RequestInit options (method, headers, body, signal, etc.)
|
|
49
|
-
* @param clientOptions - SDK client options (auth, default headers, logging, etc.)
|
|
50
|
-
* @param requestOptions - Per-request overrides (timeout, retries, extra headers, abort signal).
|
|
51
|
-
* @returns A standard Response object.
|
|
52
|
-
*/
|
|
53
|
-
function makePassthroughRequest(input, init, clientOptions, requestOptions) {
|
|
54
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
56
|
-
const logger = (0, logger_js_1.createLogger)(clientOptions.logging);
|
|
57
|
-
// Extract URL and default init properties from Request object if provided
|
|
58
|
-
let url;
|
|
59
|
-
let effectiveInit = init;
|
|
60
|
-
if (input instanceof Request) {
|
|
61
|
-
url = input.url;
|
|
62
|
-
// If no explicit init provided, extract properties from the Request object
|
|
63
|
-
if (init == null) {
|
|
64
|
-
effectiveInit = {
|
|
65
|
-
method: input.method,
|
|
66
|
-
headers: Object.fromEntries(input.headers.entries()),
|
|
67
|
-
body: input.body,
|
|
68
|
-
signal: input.signal,
|
|
69
|
-
credentials: input.credentials,
|
|
70
|
-
cache: input.cache,
|
|
71
|
-
redirect: input.redirect,
|
|
72
|
-
referrer: input.referrer,
|
|
73
|
-
integrity: input.integrity,
|
|
74
|
-
mode: input.mode,
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
} else {
|
|
78
|
-
url = input instanceof URL ? input.toString() : input;
|
|
79
|
-
}
|
|
80
|
-
// Resolve the base URL
|
|
81
|
-
const baseUrl =
|
|
82
|
-
(_a = clientOptions.baseUrl != null ? yield Supplier_js_1.Supplier.get(clientOptions.baseUrl) : undefined) !==
|
|
83
|
-
null && _a !== void 0
|
|
84
|
-
? _a
|
|
85
|
-
: clientOptions.environment != null
|
|
86
|
-
? yield Supplier_js_1.Supplier.get(clientOptions.environment)
|
|
87
|
-
: undefined;
|
|
88
|
-
// Determine the full URL
|
|
89
|
-
let fullUrl;
|
|
90
|
-
if (url.startsWith('http://') || url.startsWith('https://')) {
|
|
91
|
-
fullUrl = url;
|
|
92
|
-
} else if (baseUrl != null) {
|
|
93
|
-
fullUrl = (0, join_js_1.join)(baseUrl, url);
|
|
94
|
-
} else {
|
|
95
|
-
fullUrl = url;
|
|
96
|
-
}
|
|
97
|
-
// Merge headers: SDK default headers -> auth headers -> user-provided headers
|
|
98
|
-
const mergedHeaders = {};
|
|
99
|
-
// Apply SDK default headers (resolve suppliers)
|
|
100
|
-
if (clientOptions.headers != null) {
|
|
101
|
-
for (const [key, value] of Object.entries(clientOptions.headers)) {
|
|
102
|
-
const resolved = yield EndpointSupplier_js_1.EndpointSupplier.get(value, { endpointMetadata: {} });
|
|
103
|
-
if (resolved != null) {
|
|
104
|
-
mergedHeaders[key.toLowerCase()] = `${resolved}`;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
// Apply auth headers, but only when the resolved URL targets the configured base URL.
|
|
109
|
-
// This prevents the SDK's credentials from leaking to an unrelated host when a caller
|
|
110
|
-
// passes an absolute cross-origin URL into the passthrough fetch escape hatch.
|
|
111
|
-
if (clientOptions.getAuthHeaders != null && targetsBaseUrl(fullUrl, baseUrl)) {
|
|
112
|
-
const authHeaders = yield clientOptions.getAuthHeaders();
|
|
113
|
-
for (const [key, value] of Object.entries(authHeaders)) {
|
|
114
|
-
mergedHeaders[key.toLowerCase()] = value;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
// Apply user-provided headers from init
|
|
118
|
-
if ((effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.headers) != null) {
|
|
119
|
-
const initHeaders =
|
|
120
|
-
effectiveInit.headers instanceof Headers
|
|
121
|
-
? Object.fromEntries(effectiveInit.headers.entries())
|
|
122
|
-
: Array.isArray(effectiveInit.headers)
|
|
123
|
-
? Object.fromEntries(effectiveInit.headers)
|
|
124
|
-
: effectiveInit.headers;
|
|
125
|
-
for (const [key, value] of Object.entries(initHeaders)) {
|
|
126
|
-
if (value != null) {
|
|
127
|
-
mergedHeaders[key.toLowerCase()] = value;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
// Apply per-request option headers (highest priority)
|
|
132
|
-
if ((requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers) != null) {
|
|
133
|
-
for (const [key, value] of Object.entries(requestOptions.headers)) {
|
|
134
|
-
mergedHeaders[key.toLowerCase()] = value;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
const method =
|
|
138
|
-
(_b = effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.method) !== null &&
|
|
139
|
-
_b !== void 0
|
|
140
|
-
? _b
|
|
141
|
-
: 'GET';
|
|
142
|
-
const body = effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.body;
|
|
143
|
-
const timeoutInSeconds =
|
|
144
|
-
(_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null &&
|
|
145
|
-
_c !== void 0
|
|
146
|
-
? _c
|
|
147
|
-
: clientOptions.timeoutInSeconds;
|
|
148
|
-
const timeoutMs = timeoutInSeconds != null ? timeoutInSeconds * 1000 : undefined;
|
|
149
|
-
const maxRetries =
|
|
150
|
-
(_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null &&
|
|
151
|
-
_d !== void 0
|
|
152
|
-
? _d
|
|
153
|
-
: clientOptions.maxRetries;
|
|
154
|
-
const abortSignal =
|
|
155
|
-
(_f =
|
|
156
|
-
(_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal) !== null &&
|
|
157
|
-
_e !== void 0
|
|
158
|
-
? _e
|
|
159
|
-
: effectiveInit === null || effectiveInit === void 0
|
|
160
|
-
? void 0
|
|
161
|
-
: effectiveInit.signal) !== null && _f !== void 0
|
|
162
|
-
? _f
|
|
163
|
-
: undefined;
|
|
164
|
-
const fetchFn = (_g = clientOptions.fetch) !== null && _g !== void 0 ? _g : yield (0, getFetchFn_js_1.getFetchFn)();
|
|
165
|
-
if (logger.isDebug()) {
|
|
166
|
-
logger.debug('Making passthrough HTTP request', {
|
|
167
|
-
method,
|
|
168
|
-
url: (0, redactUrl_js_1.redactUrl)(fullUrl),
|
|
169
|
-
hasBody: body != null,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
const response = yield (0, requestWithRetries_js_1.requestWithRetries)(
|
|
173
|
-
() =>
|
|
174
|
-
__awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
return (0, makeRequest_js_1.makeRequest)(
|
|
176
|
-
fetchFn,
|
|
177
|
-
fullUrl,
|
|
178
|
-
method,
|
|
179
|
-
mergedHeaders,
|
|
180
|
-
body !== null && body !== void 0 ? body : undefined,
|
|
181
|
-
timeoutMs,
|
|
182
|
-
abortSignal,
|
|
183
|
-
(effectiveInit === null || effectiveInit === void 0 ? void 0 : effectiveInit.credentials) === 'include',
|
|
184
|
-
undefined, // duplex
|
|
185
|
-
false,
|
|
186
|
-
);
|
|
187
|
-
}),
|
|
188
|
-
maxRetries,
|
|
189
|
-
);
|
|
190
|
-
if (logger.isDebug()) {
|
|
191
|
-
logger.debug('Passthrough HTTP request completed', {
|
|
192
|
-
method,
|
|
193
|
-
url: (0, redactUrl_js_1.redactUrl)(fullUrl),
|
|
194
|
-
statusCode: response.status,
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
return response;
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* Returns true when the resolved request URL points at the same origin as the
|
|
202
|
-
* configured base URL. Relative paths are always joined onto the base URL, so
|
|
203
|
-
* they resolve to the base origin and return true. Absolute URLs only match when
|
|
204
|
-
* their origin equals the base origin. When there is no base URL to compare
|
|
205
|
-
* against, or either value is not a parseable absolute URL, this returns false so
|
|
206
|
-
* auth headers are not attached.
|
|
207
|
-
*/
|
|
208
|
-
function targetsBaseUrl(fullUrl, baseUrl) {
|
|
209
|
-
if (baseUrl == null) {
|
|
210
|
-
return false;
|
|
211
|
-
}
|
|
212
|
-
try {
|
|
213
|
-
return new URL(fullUrl).origin === new URL(baseUrl).origin;
|
|
214
|
-
} catch (_a) {
|
|
215
|
-
return false;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare function isCacheNoStoreSupported(): boolean;
|
|
2
|
-
/**
|
|
3
|
-
* Reset the cached result of `isCacheNoStoreSupported`. Exposed for testing only.
|
|
4
|
-
*/
|
|
5
|
-
export declare function resetCacheNoStoreSupported(): void;
|
|
6
|
-
export declare const makeRequest: (
|
|
7
|
-
fetchFn: (url: string, init: RequestInit) => Promise<Response>,
|
|
8
|
-
url: string,
|
|
9
|
-
method: string,
|
|
10
|
-
headers: Headers | Record<string, string>,
|
|
11
|
-
requestBody: BodyInit | undefined,
|
|
12
|
-
timeoutMs?: number,
|
|
13
|
-
abortSignal?: AbortSignal,
|
|
14
|
-
withCredentials?: boolean,
|
|
15
|
-
duplex?: 'half',
|
|
16
|
-
disableCache?: boolean,
|
|
17
|
-
) => Promise<Response>;
|