@shipengine/js-api 1.6.0 → 1.7.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.
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {