Skip to content

Commit

Permalink
Merge pull request #15 from ingrammicro-xvantage/feature
Browse files Browse the repository at this point in the history
Feature
  • Loading branch information
im-deviprakash authored Feb 28, 2024
2 parents 43d796b + d9134d9 commit 5c9e49a
Show file tree
Hide file tree
Showing 25 changed files with 2,042 additions and 167 deletions.
13 changes: 13 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.travis.yml
README.md
api/openapi.yaml
api_accesstoken.go
api_deals.go
api_freight_estimate.go
api_invoices.go
Expand All @@ -16,6 +17,8 @@ api_returns.go
api_stock_update.go
client.go
configuration.go
docs/AccesstokenAPI.md
docs/AccesstokenResponse.md
docs/AvailabilityAsyncNotificationRequest.md
docs/AvailabilityAsyncNotificationRequestResourceInner.md
docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md
Expand All @@ -39,6 +42,10 @@ docs/FreightResponseFreightEstimateResponse.md
docs/FreightResponseFreightEstimateResponseDistributionInner.md
docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md
docs/FreightResponseFreightEstimateResponseLinesInner.md
docs/GetAccesstoken400Response.md
docs/GetAccesstoken500Response.md
docs/GetAccesstoken500ResponseFault.md
docs/GetAccesstoken500ResponseFaultDetail.md
docs/GetResellerV6ValidateQuote400Response.md
docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md
docs/GetResellerV6ValidateQuote500Response.md
Expand Down Expand Up @@ -210,6 +217,7 @@ docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md
git_push.sh
go.mod
go.sum
model_accesstoken_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 All @@ -231,6 +239,10 @@ model_freight_response_freight_estimate_response.go
model_freight_response_freight_estimate_response_distribution_inner.go
model_freight_response_freight_estimate_response_distribution_inner_carrier_list_inner.go
model_freight_response_freight_estimate_response_lines_inner.go
model_get_accesstoken_400_response.go
model_get_accesstoken_500_response.go
model_get_accesstoken_500_response_fault.go
model_get_accesstoken_500_response_fault_detail.go
model_get_reseller_v6_validate_quote_400_response.go
model_get_reseller_v6_validate_quote_400_response_fields_inner.go
model_get_reseller_v6_validate_quote_500_response.go
Expand Down Expand Up @@ -391,6 +403,7 @@ model_validate_quote_response.go
model_validate_quote_response_lines_inner.go
model_validate_quote_response_vmf_additional_attributes_inner.go
response.go
test/api_accesstoken_test.go
test/api_deals_test.go
test/api_freight_estimate_test.go
test/api_invoices_test.go
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Ingram Micro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

For Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers.

## 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
- Build package: org.openapitools.codegen.languages.GoClientCodegen


## Installation
To install the package use:
```sh
Expand All @@ -23,7 +15,7 @@ go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
```
```


Put the package under your project folder and add the following in import:

Expand Down Expand Up @@ -84,6 +76,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
*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 Down Expand Up @@ -112,6 +105,7 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [AccesstokenResponse](docs/AccesstokenResponse.md)
- [AvailabilityAsyncNotificationRequest](docs/AvailabilityAsyncNotificationRequest.md)
- [AvailabilityAsyncNotificationRequestResourceInner](docs/AvailabilityAsyncNotificationRequestResourceInner.md)
- [AvailabilityAsyncNotificationRequestResourceInnerLinksInner](docs/AvailabilityAsyncNotificationRequestResourceInnerLinksInner.md)
Expand All @@ -133,6 +127,10 @@ Class | Method | HTTP request | Description
- [FreightResponseFreightEstimateResponseDistributionInner](docs/FreightResponseFreightEstimateResponseDistributionInner.md)
- [FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner](docs/FreightResponseFreightEstimateResponseDistributionInnerCarrierListInner.md)
- [FreightResponseFreightEstimateResponseLinesInner](docs/FreightResponseFreightEstimateResponseLinesInner.md)
- [GetAccesstoken400Response](docs/GetAccesstoken400Response.md)
- [GetAccesstoken500Response](docs/GetAccesstoken500Response.md)
- [GetAccesstoken500ResponseFault](docs/GetAccesstoken500ResponseFault.md)
- [GetAccesstoken500ResponseFaultDetail](docs/GetAccesstoken500ResponseFaultDetail.md)
- [GetResellerV6ValidateQuote400Response](docs/GetResellerV6ValidateQuote400Response.md)
- [GetResellerV6ValidateQuote400ResponseFieldsInner](docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md)
- [GetResellerV6ValidateQuote500Response](docs/GetResellerV6ValidateQuote500Response.md)
Expand Down Expand Up @@ -307,6 +305,7 @@ Authentication schemes defined for the API:
- **Scopes**:
- **write**: allows modifying resources
- **read**: allows reading resources
- **description**:

Example

Expand Down Expand Up @@ -351,4 +350,4 @@ 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](xi_support@ingrammicro.com)
- Email: [xi_support@ingrammicro.com](xi_support@ingrammicro.com)
Loading

0 comments on commit 5c9e49a

Please sign in to comment.