@proficient/api
Advanced tools
Comparing version 0.4.0 to 0.5.0
import type { Agent } from './resources/Agent'; | ||
import type { Interaction } from './resources/Interaction'; | ||
import type { Message, MessageCreateParams } from './resources/Message'; | ||
import type { Interaction, InteractionCreateParams } from './resources/Interaction'; | ||
import type { Message, MessageCreateParams, MessageResendParams, MessageSendResponse } from './resources/Message'; | ||
export declare namespace ClientApi { | ||
@@ -12,3 +12,2 @@ type Operations = { | ||
data: Agent[]; | ||
has_more: boolean; | ||
}; | ||
@@ -24,7 +23,9 @@ }; | ||
}; | ||
GetAgentsAgentInteractions: { | ||
pathParams: { | ||
agent_id: string; | ||
GetInteractions: { | ||
pathParams: {}; | ||
queryParams: { | ||
agent_id?: string; | ||
limit?: number; | ||
starting_after?: string; | ||
}; | ||
queryParams: {}; | ||
requestBody: undefined; | ||
@@ -36,9 +37,7 @@ responseBody: { | ||
}; | ||
PostAgentsAgentInteractionsMessage: { | ||
pathParams: { | ||
agent_id: string; | ||
}; | ||
PostInteractions: { | ||
pathParams: {}; | ||
queryParams: {}; | ||
requestBody: MessageCreateParams; | ||
responseBody: Message; | ||
requestBody: InteractionCreateParams; | ||
responseBody: Interaction; | ||
}; | ||
@@ -61,7 +60,6 @@ GetInteractionsInteraction: { | ||
}; | ||
GetInteractionsInteractionMessages: { | ||
pathParams: { | ||
GetMessages: { | ||
pathParams: {}; | ||
queryParams: { | ||
interaction_id: string; | ||
}; | ||
queryParams: { | ||
limit?: number; | ||
@@ -76,10 +74,7 @@ starting_after?: string; | ||
}; | ||
GetInteractions: { | ||
PostMessages: { | ||
pathParams: {}; | ||
queryParams: {}; | ||
requestBody: undefined; | ||
responseBody: { | ||
data: Interaction[]; | ||
has_more: boolean; | ||
}; | ||
requestBody: MessageCreateParams; | ||
responseBody: MessageSendResponse; | ||
}; | ||
@@ -94,3 +89,3 @@ GetMessagesMessage: { | ||
}; | ||
PostMessagesMessageReply: { | ||
PostMessagesMessage: { | ||
pathParams: { | ||
@@ -100,4 +95,4 @@ message_id: string; | ||
queryParams: {}; | ||
requestBody: MessageCreateParams; | ||
responseBody: Message; | ||
requestBody: MessageResendParams; | ||
responseBody: MessageSendResponse; | ||
}; | ||
@@ -104,0 +99,0 @@ }; |
@@ -11,2 +11,6 @@ export interface Interaction { | ||
} | ||
export interface InteractionCreateParams { | ||
[key: string]: any; | ||
agent_id: string; | ||
} | ||
//# sourceMappingURL=Interaction.d.ts.map |
@@ -12,4 +12,15 @@ export interface Message { | ||
[key: string]: any; | ||
interaction_id: string; | ||
content: string; | ||
reply_to: string; | ||
} | ||
export interface MessageResendParams { | ||
[key: string]: any; | ||
content: string; | ||
} | ||
export interface MessageSendResponse { | ||
[key: string]: any; | ||
sent: Message; | ||
received: Message; | ||
} | ||
//# sourceMappingURL=Message.d.ts.map |
{ | ||
"name": "@proficient/api", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "source": "./src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17857
310