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,197 @@
|
|
|
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
|
+
'/rate_limit/': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** @description This method retrieves the call limit and utilization data for an application. The data is retrieved for all RESTful APIs and the legacy Trading API. <br><br>The response from <b>getRateLimits</b> includes a list of the applicable resources and the "call limit", or quota, that is set for each resource. In addition to quota information, the response also includes the number of remaining calls available before the limit is reached, the time remaining before the quota resets, the number of calls made to the specific resource, and the length of the "time window" to which the quota applies. <br><br>By default, this method returns utilization data for all RESTful API and the legacy Trading API resources. Use the <b>api_name</b> and <b>api_context</b> query parameters to filter the response to only the desired APIs. <br><br>For more on call limits, see <a href="https://developer.ebay.com/support/app-check " target="_blank">Application Growth Check</a>. */
|
|
14
|
+
get: operations['getRateLimits'];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
'/user_rate_limit/': {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/** @description This method retrieves the call limit and utilization data for an application user. The call-limit data is returned for all RESTful APIs and the legacy Trading API that limit calls on a per-user basis. <br><br>The response from <b>getUserRateLimits</b> includes a list of the applicable resources and the "call limit", or quota, that is set for each resource. In addition to quota information, the response also includes the number of remaining calls available before the limit is reached, the time remaining before the quota resets, the number of calls made to the specific resource, and the length of the "time window" to which the quota applies. <br><br>By default, this method returns utilization data for all RESTful APIs resources and the legacy Trading API calls that limit request access by user. Use the <b>api_name</b> and <b>api_context</b> query parameters to filter the response to only the desired APIs. <br><br>For more on call limits, see <a href="https://developer.ebay.com/support/app-check " target="_blank">Application Growth Check</a>. */
|
|
31
|
+
get: operations['getUserRateLimits'];
|
|
32
|
+
put?: never;
|
|
33
|
+
post?: never;
|
|
34
|
+
delete?: never;
|
|
35
|
+
options?: never;
|
|
36
|
+
head?: never;
|
|
37
|
+
patch?: never;
|
|
38
|
+
trace?: never;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export type webhooks = Record<string, never>;
|
|
42
|
+
export interface components {
|
|
43
|
+
schemas: {
|
|
44
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
45
|
+
Error: {
|
|
46
|
+
/** @description Identifies the type of erro. */
|
|
47
|
+
category?: string;
|
|
48
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
49
|
+
domain?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Format: int32
|
|
52
|
+
* @description A unique number to identify the error.
|
|
53
|
+
*/
|
|
54
|
+
errorId?: number;
|
|
55
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
56
|
+
inputRefIds?: string[];
|
|
57
|
+
/** @description A more detailed explanation of the error. */
|
|
58
|
+
longMessage?: string;
|
|
59
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
60
|
+
message?: string;
|
|
61
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
62
|
+
outputRefIds?: string[];
|
|
63
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
64
|
+
parameters?: components['schemas']['ErrorParameter'][];
|
|
65
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
66
|
+
subdomain?: string;
|
|
67
|
+
};
|
|
68
|
+
ErrorParameter: {
|
|
69
|
+
/** @description The object of the error. */
|
|
70
|
+
name?: string;
|
|
71
|
+
/** @description The value of the object. */
|
|
72
|
+
value?: string;
|
|
73
|
+
};
|
|
74
|
+
/** @description This complex type defines a "rate" as the quota of calls that can be made to a resource per time window, the remaining number of calls before the threshold is met, the amount of time until the time window resets, and the length of the time window (in seconds). */
|
|
75
|
+
Rate: {
|
|
76
|
+
/**
|
|
77
|
+
* Format: int32
|
|
78
|
+
* @description The number of calls a user has made to this resource within a set time period. This time period is defined by the associated <b>timeWindow</b> value.
|
|
79
|
+
*/
|
|
80
|
+
count?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Format: int32
|
|
83
|
+
* @description The maximum number of requests that can be made to this resource during a set time period. The length of time to which the limit is applied is defined by the associated <b>timeWindow</b> value. <br><br>This value is often referred to as the "call quota" for the resource.
|
|
84
|
+
*/
|
|
85
|
+
limit?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Format: int32
|
|
88
|
+
* @description The remaining number of requests that can be made to this resource before the associated time window resets.
|
|
89
|
+
*/
|
|
90
|
+
remaining?: number;
|
|
91
|
+
/** @description The data and time the time window and accumulated calls for this resource reset. <br><br>When the <b>reset</b> time is reached, the <b>remaining</b> value is reset to the value of <b>limit</b>, and this <b>reset</b> value is reset to the current time plus the number of seconds defined by the <b>timeWindow</b> value. <br><br>The time stamp is formatted as an <a href="http://www.iso.org/iso/home/standards/iso8601.htm " target="_blank">ISO 8601</a> string, which is based on the 24-hour Universal Coordinated Time (UTC) clock. <br><br><b>Format:</b> <code>[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[sss]Z</code> <br><b>Example:</b> <code>2018-08-04T07:09:00.000Z</code> */
|
|
92
|
+
reset?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Format: int32
|
|
95
|
+
* @description A period of time, expressed in seconds. The call quota for a resource is applied to the period of time defined by the value of this field.
|
|
96
|
+
*/
|
|
97
|
+
timeWindow?: number;
|
|
98
|
+
};
|
|
99
|
+
/** @description This complex types defines the resource (such as an API method) for which the rate-limit data is returned. <br><br>A method is included in an API, and an API is part of an API context for the API version specified. */
|
|
100
|
+
RateLimit: {
|
|
101
|
+
/** @description The context of the API for which rate-limit data is returned. For example <code>buy</code>, <code>sell</code>, <code>commerce</code>, <code>developer</code> or <code>tradingapi</code>. */
|
|
102
|
+
apiContext?: string;
|
|
103
|
+
/** @description The name of the API for which rate-limit data is returned. For example <code>browse</code> for the Buy API, <code>inventory</code> for the Sell API, <code>taxonomy</code> for the Commerce API, or <code>tradingapi</code> for Trading API. */
|
|
104
|
+
apiName?: string;
|
|
105
|
+
/** @description The version of the API for which rate-limit data is returned. For example <code>v1</code> or <code>v2</code>. */
|
|
106
|
+
apiVersion?: string;
|
|
107
|
+
/** @description A list of the methods for which rate-limit data is returned. For example <code>item</code> for the Feed API, <code>getOrder</code> for the Fulfillment API, <code>getProduct</code> for the Catalog API, <code>AddItems</code> for the Trading API. */
|
|
108
|
+
resources?: components['schemas']['Resource'][];
|
|
109
|
+
};
|
|
110
|
+
/** @description This complex type defines a list of rate-limit data as it pertains to a method within the specified version of an API. */
|
|
111
|
+
RateLimitsResponse: {
|
|
112
|
+
/** @description The rate-limit data for the specified APIs. The rate-limit data is returned for all the methods in the specified APIs and data pertains to the current time window. */
|
|
113
|
+
rateLimits?: components['schemas']['RateLimit'][];
|
|
114
|
+
};
|
|
115
|
+
/** @description This complex type defines the resource (API method) and the current rate-limit data for that resource. */
|
|
116
|
+
Resource: {
|
|
117
|
+
/** @description The name of the resource (an API or an API method) to which the rate-limit data applies. */
|
|
118
|
+
name?: string;
|
|
119
|
+
/** @description A list of rate-limit data, where each list element represents the rate-limit data for a specific resource. */
|
|
120
|
+
rates?: components['schemas']['Rate'][];
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
responses: never;
|
|
124
|
+
parameters: never;
|
|
125
|
+
requestBodies: never;
|
|
126
|
+
headers: never;
|
|
127
|
+
pathItems: never;
|
|
128
|
+
}
|
|
129
|
+
export type $defs = Record<string, never>;
|
|
130
|
+
export interface operations {
|
|
131
|
+
getRateLimits: {
|
|
132
|
+
parameters: {
|
|
133
|
+
query?: {
|
|
134
|
+
/** @description This optional query parameter filters the result to include only the specified API context. <br><br><b>Valid values:</b> <ul><li><code>buy</code></li><li><code>sell</code></li> <li><code>commerce</code></li><li><code>developer</code></li><li><code>tradingapi</code></li></ul> */
|
|
135
|
+
api_context?: string;
|
|
136
|
+
/** @description This optional query parameter filters the result to include only the APIs specified. <br><br><b>Example values:</b> <ul> <li><code>browse</code> for the <a href="/../develop/apis/restful-apis/buy-apis#buy-apis" target="_blank">Buy APIs</a></li> <li><code>inventory</code> for the <a href="/../develop/apis/restful-apis/sell-apis#sell-apis" target="_blank">Sell APIs</a></li> <li><code>taxonomy</code> for the <a href="/../develop/apis/restful-apis/commerce-apis#commerce-apis" target="_blank">Commerce APIs</a></li> <li><code>tradingapi</code> for the <a href="/../Devzone/XML/docs/Reference/eBay/index.html" target="_blank">Trading APIs</a></li></ul> */
|
|
137
|
+
api_name?: string;
|
|
138
|
+
};
|
|
139
|
+
header?: never;
|
|
140
|
+
path?: never;
|
|
141
|
+
cookie?: never;
|
|
142
|
+
};
|
|
143
|
+
requestBody?: never;
|
|
144
|
+
responses: {
|
|
145
|
+
/** @description OK */
|
|
146
|
+
200: {
|
|
147
|
+
headers: Record<string, unknown>;
|
|
148
|
+
content: {
|
|
149
|
+
'application/json': components['schemas']['RateLimitsResponse'];
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
/** @description No Content */
|
|
153
|
+
204: {
|
|
154
|
+
headers: Record<string, unknown>;
|
|
155
|
+
content?: never;
|
|
156
|
+
};
|
|
157
|
+
/** @description Internal Server Error */
|
|
158
|
+
500: {
|
|
159
|
+
headers: Record<string, unknown>;
|
|
160
|
+
content?: never;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
getUserRateLimits: {
|
|
165
|
+
parameters: {
|
|
166
|
+
query?: {
|
|
167
|
+
/** @description This optional query parameter filters the result to include only the specified API context. <br><br><b>Valid values:</b> <ul><li><code>buy</code></li> <li><code>sell</code></li> <li><code>commerce</code></li> <li><code>developer</code></li> <li><code>tradingapi</code></li></ul> */
|
|
168
|
+
api_context?: string;
|
|
169
|
+
/** @description This optional query parameter filters the result to include only the APIs specified. <br><br><b>Example values:</b> <ul><li><code>browse</code> for the <a href="/../develop/apis/restful-apis/buy-apis#buy-apis" target="_blank">Buy APIs</a></li> <li><code>inventory</code> for the <a href="/../develop/apis/restful-apis/sell-apis#sell-apis" target="_blank">Sell APIs</a></li> <li><code>taxonomy</code> for the <a href="/../develop/apis/restful-apis/commerce-apis#commerce-apis" target="_blank">Commerce APIs</a></li> <li><code>tradingapi</code> for the <a href="/../Devzone/XML/docs/Reference/eBay/index.html" target="_blank">Trading APIs</a></li></ul> */
|
|
170
|
+
api_name?: string;
|
|
171
|
+
};
|
|
172
|
+
header?: never;
|
|
173
|
+
path?: never;
|
|
174
|
+
cookie?: never;
|
|
175
|
+
};
|
|
176
|
+
requestBody?: never;
|
|
177
|
+
responses: {
|
|
178
|
+
/** @description OK */
|
|
179
|
+
200: {
|
|
180
|
+
headers: Record<string, unknown>;
|
|
181
|
+
content: {
|
|
182
|
+
'application/json': components['schemas']['RateLimitsResponse'];
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
/** @description No Content */
|
|
186
|
+
204: {
|
|
187
|
+
headers: Record<string, unknown>;
|
|
188
|
+
content?: never;
|
|
189
|
+
};
|
|
190
|
+
/** @description Internal Server Error */
|
|
191
|
+
500: {
|
|
192
|
+
headers: Record<string, unknown>;
|
|
193
|
+
content?: never;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
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
|
+
'/client/register': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get?: never;
|
|
14
|
+
put?: never;
|
|
15
|
+
/** @description <span class="tablenote"><b>Note:</b> The Client Registration API is not intended for use by developers who have previously registered for a Developer Account on the eBay platform.</span><br/>This call registers a new third party financial application with eBay.<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> When calling the <b>registerClient</b> method, Third Party Providers (TPPs) are required to pass their valid eIDAS certificate to eBay via Mutual Transport Layer Security (MTLS) handshake <i>Certificate Request</i> messages.</p></div><br/>A successful call returns an HTTP status code of <b>201 Created</b> and the response payload.<h4>Registering multiple applications</h4>A regulated third party provider (identified by a unique <i>organizationIdentifier</i>) may register up to 15 different applications with eBay provided the unique <a href="#request.software_id ">software_id</a> for each application is passed in at the time of registration.<br/><br/>Each <b>registerClient</b> call that passes in a unique <a href="#request.software_id ">software_id</a> will generate new <a href="#response.client_id ">client_id</a> and <a href="#response.client_secret ">client_secret</a> keypairs.<br/><br/>If a third party provider calls <b>registerClient</b> using a previously registered <a href="#request.software_id ">software_id</a>, the existing <a href="#response.client_id ">client_id</a> and <a href="#response.client_secret ">client_secret</a> keypairs are returned.<br/><br/><span class="tablenote"><b>Note:</b> For additional information about using an <i>organizationIdentifier</i>, refer to the following sections of <a href="https://www.etsi.org/deliver/etsi_ts/119400_119499/119495/01.05.01_60/ts_119495v010501p.pdf " target="_blank ">ETSI Technical Specification 119 495</a><ul><li>Section 5.2.1: Authorization Number or other recognized identifier for Open Banking;</li><li>Section 5.4: Profile Requirements for Digital Signatures.</li></ul></span> */
|
|
16
|
+
post: operations['registerClient'];
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export type webhooks = Record<string, never>;
|
|
25
|
+
export interface components {
|
|
26
|
+
schemas: {
|
|
27
|
+
/** @description This container stores information about the third party provider's financial application that has been registered with eBay. */
|
|
28
|
+
ClientDetails: {
|
|
29
|
+
/** @description A unique, eBay-generated id assigned to the third party application at the time it was registered. */
|
|
30
|
+
client_id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Format: int32
|
|
33
|
+
* @description The UNIX timestamp when the <code>client_id</code> was issued. This time is represented as the number of seconds from "1970-01-01T00:00:00Z", as measured in UTC, until the date/time of issuance. Refer to <a href="https://datatracker.ietf.org/doc/html/rfc7591#section-2.3 " target= "_blank ">RFC 7591 - OAuth 2.0 Dynamic Client Registration Protocol</a> for complete information.
|
|
34
|
+
*/
|
|
35
|
+
client_id_issued_at?: number;
|
|
36
|
+
/** @description User-friendly name for the third party financial application.<br/><br/><span class="tablenote"><b>Note:</b> Language tags are not supported. Therefore, <code>client_name</code> will be specified in English.</span> */
|
|
37
|
+
client_name?: string;
|
|
38
|
+
/** @description A unique OAuth 2.0 secret string assigned by eBay to the third party application at the time it is registered. This value should be unique for multiple instances of a client using the same <code>client_id</code>. This value is used by confidential clients to authenticate to the token endpoint, as described in OAuth 2.0 [RFC6749], Section 2.3.1.<br/><br/><span class="tablenote"><b>Note:</b> <code>client_secret</code> is unique to the organization identifier of subject name which contains jurisdiction, NCA Id, and Authorization Number.</span> */
|
|
39
|
+
client_secret?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Format: int32
|
|
42
|
+
* @description The UNIX timestamp when the <code>client_secret</code> expires.<br/><br/><span class="tablenote"><b>Note:</b> When a <code>client_secret</code> has been provided, this field is <b>REQUIRED</b>.</span><br/>A returned value of <b>0</b> indicates that the <code>client_secret</code> never expires.<br/><br/>This time is represented as the number of seconds from "1970-01-01T00:00:00Z", as measured in UTC, until the expiration date and time. Refer to <a href="https://datatracker.ietf.org/doc/html/rfc7591#section-3.2.1 " target= "_blank ">RFC 7591 - OAuth 2.0 Dynamic Client Registration Protocol section 3.2.1</a> for complete information.
|
|
43
|
+
*/
|
|
44
|
+
client_secret_expires_at?: number;
|
|
45
|
+
/** @description This container stores an array of email addresses for representatives at the third party provider responsible for the application being registered. */
|
|
46
|
+
contacts?: string[];
|
|
47
|
+
/** @description An array of OAuth 2.0 grant type strings that the client software can use at the token endpoint. Supported grant type values are:<br/><ul><li><code>authorization_code</code>: The authorization code grant type defined in OAuth 2.0, Section 4.1.</li><li><code>client_credentials</code>: The client credentials grant type defined in OAuth 2.0, Section 4.4.</li></ul>If the token endpoint is used in the grant type, the value of this parameter <b>MUST</b> be the same as the value of the <code>grant_type</code> parameter passed to the token endpoint defined in the grant type definition. Authorization servers <b>may</b> allow for other values as defined in the grant type extension process described in OAuth 2.0, Section 4.5. If omitted, the default behavior is that the client will use only the <code>authorization_code</code> Grant Type. */
|
|
48
|
+
grant_types?: string[];
|
|
49
|
+
/** @description The URL string pointing to a human-readable privacy policy document that describes how the third party provider collects, uses, retains, and discloses personal data.<br/><br/><span class="tablenote"><b>Note:</b> Only HTTPS URLs are supported for <code>policy_uri</code> strings.</span><br/><span class="tablenote"><b>Note:</b> This URL <b>must not</b> point to the eBay Privacy Policy.</span><br/>The authorization server should display this secure URL to the end-user if it is provided. The value of this field <b>must</b> point to a valid and secure web page.<br/><br/><span class="tablenote"><b>Note:</b> Language tags are not supported. Therefore, <code>policy_uri</code> will be displayed in English.</span> */
|
|
50
|
+
policy_uri?: string;
|
|
51
|
+
/** @description An eBay system-generated value assigned to the application. This value represents the redirect uri(s) submitted by the user either in the request payload (i.e., the <code>redirect_uris</code> field,) or the <code>software_statement</code>. */
|
|
52
|
+
redirect_uris?: string[];
|
|
53
|
+
/** @description String containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. The semantics of values in this list are service specific. */
|
|
54
|
+
scope?: string;
|
|
55
|
+
/** @description A unique identifier string provided by the client developer or software publisher at the time of registration that identifies the client software being registered.<br/><br/>Unlike <code>client_id</code> which should change between instances, the <CODE>software_id</code> should be the same value for all instances of the client software. That is, the <code>software_id</code> should remain unchanged across multiple updates or versions of the same piece of software. */
|
|
56
|
+
software_id?: string;
|
|
57
|
+
/** @description The Software Statement Assertion (SSA), a JSON Web Token (JWT), that has been issued by the OpenBanking identifier. Refer to <a href="https://datatracker.ietf.org/doc/html/rfc7591#section-2.3 " target= "_blank ">RFC 7591 - OAuth 2.0 Dynamic Client Registration Protocol</a> for complete information. */
|
|
58
|
+
software_statement?: string;
|
|
59
|
+
};
|
|
60
|
+
/** @description This container stores application-specific information that is provided at the time of registration. */
|
|
61
|
+
ClientSettings: {
|
|
62
|
+
/** @description User-friendly name for the third party financial application.<br/><br/><span class="tablenote"><b>Note:</b> Language tags are not supported. Therefore, <code>client_name</code> must be specified in English.</span> */
|
|
63
|
+
client_name?: string;
|
|
64
|
+
/** @description This container stores an array of email addresses that can be used to contact the registrant.<br/><br/><span class="tablenote"><b>Note:</b> When more than one email address is provided, the first email in the array will be used as the developer account's email address. All other email addresses will be used as general contact information.</span> */
|
|
65
|
+
contacts?: string[];
|
|
66
|
+
/** @description The URL string pointing to a human-readable privacy policy document that describes how the third party provider collects, uses, retains, and discloses personal data.<br/><br/><span class="tablenote"><b>Note:</b> Only HTTPS URLs are supported for <code>policy_uri</code> strings.</span><br/><span class="tablenote"><b>Note:</b> This URL <b>must not</b> point to the eBay Privacy Policy.</span><br/>The value of this field <b>must</b> point to a valid and secure web page.<br/><br/><span class="tablenote"><b>Note:</b> Language tags are not supported. Therefore, <code>policy_uri</code> will be displayed in English.</span> */
|
|
67
|
+
policy_uri?: string;
|
|
68
|
+
/** @description An array of redirection URI strings for use in redirect-based flows such as the authorization code and implicit flows.<br/><br/><span class="tablenote"><b>Note:</b> Only the first URI string from the list will be used.</span><span class="tablenote"><b>Note:</b> Each redirection URI <b>must</b> be an absolute URI as defined by [RFC3986] Section 4.3.</span> */
|
|
69
|
+
redirect_uris?: string[];
|
|
70
|
+
/** @description A unique identifier string assigned by the client developer or software publisher to identify the client software being registered.<br/><br/>Unlike <code>client_id</code> which should change between instances, the <CODE>software_id</code> should be the same value for all instances of the client software. That is, the <code>software_id</code> should remain unchanged across multiple updates or versions of the same piece of software. The value of this field is not intended to be human readable and is usually opaque to the client and authorization server. */
|
|
71
|
+
software_id?: string;
|
|
72
|
+
/** @description The Software Statement Assertion (SSA) that has been issued by the OpenBanking identifier.<br/><br/><span class="tablenote"><b>Note:</b> This value <i>must be</i> <b>Base64</b> encoded and not plain JSON.</span>Refer to <a href="https://datatracker.ietf.org/doc/html/rfc7591#section-2.3 " target= "_blank ">RFC 7591 - OAuth 2.0 Dynamic Client Registration Protocol</a> for complete information. */
|
|
73
|
+
software_statement?: string;
|
|
74
|
+
};
|
|
75
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
76
|
+
Error: {
|
|
77
|
+
/** @description Identifies the type of erro. */
|
|
78
|
+
category?: string;
|
|
79
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
80
|
+
domain?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Format: int32
|
|
83
|
+
* @description A unique number to identify the error.
|
|
84
|
+
*/
|
|
85
|
+
errorId?: number;
|
|
86
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
87
|
+
inputRefIds?: string[];
|
|
88
|
+
/** @description A more detailed explanation of the error. */
|
|
89
|
+
longMessage?: string;
|
|
90
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
91
|
+
message?: string;
|
|
92
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
93
|
+
outputRefIds?: string[];
|
|
94
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
95
|
+
parameters?: components['schemas']['ErrorParameter'][];
|
|
96
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
97
|
+
subdomain?: string;
|
|
98
|
+
};
|
|
99
|
+
ErrorParameter: {
|
|
100
|
+
/** @description The object of the error. */
|
|
101
|
+
name?: string;
|
|
102
|
+
/** @description The value of the object. */
|
|
103
|
+
value?: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
responses: never;
|
|
107
|
+
parameters: never;
|
|
108
|
+
requestBodies: never;
|
|
109
|
+
headers: never;
|
|
110
|
+
pathItems: never;
|
|
111
|
+
}
|
|
112
|
+
export type $defs = Record<string, never>;
|
|
113
|
+
export interface operations {
|
|
114
|
+
registerClient: {
|
|
115
|
+
parameters: {
|
|
116
|
+
query?: never;
|
|
117
|
+
header: {
|
|
118
|
+
/** @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>. */
|
|
119
|
+
'Content-Type': string;
|
|
120
|
+
};
|
|
121
|
+
path?: never;
|
|
122
|
+
cookie?: never;
|
|
123
|
+
};
|
|
124
|
+
/** @description This container stores information about the third party provider's financial application that is being registered. */
|
|
125
|
+
requestBody: {
|
|
126
|
+
content: {
|
|
127
|
+
'application/json': components['schemas']['ClientSettings'];
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
responses: {
|
|
131
|
+
/** @description Created */
|
|
132
|
+
201: {
|
|
133
|
+
headers: Record<string, unknown>;
|
|
134
|
+
content: {
|
|
135
|
+
'application/json': components['schemas']['ClientDetails'];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
/** @description Bad Request */
|
|
139
|
+
400: {
|
|
140
|
+
headers: Record<string, unknown>;
|
|
141
|
+
content?: never;
|
|
142
|
+
};
|
|
143
|
+
/** @description Not Found */
|
|
144
|
+
404: {
|
|
145
|
+
headers: Record<string, unknown>;
|
|
146
|
+
content?: never;
|
|
147
|
+
};
|
|
148
|
+
/** @description Internal Server Error */
|
|
149
|
+
500: {
|
|
150
|
+
headers: Record<string, unknown>;
|
|
151
|
+
content?: never;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
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
|
+
'/signing_key': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** @description This method returns the <b>Public Key</b>, <b>Public Key as JWE</b>, and metadata for all keypairs associated with the application key making the call.<br/><br/><span class="tablenote"><b>Note:</b> It is important to note that <code>privateKey</code> values are <b>not</b> returned. In order to further ensure the security of confidential client information, eBay does <b>not</b> store <code>privateKey</code> values in any system. If a developer loses their <code>privateKey</code> they must generate new keypairs set using the <code>createSigningKey</code> method.</span> */
|
|
14
|
+
get: operations['getSigningKeys'];
|
|
15
|
+
put?: never;
|
|
16
|
+
/** @description This method creates keypairs using one of the following ciphers:<ul><li>ED25519 (Edwards Curve)</li><li>RSA</li></ul><span class="tablenote"><b>Note:</b> The recommended signature cipher is <b>ED25519</b> (Edwards Curve) since it uses much shorter keys and therefore decreases the header size. However, for development frameworks that do not support ED25519, RSA is also supported.</span><br/>Following a successful completion, the following keys are returned:<ul><li>Private Key</li><li>Public Key</li><li>Public Key as JWE</li></ul>Once keypairs are created, developers are <b>strongly advised</b> to create and store a local copy of each keypair for future reference. Although the <b>Public Key</b>, <b>Public Key as JWE</b>, and metadata for keypairs may be retrieved by the <code>getSigningKey</code> and <code>getSigningKeys</code> methods, in order to further ensure the security of confidential client information, eBay does not store the <b>Private Key</b> value in any system. If a developer loses their <b>Private Key</b> they must generate new keypairs using the <code>createSigningKey</code> method.<br/><span class="tablenote"><b>Note:</b> For additional information about using keypairs, refer to <a href= "/develop/guides/digital-signatures-for-apis " target= "_blank ">Digital Signatures for APIs</a>.</span> */
|
|
17
|
+
post: operations['createSigningKey'];
|
|
18
|
+
delete?: never;
|
|
19
|
+
options?: never;
|
|
20
|
+
head?: never;
|
|
21
|
+
patch?: never;
|
|
22
|
+
trace?: never;
|
|
23
|
+
};
|
|
24
|
+
'/signing_key/{signing_key_id}': {
|
|
25
|
+
parameters: {
|
|
26
|
+
query?: never;
|
|
27
|
+
header?: never;
|
|
28
|
+
path?: never;
|
|
29
|
+
cookie?: never;
|
|
30
|
+
};
|
|
31
|
+
/** @description This method returns the <b>Public Key</b>, <b>Public Key as JWE</b>, and metadata for a specified <code>signingKeyId</code> associated with the application key making the call.<br/><br/><span class="tablenote"><b>Note:</b> It is important to note that the <code>privateKey</code> value is <b>not</b> returned. In order to further ensure the security of confidential client information, eBay does <b>not</b> store the <code>privateKey</code> value in any system. If a developer loses their <code>privateKey</code> they must generate new keypairs using the <code>createSigningKey</code> method.</span> */
|
|
32
|
+
get: operations['getSigningKey'];
|
|
33
|
+
put?: never;
|
|
34
|
+
post?: never;
|
|
35
|
+
delete?: never;
|
|
36
|
+
options?: never;
|
|
37
|
+
head?: never;
|
|
38
|
+
patch?: never;
|
|
39
|
+
trace?: never;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export type webhooks = Record<string, never>;
|
|
43
|
+
export interface components {
|
|
44
|
+
schemas: {
|
|
45
|
+
/** @description This request creates a new signing key. */
|
|
46
|
+
CreateSigningKeyRequest: {
|
|
47
|
+
/** @description The enumerated value for the cipher to be used to create the signing key. Refer to <a href= "/api-docs/developer/key-management/types/api:SigningKeyCipher" target= "_blank">SigningKeyCiper</a> for the list of supported enum values. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/developer/key_management/types/api:SigningKeyCipher'>eBay API documentation</a> */
|
|
48
|
+
signingKeyCipher?: string;
|
|
49
|
+
};
|
|
50
|
+
/** @description This type defines the fields that can be returned in an error. */
|
|
51
|
+
Error: {
|
|
52
|
+
/** @description Identifies the type of erro. */
|
|
53
|
+
category?: string;
|
|
54
|
+
/** @description Name for the primary system where the error occurred. This is relevant for application errors. */
|
|
55
|
+
domain?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Format: int32
|
|
58
|
+
* @description A unique number to identify the error.
|
|
59
|
+
*/
|
|
60
|
+
errorId?: number;
|
|
61
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
62
|
+
inputRefIds?: string[];
|
|
63
|
+
/** @description A more detailed explanation of the error. */
|
|
64
|
+
longMessage?: string;
|
|
65
|
+
/** @description Information on how to correct the problem, in the end user's terms and language where applicable. */
|
|
66
|
+
message?: string;
|
|
67
|
+
/** @description An array of request elements most closely associated to the error. */
|
|
68
|
+
outputRefIds?: string[];
|
|
69
|
+
/** @description An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned. */
|
|
70
|
+
parameters?: components['schemas']['ErrorParameter'][];
|
|
71
|
+
/** @description Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc. */
|
|
72
|
+
subdomain?: string;
|
|
73
|
+
};
|
|
74
|
+
ErrorParameter: {
|
|
75
|
+
/** @description The object of the error. */
|
|
76
|
+
name?: string;
|
|
77
|
+
/** @description The value of the object. */
|
|
78
|
+
value?: string;
|
|
79
|
+
};
|
|
80
|
+
/** @description This container stores metadata information for all keypairs that are owned by a user. */
|
|
81
|
+
QuerySigningKeysResponse: {
|
|
82
|
+
/** @description An array of metadata information for keypairs owned by a user. */
|
|
83
|
+
signingKeys?: components['schemas']['SigningKey'][];
|
|
84
|
+
};
|
|
85
|
+
/** @description This container stores metadata for a signing key. */
|
|
86
|
+
SigningKey: {
|
|
87
|
+
/**
|
|
88
|
+
* Format: int32
|
|
89
|
+
* @description The UNIX timestamp when the <code>SigningKey</code> was created. This time is represented as the number of seconds from "1970-01-01T00:00:00Z", as measured in UTC, until the date and time the <code>SigningKey</code> was created.
|
|
90
|
+
*/
|
|
91
|
+
creationTime?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Format: int32
|
|
94
|
+
* @description The UNIX timestamp when the <code>SigningKey</code> expires. This time is represented as the number of seconds from "1970-01-01T00:00:00Z", as measured in UTC, until the date and time the <code>SigningKey</code> expires.<br/><span class="tablenote"><b>Note:</b> All keys have an expiration date of three (3) years after their <code>creationTime</code>.</span>
|
|
95
|
+
*/
|
|
96
|
+
expirationTime?: number;
|
|
97
|
+
/** @description This is the JSON Web Encrypted (JWE) value for the <code>publicKey</code>. */
|
|
98
|
+
jwe?: string;
|
|
99
|
+
/** @description This is the Private Key that has been generated using the specified <code>signingKeyCipher</code>.<br/><span class="tablenote"><b>Note:</b> The <code>privateKey</code> value will <b>only</b> be returned in the response payload of the <code>createSigningKey</code> method.<br/><br/>It will <i>never</i> be returned by the <code>getSigningKey</code> or <code>getSigningKeys</code> methods.</span>Developers are <b>strongly advised</b> to download their <code>privateKey</code> value as Privacy Enhance Mail (PEM) format and store it locally for future reference. In order to guarantee the security of confidential client information, eBay does not store <code>privateKey</code> values on any system.<br/><span class="tablenote"><b>Note:</b> If a developer loses their <code>privateKey</code> they must generate new keypairs set using the <code>createSigningKey</code> method.</span> */
|
|
100
|
+
privateKey?: string;
|
|
101
|
+
/** @description This is the Public Key that has been generated using the specified <code>signingKeyCipher</code>.<br/><br/>As a matter of good practice, developers are <b>strongly advised</b> to download this value and store it locally for safe-keeping and future reference. */
|
|
102
|
+
publicKey?: string;
|
|
103
|
+
/** @description Indicates the cipher used to create the keypairs. Refer to <a href= "/api-docs/developer/key-management/types/api:SigningKeyCipher" target= "_blank">SigningKeyCiper</a> for the list of supported enum values. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/developer/key_management/types/api:SigningKeyCipher'>eBay API documentation</a> */
|
|
104
|
+
signingKeyCipher?: string;
|
|
105
|
+
/** @description The system-generated eBay ID for the keypairs. */
|
|
106
|
+
signingKeyId?: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
responses: never;
|
|
110
|
+
parameters: never;
|
|
111
|
+
requestBodies: never;
|
|
112
|
+
headers: never;
|
|
113
|
+
pathItems: never;
|
|
114
|
+
}
|
|
115
|
+
export type $defs = Record<string, never>;
|
|
116
|
+
export interface operations {
|
|
117
|
+
getSigningKeys: {
|
|
118
|
+
parameters: {
|
|
119
|
+
query?: never;
|
|
120
|
+
header?: never;
|
|
121
|
+
path?: never;
|
|
122
|
+
cookie?: never;
|
|
123
|
+
};
|
|
124
|
+
requestBody?: never;
|
|
125
|
+
responses: {
|
|
126
|
+
/** @description OK */
|
|
127
|
+
200: {
|
|
128
|
+
headers: Record<string, unknown>;
|
|
129
|
+
content: {
|
|
130
|
+
'application/json': components['schemas']['QuerySigningKeysResponse'];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
/** @description Bad Request */
|
|
134
|
+
400: {
|
|
135
|
+
headers: Record<string, unknown>;
|
|
136
|
+
content?: never;
|
|
137
|
+
};
|
|
138
|
+
/** @description Unauthorized */
|
|
139
|
+
401: {
|
|
140
|
+
headers: Record<string, unknown>;
|
|
141
|
+
content?: never;
|
|
142
|
+
};
|
|
143
|
+
/** @description Forbidden */
|
|
144
|
+
403: {
|
|
145
|
+
headers: Record<string, unknown>;
|
|
146
|
+
content?: never;
|
|
147
|
+
};
|
|
148
|
+
/** @description Internal Server Error */
|
|
149
|
+
500: {
|
|
150
|
+
headers: Record<string, unknown>;
|
|
151
|
+
content?: never;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
createSigningKey: {
|
|
156
|
+
parameters: {
|
|
157
|
+
query?: never;
|
|
158
|
+
header: {
|
|
159
|
+
/** @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>. */
|
|
160
|
+
'Content-Type': string;
|
|
161
|
+
};
|
|
162
|
+
path?: never;
|
|
163
|
+
cookie?: never;
|
|
164
|
+
};
|
|
165
|
+
requestBody?: {
|
|
166
|
+
content: {
|
|
167
|
+
'application/json': components['schemas']['CreateSigningKeyRequest'];
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
responses: {
|
|
171
|
+
/** @description OK */
|
|
172
|
+
200: {
|
|
173
|
+
headers: Record<string, unknown>;
|
|
174
|
+
content: {
|
|
175
|
+
'application/json': components['schemas']['SigningKey'];
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
/** @description Bad Request */
|
|
179
|
+
400: {
|
|
180
|
+
headers: Record<string, unknown>;
|
|
181
|
+
content?: never;
|
|
182
|
+
};
|
|
183
|
+
/** @description Unauthorized */
|
|
184
|
+
401: {
|
|
185
|
+
headers: Record<string, unknown>;
|
|
186
|
+
content?: never;
|
|
187
|
+
};
|
|
188
|
+
/** @description Forbidden */
|
|
189
|
+
403: {
|
|
190
|
+
headers: Record<string, unknown>;
|
|
191
|
+
content?: never;
|
|
192
|
+
};
|
|
193
|
+
/** @description Internal Server Error */
|
|
194
|
+
500: {
|
|
195
|
+
headers: Record<string, unknown>;
|
|
196
|
+
content?: never;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
getSigningKey: {
|
|
201
|
+
parameters: {
|
|
202
|
+
query?: never;
|
|
203
|
+
header?: never;
|
|
204
|
+
path: {
|
|
205
|
+
/** @description The system-generated eBay ID of the keypairs being requested. */
|
|
206
|
+
signing_key_id: string;
|
|
207
|
+
};
|
|
208
|
+
cookie?: never;
|
|
209
|
+
};
|
|
210
|
+
requestBody?: never;
|
|
211
|
+
responses: {
|
|
212
|
+
/** @description OK */
|
|
213
|
+
200: {
|
|
214
|
+
headers: Record<string, unknown>;
|
|
215
|
+
content: {
|
|
216
|
+
'application/json': components['schemas']['SigningKey'];
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
/** @description Bad Request */
|
|
220
|
+
400: {
|
|
221
|
+
headers: Record<string, unknown>;
|
|
222
|
+
content?: never;
|
|
223
|
+
};
|
|
224
|
+
/** @description Unauthorized */
|
|
225
|
+
401: {
|
|
226
|
+
headers: Record<string, unknown>;
|
|
227
|
+
content?: never;
|
|
228
|
+
};
|
|
229
|
+
/** @description Forbidden */
|
|
230
|
+
403: {
|
|
231
|
+
headers: Record<string, unknown>;
|
|
232
|
+
content?: never;
|
|
233
|
+
};
|
|
234
|
+
/** @description Not found */
|
|
235
|
+
404: {
|
|
236
|
+
headers: Record<string, unknown>;
|
|
237
|
+
content?: never;
|
|
238
|
+
};
|
|
239
|
+
/** @description Internal Server Error */
|
|
240
|
+
500: {
|
|
241
|
+
headers: Record<string, unknown>;
|
|
242
|
+
content?: never;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
}
|