This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from purplship/purplship-2021.7-client
generate Python client for Purplship Server 2021.7 Edition
- Loading branch information
Showing
188 changed files
with
27,768 additions
and
20,417 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# AccessToken | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**access** | **str** | | | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,23 +1,28 @@ | ||
# Address | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**id** | **str** | A unique identifier | [optional] | ||
**postal_code** | **str** | The address postal code **(required for shipment purchase)** | [optional] | ||
**city** | **str** | The address city. **(required for shipment purchase)** | [optional] | ||
**federal_tax_id** | **str** | The party frederal tax id | [optional] | ||
**state_tax_id** | **str** | The party state id | [optional] | ||
**person_name** | **str** | attention to **(required for shipment purchase)** | [optional] | ||
**company_name** | **str** | The company name if the party is a company | [optional] | ||
**country_code** | **str** | The address country code | | ||
**email** | **str** | The party email | [optional] | ||
**phone_number** | **str** | The party phone number. | [optional] | ||
**state_code** | **str** | The address state code | [optional] | ||
**suburb** | **str** | The address suburb if known | [optional] | ||
**residential** | **bool** | Indicate if the address is residential or commercial (enterprise) | [optional] [default to False] | ||
**address_line1** | **str** | The address line with street number <br/> **(required for shipment purchase)** | [optional] | ||
**address_line2** | **str** | The address line with suite number | [optional] | ||
**id** | **str** | A unique identifier | [optional] | ||
**postal_code** | **str, none_type** | The address postal code **(required for shipment purchase)** | [optional] | ||
**city** | **str, none_type** | The address city. **(required for shipment purchase)** | [optional] | ||
**federal_tax_id** | **str, none_type** | The party frederal tax id | [optional] | ||
**state_tax_id** | **str, none_type** | The party state id | [optional] | ||
**person_name** | **str, none_type** | attention to **(required for shipment purchase)** | [optional] | ||
**company_name** | **str, none_type** | The company name if the party is a company | [optional] | ||
**email** | **str, none_type** | The party email | [optional] | ||
**phone_number** | **str, none_type** | The party phone number. | [optional] | ||
**state_code** | **str, none_type** | The address state code | [optional] | ||
**suburb** | **str, none_type** | The address suburb if known | [optional] | ||
**residential** | **bool, none_type** | Indicate if the address is residential or commercial (enterprise) | [optional] if omitted the server will use the default value of False | ||
**address_line1** | **str, none_type** | The address line with street number <br/> **(required for shipment purchase)** | [optional] | ||
**address_line2** | **str, none_type** | The address line with suite number | [optional] | ||
**validate_location** | **bool, none_type** | Indicate if the address should be validated | [optional] if omitted the server will use the default value of False | ||
**validation** | [**AddressValidation**](AddressValidation.md) | | [optional] | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,22 +1,26 @@ | ||
# AddressData | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**postal_code** | **str** | The address postal code **(required for shipment purchase)** | [optional] | ||
**city** | **str** | The address city. **(required for shipment purchase)** | [optional] | ||
**federal_tax_id** | **str** | The party frederal tax id | [optional] | ||
**state_tax_id** | **str** | The party state id | [optional] | ||
**person_name** | **str** | attention to **(required for shipment purchase)** | [optional] | ||
**company_name** | **str** | The company name if the party is a company | [optional] | ||
**country_code** | **str** | The address country code | | ||
**email** | **str** | The party email | [optional] | ||
**phone_number** | **str** | The party phone number. | [optional] | ||
**state_code** | **str** | The address state code | [optional] | ||
**suburb** | **str** | The address suburb if known | [optional] | ||
**residential** | **bool** | Indicate if the address is residential or commercial (enterprise) | [optional] [default to False] | ||
**address_line1** | **str** | The address line with street number <br/> **(required for shipment purchase)** | [optional] | ||
**address_line2** | **str** | The address line with suite number | [optional] | ||
**postal_code** | **str, none_type** | The address postal code **(required for shipment purchase)** | [optional] | ||
**city** | **str, none_type** | The address city. **(required for shipment purchase)** | [optional] | ||
**federal_tax_id** | **str, none_type** | The party frederal tax id | [optional] | ||
**state_tax_id** | **str, none_type** | The party state id | [optional] | ||
**person_name** | **str, none_type** | attention to **(required for shipment purchase)** | [optional] | ||
**company_name** | **str, none_type** | The company name if the party is a company | [optional] | ||
**email** | **str, none_type** | The party email | [optional] | ||
**phone_number** | **str, none_type** | The party phone number. | [optional] | ||
**state_code** | **str, none_type** | The address state code | [optional] | ||
**suburb** | **str, none_type** | The address suburb if known | [optional] | ||
**residential** | **bool, none_type** | Indicate if the address is residential or commercial (enterprise) | [optional] if omitted the server will use the default value of False | ||
**address_line1** | **str, none_type** | The address line with street number <br/> **(required for shipment purchase)** | [optional] | ||
**address_line2** | **str, none_type** | The address line with suite number | [optional] | ||
**validate_location** | **bool, none_type** | Indicate if the address should be validated | [optional] if omitted the server will use the default value of False | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# AddressList | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**results** | [**[Address]**](Address.md) | | | ||
**next** | **str** | | [optional] | ||
**previous** | **str** | | [optional] | ||
**results** | [**list[Address]**](Address.md) | | | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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,14 @@ | ||
# AddressValidation | ||
|
||
Specify address validation result | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**success** | **bool** | True if the address is valid | | ||
**meta** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | validation service details | [optional] | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# CarrierList | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**results** | [**[CarrierSettings]**](CarrierSettings.md) | | | ||
**next** | **str** | | [optional] | ||
**previous** | **str** | | [optional] | ||
**results** | [**list[CarrierSettings]**](CarrierSettings.md) | | | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# Charge | ||
|
||
The pickup cost details | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **str** | The charge description | [optional] | ||
**amount** | **float** | The charge monetary value | [optional] | ||
**currency** | **str** | The charge amount currency | [optional] | ||
**name** | **str, none_type** | The charge description | [optional] | ||
**amount** | **float, none_type** | The charge monetary value | [optional] | ||
**currency** | **str, none_type** | The charge amount currency | [optional] | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,17 +1,21 @@ | ||
# Commodity | ||
|
||
The parcel content items | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**weight** | **float** | The commodity's weight | | ||
**weight_unit** | **str** | The commodity's weight unit | | ||
**id** | **str** | A unique identifier | [optional] | ||
**weight** | **float** | The commodity's weight | | ||
**weight_unit** | **str** | The commodity's weight unit | | ||
**description** | **str** | A description of the commodity | [optional] | ||
**quantity** | **int** | The commodity's quantity (number or item) | [optional] | ||
**sku** | **str** | The commodity's sku number | [optional] | ||
**value_amount** | **float** | The monetary value of the commodity | [optional] | ||
**value_currency** | **str** | The currency of the commodity value amount | [optional] | ||
**origin_country** | **str** | The origin or manufacture country | [optional] | ||
**description** | **str, none_type** | A description of the commodity | [optional] | ||
**quantity** | **int, none_type** | The commodity's quantity (number or item) | [optional] | ||
**sku** | **str, none_type** | The commodity's sku number | [optional] | ||
**value_amount** | **float, none_type** | The monetary value of the commodity | [optional] | ||
**value_currency** | **str, none_type** | The currency of the commodity value amount | [optional] | ||
**origin_country** | **str, none_type** | The origin or manufacture country | [optional] | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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,19 @@ | ||
# CommodityData | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**weight** | **float** | The commodity's weight | | ||
**weight_unit** | **str** | The commodity's weight unit | | ||
**description** | **str, none_type** | A description of the commodity | [optional] | ||
**quantity** | **int, none_type** | The commodity's quantity (number or item) | [optional] | ||
**sku** | **str, none_type** | The commodity's sku number | [optional] | ||
**value_amount** | **float, none_type** | The monetary value of the commodity | [optional] | ||
**value_currency** | **str, none_type** | The currency of the commodity value amount | [optional] | ||
**origin_country** | **str, none_type** | The origin or manufacture country | [optional] | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
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 |
---|---|---|
@@ -1,22 +1,26 @@ | ||
# Customs | ||
|
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**id** | **str** | A unique identifier | [optional] | ||
**aes** | **str** | | [optional] | ||
**eel_pfc** | **str** | | [optional] | ||
**content_type** | **str** | | [optional] | ||
**content_description** | **str** | | [optional] | ||
**incoterm** | **str** | The customs 'term of trade' also known as 'incoterm' | [optional] | ||
**commodities** | [**list[Commodity]**](Commodity.md) | The parcel content items | [optional] | ||
**duty** | [**Payment**](Payment.md) | | [optional] | ||
**invoice** | **str** | The invoice reference number | [optional] | ||
**commercial_invoice** | **bool** | Indicates if the shipment is commercial | [optional] | ||
**certify** | **bool** | Indicate that signer certified confirmed all | [optional] | ||
**signer** | **str** | | [optional] | ||
**certificate_number** | **str** | | [optional] | ||
**options** | **object** | | [optional] | ||
**aes** | **str, none_type** | | [optional] | ||
**eel_pfc** | **str, none_type** | | [optional] | ||
**content_type** | **str, none_type** | | [optional] | ||
**content_description** | **str, none_type** | | [optional] | ||
**incoterm** | **str, none_type** | The customs 'term of trade' also known as 'incoterm' | [optional] | ||
**commodities** | [**[Commodity], none_type**](Commodity.md) | The parcel content items | [optional] | ||
**duty** | [**Duty**](Duty.md) | | [optional] | ||
**invoice** | **str, none_type** | The invoice reference number | [optional] | ||
**invoice_date** | **str, none_type** | The invoice date | [optional] | ||
**commercial_invoice** | **bool, none_type** | Indicates if the shipment is commercial | [optional] | ||
**certify** | **bool, none_type** | Indicate that signer certified confirmed all | [optional] | ||
**signer** | **str, none_type** | | [optional] | ||
**certificate_number** | **str, none_type** | | [optional] | ||
**options** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | | [optional] | ||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.