ebay-mcp 1.4.3
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/LICENSE +201 -0
- package/README.md +586 -0
- package/build/api/account-management/account.d.ts +216 -0
- package/build/api/account-management/account.js +305 -0
- package/build/api/analytics-and-report/analytics.d.ts +33 -0
- package/build/api/analytics-and-report/analytics.js +102 -0
- package/build/api/client.d.ts +89 -0
- package/build/api/client.js +343 -0
- package/build/api/communication/feedback.d.ts +45 -0
- package/build/api/communication/feedback.js +119 -0
- package/build/api/communication/message.d.ts +55 -0
- package/build/api/communication/message.js +131 -0
- package/build/api/communication/negotiation.d.ts +39 -0
- package/build/api/communication/negotiation.js +97 -0
- package/build/api/communication/notification.d.ts +128 -0
- package/build/api/communication/notification.js +373 -0
- package/build/api/index.d.ts +96 -0
- package/build/api/index.js +121 -0
- package/build/api/listing-management/inventory.d.ts +216 -0
- package/build/api/listing-management/inventory.js +633 -0
- package/build/api/listing-metadata/metadata.d.ts +154 -0
- package/build/api/listing-metadata/metadata.js +485 -0
- package/build/api/listing-metadata/taxonomy.d.ts +38 -0
- package/build/api/listing-metadata/taxonomy.js +58 -0
- package/build/api/marketing-and-promotions/marketing.d.ts +395 -0
- package/build/api/marketing-and-promotions/marketing.js +565 -0
- package/build/api/marketing-and-promotions/recommendation.d.ts +20 -0
- package/build/api/marketing-and-promotions/recommendation.js +32 -0
- package/build/api/order-management/dispute.d.ts +65 -0
- package/build/api/order-management/dispute.js +69 -0
- package/build/api/order-management/fulfillment.d.ts +80 -0
- package/build/api/order-management/fulfillment.js +89 -0
- package/build/api/other/compliance.d.ts +26 -0
- package/build/api/other/compliance.js +47 -0
- package/build/api/other/edelivery.d.ts +153 -0
- package/build/api/other/edelivery.js +219 -0
- package/build/api/other/identity.d.ts +17 -0
- package/build/api/other/identity.js +24 -0
- package/build/api/other/translation.d.ts +14 -0
- package/build/api/other/translation.js +22 -0
- package/build/api/other/vero.d.ts +30 -0
- package/build/api/other/vero.js +48 -0
- package/build/auth/oauth-metadata.d.ts +46 -0
- package/build/auth/oauth-metadata.js +59 -0
- package/build/auth/oauth-middleware.d.ts +35 -0
- package/build/auth/oauth-middleware.js +99 -0
- package/build/auth/oauth-types.d.ts +66 -0
- package/build/auth/oauth-types.js +4 -0
- package/build/auth/oauth.d.ts +93 -0
- package/build/auth/oauth.js +383 -0
- package/build/auth/scope-utils.d.ts +70 -0
- package/build/auth/scope-utils.js +304 -0
- package/build/auth/token-verifier.d.ts +57 -0
- package/build/auth/token-verifier.js +172 -0
- package/build/config/environment.d.ts +61 -0
- package/build/config/environment.js +260 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +98 -0
- package/build/schemas/account-management/account.d.ts +5324 -0
- package/build/schemas/account-management/account.js +366 -0
- package/build/schemas/analytics/analytics.d.ts +167 -0
- package/build/schemas/analytics/analytics.js +191 -0
- package/build/schemas/communication/messages.d.ts +1872 -0
- package/build/schemas/communication/messages.js +348 -0
- package/build/schemas/fulfillment/orders.d.ts +4655 -0
- package/build/schemas/fulfillment/orders.js +317 -0
- package/build/schemas/index.d.ts +2100 -0
- package/build/schemas/index.js +68 -0
- package/build/schemas/inventory-management/inventory.d.ts +6419 -0
- package/build/schemas/inventory-management/inventory.js +450 -0
- package/build/schemas/marketing/marketing.d.ts +14181 -0
- package/build/schemas/marketing/marketing.js +1088 -0
- package/build/schemas/metadata/metadata.d.ts +5259 -0
- package/build/schemas/metadata/metadata.js +614 -0
- package/build/schemas/other/other-apis.d.ts +257 -0
- package/build/schemas/other/other-apis.js +372 -0
- package/build/schemas/taxonomy/taxonomy.d.ts +215 -0
- package/build/schemas/taxonomy/taxonomy.js +571 -0
- package/build/scripts/auto-setup.d.ts +12 -0
- package/build/scripts/auto-setup.js +277 -0
- package/build/scripts/diagnostics.d.ts +8 -0
- package/build/scripts/diagnostics.js +299 -0
- package/build/scripts/download-specs.d.ts +1 -0
- package/build/scripts/download-specs.js +116 -0
- package/build/scripts/interactive-setup.d.ts +21 -0
- package/build/scripts/interactive-setup.js +723 -0
- package/build/server-http.d.ts +11 -0
- package/build/server-http.js +361 -0
- package/build/tools/definitions/account-with-schemas.d.ts +39 -0
- package/build/tools/definitions/account-with-schemas.js +170 -0
- package/build/tools/definitions/account.d.ts +12 -0
- package/build/tools/definitions/account.js +428 -0
- package/build/tools/definitions/analytics.d.ts +25 -0
- package/build/tools/definitions/analytics.js +66 -0
- package/build/tools/definitions/communication.d.ts +12 -0
- package/build/tools/definitions/communication.js +151 -0
- package/build/tools/definitions/fulfillment.d.ts +12 -0
- package/build/tools/definitions/fulfillment.js +326 -0
- package/build/tools/definitions/index.d.ts +25 -0
- package/build/tools/definitions/index.js +37 -0
- package/build/tools/definitions/inventory.d.ts +12 -0
- package/build/tools/definitions/inventory.js +429 -0
- package/build/tools/definitions/marketing.d.ts +12 -0
- package/build/tools/definitions/marketing.js +1095 -0
- package/build/tools/definitions/metadata.d.ts +12 -0
- package/build/tools/definitions/metadata.js +188 -0
- package/build/tools/definitions/other.d.ts +13 -0
- package/build/tools/definitions/other.js +309 -0
- package/build/tools/definitions/taxonomy.d.ts +25 -0
- package/build/tools/definitions/taxonomy.js +64 -0
- package/build/tools/definitions/token-management.d.ts +35 -0
- package/build/tools/definitions/token-management.js +103 -0
- package/build/tools/index.d.ts +11 -0
- package/build/tools/index.js +1003 -0
- package/build/tools/schemas.d.ts +14764 -0
- package/build/tools/schemas.js +667 -0
- package/build/tools/tool-definitions.d.ts +35 -0
- package/build/tools/tool-definitions.js +3534 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.d.ts +197 -0
- package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.d.ts +155 -0
- package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.d.ts +246 -0
- package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
- package/build/types/ebay-enums.d.ts +1204 -0
- package/build/types/ebay-enums.js +1330 -0
- package/build/types/ebay.d.ts +143 -0
- package/build/types/ebay.js +123 -0
- package/build/types/index.d.ts +6 -0
- package/build/types/index.js +10 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.d.ts +2579 -0
- package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.d.ts +446 -0
- package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.d.ts +705 -0
- package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.d.ts +590 -0
- package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.d.ts +1276 -0
- package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.d.ts +277 -0
- package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.d.ts +3133 -0
- package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.d.ts +2289 -0
- package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.d.ts +6650 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.d.ts +172 -0
- package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.d.ts +1869 -0
- package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.d.ts +178 -0
- package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.d.ts +128 -0
- package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.d.ts +417 -0
- package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.d.ts +273 -0
- package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.d.ts +2537 -0
- package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.d.ts +6650 -0
- package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.d.ts +172 -0
- package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
- package/build/utils/account-management/account.d.ts +1094 -0
- package/build/utils/account-management/account.js +831 -0
- package/build/utils/communication/feedback.d.ts +152 -0
- package/build/utils/communication/feedback.js +216 -0
- package/build/utils/communication/message.d.ts +174 -0
- package/build/utils/communication/message.js +242 -0
- package/build/utils/communication/negotiation.d.ts +123 -0
- package/build/utils/communication/negotiation.js +150 -0
- package/build/utils/communication/notification.d.ts +370 -0
- package/build/utils/communication/notification.js +369 -0
- package/build/utils/date-converter.d.ts +59 -0
- package/build/utils/date-converter.js +160 -0
- package/build/utils/llm-client-detector.d.ts +54 -0
- package/build/utils/llm-client-detector.js +318 -0
- package/build/utils/oauth-helper.d.ts +37 -0
- package/build/utils/oauth-helper.js +315 -0
- package/build/utils/order-management/dispute.d.ts +346 -0
- package/build/utils/order-management/dispute.js +369 -0
- package/build/utils/order-management/fulfillment.d.ts +200 -0
- package/build/utils/order-management/fulfillment.js +205 -0
- package/build/utils/other/compliance.d.ts +49 -0
- package/build/utils/other/compliance.js +76 -0
- package/build/utils/other/edelivery.d.ts +310 -0
- package/build/utils/other/edelivery.js +241 -0
- package/build/utils/other/identity.d.ts +13 -0
- package/build/utils/other/identity.js +13 -0
- package/build/utils/other/translation.d.ts +28 -0
- package/build/utils/other/translation.js +41 -0
- package/build/utils/other/vero.d.ts +61 -0
- package/build/utils/other/vero.js +90 -0
- package/build/utils/scope-helper.d.ts +49 -0
- package/build/utils/scope-helper.js +207 -0
- package/build/utils/security-checker.d.ts +46 -0
- package/build/utils/security-checker.js +248 -0
- package/build/utils/setup-validator.d.ts +25 -0
- package/build/utils/setup-validator.js +305 -0
- package/build/utils/token-utils.d.ts +40 -0
- package/build/utils/token-utils.js +40 -0
- package/package.json +115 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
'/bulk_update_conversation': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get?: never;
|
|
14
|
+
put?: never;
|
|
15
|
+
/** @description This method can be used to update the <b>conversationStatus</b> of up to 10 conversations.<br><br>The <b>conversationId</b>, existing <b>conversationType</b>, and updated <b>conversationStatus</b> for each conversation to modify are required in the <b>conversations</b> array.<br><br><div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> Though it cannot be updated, the <b>conversationType</b> field is required for each conversation being updated.</p></div><br>If the updates were successful, the <b>conversationId</b> of each conversation will be returned with an associated <b>updateStatus</b> value of <code>SUCCESSFUL</code>. */
|
|
16
|
+
post: operations['bulkUpdateConversation'];
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
'/conversation/{conversation_id}': {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/** @description This method can be used to retrieve messages within a specific conversation.<br><br>The <b>conversation_id</b> of the conversation for which to retrieve messages is required as path parameters, and the and <b>conversation_type</b> of the conversation is required as a query parameter. */
|
|
31
|
+
get: operations['getConversation'];
|
|
32
|
+
put?: never;
|
|
33
|
+
post?: never;
|
|
34
|
+
delete?: never;
|
|
35
|
+
options?: never;
|
|
36
|
+
head?: never;
|
|
37
|
+
patch?: never;
|
|
38
|
+
trace?: never;
|
|
39
|
+
};
|
|
40
|
+
'/conversation': {
|
|
41
|
+
parameters: {
|
|
42
|
+
query?: never;
|
|
43
|
+
header?: never;
|
|
44
|
+
path?: never;
|
|
45
|
+
cookie?: never;
|
|
46
|
+
};
|
|
47
|
+
/** @description This method can be used to retrieve one or more conversations associated with a user.<br><br>The <b>conversation_type</b> query parameter is required when using this method to specify if the retrieved conversations are from eBay or from members.<br><br>The result set can also optionally be filtered by conversation status, reference, username, and/or time range. The <b>limit</b> and <b>offset</b> path parameters can be used to paginate the result set and control how many conversations are returned in the response. */
|
|
48
|
+
get: operations['getConversations'];
|
|
49
|
+
put?: never;
|
|
50
|
+
post?: never;
|
|
51
|
+
delete?: never;
|
|
52
|
+
options?: never;
|
|
53
|
+
head?: never;
|
|
54
|
+
patch?: never;
|
|
55
|
+
trace?: never;
|
|
56
|
+
};
|
|
57
|
+
'/send_message': {
|
|
58
|
+
parameters: {
|
|
59
|
+
query?: never;
|
|
60
|
+
header?: never;
|
|
61
|
+
path?: never;
|
|
62
|
+
cookie?: never;
|
|
63
|
+
};
|
|
64
|
+
get?: never;
|
|
65
|
+
put?: never;
|
|
66
|
+
/** @description This method can be used to start a conversation with another user or send a message in an existing conversation with another user based on the information provided in the request.<br><br>To send a message, one of the <b>conversationId</b> or <b>otherPartyUsername</b> request fields are required. The <b>conversationId</b> must be used when sending a message in an existing conversation and specifies the conversation for which to send the message. For a new conversation, the <b>otherPartyUsername</b> field must be used to send the message to a specific user. In addition, the <b>messageText</b> field is required as it contains the body text of the message.<br><br>Optionally, media (such as images or documents) can be attached to the message using the <b>messageMedia</b> container. The <b>reference</b> container can also be used to associate a message with a listing. */
|
|
67
|
+
post: operations['sendMessage'];
|
|
68
|
+
delete?: never;
|
|
69
|
+
options?: never;
|
|
70
|
+
head?: never;
|
|
71
|
+
patch?: never;
|
|
72
|
+
trace?: never;
|
|
73
|
+
};
|
|
74
|
+
'/update_conversation': {
|
|
75
|
+
parameters: {
|
|
76
|
+
query?: never;
|
|
77
|
+
header?: never;
|
|
78
|
+
path?: never;
|
|
79
|
+
cookie?: never;
|
|
80
|
+
};
|
|
81
|
+
get?: never;
|
|
82
|
+
put?: never;
|
|
83
|
+
/** @description This method can be used to update the <b>conversationStatus</b> or the <b>read</b> status of a specified conversation.<br><br><span class="tablenote"><b>Note:</b> Only one of these statuses can be updated at a time using this method. If both fields are included, only the <b>read</b> status of the specified conversation will be updated and the <b>conversationStatus</b> field will be ignored.</span><br>The <b>conversationId</b> of the conversation to modify, as well as the existing <b>conversationType</b> of the specified conversation are required as part of the request payload.<br><br><div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> Though it cannot be updated, the existing <b>conversationType</b> of the specified conversation to be updated is required in the request payload. If this value is not provided, an error will occur.</p></div><br>To update a conversation's status (for example, updating an <code>ACTIVE</code> conversation to <code>ARCHIVE</code>), include the <b>conversationStatus</b> field in the request with the updated value. To update a conversation's read status (for example, updating an <code>UNREAD</code> conversation to <code>READ</code>), include the <b>read</b> boolean in the request with the updated value. */
|
|
84
|
+
post: operations['updateConversation'];
|
|
85
|
+
delete?: never;
|
|
86
|
+
options?: never;
|
|
87
|
+
head?: never;
|
|
88
|
+
patch?: never;
|
|
89
|
+
trace?: never;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export type webhooks = Record<string, never>;
|
|
93
|
+
export interface components {
|
|
94
|
+
schemas: {
|
|
95
|
+
/** @description This type specifies the conversations to be updated. */
|
|
96
|
+
BulkConversation: {
|
|
97
|
+
/** @description This field indicates the unique identifier of the conversation that is to be updated.<br><br>Use the <a href="/api-docs/commerce/message/resources/conversation/methods/getConversations" target="_blank">getConversations</a> method to retrieve conversation ID values. */
|
|
98
|
+
conversationId?: string;
|
|
99
|
+
/** @description This field indicates the status for which to update the associated conversation.<br><br><b>Valid values:</b><ul><li><code>ACTIVE</code></li><li><code>ARCHIVE</code></li><li><code>DELETE</code></li><li><code>READ</code></li><li><code>UNREAD</code></li></ul> */
|
|
100
|
+
conversationStatus?: string;
|
|
101
|
+
/** @description This field specifies the existing type of the conversation that is to be updated.<br><br><div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> This value <b>cannot</b> be updated using this method, but is required for each conversation being updated.</p></div><br><b>Valid values:</b><ul><li><code>FROM_MEMBERS</code></li><li><code>FROM_EBAY</code></li></ul> */
|
|
102
|
+
conversationType?: string;
|
|
103
|
+
};
|
|
104
|
+
/** @description This type defines the request body of the <b>bulkUpdateConversation</b> method. */
|
|
105
|
+
BulkUpdateConversationsRequest: {
|
|
106
|
+
/** @description This array specifies the list of conversations to update and the updated <b>conversationStatus</b> for each. */
|
|
107
|
+
conversations?: components['schemas']['BulkConversation'][];
|
|
108
|
+
};
|
|
109
|
+
/** @description This type defines the response payload of the <b>bulkUpdateConversation</b> method. */
|
|
110
|
+
BulkUpdateConversationsResponse: {
|
|
111
|
+
/** @description This container returns metadata from the call, such as how many conversations were updated, how many succeeded, and how many failed. */
|
|
112
|
+
conversationsMetadata?: components['schemas']['ConversationsMetadata'];
|
|
113
|
+
/** @description This array returns a list of each conversation specified in the request, and if the requested update was successful or failed. */
|
|
114
|
+
conversationsResponse?: components['schemas']['ConversationsResponse'][];
|
|
115
|
+
};
|
|
116
|
+
/** @description This type defines the details of a conversation, such as its ID, status, type, and latest message. */
|
|
117
|
+
ConversationDetail: {
|
|
118
|
+
/** @description The unique identifier of the conversation. */
|
|
119
|
+
conversationId?: string;
|
|
120
|
+
/** @description This value indicates the current status of the conversation, such as <code>ACTIVE</code> or <code>ARCHIVE</code>. */
|
|
121
|
+
conversationStatus?: string;
|
|
122
|
+
/** @description The title of the conversation. */
|
|
123
|
+
conversationTitle?: string;
|
|
124
|
+
/** @description This value indicates the type of the conversation, such as <code>FROM_EBAY</code> or <code>FROM_MEMBERS</code>. */
|
|
125
|
+
conversationType?: string;
|
|
126
|
+
/** @description This value indicates the date, in ISO 8601 format, the conversation was created. */
|
|
127
|
+
createdDate?: string;
|
|
128
|
+
/** @description This container returns the latest message in the conversation and its details. */
|
|
129
|
+
latestMessage?: components['schemas']['MessageDetail'];
|
|
130
|
+
/** @description This value indicates the reference ID associated with the corresponding <b>referenceType</b> value.<br><br>In the case of a <code>LISTING</code> <b>referenceType</b>, this value will be the item ID value of the associated listing. */
|
|
131
|
+
referenceId?: string;
|
|
132
|
+
/** @description This value indicates the reference type, if applicable, associated with the conversation.<br><br>The reference type is used to specify what the conversation is in reference to. For example, a value of <code>LISTING</code> specifies that the conversation is associated with a specific listing. The item ID associated with this listing will then be returned in the <b>referenceId</b> field.<br><br>Currently, only <code>LISTING</code> will be returned. */
|
|
133
|
+
referenceType?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Format: int32
|
|
136
|
+
* @description This value indicates the amount of unread messages in the conversation.
|
|
137
|
+
*/
|
|
138
|
+
unreadCount?: number;
|
|
139
|
+
};
|
|
140
|
+
/** @description This type defines the metadata, such as successes and failures, associated with a bulk conversation status update. */
|
|
141
|
+
ConversationsMetadata: {
|
|
142
|
+
/**
|
|
143
|
+
* Format: int32
|
|
144
|
+
* @description The total amount of conversations being updated.
|
|
145
|
+
*/
|
|
146
|
+
totalConversationsCount?: number;
|
|
147
|
+
/**
|
|
148
|
+
* Format: int32
|
|
149
|
+
* @description The number of conversations in which the specified update failed.
|
|
150
|
+
*/
|
|
151
|
+
updateFailureCount?: number;
|
|
152
|
+
/**
|
|
153
|
+
* Format: int32
|
|
154
|
+
* @description The number of conversations in which the specified update succeeded.
|
|
155
|
+
*/
|
|
156
|
+
updateSuccessCount?: number;
|
|
157
|
+
};
|
|
158
|
+
/** @description This type provides the updated information for a conversation that has been modified. */
|
|
159
|
+
ConversationsResponse: {
|
|
160
|
+
/** @description The unique identifier of the conversation. */
|
|
161
|
+
conversationId?: string;
|
|
162
|
+
/** @description The update status of the conversation, such as <code>SUCCESS</code> or <code>FAILURE</code>. */
|
|
163
|
+
updateStatus?: string;
|
|
164
|
+
};
|
|
165
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
166
|
+
Error: {
|
|
167
|
+
/** @description Identifies the type of erro. */
|
|
168
|
+
category?: string;
|
|
169
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
170
|
+
domain?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Format: int32
|
|
173
|
+
* @description A unique number to identify the error.
|
|
174
|
+
*/
|
|
175
|
+
errorId?: number;
|
|
176
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
177
|
+
inputRefIds?: string[];
|
|
178
|
+
/** @description A more detailed explanation of the error. */
|
|
179
|
+
longMessage?: string;
|
|
180
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
181
|
+
message?: string;
|
|
182
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
183
|
+
outputRefIds?: string[];
|
|
184
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
185
|
+
parameters?: components['schemas']['ErrorParameter'][];
|
|
186
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
187
|
+
subdomain?: string;
|
|
188
|
+
};
|
|
189
|
+
ErrorParameter: {
|
|
190
|
+
/** @description The object of the error. */
|
|
191
|
+
name?: string;
|
|
192
|
+
/** @description The value of the object. */
|
|
193
|
+
value?: string;
|
|
194
|
+
};
|
|
195
|
+
/** @description This type defines the response payload of the <b>getConversations</b> method. */
|
|
196
|
+
GetAllMyConversationsResponse: {
|
|
197
|
+
/** @description This array returns the conversations that match the filter criteria.<br><br>Each conversation is returned with information such as its ID, status, title, type, and creation date, as well as the latest message in the conversation. */
|
|
198
|
+
conversations?: components['schemas']['ConversationDetail'][];
|
|
199
|
+
/** @description The URI to the current page of results. */
|
|
200
|
+
href?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Format: int32
|
|
203
|
+
* @description The value of the <b>limit</b> parameter submitted in the request.
|
|
204
|
+
*/
|
|
205
|
+
limit?: number;
|
|
206
|
+
/** @description The URI for the next page of results.<br><br>This value is returned if there is an additional page of results in the result set. */
|
|
207
|
+
next?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Format: int32
|
|
210
|
+
* @description The value of the <b>offset</b> parameter submitted in the request.
|
|
211
|
+
*/
|
|
212
|
+
offset?: number;
|
|
213
|
+
/** @description The URI for the previous page of results.<br><br>This is retuned if there is a previous page of results in the result set. */
|
|
214
|
+
prev?: string;
|
|
215
|
+
/**
|
|
216
|
+
* Format: int32
|
|
217
|
+
* @description The total number of entries returned in the result set.
|
|
218
|
+
*/
|
|
219
|
+
total?: number;
|
|
220
|
+
};
|
|
221
|
+
/** @description This type defines the response payload of the <b>getConversation</b> method. */
|
|
222
|
+
GetMessagesByConversationIdResponse: {
|
|
223
|
+
/** @description The current status of the conversation, such as <code>ACTIVE</code> or <code>ARCHIVE</code>. */
|
|
224
|
+
conversationStatus?: string;
|
|
225
|
+
/** @description The title of the conversation. */
|
|
226
|
+
conversationTitle?: string;
|
|
227
|
+
/** @description The type of the conversation, such as <code>FROM_EBAY</code> or <code>FROM_MEMBERS</code>. */
|
|
228
|
+
conversationType?: string;
|
|
229
|
+
/** @description The URI to the current page of results. */
|
|
230
|
+
href?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Format: int32
|
|
233
|
+
* @description The value of the <b>limit</b> parameter submitted in the request.
|
|
234
|
+
*/
|
|
235
|
+
limit?: number;
|
|
236
|
+
/** @description This array returns a list of messages from the specified conversation. */
|
|
237
|
+
messages?: components['schemas']['MessageDetail'][];
|
|
238
|
+
/** @description The URI for the next page of results.<br><br>This value is only returned if there is an additional page of results in the result set. */
|
|
239
|
+
next?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Format: int32
|
|
242
|
+
* @description The value of the <b>offset</b> parameter submitted in the request.
|
|
243
|
+
*/
|
|
244
|
+
offset?: number;
|
|
245
|
+
/** @description The URI for the previous page of results.<br><br>This is only retuned if there is a previous page of results in the result set. */
|
|
246
|
+
prev?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Format: int32
|
|
249
|
+
* @description The total number of entries returned in the result set.
|
|
250
|
+
*/
|
|
251
|
+
total?: number;
|
|
252
|
+
};
|
|
253
|
+
/** @description This type defines message details for a conversation. */
|
|
254
|
+
MessageDetail: {
|
|
255
|
+
/** @description The date, in ISO 8601 format, the message was received. */
|
|
256
|
+
createdDate?: string;
|
|
257
|
+
/** @description The message text. */
|
|
258
|
+
messageBody?: string;
|
|
259
|
+
/** @description The unique identifier of the message. */
|
|
260
|
+
messageId?: string;
|
|
261
|
+
/** @description This array returns a list, if applicable, of media attached to the message. */
|
|
262
|
+
messageMedia?: components['schemas']['MessageMedia'][];
|
|
263
|
+
/** @description This boolean indicates if the message has been viewed by the recipient.<br><br>If this boolean is returned as <code>true</code>, the message has been read. If this boolean is returned as <code>false</code>, the message has not been read. */
|
|
264
|
+
readStatus?: boolean;
|
|
265
|
+
/** @description The eBay username of the message recipient. */
|
|
266
|
+
recipientUsername?: string;
|
|
267
|
+
/** @description The eBay username of the message sender. */
|
|
268
|
+
senderUsername?: string;
|
|
269
|
+
/** @description The subject line of the message. */
|
|
270
|
+
subject?: string;
|
|
271
|
+
};
|
|
272
|
+
/** @description This type specifies the type of message media sent when sending a message. */
|
|
273
|
+
MessageMedia: {
|
|
274
|
+
/** @description The name of the media attached to the message. */
|
|
275
|
+
mediaName?: string;
|
|
276
|
+
/** @description The type of media attached to the message.<br><br><b>Valid values:</b><ul><li><code>IMAGE</code></li><li><code>PDF</code></li><li><code>DOC</code></li><li><code>TXT</code></li></ul> */
|
|
277
|
+
mediaType?: string;
|
|
278
|
+
/** @description The URL of the self-hosted media attached to the message. URLs must use the "HTTPS" protocol. */
|
|
279
|
+
mediaUrl?: string;
|
|
280
|
+
};
|
|
281
|
+
/** @description This type specifies the reference type and associated reference ID associated with a message. */
|
|
282
|
+
Reference: {
|
|
283
|
+
/** @description This value indicates the reference ID associated with the corresponding <b>referenceType</b> value.<br><br>For example, in the case of a <code>LISTING</code> reference type, this value will be the item ID value of the listing. */
|
|
284
|
+
referenceId?: string;
|
|
285
|
+
/** @description This value indicates the reference type to associate with the conversation.<br><br>The reference type is used to specify what the conversation is in reference to. For example, a value of <code>LISTING</code> specifies that the conversation is associated with a specific listing. The item ID associated with this listing will then be returned in the <b>referenceId</b> field.<br><br>Currently, only <code>LISTING</code> is supported. */
|
|
286
|
+
referenceType?: string;
|
|
287
|
+
};
|
|
288
|
+
/** @description This type defines the request payload of the <b>sendMessage</b> method. */
|
|
289
|
+
SendMessageRequest: {
|
|
290
|
+
/** @description This field specifies the unique identifier of the conversation in which to send the message.<br><br>Use the <a href="/api-docs/commerce/message/resources/conversation/methods/getConversations" target="_blank">getConversations</a> method to retrieve conversation ID values.<br><br>This field is required if sending a message in an existing conversation. */
|
|
291
|
+
conversationId?: string;
|
|
292
|
+
/** @description This boolean indicates whether a copy of the message should be emailed to the sender.<br><br>If this boolean is input as <code>true</code>, a copy of the message will be emailed to the sender. */
|
|
293
|
+
emailCopyToSender?: boolean;
|
|
294
|
+
/** @description This array lists the individual forms of media, if any, to be attached to the message.<br><br>Up to five individual forms of media may be be sent per message. If more than five are specified in this array, an error will occur and the call will fail. */
|
|
295
|
+
messageMedia?: components['schemas']['MessageMedia'][];
|
|
296
|
+
/** @description The text of the message.<br><br><b>Max length:</b> 2000 characters */
|
|
297
|
+
messageText?: string;
|
|
298
|
+
/** @description This field specifies the eBay username of the entity for which to send the message.<br><br>This field is required if starting a new conversation with another eBay user. */
|
|
299
|
+
otherPartyUsername?: string;
|
|
300
|
+
/** @description This container should be used if the new or existing conversation is related to a specific eBay listing.<br><br>For example, a <b>referenceType</b> of <code>LISTING</code> and an associated <b>referenceId</b> will specify the item ID value of the listing associated with the message. */
|
|
301
|
+
reference?: components['schemas']['Reference'];
|
|
302
|
+
};
|
|
303
|
+
/** @description This type defines the response payload of the <b>sendMessage</b> method. */
|
|
304
|
+
SendMessageResponse: {
|
|
305
|
+
/** @description The date, in ISO 8601 format, the message was sent. */
|
|
306
|
+
createdDate?: string;
|
|
307
|
+
/** @description The message text. */
|
|
308
|
+
messageBody?: string;
|
|
309
|
+
/** @description The unique identifier of the message. */
|
|
310
|
+
messageId?: string;
|
|
311
|
+
/** @description This array will be returned if the user attached one or more images or documents to the message. */
|
|
312
|
+
messageMedia?: components['schemas']['MessageMedia'][];
|
|
313
|
+
/** @description The read status of the message.<br><br>If returned as <code>true</code>, the message has been read by the recipient. */
|
|
314
|
+
readStatus?: boolean;
|
|
315
|
+
/** @description The eBay username of the recipient. */
|
|
316
|
+
recipientUserName?: string;
|
|
317
|
+
/** @description The eBay username of the sender. */
|
|
318
|
+
senderUserName?: string;
|
|
319
|
+
/** @description The subject line of the message. */
|
|
320
|
+
subject?: string;
|
|
321
|
+
};
|
|
322
|
+
/** @description This type defines the request payload of the <b>updateConversation</b> method. */
|
|
323
|
+
UpdateConversationRequest: {
|
|
324
|
+
/** @description This field specifies the unique identifier of the conversation that is to be updated.<br><br>Use the <a href="/api-docs/commerce/message/resources/conversation/methods/getConversations" target="_blank">getConversations</a> method to retrieve conversation ID values */
|
|
325
|
+
conversationId?: string;
|
|
326
|
+
/** @description This field specifies the status for which to update the specified conversation.<br><br><b>Valid values:</b><ul><li><code>ACTIVE</code></li><li><code>ARCHIVE</code></li><li><code>DELETE</code></li></ul><span class="tablenote"><b>Note:</b> This field should not be used in conjunction with the <b>read</b> field. If both fields are input in the request, only the <b>read</b> status will be updated for the specified conversation and the <b>conversationStatus</b> field will be ignored.</span> */
|
|
327
|
+
conversationStatus?: string;
|
|
328
|
+
/** @description This field specifies the existing type of the conversation being updated.<br><br><div class="msgbox_important"><p class="msgbox_importantInDiv" data-mc-autonum="<b><span style="color: #dd1e31;" class="mcFormatColor">Important! </span></b>"><span class="autonumber"><span><b><span style="color: #dd1e31;" class="mcFormatColor">Important!</span></b></span></span> This value <b>cannot</b> be updated using this method, but is required as part of the request payload.</p></div><br><b>Valid values:</b><ul><li><code>FROM_MEMBERS</code></li><li><code>FROM_EBAY</code></li></ul> */
|
|
329
|
+
conversationType?: string;
|
|
330
|
+
/** @description This boolean specifies the read status for which to update the conversation.<br><br>If set to <code>true</code>, the conversation will update to 'read', and if set to <code>false</code>, the conversation will update to 'unread'.<br><br><span class="tablenote"><b>Note:</b> This field should not be used in conjunction with the <b>conversationStatus</b> field. If both fields are input in the request, only the <b>read</b> status will be updated for the specified conversation and the <b>conversationStatus</b> field will be ignored.</span> */
|
|
331
|
+
read?: boolean;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
responses: never;
|
|
335
|
+
parameters: never;
|
|
336
|
+
requestBodies: never;
|
|
337
|
+
headers: never;
|
|
338
|
+
pathItems: never;
|
|
339
|
+
}
|
|
340
|
+
export type $defs = Record<string, never>;
|
|
341
|
+
export interface operations {
|
|
342
|
+
bulkUpdateConversation: {
|
|
343
|
+
parameters: {
|
|
344
|
+
query?: never;
|
|
345
|
+
header: {
|
|
346
|
+
/** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br>For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
|
|
347
|
+
'Content-Type': string;
|
|
348
|
+
};
|
|
349
|
+
path?: never;
|
|
350
|
+
cookie?: never;
|
|
351
|
+
};
|
|
352
|
+
requestBody?: {
|
|
353
|
+
content: {
|
|
354
|
+
'application/json': components['schemas']['BulkUpdateConversationsRequest'];
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
responses: {
|
|
358
|
+
/** @description OK */
|
|
359
|
+
200: {
|
|
360
|
+
headers: Record<string, unknown>;
|
|
361
|
+
content: {
|
|
362
|
+
'application/json': components['schemas']['BulkUpdateConversationsResponse'];
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
/** @description Bad Request */
|
|
366
|
+
400: {
|
|
367
|
+
headers: Record<string, unknown>;
|
|
368
|
+
content?: never;
|
|
369
|
+
};
|
|
370
|
+
/** @description Unauthorized */
|
|
371
|
+
401: {
|
|
372
|
+
headers: Record<string, unknown>;
|
|
373
|
+
content?: never;
|
|
374
|
+
};
|
|
375
|
+
/** @description Forbidden */
|
|
376
|
+
403: {
|
|
377
|
+
headers: Record<string, unknown>;
|
|
378
|
+
content?: never;
|
|
379
|
+
};
|
|
380
|
+
/** @description Internal Server Error */
|
|
381
|
+
500: {
|
|
382
|
+
headers: Record<string, unknown>;
|
|
383
|
+
content?: never;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
getConversation: {
|
|
388
|
+
parameters: {
|
|
389
|
+
query: {
|
|
390
|
+
/** @description This query parameter specifies the type of the conversation being retrieved.<br><br>This parameter is always required when using the this method.<br><br><b>Valid values:</b><ul><li><code>FROM_EBAY</code></li><li><code>FROM_MEMBERS</code></li></ul> */
|
|
391
|
+
conversation_type: string;
|
|
392
|
+
/** @description The maximum number of entries that can be returned on each page of the paginated response.<br><br>Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the call retrieves entries 11 through 20 from the result set.<br><br><span class="tablenote"><b>Note:</b> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br>If this parameter is omitted, the default value is used.<br><br><b>Default:</b> 25<br><br><b>Maximum:</b> 50 */
|
|
393
|
+
limit?: string;
|
|
394
|
+
/** @description The number of reports to skip in the result set before returning the first entry in the paginated response.<br><br>Use this parameter in conjunction with the <b>limit</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>0</code> and <b>limit</b> is set to <code>10</code>, the first page of the response will contain the first 10 entries from the complete list retrieved by the call.<br><br><span class="tablenote"><b>Note:</b> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br>If this parameter is omitted, the default value is used.<br><br><b>Default:</b> 0 */
|
|
395
|
+
offset?: string;
|
|
396
|
+
};
|
|
397
|
+
header?: never;
|
|
398
|
+
path: {
|
|
399
|
+
/** @description This path parameters specifies the unique identifier of the conversation that is to be retrieved.<br><br>Use the <a href="/api-docs/commerce/message/resources/conversation/methods/getConversations" target="_blank">getConversations</a> method to retrieve conversation ID values. */
|
|
400
|
+
conversation_id: string;
|
|
401
|
+
};
|
|
402
|
+
cookie?: never;
|
|
403
|
+
};
|
|
404
|
+
requestBody?: never;
|
|
405
|
+
responses: {
|
|
406
|
+
/** @description OK */
|
|
407
|
+
200: {
|
|
408
|
+
headers: Record<string, unknown>;
|
|
409
|
+
content: {
|
|
410
|
+
'application/json': components['schemas']['GetMessagesByConversationIdResponse'];
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
/** @description Bad Request */
|
|
414
|
+
400: {
|
|
415
|
+
headers: Record<string, unknown>;
|
|
416
|
+
content?: never;
|
|
417
|
+
};
|
|
418
|
+
/** @description Unauthorized */
|
|
419
|
+
401: {
|
|
420
|
+
headers: Record<string, unknown>;
|
|
421
|
+
content?: never;
|
|
422
|
+
};
|
|
423
|
+
/** @description Forbidden */
|
|
424
|
+
403: {
|
|
425
|
+
headers: Record<string, unknown>;
|
|
426
|
+
content?: never;
|
|
427
|
+
};
|
|
428
|
+
/** @description Not Found */
|
|
429
|
+
404: {
|
|
430
|
+
headers: Record<string, unknown>;
|
|
431
|
+
content?: never;
|
|
432
|
+
};
|
|
433
|
+
/** @description Internal Server Error */
|
|
434
|
+
500: {
|
|
435
|
+
headers: Record<string, unknown>;
|
|
436
|
+
content?: never;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
getConversations: {
|
|
441
|
+
parameters: {
|
|
442
|
+
query: {
|
|
443
|
+
/** @description This query parameter specifies the status of the conversations being retrieved. Only conversations in the specified status will be returned.<br><br><b>Valid values:</b><ul><li><code>ACTIVE</code></li><li><code>ARCHIVE</code></li><li><code>DELETE</code></li><li><code>READ</code></li><li><code>UNREAD</code></li></ul> */
|
|
444
|
+
conversation_status?: string;
|
|
445
|
+
/** @description This query parameter specifies the type of the conversations being retrieved. Only conversations of the specified type will be returned.<br><br>This parameter is always required when using this method.<br><br><b>Valid values:</b><ul><li><code>FROM_EBAY</code></li><li><code>FROM_MEMBERS</code></li></ul> */
|
|
446
|
+
conversation_type: string;
|
|
447
|
+
/** @description This query parameter specifies the end time (in ISO 8601 format) for which to stop retrieving conversations.<br><br>For example, if set to <code>2024-11-06T10:00:00.000Z</code>, only messages sent before this time will be retrieved.<br><br><b>Format:</b> yyyy-MM-ddThh:mm.ss.sssZ<br><br><span class="tablenote"><b>Note:</b> Currently, this parameter is only available if the <b>conversation_type</b> of the conversation is <code>FROM_MEMBERS</code>.</span> */
|
|
448
|
+
end_time?: string;
|
|
449
|
+
/** @description The maximum number of entries that can be returned on each page of the paginated response.<br><br>Use this parameter in conjunction with the <b>offset</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>10</code> and <b>limit</b> is set to <code>10</code>, the call retrieves entries 11 through 20 from the result set.<br><br><span class="tablenote"><b>Note:</b> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br>If this parameter is omitted, the default value is used.<br><br><b>Default:</b> 25<br><br><b>Maximum:</b> 50 */
|
|
450
|
+
limit?: string;
|
|
451
|
+
/** @description The number of reports to skip in the result set before returning the first entry in the paginated response.<br><br>Use this parameter in conjunction with the <b>limit</b> parameter to control the pagination of the output. For example, if <b>offset</b> is set to <code>0</code> and <b>limit</b> is set to <code>10</code>, the first page of the response will contain the first 10 entries from the complete list retrieved by the call.<br><br><span class="tablenote"><b>Note:</b> This feature employs a zero-based list, where the first item in the list has an offset of <code>0</code>.</span><br>If this parameter is omitted, the default value is used.<br><br><b>Default:</b> 0 */
|
|
452
|
+
offset?: string;
|
|
453
|
+
/** @description This query parameter specifies the user name (login name) of an eBay user for which to retrieve conversations.<br><br>If this filter is used, only conversation(s) from the other eBay user specified through this parameter will be returned. */
|
|
454
|
+
other_party_username?: string;
|
|
455
|
+
/** @description This query parameter specifies the unique identifier of the reference (specified by the corresponding <b>reference_type</b> value) associated with the conversation. Only conversations associated with the specified reference ID will be returned.<br><br>For example, in the case of a <code>LISTING</code> reference, this value will be the item ID value of the listing.<br><br><span class="tablenote"><b>Note:</b> If this query parameter is used, the <b>reference_type</b> parameter must also be used to specify the type of reference this ID is associated with.</span> */
|
|
456
|
+
reference_id?: string;
|
|
457
|
+
/** @description This query parameter specifies the type of reference associated with a conversation.<br><br>The reference type is used to specify what the conversation is in reference to. For example, a value of <code>LISTING</code> specifies that the conversation is associated with a specific listing. The item ID associated with this listing can then be specified through the <b>reference_id</b> query parameter.<br><br>Currently, only the <code>LISTING</code> reference type is supported. */
|
|
458
|
+
reference_type?: string;
|
|
459
|
+
/** @description This query parameter specifies the start time (in ISO 8601 format) for which to start retrieving conversations.<br><br>For example, if set to <code>2024-11-06T10:00:00.000Z</code>, only messages sent after this time will be retrieved.<br><br><b>Format:</b> yyyy-MM-ddThh:mm.ss.sssZ<br><br><span class="tablenote"><b>Note:</b> Currently, this parameter is only available if the <b>conversation_type</b> of the conversation is <code>FROM_MEMBERS</code>.</span> */
|
|
460
|
+
start_time?: string;
|
|
461
|
+
};
|
|
462
|
+
header?: never;
|
|
463
|
+
path?: never;
|
|
464
|
+
cookie?: never;
|
|
465
|
+
};
|
|
466
|
+
requestBody?: never;
|
|
467
|
+
responses: {
|
|
468
|
+
/** @description OK */
|
|
469
|
+
200: {
|
|
470
|
+
headers: Record<string, unknown>;
|
|
471
|
+
content: {
|
|
472
|
+
'application/json': components['schemas']['GetAllMyConversationsResponse'];
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
/** @description Bad Request */
|
|
476
|
+
400: {
|
|
477
|
+
headers: Record<string, unknown>;
|
|
478
|
+
content?: never;
|
|
479
|
+
};
|
|
480
|
+
/** @description Unauthorized */
|
|
481
|
+
401: {
|
|
482
|
+
headers: Record<string, unknown>;
|
|
483
|
+
content?: never;
|
|
484
|
+
};
|
|
485
|
+
/** @description Forbidden */
|
|
486
|
+
403: {
|
|
487
|
+
headers: Record<string, unknown>;
|
|
488
|
+
content?: never;
|
|
489
|
+
};
|
|
490
|
+
/** @description Not Found */
|
|
491
|
+
404: {
|
|
492
|
+
headers: Record<string, unknown>;
|
|
493
|
+
content?: never;
|
|
494
|
+
};
|
|
495
|
+
/** @description Internal Server Error */
|
|
496
|
+
500: {
|
|
497
|
+
headers: Record<string, unknown>;
|
|
498
|
+
content?: never;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
sendMessage: {
|
|
503
|
+
parameters: {
|
|
504
|
+
query?: never;
|
|
505
|
+
header: {
|
|
506
|
+
/** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br>For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
|
|
507
|
+
'Content-Type': string;
|
|
508
|
+
};
|
|
509
|
+
path?: never;
|
|
510
|
+
cookie?: never;
|
|
511
|
+
};
|
|
512
|
+
requestBody?: {
|
|
513
|
+
content: {
|
|
514
|
+
'application/json': components['schemas']['SendMessageRequest'];
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
responses: {
|
|
518
|
+
/** @description Created */
|
|
519
|
+
201: {
|
|
520
|
+
headers: Record<string, unknown>;
|
|
521
|
+
content: {
|
|
522
|
+
'application/json': components['schemas']['SendMessageResponse'];
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
/** @description Bad Request */
|
|
526
|
+
400: {
|
|
527
|
+
headers: Record<string, unknown>;
|
|
528
|
+
content?: never;
|
|
529
|
+
};
|
|
530
|
+
/** @description Unauthorized */
|
|
531
|
+
401: {
|
|
532
|
+
headers: Record<string, unknown>;
|
|
533
|
+
content?: never;
|
|
534
|
+
};
|
|
535
|
+
/** @description Forbidden */
|
|
536
|
+
403: {
|
|
537
|
+
headers: Record<string, unknown>;
|
|
538
|
+
content?: never;
|
|
539
|
+
};
|
|
540
|
+
/** @description Internal Server Error */
|
|
541
|
+
500: {
|
|
542
|
+
headers: Record<string, unknown>;
|
|
543
|
+
content?: never;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
updateConversation: {
|
|
548
|
+
parameters: {
|
|
549
|
+
query?: never;
|
|
550
|
+
header: {
|
|
551
|
+
/** @description This header indicates the format of the request body provided by the client. Its value should be set to <b>application/json</b>. <br><br>For more information, refer to <a href="/api-docs/static/rest-request-components.html#HTTP" target="_blank ">HTTP request headers</a>. */
|
|
552
|
+
'Content-Type': string;
|
|
553
|
+
};
|
|
554
|
+
path?: never;
|
|
555
|
+
cookie?: never;
|
|
556
|
+
};
|
|
557
|
+
requestBody?: {
|
|
558
|
+
content: {
|
|
559
|
+
'application/json': components['schemas']['UpdateConversationRequest'];
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
responses: {
|
|
563
|
+
/** @description No Content */
|
|
564
|
+
204: {
|
|
565
|
+
headers: Record<string, unknown>;
|
|
566
|
+
content?: never;
|
|
567
|
+
};
|
|
568
|
+
/** @description Bad Request */
|
|
569
|
+
400: {
|
|
570
|
+
headers: Record<string, unknown>;
|
|
571
|
+
content?: never;
|
|
572
|
+
};
|
|
573
|
+
/** @description Unauthorized */
|
|
574
|
+
401: {
|
|
575
|
+
headers: Record<string, unknown>;
|
|
576
|
+
content?: never;
|
|
577
|
+
};
|
|
578
|
+
/** @description Forbidden */
|
|
579
|
+
403: {
|
|
580
|
+
headers: Record<string, unknown>;
|
|
581
|
+
content?: never;
|
|
582
|
+
};
|
|
583
|
+
/** @description Internal Server Error */
|
|
584
|
+
500: {
|
|
585
|
+
headers: Record<string, unknown>;
|
|
586
|
+
content?: never;
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
}
|