Skip to content

Commit

Permalink
Merge pull request #6 from ingrammicro-xvantage/feature
Browse files Browse the repository at this point in the history
New SDK because of changes in open API spec file
  • Loading branch information
im-deviprakash committed Feb 15, 2024
2 parents 3e8423f + 8e248a0 commit 28a3699
Show file tree
Hide file tree
Showing 729 changed files with 3,078 additions and 3,031 deletions.
12 changes: 6 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ docs/ProductCatalogV5Api.md
docs/ProductDetailResponse.md
docs/ProductDetailResponseAdditionalInformation.md
docs/ProductDetailResponseAdditionalInformationProductWeightInner.md
docs/ProductDetailResponseCiscoFieldsInner.md
docs/ProductDetailResponseIndicatorsInner.md
docs/ProductDetailResponseCiscoFields.md
docs/ProductDetailResponseIndicators.md
docs/ProductDetailResponseTechnicalSpecificationsInner.md
docs/ProductLineType.md
docs/ProductLineTypeSerialnumberdetailsInner.md
Expand Down Expand Up @@ -625,8 +625,8 @@ src/main/java/xiresellers/client/model/PriceAndAvailabilityResponseServicerespon
src/main/java/xiresellers/client/model/ProductDetailResponse.java
src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformation.java
src/main/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInner.java
src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsInner.java
src/main/java/xiresellers/client/model/ProductDetailResponseIndicatorsInner.java
src/main/java/xiresellers/client/model/ProductDetailResponseCiscoFields.java
src/main/java/xiresellers/client/model/ProductDetailResponseIndicators.java
src/main/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInner.java
src/main/java/xiresellers/client/model/ProductLineType.java
src/main/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInner.java
Expand Down Expand Up @@ -962,8 +962,8 @@ src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseServicerespon
src/test/java/xiresellers/client/model/PriceAndAvailabilityResponseTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationProductWeightInnerTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseAdditionalInformationTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsInnerTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsInnerTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseCiscoFieldsTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseIndicatorsTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseTechnicalSpecificationsInnerTest.java
src/test/java/xiresellers/client/model/ProductDetailResponseTest.java
src/test/java/xiresellers/client/model/ProductLineTypeSerialnumberdetailsInnerTest.java
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.0
7.3.0
21 changes: 21 additions & 0 deletions LICENCE
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.
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# xi.sdk.resellers

Reseller API
- API version: 6.0
- Build date: 2024-01-22T11:06:29.712836Z[Etc/UTC]
XI Sdk Resellers
- API version: 1.0.0
- Build date: 2024-02-14T10:07:36.431201Z[Etc/UTC]

For Resellers. <br>
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.
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.


*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
Expand All @@ -17,6 +16,7 @@ Building the API client library requires:
1. Java 1.8+
2. Maven (3.8.3+)/Gradle (7.2+)


## Installation

To install the API client library to your local Maven repository, simply execute:
Expand Down Expand Up @@ -49,12 +49,15 @@ Add this dependency to your project's POM:
###
If you want to compile it yourself, here's how:


```shell
git clone [email protected]:ingrammicro-xvantage/xi-sdk-resellers-java
cd xi-sdk-resellers-java
mvn install # Requires maven, download from https://maven.apache.org/download.html

```


### Others

At first generate the JAR by executing:
Expand Down Expand Up @@ -87,7 +90,7 @@ import xiresellers.client.api.DealsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.ingrammicro.com:443/sandbox");
defaultClient.setBasePath("https://api.ingrammicro.com:443");

// Configure OAuth2 access token for authorization: application
OAuth application = (OAuth) defaultClient.getAuthentication("application");
Expand All @@ -97,10 +100,11 @@ public class Example {
String imCustomerNumber = "20-222222"; // String | Your unique Ingram Micro customer number.
String imCountryCode = "US"; // String | Two-character ISO country code.
String imCorrelationID = "fbac82ba-cf0a-4bcf-fc03-0c5084"; // String | Unique transaction number to identify each transaction across all the systems.
String imApplicationId = "MyCompany"; // String | Unique value used to identify the sender of the transaction. Example: MyCompany
String imEnvironment = "20-222222"; // String | Environment name.
String dealId = "12345678"; // String | Unique deal ID.
String imSenderID = "MyCompany"; // String | Unique value used to identify the sender of the transaction. Example: MyCompany
try {
DealsDetailsResponse result = apiInstance.getResellersV6Dealsdetails(imCustomerNumber, imCountryCode, imCorrelationID, dealId, imSenderID);
DealsDetailsResponse result = apiInstance.getResellersV6Dealsdetails(imCustomerNumber, imCountryCode, imCorrelationID, imApplicationId, imEnvironment, dealId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DealsApi#getResellersV6Dealsdetails");
Expand All @@ -116,15 +120,15 @@ public class Example {

## Documentation for API Endpoints

All URIs are relative to *https://api.ingrammicro.com:443/sandbox*
All URIs are relative to *https://api.ingrammicro.com:443*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*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
*InvoicesApi* | [**getInvoicedetailsV61**](docs/InvoicesApi.md#getInvoicedetailsV61) | **GET** /resellers/v6.1/invoices/{invoiceNumber} | Get Invoice Details v6.1
*InvoicesApi* | [**getResellersV6Invoicesearch**](docs/InvoicesApi.md#getResellersV6Invoicesearch) | **GET** /resellers/v6/invoices/ | Search your invoice
*InvoicesApi* | [**getResellersV6Invoicesearch**](docs/InvoicesApi.md#getResellersV6Invoicesearch) | **GET** /resellers/v6/invoices | Search your invoice
*InvoicesV4Api* | [**postV4Invoicedetails**](docs/InvoicesV4Api.md#postV4Invoicedetails) | **POST** /invoices/v4/invoicedetails | Get Invoice Details
*InvoicesV5Api* | [**getInvoices**](docs/InvoicesV5Api.md#getInvoices) | **GET** /resellers/v5/invoices/{invoiceNumber} | Get Invoice Details
*InvoicesV6Api* | [**getInvoicedetailsV6**](docs/InvoicesV6Api.md#getInvoicedetailsV6) | **GET** /resellers/v6/invoices/{invoicenumber} | Get Invoice Details v6
Expand Down Expand Up @@ -398,8 +402,8 @@ Class | Method | HTTP request | Description
- [ProductDetailResponse](docs/ProductDetailResponse.md)
- [ProductDetailResponseAdditionalInformation](docs/ProductDetailResponseAdditionalInformation.md)
- [ProductDetailResponseAdditionalInformationProductWeightInner](docs/ProductDetailResponseAdditionalInformationProductWeightInner.md)
- [ProductDetailResponseCiscoFieldsInner](docs/ProductDetailResponseCiscoFieldsInner.md)
- [ProductDetailResponseIndicatorsInner](docs/ProductDetailResponseIndicatorsInner.md)
- [ProductDetailResponseCiscoFields](docs/ProductDetailResponseCiscoFields.md)
- [ProductDetailResponseIndicators](docs/ProductDetailResponseIndicators.md)
- [ProductDetailResponseTechnicalSpecificationsInner](docs/ProductDetailResponseTechnicalSpecificationsInner.md)
- [ProductLineType](docs/ProductLineType.md)
- [ProductLineTypeSerialnumberdetailsInner](docs/ProductLineTypeSerialnumberdetailsInner.md)
Expand Down Expand Up @@ -515,8 +519,7 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea

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

- Email: [[email protected]]([email protected])


- Email: [[email protected]]([email protected])


Loading

0 comments on commit 28a3699

Please sign in to comment.