ebay-api 9.4.3 → 10.0.0-RC.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +33 -2
  2. package/dist/api/restful/buy/browse/index.d.ts +1 -4
  3. package/dist/api/restful/buy/browse/index.js +0 -9
  4. package/dist/api/restful/buy/feed/index.d.ts +1 -0
  5. package/dist/api/restful/buy/feed/index.js +8 -0
  6. package/dist/api/restful/buy/marketing/index.d.ts +1 -3
  7. package/dist/api/restful/buy/marketing/index.js +0 -10
  8. package/dist/api/restful/buy/order/index.d.ts +1 -1
  9. package/dist/api/restful/buy/order/index.js +1 -1
  10. package/dist/api/restful/commerce/media/index.d.ts +8 -1
  11. package/dist/api/restful/commerce/media/index.js +24 -0
  12. package/dist/api/restful/commerce/notification/index.d.ts +5 -2
  13. package/dist/api/restful/commerce/notification/index.js +15 -1
  14. package/dist/api/restful/commerce/taxonomy/index.d.ts +1 -0
  15. package/dist/api/restful/commerce/taxonomy/index.js +4 -0
  16. package/dist/api/restful/sell/compliance/index.d.ts +0 -2
  17. package/dist/api/restful/sell/compliance/index.js +0 -3
  18. package/dist/api/restful/sell/feed/index.d.ts +7 -7
  19. package/dist/api/restful/sell/finances/index.d.ts +1 -1
  20. package/dist/api/restful/sell/listing/index.d.ts +2 -1
  21. package/dist/api/restful/sell/logistics/index.d.ts +6 -5
  22. package/dist/api/restful/sell/marketing/index.d.ts +4 -1
  23. package/dist/api/restful/sell/marketing/index.js +10 -0
  24. package/dist/api/restful/sell/metadata/index.d.ts +15 -0
  25. package/dist/api/restful/sell/metadata/index.js +65 -0
  26. package/dist/api/restful/sell/negotiation/index.d.ts +2 -1
  27. package/dist/ebay-api.min.mjs +1 -1
  28. package/dist/types/restful/specs/buy_browse_v1_oas3.d.ts +239 -655
  29. package/dist/types/restful/specs/buy_deal_v1_oas3.d.ts +34 -171
  30. package/dist/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +146 -217
  31. package/dist/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +19 -208
  32. package/dist/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +13 -84
  33. package/dist/types/restful/specs/buy_order_v2_oas3.d.ts +470 -0
  34. package/dist/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +37 -562
  35. package/dist/types/restful/specs/commerce_charity_v1_oas3.d.ts +10 -130
  36. package/dist/types/restful/specs/commerce_identity_v1_oas3.d.ts +6 -39
  37. package/dist/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +209 -132
  38. package/dist/types/restful/specs/commerce_notification_v1_oas3.d.ts +272 -716
  39. package/dist/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +77 -339
  40. package/dist/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +11 -38
  41. package/dist/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +24 -91
  42. package/dist/types/restful/specs/developer_key_management_v1_oas3.d.ts +21 -132
  43. package/dist/types/restful/specs/sell_account_v1_oas3.d.ts +193 -1696
  44. package/dist/types/restful/specs/sell_compliance_v1_oas3.d.ts +21 -148
  45. package/dist/types/restful/specs/sell_feed_v1_oas3.d.ts +122 -902
  46. package/dist/types/restful/specs/sell_finances_v1_oas3.d.ts +99 -275
  47. package/dist/types/restful/specs/sell_inventory_v1_oas3.d.ts +212 -1257
  48. package/dist/types/restful/specs/sell_logistics_v1_oas3.d.ts +77 -281
  49. package/dist/types/restful/specs/sell_marketing_v1_oas3.d.ts +563 -3197
  50. package/dist/types/restful/specs/sell_metadata_v1_oas3.d.ts +709 -330
  51. package/dist/types/restful/specs/sell_negotiation_v1_oas3.d.ts +15 -82
  52. package/dist/types/restful/specs/sell_recommendation_v1_oas3.d.ts +10 -43
  53. package/dist/types/restfulTypes.d.ts +33 -14
  54. package/lib/api/restful/buy/browse/index.d.ts +1 -4
  55. package/lib/api/restful/buy/browse/index.js +0 -9
  56. package/lib/api/restful/buy/feed/index.d.ts +1 -0
  57. package/lib/api/restful/buy/feed/index.js +8 -0
  58. package/lib/api/restful/buy/marketing/index.d.ts +1 -3
  59. package/lib/api/restful/buy/marketing/index.js +0 -10
  60. package/lib/api/restful/buy/order/index.d.ts +1 -1
  61. package/lib/api/restful/buy/order/index.js +1 -1
  62. package/lib/api/restful/commerce/media/index.d.ts +8 -1
  63. package/lib/api/restful/commerce/media/index.js +24 -0
  64. package/lib/api/restful/commerce/notification/index.d.ts +5 -2
  65. package/lib/api/restful/commerce/notification/index.js +15 -1
  66. package/lib/api/restful/commerce/taxonomy/index.d.ts +1 -0
  67. package/lib/api/restful/commerce/taxonomy/index.js +4 -0
  68. package/lib/api/restful/sell/compliance/index.d.ts +0 -2
  69. package/lib/api/restful/sell/compliance/index.js +0 -3
  70. package/lib/api/restful/sell/feed/index.d.ts +7 -7
  71. package/lib/api/restful/sell/finances/index.d.ts +1 -1
  72. package/lib/api/restful/sell/listing/index.d.ts +2 -1
  73. package/lib/api/restful/sell/logistics/index.d.ts +6 -5
  74. package/lib/api/restful/sell/marketing/index.d.ts +4 -1
  75. package/lib/api/restful/sell/marketing/index.js +10 -0
  76. package/lib/api/restful/sell/metadata/index.d.ts +15 -0
  77. package/lib/api/restful/sell/metadata/index.js +65 -0
  78. package/lib/api/restful/sell/negotiation/index.d.ts +2 -1
  79. package/lib/ebay-api.min.js +1 -1
  80. package/lib/types/restful/specs/buy_browse_v1_oas3.d.ts +239 -655
  81. package/lib/types/restful/specs/buy_deal_v1_oas3.d.ts +34 -171
  82. package/lib/types/restful/specs/buy_feed_v1_beta_oas3.d.ts +146 -217
  83. package/lib/types/restful/specs/buy_marketing_v1_beta_oas3.d.ts +19 -208
  84. package/lib/types/restful/specs/buy_offer_v1_beta_oas3.d.ts +13 -84
  85. package/lib/types/restful/specs/buy_order_v2_oas3.d.ts +470 -0
  86. package/lib/types/restful/specs/commerce_catalog_v1_beta_oas3.d.ts +37 -562
  87. package/lib/types/restful/specs/commerce_charity_v1_oas3.d.ts +10 -130
  88. package/lib/types/restful/specs/commerce_identity_v1_oas3.d.ts +6 -39
  89. package/lib/types/restful/specs/commerce_media_v1_beta_oas3.d.ts +209 -132
  90. package/lib/types/restful/specs/commerce_notification_v1_oas3.d.ts +272 -716
  91. package/lib/types/restful/specs/commerce_taxonomy_v1_oas3.d.ts +77 -339
  92. package/lib/types/restful/specs/commerce_translation_v1_beta_oas3.d.ts +11 -38
  93. package/lib/types/restful/specs/developer_analytics_v1_beta_oas3.d.ts +24 -91
  94. package/lib/types/restful/specs/developer_key_management_v1_oas3.d.ts +21 -132
  95. package/lib/types/restful/specs/sell_account_v1_oas3.d.ts +193 -1696
  96. package/lib/types/restful/specs/sell_compliance_v1_oas3.d.ts +21 -148
  97. package/lib/types/restful/specs/sell_feed_v1_oas3.d.ts +122 -902
  98. package/lib/types/restful/specs/sell_finances_v1_oas3.d.ts +99 -275
  99. package/lib/types/restful/specs/sell_inventory_v1_oas3.d.ts +212 -1257
  100. package/lib/types/restful/specs/sell_logistics_v1_oas3.d.ts +77 -281
  101. package/lib/types/restful/specs/sell_marketing_v1_oas3.d.ts +563 -3197
  102. package/lib/types/restful/specs/sell_metadata_v1_oas3.d.ts +709 -330
  103. package/lib/types/restful/specs/sell_negotiation_v1_oas3.d.ts +15 -82
  104. package/lib/types/restful/specs/sell_recommendation_v1_oas3.d.ts +10 -43
  105. package/lib/types/restfulTypes.d.ts +33 -14
  106. package/package.json +2 -1
  107. package/dist/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -2400
  108. package/lib/types/restful/specs/buy_order_v1_beta_oas3.d.ts +0 -2400
  109. /package/dist/types/restful/specs/{buy_order_v1_beta_oas3.js → buy_order_v2_oas3.js} +0 -0
  110. /package/lib/types/restful/specs/{buy_order_v1_beta_oas3.js → buy_order_v2_oas3.js} +0 -0
@@ -1,11 +1,11 @@
1
- import { SellFeedParams } from '../../../../types/index.js';
1
+ import { SellFeedParams, CreateOrderTaskRequest, CreateInventoryTaskRequest, CreateUserScheduleRequest, UpdateUserScheduleRequest, CreateTaskRequest, CreateServiceMetricsTaskRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/sell_feed_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
4
  export default class Feed extends Restful implements OpenApi<operations> {
5
5
  static id: string;
6
6
  get basePath(): string;
7
7
  getOrderTasks({ dateRange, feedType, limit, lookBackDays, offset, scheduleId }?: SellFeedParams): Promise<any>;
8
- createOrderTask(data: any): Promise<any>;
8
+ createOrderTask(data: CreateOrderTaskRequest): Promise<any>;
9
9
  getOrderTask(taskId: string): Promise<any>;
10
10
  getInventoryTasks({ feedType, scheduleId, lookBackDays, dateRange, limit, offset }?: {
11
11
  feedType?: string;
@@ -15,23 +15,23 @@ export default class Feed extends Restful implements OpenApi<operations> {
15
15
  limit?: number;
16
16
  offset?: number;
17
17
  }): Promise<any>;
18
- createInventoryTask(data: any): Promise<any>;
18
+ createInventoryTask(data: CreateInventoryTaskRequest): Promise<any>;
19
19
  getInventoryTask(taskId: string): Promise<any>;
20
20
  getSchedules({ feedType, limit, offset }?: SellFeedParams): Promise<any>;
21
- createSchedule(data: any): Promise<any>;
21
+ createSchedule(data: CreateUserScheduleRequest): Promise<any>;
22
22
  getSchedule(scheduleId: string): Promise<any>;
23
- updateSchedule(scheduleId: string, data?: any): Promise<any>;
23
+ updateSchedule(scheduleId: string, data?: UpdateUserScheduleRequest): Promise<any>;
24
24
  deleteSchedule(scheduleId: string): Promise<any>;
25
25
  getLatestResultFile(scheduleId: string): Promise<any>;
26
26
  getScheduleTemplate(scheduleTemplateId: string): Promise<any>;
27
27
  getScheduleTemplates({ feedType, limit, offset }?: SellFeedParams): Promise<any>;
28
28
  getTasks({ dateRange, feedType, limit, lookBackDays, offset, scheduleId }?: SellFeedParams): Promise<any>;
29
- createTask(data: any): Promise<any>;
29
+ createTask(data: CreateTaskRequest): Promise<any>;
30
30
  getInputFile(taskId: string): Promise<any>;
31
31
  getResultFile(taskId: string): Promise<any>;
32
32
  getTask(taskId: string): Promise<any>;
33
33
  uploadFile(taskId: string, data?: any): Promise<any>;
34
34
  getCustomerServiceMetricTasks({ dateRange, feedType, limit, lookBackDays, offset }?: SellFeedParams): Promise<any>;
35
- createCustomerServiceMetricTask(acceptLanguage: string, data: any): Promise<any>;
35
+ createCustomerServiceMetricTask(acceptLanguage: string, data: CreateServiceMetricsTaskRequest): Promise<any>;
36
36
  getCustomerServiceMetricTask(taskId: string): Promise<any>;
37
37
  }
@@ -15,7 +15,7 @@ export default class Finances extends Restful implements OpenApi<operations> {
15
15
  filter?: string;
16
16
  }): Promise<any>;
17
17
  getTransactions({ filter, limit, offset, sort }?: {
18
- filter?: string;
18
+ filter?: string | string[];
19
19
  limit?: number;
20
20
  offset?: number;
21
21
  sort?: 'transactionDate' | '-transactionDate';
@@ -1,7 +1,8 @@
1
+ import { ItemDraft } from '../../../../types/index.js';
1
2
  import { operations } from '../../../../types/restful/specs/sell_listing_v1_beta_oas3.js';
2
3
  import Restful, { OpenApi } from '../../index.js';
3
4
  export default class Listing extends Restful implements OpenApi<operations> {
4
5
  static id: string;
5
6
  get basePath(): string;
6
- createItemDraft(data?: any): Promise<any>;
7
+ createItemDraft(data?: ItemDraft): Promise<any>;
7
8
  }
@@ -1,12 +1,13 @@
1
+ import { ShippingQuoteRequest, CreateShipmentFromQuoteRequest } from '../../../../types/index.js';
1
2
  import { operations } from '../../../../types/restful/specs/sell_logistics_v1_oas3.js';
2
3
  import Restful, { OpenApi } from '../../index.js';
3
4
  export default class Logistics extends Restful implements OpenApi<operations> {
4
5
  static id: string;
5
6
  get basePath(): string;
6
- createShippingQuote(data: any): Promise<any>;
7
+ createShippingQuote(data: ShippingQuoteRequest): Promise<any>;
7
8
  getShippingQuote(shippingQuoteId: string): Promise<any>;
8
- createFromShippingQuote(data: any): Promise<any>;
9
- getShipment(shipmentId: any): Promise<any>;
10
- downloadLabelFile(shipmentId: any): Promise<any>;
11
- cancelShipment(shipmentId: any): Promise<any>;
9
+ createFromShippingQuote(data: CreateShipmentFromQuoteRequest): Promise<any>;
10
+ getShipment(shipmentId: string): Promise<any>;
11
+ downloadLabelFile(shipmentId: string): Promise<any>;
12
+ cancelShipment(shipmentId: string): Promise<any>;
12
13
  }
@@ -1,4 +1,4 @@
1
- import { BulkCreateAdRequest, BulkCreateAdsByInventoryReferenceRequest, BulkCreateKeywordRequest, BulkCreateNegativeKeywordRequest, BulkDeleteAdRequest, BulkDeleteAdsByInventoryReferenceRequest, BulkUpdateAdStatusByListingIdRequest, BulkUpdateAdStatusRequest, BulkUpdateKeywordRequest, BulkUpdateNegativeKeywordRequest, CloneCampaignRequest, CreateAdGroupRequest, CreateAdRequest, CreateAdsByInventoryReferenceRequest, CreateCampaignRequest, CreateEmailCampaignRequest, CreateKeywordRequest, CreateNegativeKeywordRequest, CreateReportTask, ItemPriceMarkdown, ItemPromotion, QuickSetupRequest, TargetedBidRequest, TargetedKeywordRequest, UpdateAdGroupRequest, UpdateAdrateStrategyRequest, UpdateBidPercentageRequest, UpdateCampaignBudgetRequest, UpdateCampaignIdentificationRequest, UpdateCampaignRequest, UpdateKeywordRequest, UpdateNegativeKeywordRequest } from '../../../../types/index.js';
1
+ import { BulkCreateAdRequest, BulkCreateAdsByInventoryReferenceRequest, BulkCreateKeywordRequest, BulkCreateNegativeKeywordRequest, BulkDeleteAdRequest, BulkDeleteAdsByInventoryReferenceRequest, BulkUpdateAdStatusByListingIdRequest, BulkUpdateAdStatusRequest, BulkUpdateKeywordRequest, BulkUpdateNegativeKeywordRequest, CloneCampaignRequest, CreateAdGroupRequest, CreateAdRequest, CreateAdsByInventoryReferenceRequest, CreateCampaignRequest, CreateEmailCampaignRequest, CreateKeywordRequest, CreateNegativeKeywordRequest, CreateReportTask, ItemPriceMarkdown, ItemPromotion, QuickSetupRequest, TargetedBidRequest, TargetedKeywordRequest, UpdateAdGroupRequest, UpdateAdrateStrategyRequest, UpdateBidPercentageRequest, UpdateCampaignBudgetRequest, UpdateCampaignIdentificationRequest, UpdateCampaignRequest, UpdateKeywordRequest, UpdateNegativeKeywordRequest, SuggestMaxCpcRequest, UpdateBiddingStrategyRequest } from '../../../../types/index.js';
2
2
  import { operations } from '../../../../types/restful/specs/sell_marketing_v1_oas3.js';
3
3
  import Restful, { OpenApi } from '../../index.js';
4
4
  export default class Marketing extends Restful implements OpenApi<operations> {
@@ -145,4 +145,7 @@ export default class Marketing extends Restful implements OpenApi<operations> {
145
145
  getEmailPreview(emailCampaignId: string): Promise<any>;
146
146
  getAudiences(): Promise<any>;
147
147
  getEmailReport(startDate: string, endDate: string): Promise<any>;
148
+ suggestBudget(): Promise<any>;
149
+ suggestMaxCpc(body?: SuggestMaxCpcRequest): Promise<any>;
150
+ updateBiddingStrategy(campaignId: string, body?: UpdateBiddingStrategyRequest): Promise<any>;
148
151
  }
@@ -417,6 +417,16 @@ class Marketing extends index_js_1.default {
417
417
  }
418
418
  });
419
419
  }
420
+ suggestBudget() {
421
+ return this.get('/ad_campaign/suggest_budget');
422
+ }
423
+ suggestMaxCpc(body) {
424
+ return this.post('/ad_campaign/suggest_max_cpc', body);
425
+ }
426
+ updateBiddingStrategy(campaignId, body) {
427
+ campaignId = encodeURIComponent(campaignId);
428
+ return this.post(`/ad_campaign/${campaignId}/update_bidding_strategy`, body);
429
+ }
420
430
  }
