@shipengine/js-api 1.6.0 → 1.8.0
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/client.d.ts +8 -0
- package/funding-sources/api.d.ts +2 -2
- package/index.d.ts +1 -0
- package/index.js +17272 -0
- package/index.mjs +17272 -1
- package/package.json +1 -1
- package/types.d.ts +1 -0
- package/webhooks/api.d.ts +48 -0
- package/webhooks/index.d.ts +2 -0
- package/webhooks/types.d.ts +25 -0
package/client.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { ShipmentsAPI } from "./shipments";
|
|
|
20
20
|
import { ShippingRulesAPI } from "./shipping-rules";
|
|
21
21
|
import { ThemesAPI } from "./themes";
|
|
22
22
|
import { WarehousesAPI } from "./warehouses";
|
|
23
|
+
import { WebhooksAPI } from "./webhooks";
|
|
23
24
|
/**
|
|
24
25
|
* # ShipEngine API Client Headers
|
|
25
26
|
*/
|
|
@@ -188,6 +189,13 @@ export declare class ShipEngineAPI {
|
|
|
188
189
|
* @see {@link ShippingRulesAPI | The Shipping Rules API module}
|
|
189
190
|
*/
|
|
190
191
|
get shippingRules(): ShippingRulesAPI;
|
|
192
|
+
/**
|
|
193
|
+
* The `webhooks` method provides access to the Webhooks endpoints in ShipEngine
|
|
194
|
+
* API.
|
|
195
|
+
*
|
|
196
|
+
* @see {@link WebhooksAPI | The Webhooks API module}
|
|
197
|
+
*/
|
|
198
|
+
get webhooks(): WebhooksAPI;
|
|
191
199
|
/**
|
|
192
200
|
* The `sellers` method provides access to the Sellers endpoints in ShipEngine
|
|
193
201
|
* API.
|
package/funding-sources/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosInstance } from "axios";
|
|
2
2
|
import { Money } from "../payments";
|
|
3
|
-
import { PageableQuery } from "../resources";
|
|
3
|
+
import { CreationRangeQuery, PageableQuery } from "../resources";
|
|
4
4
|
import { AddFundsResponse, CarrierRegistration, CarrierRegistrationResponse, CreateFundingSource, CreditCardInfo, FundingSource, FundingSourceAddress, FundingSourceTransactionsResponse, MetadataResponse } from "./types";
|
|
5
5
|
/**
|
|
6
6
|
* # Funding Sources API module - /v1/funding_sources
|
|
@@ -52,5 +52,5 @@ export declare class FundingSourcesAPI {
|
|
|
52
52
|
* The `transactions` method returns all the transactions of a funding source.
|
|
53
53
|
* See the FundingSourceTransactions type for more information about return data.
|
|
54
54
|
*/
|
|
55
|
-
transactions: (fundingSourceId: string, params?: PageableQuery) => Promise<import("axios").AxiosResponse<FundingSourceTransactionsResponse, any>>;
|
|
55
|
+
transactions: (fundingSourceId: string, params?: PageableQuery & CreationRangeQuery) => Promise<import("axios").AxiosResponse<FundingSourceTransactionsResponse, any>>;
|
|
56
56
|
}
|
package/index.d.ts
CHANGED