@shipengine/connect-fulfillment-provider-api 0.7.0 → 0.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/lib/app/fulfillment-provider-app-metadata.d.ts +1 -1
- package/lib/requests/cancel-fulfillment-request.d.ts +1 -0
- package/lib/requests/connect-request.d.ts +1 -0
- package/lib/requests/delegate-fulfillment-request.d.ts +1 -0
- package/lib/requests/get-fulfillments-request.d.ts +1 -0
- package/lib/requests/get-inventory-request.d.ts +2 -0
- package/lib/requests/get-rates-request.d.ts +1 -0
- package/lib/requests/get-recent-changes-request.d.ts +1 -0
- package/lib/requests/reconnect-request.d.ts +1 -0
- package/package.json +4 -7
- package/spec.json +402 -496
- package/tsconfig.tsbuildinfo +1 -1
- package/jest.config.ts +0 -5
- package/lib/spec.test.d.ts +0 -1
- package/lib/spec.test.js +0 -12
- package/lib/spec.test.js.map +0 -1
|
@@ -15,7 +15,7 @@ export declare type FulfillmentServiceDefinition = {
|
|
|
15
15
|
/** @description Name of the shipping service */
|
|
16
16
|
Name: string;
|
|
17
17
|
/** @description Shortened name of the shipping service */
|
|
18
|
-
Abbreviation
|
|
18
|
+
Abbreviation: string;
|
|
19
19
|
/** @description Api service code used for rates and labels */
|
|
20
20
|
Code: string;
|
|
21
21
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Auth, ConfirmationTypes, AdvancedOptions, InsuranceProviders, Package, Customs, ShipFrom, ShipTo, PudoLocation, FulfillmentPlanDetails, TimeWindow } from '..';
|
|
2
2
|
/** @description Basic structure for a request to get rates */
|
|
3
3
|
export interface GetRatesRequest {
|
|
4
|
+
transaction_id: string;
|
|
4
5
|
auth: Auth;
|
|
5
6
|
service_code?: string;
|
|
6
7
|
ship_datetime: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipengine/connect-fulfillment-provider-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "OpenAPI specification and TypeScript definitions for the Connect Fulfillment Provider API",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"build": "yarn build:ts",
|
|
9
9
|
"format": "prettier --single-quote --trailing-comma=all --write \"src/**/*.ts\"",
|
|
10
10
|
"lint": "prettier --single-quote --trailing-comma=all --check \"src/**/*.ts\"",
|
|
11
|
-
"test
|
|
12
|
-
"test": "jest"
|
|
11
|
+
"test": "vitest run"
|
|
13
12
|
},
|
|
14
13
|
"repository": {
|
|
15
14
|
"type": "git",
|
|
@@ -25,10 +24,8 @@
|
|
|
25
24
|
"license": "Apache-2.0",
|
|
26
25
|
"devDependencies": {
|
|
27
26
|
"@types/express": "^4.17.13",
|
|
28
|
-
"@types/jest": "^27.0.1",
|
|
29
|
-
"jest": "^27.1.1",
|
|
30
27
|
"prettier": "^2.4.0",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
28
|
+
"typescript": "^4.3.5",
|
|
29
|
+
"vitest": "^0.23.4"
|
|
33
30
|
}
|
|
34
31
|
}
|