421
431
  Marketing.id = 'Marketing';
422
432
  exports.default = Marketing;
@@ -1,3 +1,4 @@
1
+ import { SpecificationRequest, PropertyNamesRequest, PropertyValuesRequest, MultiCompatibilityPropertyValuesRequest, ProductRequest } from '../../../../types/index.js';
1
2
  import { operations } from '../../../../types/restful/specs/sell_metadata_v1_oas3.js';
2
3
  import Restful, { OpenApi } from '../../index.js';
3
4
  export default class Metadata extends Restful implements OpenApi<operations> {
@@ -12,4 +13,18 @@ export default class Metadata extends Restful implements OpenApi<operations> {
12
13
  getProductAdoptionPolicies(marketplaceId: string, filter?: string): Promise<any>;
13
14
  getReturnPolicies(marketplaceId: string, filter?: string): Promise<any>;
14
15
  getHazardousMaterialsLabels(marketplaceId: string): Promise<any>;
16
+ getCategoryPolicies(marketplaceId: string, filter?: string): Promise<any>;
17
+ getClassifiedAdPolicies(marketplaceId: string, filter?: string): Promise<any>;
18
+ getCurrencies(marketplaceId: string): Promise<any>;
19
+ getListingTypePolicies(marketplaceId: string, filter?: string): Promise<any>;
20
+ getMotorsListingPolicies(marketplaceId: string, filter?: string): Promise<any>;
21
+ getProductSafetyLabels(marketplaceId: string): Promise<any>;
22
+ getRegulatoryPolicies(marketplaceId: string, filter?: string): Promise<any>;
23
+ getShippingPolicies(marketplaceId: string, filter?: string): Promise<any>;
24
+ getSiteVisibilityPolicies(marketplaceId: string, filter?: string): Promise<any>;
25
+ getCompatibilitiesBySpecification(body?: SpecificationRequest): Promise<any>;
26
+ getCompatibilityPropertyNames(body?: PropertyNamesRequest): Promise<any>;
27
+ getCompatibilityPropertyValues(body?: PropertyValuesRequest): Promise<any>;
28
+ getMultiCompatibilityPropertyValues(body?: MultiCompatibilityPropertyValuesRequest): Promise<any>;
29
+ getProductCompatibilities(body?: ProductRequest): Promise<any>;
15
30
  }
@@ -72,6 +72,71 @@ class Metadata extends index_js_1.default {
72
72
  marketplaceId = encodeURIComponent(marketplaceId);
73
73
  return this.get(`/marketplace/${marketplaceId}/get_hazardous_materials_labels`);
74
74
  }
75
+ getCategoryPolicies(marketplaceId, filter) {
76
+ marketplaceId = encodeURIComponent(marketplaceId);
77
+ return this.get(`/marketplace/${marketplaceId}/get_category_policies`, {
78
+ params: { filter }
79
+ });
80
+ }
81
+ getClassifiedAdPolicies(marketplaceId, filter) {
82
+ marketplaceId = encodeURIComponent(marketplaceId);
83
+ return this.get(`/marketplace/${marketplaceId}/get_classified_ad_policies`, {
84
+ params: { filter }
85
+ });
86
+ }
87
+ getCurrencies(marketplaceId) {
88
+ marketplaceId = encodeURIComponent(marketplaceId);
89
+ return this.get(`/marketplace/${marketplaceId}/get_currencies`);
90
+ }
91
+ getListingTypePolicies(marketplaceId, filter) {
92
+ marketplaceId = encodeURIComponent(marketplaceId);
93
+ return this.get(`/marketplace/${marketplaceId}/get_listing_type_policies`, {
94
+ params: { filter }
95
+ });
96
+ }
97
+ getMotorsListingPolicies(marketplaceId, filter) {
98
+ marketplaceId = encodeURIComponent(marketplaceId);
99
+ return this.get(`/marketplace/${marketplaceId}/get_motors_listing_policies`, {
100
+ params: { filter }
101
+ });
102
+ }
103
+ getProductSafetyLabels(marketplaceId) {
104
+ marketplaceId = encodeURIComponent(marketplaceId);
105
+ return this.get(`/marketplace/${marketplaceId}/get_product_safety_labels`);
106
+ }
107
+ getRegulatoryPolicies(marketplaceId, filter) {
108
+ marketplaceId = encodeURIComponent(marketplaceId);
109
+ return this.get(`/marketplace/${marketplaceId}/get_regulatory_policies`, {
110
+ params: { filter }
111
+ });
112
+ }
113
+ getShippingPolicies(marketplaceId, filter) {
114
+ marketplaceId = encodeURIComponent(marketplaceId);
115
+ return this.get(`/marketplace/${marketplaceId}/get_shipping_policies`, {
116
+ params: { filter }
117
+ });
118
+ }
119
+ getSiteVisibilityPolicies(marketplaceId, filter) {
120
+ marketplaceId = encodeURIComponent(marketplaceId);
121
+ return this.get(`/marketplace/${marketplaceId}/get_site_visibility_policies`, {
122
+ params: { filter }
123
+ });
124
+ }
125
+ getCompatibilitiesBySpecification(body) {
126
+ return this.post('/compatibilities/get_compatibilities_by_specification', body);
127
+ }
128
+ getCompatibilityPropertyNames(body) {
129
+ return this.post('/compatibilities/get_compatibility_property_names', body);
130
+ }
131
+ getCompatibilityPropertyValues(body) {
132
+ return this.post('/compatibilities/get_compatibility_property_values', body);
133
+ }
134
+ getMultiCompatibilityPropertyValues(body) {
135
+ return this.post('/compatibilities/get_multi_compatibility_property_values', body);
136
+ }
137
+ getProductCompatibilities(body) {
138
+ return this.post('/compatibilities/get_product_compatibilities', body);
139
+ }
75
140
  }
76
141
  Metadata.id = 'Metadata';
77
142
  exports.default = Metadata;
@@ -1,3 +1,4 @@
1
+ import { CreateOffersRequest } from '../../../../types/index.js';
1
2
  import { operations } from '../../../../types/restful/specs/sell_negotiation_v1_oas3.js';
2
3
  import Restful, { OpenApi } from '../../index.js';
3
4
  export default class Negotiation extends Restful implements OpenApi<operations> {
@@ -7,5 +8,5 @@ export default class Negotiation extends Restful implements OpenApi<operations>
7
8
  limit?: string;
8
9
  offset?: string;
9
10
  }): Promise<any>;
10
- sendOfferToInterestedBuyers(data: any): Promise<any>;
11
+ sendOfferToInterestedBuyers(data: CreateOffersRequest): Promise<any>;
11
12
  }