Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added V7 Orders. #18

Merged
merged 4 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 35 additions & 23 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
README.md
api/openapi.yaml
api_accesstoken.go
api_async_order_create.go
api_deals.go
api_freight_estimate.go
api_invoices.go
api_order_status.go
api_orders.go
api_product_catalog.go
api_quote_to_order.go
api_quotes.go
api_renewals.go
api_returns.go
Expand All @@ -19,6 +19,20 @@ client.go
configuration.go
docs/AccesstokenAPI.md
docs/AccesstokenResponse.md
docs/AsyncOrderCreateAPI.md
docs/AsyncOrderCreateDTO.md
docs/AsyncOrderCreateDTOAdditionalAttributesInner.md
docs/AsyncOrderCreateDTOEndUserInfo.md
docs/AsyncOrderCreateDTOLinesInner.md
docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md
docs/AsyncOrderCreateDTOResellerInfo.md
docs/AsyncOrderCreateDTOShipToInfo.md
docs/AsyncOrderCreateDTOShipmentDetails.md
docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md
docs/AsyncOrderCreateDTOWarrantyInfoInner.md
docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md
docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md
docs/AsyncOrderCreateResponse.md
docs/AvailabilityAsyncNotificationRequest.md
docs/AvailabilityAsyncNotificationRequestResourceInner.md
docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md
Expand Down Expand Up @@ -135,8 +149,8 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsIn
docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md
docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md
docs/OrdersAPI.md
docs/PostQuoteToOrderV6400Response.md
docs/PostQuoteToOrderV6400ResponseFieldsInner.md
docs/PostAsyncOrderCreateV7400Response.md
docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md
docs/PostRenewalssearch400Response.md
docs/PriceAndAvailabilityRequest.md
docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md
Expand Down Expand Up @@ -172,15 +186,6 @@ docs/QuoteDetailsResponseResellerInfo.md
docs/QuoteSearchResponse.md
docs/QuoteSearchResponseQuotesInner.md
docs/QuoteSearchResponseQuotesInnerLinks.md
docs/QuoteToOrderAPI.md
docs/QuoteToOrderDetailsDTO.md
docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md
docs/QuoteToOrderDetailsDTOEndUserInfo.md
docs/QuoteToOrderDetailsDTOLinesInner.md
docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md
docs/QuoteToOrderDetailsDTOShipToInfo.md
docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md
docs/QuoteToOrderResponse.md
docs/QuotesAPI.md
docs/RenewalsAPI.md
docs/RenewalsDetailsResponse.md
Expand Down Expand Up @@ -213,11 +218,25 @@ docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md
docs/StockUpdateAPI.md
docs/ValidateQuoteResponse.md
docs/ValidateQuoteResponseLinesInner.md
docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md
docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md
git_push.sh
go.mod
go.sum
model_accesstoken_response.go
model_async_order_create_dto.go
model_async_order_create_dto_additional_attributes_inner.go
model_async_order_create_dto_end_user_info.go
model_async_order_create_dto_lines_inner.go
model_async_order_create_dto_lines_inner_end_user_info_inner.go
model_async_order_create_dto_reseller_info.go
model_async_order_create_dto_ship_to_info.go
model_async_order_create_dto_shipment_details.go
model_async_order_create_dto_vmfadditional_attributes_inner.go
model_async_order_create_dto_warranty_info_inner.go
model_async_order_create_dto_warranty_info_inner_serial_info_inner.go
model_async_order_create_dto_warranty_info_inner_vmf_additional_attributes_lines_inner.go
model_async_order_create_response.go
model_availability_async_notification_request.go
model_availability_async_notification_request_resource_inner.go
model_availability_async_notification_request_resource_inner_links_inner.go
Expand Down Expand Up @@ -329,8 +348,8 @@ model_order_status_async_notification_request_resource_inner_lines_inner_serial_
model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go
model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go
model_order_status_async_notification_request_resource_inner_links_inner.go
model_post_quote_to_order_v6_400_response.go
model_post_quote_to_order_v6_400_response_fields_inner.go
model_post_async_order_create_v7_400_response.go
model_post_async_order_create_v7_400_response_fields_inner.go
model_post_renewalssearch_400_response.go
model_price_and_availability_request.go
model_price_and_availability_request_additional_attributes_inner.go
Expand Down Expand Up @@ -365,14 +384,6 @@ model_quote_details_response_reseller_info.go
model_quote_search_response.go
model_quote_search_response_quotes_inner.go
model_quote_search_response_quotes_inner_links.go
model_quote_to_order_details_dto.go
model_quote_to_order_details_dto_additional_attributes_inner.go
model_quote_to_order_details_dto_end_user_info.go
model_quote_to_order_details_dto_lines_inner.go
model_quote_to_order_details_dto_lines_inner_vmf_additional_attributes_lines_inner.go
model_quote_to_order_details_dto_ship_to_info.go
model_quote_to_order_details_dto_vmfadditional_attributes_inner.go
model_quote_to_order_response.go
model_renewals_details_response.go
model_renewals_details_response_additional_attributes_inner.go
model_renewals_details_response_end_user_info.go
Expand Down Expand Up @@ -401,16 +412,17 @@ model_returns_search_response_returns_claims_inner.go
model_returns_search_response_returns_claims_inner_links_inner.go
model_validate_quote_response.go
model_validate_quote_response_lines_inner.go
model_validate_quote_response_lines_inner_vmf_additional_attributes_lines_inner.go
model_validate_quote_response_vmf_additional_attributes_inner.go
response.go
test/api_accesstoken_test.go
test/api_async_order_create_test.go
test/api_deals_test.go
test/api_freight_estimate_test.go
test/api_invoices_test.go
test/api_order_status_test.go
test/api_orders_test.go
test/api_product_catalog_test.go
test/api_quote_to_order_test.go
test/api_quotes_test.go
test/api_renewals_test.go
test/api_returns_test.go
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.4.0
52 changes: 39 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# Go API client for xi_sdk_resellers

<<<<<<< HEAD
For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers.
=======
For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of APIs and webhooks to craft a seamless journey for your customers.
>>>>>>> main

## Installation
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

# Installation
To install the package use:
```sh
go get -u github.com/ingrammicro-xvantage/xi-sdk-resellers-go
Expand All @@ -23,6 +35,8 @@ Put the package under your project folder and add the following in import:
import xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go"
```

```

To use a proxy, set the environment variable `HTTP_PROXY`:

```go
Expand Down Expand Up @@ -80,6 +94,7 @@ All URIs are relative to *https://api.ingrammicro.com:443*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccesstokenAPI* | [**GetAccesstoken**](docs/AccesstokenAPI.md#getaccesstoken) | **Get** /oauth/oauth20/token | Accesstoken
*AsyncOrderCreateAPI* | [**PostAsyncOrderCreateV7**](docs/AsyncOrderCreateAPI.md#postasyncordercreatev7) | **Post** /resellers/v7/orders | Async Order Create
*DealsAPI* | [**GetResellersV6Dealsdetails**](docs/DealsAPI.md#getresellersv6dealsdetails) | **Get** /resellers/v6/deals/{dealId} | Deals Details
*DealsAPI* | [**GetResellersV6Dealssearch**](docs/DealsAPI.md#getresellersv6dealssearch) | **Get** /resellers/v6/deals/search | Deals Search
*FreightEstimateAPI* | [**PostFreightestimate**](docs/FreightEstimateAPI.md#postfreightestimate) | **Post** /resellers/v6/freightestimate | Freight Estimate
Expand All @@ -94,7 +109,6 @@ Class | Method | HTTP request | Description
*ProductCatalogAPI* | [**GetResellerV6Productdetail**](docs/ProductCatalogAPI.md#getresellerv6productdetail) | **Get** /resellers/v6/catalog/details/{ingramPartNumber} | Product Details
*ProductCatalogAPI* | [**GetResellerV6Productsearch**](docs/ProductCatalogAPI.md#getresellerv6productsearch) | **Get** /resellers/v6/catalog | Search Products
*ProductCatalogAPI* | [**PostPriceandavailability**](docs/ProductCatalogAPI.md#postpriceandavailability) | **Post** /resellers/v6/catalog/priceandavailability | Price and Availability
*QuoteToOrderAPI* | [**PostQuoteToOrderV6**](docs/QuoteToOrderAPI.md#postquotetoorderv6) | **Post** /resellers/v6/q2o/orders | Quote To Order
*QuotesAPI* | [**GetQuotessearchV6**](docs/QuotesAPI.md#getquotessearchv6) | **Get** /resellers/v6/quotes/search | Quote Search
*QuotesAPI* | [**GetResellerV6ValidateQuote**](docs/QuotesAPI.md#getresellerv6validatequote) | **Get** /resellers/v6/q2o/validatequote | Validate Quote
*QuotesAPI* | [**GetResellersV6Quotes**](docs/QuotesAPI.md#getresellersv6quotes) | **Get** /resellers/v6/quotes/{quoteNumber} | Get Quote Details
Expand All @@ -109,6 +123,19 @@ Class | Method | HTTP request | Description
## Documentation For Models

- [AccesstokenResponse](docs/AccesstokenResponse.md)
- [AsyncOrderCreateDTO](docs/AsyncOrderCreateDTO.md)
- [AsyncOrderCreateDTOAdditionalAttributesInner](docs/AsyncOrderCreateDTOAdditionalAttributesInner.md)
- [AsyncOrderCreateDTOEndUserInfo](docs/AsyncOrderCreateDTOEndUserInfo.md)
- [AsyncOrderCreateDTOLinesInner](docs/AsyncOrderCreateDTOLinesInner.md)
- [AsyncOrderCreateDTOLinesInnerEndUserInfoInner](docs/AsyncOrderCreateDTOLinesInnerEndUserInfoInner.md)
- [AsyncOrderCreateDTOResellerInfo](docs/AsyncOrderCreateDTOResellerInfo.md)
- [AsyncOrderCreateDTOShipToInfo](docs/AsyncOrderCreateDTOShipToInfo.md)
- [AsyncOrderCreateDTOShipmentDetails](docs/AsyncOrderCreateDTOShipmentDetails.md)
- [AsyncOrderCreateDTOVmfadditionalAttributesInner](docs/AsyncOrderCreateDTOVmfadditionalAttributesInner.md)
- [AsyncOrderCreateDTOWarrantyInfoInner](docs/AsyncOrderCreateDTOWarrantyInfoInner.md)
- [AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner](docs/AsyncOrderCreateDTOWarrantyInfoInnerSerialInfoInner.md)
- [AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner](docs/AsyncOrderCreateDTOWarrantyInfoInnerVmfAdditionalAttributesLinesInner.md)
- [AsyncOrderCreateResponse](docs/AsyncOrderCreateResponse.md)
- [AvailabilityAsyncNotificationRequest](docs/AvailabilityAsyncNotificationRequest.md)
- [AvailabilityAsyncNotificationRequestResourceInner](docs/AvailabilityAsyncNotificationRequestResourceInner.md)
- [AvailabilityAsyncNotificationRequestResourceInnerLinksInner](docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md)
Expand Down Expand Up @@ -220,8 +247,8 @@ Class | Method | HTTP request | Description
- [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.md)
- [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md)
- [OrderStatusAsyncNotificationRequestResourceInnerLinksInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md)
- [PostQuoteToOrderV6400Response](docs/PostQuoteToOrderV6400Response.md)
- [PostQuoteToOrderV6400ResponseFieldsInner](docs/PostQuoteToOrderV6400ResponseFieldsInner.md)
- [PostAsyncOrderCreateV7400Response](docs/PostAsyncOrderCreateV7400Response.md)
- [PostAsyncOrderCreateV7400ResponseFieldsInner](docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md)
- [PostRenewalssearch400Response](docs/PostRenewalssearch400Response.md)
- [PriceAndAvailabilityRequest](docs/PriceAndAvailabilityRequest.md)
- [PriceAndAvailabilityRequestAdditionalAttributesInner](docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md)
Expand Down Expand Up @@ -256,14 +283,6 @@ Class | Method | HTTP request | Description
- [QuoteSearchResponse](docs/QuoteSearchResponse.md)
- [QuoteSearchResponseQuotesInner](docs/QuoteSearchResponseQuotesInner.md)
- [QuoteSearchResponseQuotesInnerLinks](docs/QuoteSearchResponseQuotesInnerLinks.md)
- [QuoteToOrderDetailsDTO](docs/QuoteToOrderDetailsDTO.md)
- [QuoteToOrderDetailsDTOAdditionalAttributesInner](docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md)
- [QuoteToOrderDetailsDTOEndUserInfo](docs/QuoteToOrderDetailsDTOEndUserInfo.md)
- [QuoteToOrderDetailsDTOLinesInner](docs/QuoteToOrderDetailsDTOLinesInner.md)
- [QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner](docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md)
- [QuoteToOrderDetailsDTOShipToInfo](docs/QuoteToOrderDetailsDTOShipToInfo.md)
- [QuoteToOrderDetailsDTOVmfadditionalAttributesInner](docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md)
- [QuoteToOrderResponse](docs/QuoteToOrderResponse.md)
- [RenewalsDetailsResponse](docs/RenewalsDetailsResponse.md)
- [RenewalsDetailsResponseAdditionalAttributesInner](docs/RenewalsDetailsResponseAdditionalAttributesInner.md)
- [RenewalsDetailsResponseEndUserInfo](docs/RenewalsDetailsResponseEndUserInfo.md)
Expand Down Expand Up @@ -292,6 +311,7 @@ Class | Method | HTTP request | Description
- [ReturnsSearchResponseReturnsClaimsInnerLinksInner](docs/ReturnsSearchResponseReturnsClaimsInnerLinksInner.md)
- [ValidateQuoteResponse](docs/ValidateQuoteResponse.md)
- [ValidateQuoteResponseLinesInner](docs/ValidateQuoteResponseLinesInner.md)
- [ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner](docs/ValidateQuoteResponseLinesInnerVmfAdditionalAttributesLinesInner.md)
- [ValidateQuoteResponseVmfAdditionalAttributesInner](docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md)


Expand Down Expand Up @@ -352,4 +372,10 @@ Each of these functions takes a value of the given basic type and returns a poin

For any inquiries or support, please feel free to contact us at:

- Email: xi_support@ingrammicro.com
<<<<<<< HEAD
- Email: xi_support@ingrammicro.com


=======
- Email: xi_support@ingrammicro.com
>>>>>>> main
Loading
Loading