Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xvantage-integration committed Feb 16, 2024
1 parent 9c0521e commit 465c271
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions docs/DealsDetailsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Name | Type | Description | Notes
**extended_msrp** | **float** | Extended MSRP - Manufacturer Suggested Retail Price X Quantity. | [optional]
**vendor** | **str** | The vendor's name. | [optional]
**deal_received_on** | **date** | The date on which the deal starts. | [optional]
**deal_expiry_date** | **date** | Expiration date of the deal/Special bid. | [optional]
**price_protection_end_date** | **date** | The date on which the price protection will end. | [optional]
**deal_expiry_date** | **str** | Expiration date of the deal/Special bid. | [optional]
**price_protection_end_date** | **str** | The date on which the price protection will end. | [optional]
**currency_code** | **str** | Country specific currency code. | [optional]
**end_user_info** | [**RenewalsDetailsResponseEndUserInfoInner**](RenewalsDetailsResponseEndUserInfoInner.md) | | [optional]
**products** | [**List[DealsDetailsResponseProductsInner]**](DealsDetailsResponseProductsInner.md) | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/InvoiceDetailsv61ResponseLinesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**customer_part_number** | **str** | Part number from customer's system. | [optional]
**vendor_name** | **str** | Name of the vendor. | [optional]
**product_description** | **str** | Description of the product. | [optional]
**unit_weight** | **str** | Weight of the product. | [optional]
**unit_weight** | **float** | Weight of the product. | [optional]
**quantity** | **int** | Quantity of the product. | [optional]
**unit_price** | **float** | Unit price of the product. | [optional]
**unit_of_measure** | **str** | Unit of measure of the product. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/InvoiceSearchResponseInvoicesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Name | Type | Description | Notes
**invoice_status** | **str** | Invoice Status. | [optional]
**invoice_date** | **str** | Invoice Date. | [optional]
**invoice_due_date** | **str** | Invoice Due Date. | [optional]
**invoiced_amount_due** | **str** | Invoice Amount. | [optional]
**invoiced_amount_due** | **float** | Invoice Amount. | [optional]
**customer_order_number** | **str** | Customer Order No. | [optional]
**order_create_date** | **str** | Order Create Date. | [optional]
**end_customer_order_number** | **str** | End Customer Order number. | [optional]
**invoice_amount_incl_tax** | **str** | Invoice Amount Inclusive of Taxes | [optional]
**invoice_amount_incl_tax** | **float** | Invoice Amount Inclusive of Taxes | [optional]

## Example

Expand Down
6 changes: 3 additions & 3 deletions docs/ReturnsDetailsResponseProductsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ingram_line_number** | **str** | Unique Ingram Micro line number. | [optional]
**ingram_line_number** | **int** | Unique Ingram Micro line number. | [optional]
**description** | **str** | The description of the line item product. | [optional]
**ingram_part_number** | **str** | Unique IngramMicro part number. | [optional]
**vendor_part_number** | **str** | The vendor's part number for the line item. | [optional]
Expand All @@ -18,8 +18,8 @@ Name | Type | Description | Notes
**unit_price** | **float** | The unit price of the line item. | [optional]
**extended_price** | **float** | Unit price X quantity for the line item. | [optional]
**status** | **str** | The status of the line item. | [optional]
**return_branch** | **int** | The code of the return branch. | [optional]
**ship_from_branch** | **int** | The code of the ship from branch. | [optional]
**return_branch** | **str** | The code of the return branch. | [optional]
**ship_from_branch** | **str** | The code of the ship from branch. | [optional]

## Example

Expand Down
4 changes: 2 additions & 2 deletions test/test_deals_details_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def make_instance(self, include_optional) -> DealsDetailsResponse:
extended_msrp = 1.337,
vendor = '',
deal_received_on = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
deal_expiry_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
price_protection_end_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
deal_expiry_date = '',
price_protection_end_date = '',
currency_code = '',
end_user_info = xi.sdk.resellers.models.renewals_details_response_end_user_info_inner.renewalsDetailsResponse_endUserInfo_inner(
contact = '',
Expand Down
2 changes: 1 addition & 1 deletion test/test_invoice_detailsv61_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def make_instance(self, include_optional) -> InvoiceDetailsv61Response:
customer_part_number = '',
vendor_name = '',
product_description = '',
unit_weight = '',
unit_weight = 1.337,
quantity = 56,
unit_price = 1.337,
unit_of_measure = '',
Expand Down
2 changes: 1 addition & 1 deletion test/test_invoice_detailsv61_response_lines_inner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> InvoiceDetailsv61ResponseLinesInner
customer_part_number = '',
vendor_name = '',
product_description = '',
unit_weight = '',
unit_weight = 1.337,
quantity = 56,
unit_price = 1.337,
unit_of_measure = '',
Expand Down
4 changes: 2 additions & 2 deletions test/test_invoice_search_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ def make_instance(self, include_optional) -> InvoiceSearchResponse:
invoice_status = '',
invoice_date = '',
invoice_due_date = '',
invoiced_amount_due = '',
invoiced_amount_due = 1.337,
customer_order_number = '',
order_create_date = '',
end_customer_order_number = '',
invoice_amount_incl_tax = '', )
invoice_amount_incl_tax = 1.337, )
],
next_page = ''
)
Expand Down
4 changes: 2 additions & 2 deletions test/test_invoice_search_response_invoices_inner.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def make_instance(self, include_optional) -> InvoiceSearchResponseInvoicesInner:
invoice_status = '',
invoice_date = '',
invoice_due_date = '',
invoiced_amount_due = '',
invoiced_amount_due = 1.337,
customer_order_number = '',
order_create_date = '',
end_customer_order_number = '',
invoice_amount_incl_tax = ''
invoice_amount_incl_tax = 1.337
)
else:
return InvoiceSearchResponseInvoicesInner(
Expand Down
6 changes: 3 additions & 3 deletions test/test_returns_details_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> ReturnsDetailsResponse:
return_warehouse_address = '',
products = [
xi.sdk.resellers.models.returns_details_response_products_inner.returnsDetailsResponse_products_inner(
ingram_line_number = '',
ingram_line_number = 56,
description = '',
ingram_part_number = '',
vendor_part_number = '',
Expand All @@ -58,8 +58,8 @@ def make_instance(self, include_optional) -> ReturnsDetailsResponse:
unit_price = 1.337,
extended_price = 1.337,
status = '',
return_branch = 56,
ship_from_branch = 56, )
return_branch = '',
ship_from_branch = '', )
],
sub_total = 1.337,
tax = 1.337,
Expand Down
6 changes: 3 additions & 3 deletions test/test_returns_details_response_products_inner.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def make_instance(self, include_optional) -> ReturnsDetailsResponseProductsInner
model = ReturnsDetailsResponseProductsInner()
if include_optional:
return ReturnsDetailsResponseProductsInner(
ingram_line_number = '',
ingram_line_number = 56,
description = '',
ingram_part_number = '',
vendor_part_number = '',
Expand All @@ -48,8 +48,8 @@ def make_instance(self, include_optional) -> ReturnsDetailsResponseProductsInner
unit_price = 1.337,
extended_price = 1.337,
status = '',
return_branch = 56,
ship_from_branch = 56
return_branch = '',
ship_from_branch = ''
)
else:
return ReturnsDetailsResponseProductsInner(
Expand Down
4 changes: 2 additions & 2 deletions xi/sdk/resellers/models/deals_details_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class DealsDetailsResponse(BaseModel):
extended_msrp: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Extended MSRP - Manufacturer Suggested Retail Price X Quantity.", alias="extendedMsrp")
vendor: Optional[StrictStr] = Field(default=None, description="The vendor's name.")
deal_received_on: Optional[date] = Field(default=None, description="The date on which the deal starts.", alias="dealReceivedOn")
deal_expiry_date: Optional[date] = Field(default=None, description="Expiration date of the deal/Special bid.", alias="dealExpiryDate")
price_protection_end_date: Optional[date] = Field(default=None, description="The date on which the price protection will end.", alias="priceProtectionEndDate")
deal_expiry_date: Optional[StrictStr] = Field(default=None, description="Expiration date of the deal/Special bid.", alias="dealExpiryDate")
price_protection_end_date: Optional[StrictStr] = Field(default=None, description="The date on which the price protection will end.", alias="priceProtectionEndDate")
currency_code: Optional[StrictStr] = Field(default=None, description="Country specific currency code.", alias="currencyCode")
end_user_info: Optional[RenewalsDetailsResponseEndUserInfoInner] = Field(default=None, alias="endUserInfo")
products: Optional[List[DealsDetailsResponseProductsInner]] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class InvoiceDetailsv61ResponseLinesInner(BaseModel):
customer_part_number: Optional[StrictStr] = Field(default=None, description="Part number from customer's system.", alias="customerPartNumber")
vendor_name: Optional[StrictStr] = Field(default=None, description="Name of the vendor.", alias="vendorName")
product_description: Optional[StrictStr] = Field(default=None, description="Description of the product.", alias="productDescription")
unit_weight: Optional[StrictStr] = Field(default=None, description="Weight of the product.", alias="unitWeight")
unit_weight: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Weight of the product.", alias="unitWeight")
quantity: Optional[StrictInt] = Field(default=None, description="Quantity of the product.")
unit_price: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Unit price of the product.", alias="unitPrice")
unit_of_measure: Optional[StrictStr] = Field(default=None, description="Unit of measure of the product.", alias="unitOfMeasure")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import re # noqa: F401
import json

from pydantic import BaseModel, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional, Union
from typing import Optional, Set
from typing_extensions import Self

Expand All @@ -32,11 +32,11 @@ class InvoiceSearchResponseInvoicesInner(BaseModel):
invoice_status: Optional[StrictStr] = Field(default=None, description="Invoice Status.", alias="invoiceStatus")
invoice_date: Optional[StrictStr] = Field(default=None, description="Invoice Date.", alias="invoiceDate")
invoice_due_date: Optional[StrictStr] = Field(default=None, description="Invoice Due Date.", alias="invoiceDueDate")
invoiced_amount_due: Optional[StrictStr] = Field(default=None, description="Invoice Amount.", alias="invoicedAmountDue")
invoiced_amount_due: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Invoice Amount.", alias="invoicedAmountDue")
customer_order_number: Optional[StrictStr] = Field(default=None, description="Customer Order No.", alias="customerOrderNumber")
order_create_date: Optional[StrictStr] = Field(default=None, description="Order Create Date.", alias="orderCreateDate")
end_customer_order_number: Optional[StrictStr] = Field(default=None, description="End Customer Order number.", alias="endCustomerOrderNumber")
invoice_amount_incl_tax: Optional[StrictStr] = Field(default=None, description="Invoice Amount Inclusive of Taxes", alias="invoiceAmountInclTax")
invoice_amount_incl_tax: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Invoice Amount Inclusive of Taxes", alias="invoiceAmountInclTax")
__properties: ClassVar[List[str]] = ["paymentTermsDueDate", "erpOrderNumber", "invoiceNumber", "invoiceStatus", "invoiceDate", "invoiceDueDate", "invoicedAmountDue", "customerOrderNumber", "orderCreateDate", "endCustomerOrderNumber", "invoiceAmountInclTax"]

model_config = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ReturnsDetailsResponseProductsInner(BaseModel):
"""
ReturnsDetailsResponseProductsInner
""" # noqa: E501
ingram_line_number: Optional[StrictStr] = Field(default=None, description="Unique Ingram Micro line number.", alias="ingramLineNumber")
ingram_line_number: Optional[StrictInt] = Field(default=None, description="Unique Ingram Micro line number.", alias="ingramLineNumber")
description: Optional[StrictStr] = Field(default=None, description="The description of the line item product.")
ingram_part_number: Optional[StrictStr] = Field(default=None, description="Unique IngramMicro part number.", alias="ingramPartNumber")
vendor_part_number: Optional[StrictStr] = Field(default=None, description="The vendor's part number for the line item.", alias="vendorPartNumber")
Expand All @@ -40,8 +40,8 @@ class ReturnsDetailsResponseProductsInner(BaseModel):
unit_price: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The unit price of the line item.", alias="unitPrice")
extended_price: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Unit price X quantity for the line item.", alias="extendedPrice")
status: Optional[StrictStr] = Field(default=None, description="The status of the line item.")
return_branch: Optional[StrictInt] = Field(default=None, description="The code of the return branch.", alias="returnBranch")
ship_from_branch: Optional[StrictInt] = Field(default=None, description="The code of the ship from branch.", alias="shipFromBranch")
return_branch: Optional[StrictStr] = Field(default=None, description="The code of the return branch.", alias="returnBranch")
ship_from_branch: Optional[StrictStr] = Field(default=None, description="The code of the ship from branch.", alias="shipFromBranch")
__properties: ClassVar[List[str]] = ["ingramLineNumber", "description", "ingramPartNumber", "vendorPartNumber", "upc", "invoiceDate", "invoiceNumber", "customerOrderNumber", "requestDetails", "quantity", "unitPrice", "extendedPrice", "status", "returnBranch", "shipFromBranch"]

model_config = {
Expand Down

0 comments on commit 465c271

Please sign in to comment.