This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53c2541
commit 436d938
Showing
7 changed files
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
* Auto-generated file. Do not change. | ||
*/ | ||
import { HsCode } from './HsCode' | ||
import { Type } from './Type' | ||
import { TypedApiObject } from '../types/TypedApiObject' | ||
export type BookingAmendmentHsCode = { | ||
/** | ||
* String representing the object’s type. Always `/booking_amendment_product_description` for this object. | ||
*/ | ||
readonly _object: Type.BookingAmendmentHsCode | ||
/** | ||
* Always required. English description of product in booking. | ||
* | ||
* JSON-schema: string | ||
* @example "Wristwatches" | ||
*/ | ||
readonly description?: string | ||
/** | ||
* Required if booking if origin address or origin port is in Mainland China. Chinese description of product in booking. | ||
* | ||
* JSON-schema: string | ||
* @example "手表" | ||
*/ | ||
readonly description_for_export_customs?: string | ||
readonly hs_code?: HsCode | ||
} | ||
export type LiftedBookingAmendmentHsCode = TypedApiObject & | ||
BookingAmendmentHsCode | ||
/** | ||
* Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. | ||
*/ | ||
export const liftBookingAmendmentHsCode = ( | ||
original: BookingAmendmentHsCode, | ||
): LiftedBookingAmendmentHsCode => { | ||
return original | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* Auto-generated file. Do not change. | ||
*/ | ||
import { Type } from './Type' | ||
import { TypedApiObject } from '../types/TypedApiObject' | ||
export type CreateBookingAmendmentHsCode = { | ||
/** | ||
* String representing the object’s type. Always `/bookings/update/product_description` for this object. | ||
*/ | ||
readonly _object: Type.CreateBookingAmendmentHsCode | ||
/** | ||
* Always required. English description of product in booking. | ||
* | ||
* JSON-schema: string | ||
* @example "Wristwatches" | ||
*/ | ||
readonly description: string | ||
/** | ||
* Required if booking if origin address or origin port is in Mainland China. Chinese description of product in booking. | ||
* | ||
* JSON-schema: string | ||
* @example "手表" | ||
*/ | ||
readonly description_for_export_customs?: string | ||
/** | ||
* The six digit code under which the product should be classified for export customs. | ||
* | ||
* JSON-schema: string | ||
* @example 9101 | ||
*/ | ||
readonly hs_code: string | ||
} | ||
export type LiftedCreateBookingAmendmentHsCode = TypedApiObject & | ||
CreateBookingAmendmentHsCode | ||
/** | ||
* Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. | ||
*/ | ||
export const liftCreateBookingAmendmentHsCode = ( | ||
original: CreateBookingAmendmentHsCode, | ||
): LiftedCreateBookingAmendmentHsCode => { | ||
return original | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters