Skip to content

Commit

Permalink
Merge pull request #10 from ingrammicro-xvantage/feature
Browse files Browse the repository at this point in the history
Feature
  • Loading branch information
im-deviprakash committed Feb 20, 2024
2 parents 16e4eae + 27a67a1 commit df195b9
Show file tree
Hide file tree
Showing 210 changed files with 484 additions and 507 deletions.
30 changes: 15 additions & 15 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ docs/RenewalsDetailsResponseEndUserInfoInner.md
docs/RenewalsDetailsResponseProductsInner.md
docs/RenewalsDetailsResponseReferenceNumberInner.md
docs/RenewalsSearchRequest.md
docs/RenewalsSearchRequestDataType.md
docs/RenewalsSearchRequestDataTypeEndDate.md
docs/RenewalsSearchRequestDataTypeExpirationDate.md
docs/RenewalsSearchRequestDataTypeInvoiceDate.md
docs/RenewalsSearchRequestDataTypeStartDate.md
docs/RenewalsSearchRequestDateType.md
docs/RenewalsSearchRequestDateTypeEndDate.md
docs/RenewalsSearchRequestDateTypeExpirationDate.md
docs/RenewalsSearchRequestDateTypeInvoiceDate.md
docs/RenewalsSearchRequestDateTypeStartDate.md
docs/RenewalsSearchRequestStatus.md
docs/RenewalsSearchRequestStatusOpporutinyStatus.md
docs/RenewalsSearchResponse.md
Expand Down Expand Up @@ -396,11 +396,11 @@ src/main/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInner.j
src/main/java/xiresellers/client/model/RenewalsDetailsResponseProductsInner.java
src/main/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInner.java
src/main/java/xiresellers/client/model/RenewalsSearchRequest.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDataType.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDateType.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDate.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestStatus.java
src/main/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatus.java
src/main/java/xiresellers/client/model/RenewalsSearchResponse.java
Expand Down Expand Up @@ -586,11 +586,11 @@ src/test/java/xiresellers/client/model/RenewalsDetailsResponseEndUserInfoInnerTe
src/test/java/xiresellers/client/model/RenewalsDetailsResponseProductsInnerTest.java
src/test/java/xiresellers/client/model/RenewalsDetailsResponseReferenceNumberInnerTest.java
src/test/java/xiresellers/client/model/RenewalsDetailsResponseTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeEndDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeExpirationDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeInvoiceDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeStartDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDataTypeTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeEndDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeExpirationDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeInvoiceDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeStartDateTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestDateTypeTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusOpporutinyStatusTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestStatusTest.java
src/test/java/xiresellers/client/model/RenewalsSearchRequestTest.java
Expand Down
21 changes: 0 additions & 21 deletions LICENCE

This file was deleted.

18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

XI Sdk Resellers
- API version: 1.0.0
- Build date: 2024-02-19T10:18:25.862607Z[Etc/UTC]
- Build date: 2024-02-20T05:40:29.622284Z[Etc/UTC]

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.

Expand Down Expand Up @@ -56,7 +56,6 @@ mvn install # Requires maven, download from https://maven.apache.org/downl

```


### Others

At first generate the JAR by executing:
Expand Down Expand Up @@ -306,11 +305,11 @@ Class | Method | HTTP request | Description
- [RenewalsDetailsResponseProductsInner](docs/RenewalsDetailsResponseProductsInner.md)
- [RenewalsDetailsResponseReferenceNumberInner](docs/RenewalsDetailsResponseReferenceNumberInner.md)
- [RenewalsSearchRequest](docs/RenewalsSearchRequest.md)
- [RenewalsSearchRequestDataType](docs/RenewalsSearchRequestDataType.md)
- [RenewalsSearchRequestDataTypeEndDate](docs/RenewalsSearchRequestDataTypeEndDate.md)
- [RenewalsSearchRequestDataTypeExpirationDate](docs/RenewalsSearchRequestDataTypeExpirationDate.md)
- [RenewalsSearchRequestDataTypeInvoiceDate](docs/RenewalsSearchRequestDataTypeInvoiceDate.md)
- [RenewalsSearchRequestDataTypeStartDate](docs/RenewalsSearchRequestDataTypeStartDate.md)
- [RenewalsSearchRequestDateType](docs/RenewalsSearchRequestDateType.md)
- [RenewalsSearchRequestDateTypeEndDate](docs/RenewalsSearchRequestDateTypeEndDate.md)
- [RenewalsSearchRequestDateTypeExpirationDate](docs/RenewalsSearchRequestDateTypeExpirationDate.md)
- [RenewalsSearchRequestDateTypeInvoiceDate](docs/RenewalsSearchRequestDateTypeInvoiceDate.md)
- [RenewalsSearchRequestDateTypeStartDate](docs/RenewalsSearchRequestDateTypeStartDate.md)
- [RenewalsSearchRequestStatus](docs/RenewalsSearchRequestStatus.md)
- [RenewalsSearchRequestStatusOpporutinyStatus](docs/RenewalsSearchRequestStatusOpporutinyStatus.md)
- [RenewalsSearchResponse](docs/RenewalsSearchResponse.md)
Expand Down Expand Up @@ -358,7 +357,4 @@ 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])
30 changes: 14 additions & 16 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6484,7 +6484,7 @@ paths:
- description: The media type for JSON Request.
explode: false
in: header
name: Content type
name: Content Type
required: true
schema:
example: application/json
Expand Down Expand Up @@ -9231,8 +9231,8 @@ components:
properties:
status:
$ref: '#/components/schemas/renewalsSearchRequest_status'
dataType:
$ref: '#/components/schemas/renewalsSearchRequest_dataType'
dateType:
$ref: '#/components/schemas/renewalsSearchRequest_dateType'
vendor:
description: The name of the Vendor.
type: string
Expand Down Expand Up @@ -10459,7 +10459,7 @@ components:
orderNumber: orderNumber
notes: notes
endCustomerOrderNumber: endCustomerOrderNumber
invoiceDate: 2000-01-23
invoiceDate: invoiceDate
customerNumber: customerNumber
customerOrderNumber: customerOrderNumber
invoiceDueDate: invoiceDueDate
Expand Down Expand Up @@ -10545,7 +10545,7 @@ components:
taxAmount: 7.061401241503109
currencyCode: currencyCode
productDescription: productDescription
orderDate: 2000-01-23
orderDate: orderDate
properties:
invoiceNumber:
description: The Invoice number for the order.
Expand All @@ -10555,7 +10555,6 @@ components:
type: string
invoiceDate:
description: Date of an Invoice.
format: date
type: string
customerOrderNumber:
description: The reseller's order number for reference in their system.
Expand All @@ -10568,7 +10567,6 @@ components:
type: string
orderDate:
description: The date and time in UTC format that the order was created.
format: date
type: string
billToID:
description: Bill to party
Expand Down Expand Up @@ -14299,7 +14297,7 @@ components:
OpporutinyStatus:
$ref: '#/components/schemas/renewalsSearchRequest_status_OpporutinyStatus'
type: object
renewalsSearchRequest_dataType_startDate:
renewalsSearchRequest_dateType_startDate:
properties:
customStartDate:
description: Custom from date for Renewal Start date.
Expand All @@ -14308,7 +14306,7 @@ components:
description: Custom to date for Renewal Start date.
type: string
type: object
renewalsSearchRequest_dataType_endDate:
renewalsSearchRequest_dateType_endDate:
properties:
customStartDate:
description: Custom from date for Renewal end date.
Expand All @@ -14317,7 +14315,7 @@ components:
description: Custom to date for Renewal end date.
type: string
type: object
renewalsSearchRequest_dataType_invoiceDate:
renewalsSearchRequest_dateType_invoiceDate:
properties:
customStartDate:
description: Custom start date for invoice date.
Expand All @@ -14326,7 +14324,7 @@ components:
description: Custom end date for invoice date.
type: string
type: object
renewalsSearchRequest_dataType_expirationDate:
renewalsSearchRequest_dateType_expirationDate:
properties:
customStartDate:
description: Custom start date for expiration date.
Expand All @@ -14335,16 +14333,16 @@ components:
description: Custom end date for expiration date.
type: string
type: object
renewalsSearchRequest_dataType:
renewalsSearchRequest_dateType:
properties:
startDate:
$ref: '#/components/schemas/renewalsSearchRequest_dataType_startDate'
$ref: '#/components/schemas/renewalsSearchRequest_dateType_startDate'
endDate:
$ref: '#/components/schemas/renewalsSearchRequest_dataType_endDate'
$ref: '#/components/schemas/renewalsSearchRequest_dateType_endDate'
invoiceDate:
$ref: '#/components/schemas/renewalsSearchRequest_dataType_invoiceDate'
$ref: '#/components/schemas/renewalsSearchRequest_dateType_invoiceDate'
expirationDate:
$ref: '#/components/schemas/renewalsSearchRequest_dataType_expirationDate'
$ref: '#/components/schemas/renewalsSearchRequest_dateType_expirationDate'
type: object
renewalsSearchResponse_renewals_inner_links_inner:
example:
Expand Down
4 changes: 2 additions & 2 deletions docs/InvoiceDetailsv61Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
|------------ | ------------- | ------------- | -------------|
|**invoiceNumber** | **String** | The Invoice number for the order. | [optional] |
|**invoiceStatus** | **String** | Status of the invoice. | [optional] |
|**invoiceDate** | **LocalDate** | Date of an Invoice. | [optional] |
|**invoiceDate** | **String** | Date of an Invoice. | [optional] |
|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] |
|**endCustomerOrderNumber** | **String** | The end customer's order number for reference in their system. | [optional] |
|**orderNumber** | **String** | The end customer's order number for reference in their system. | [optional] |
|**orderDate** | **LocalDate** | The date and time in UTC format that the order was created. | [optional] |
|**orderDate** | **String** | The date and time in UTC format that the order was created. | [optional] |
|**billToID** | **String** | Bill to party | [optional] |
|**invoiceType** | **String** | Type of the Invoice | [optional] |
|**invoiceDueDate** | **String** | Date when the invoice is due. | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion docs/RenewalsSearchRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**status** | [**RenewalsSearchRequestStatus**](RenewalsSearchRequestStatus.md) | | [optional] |
|**dataType** | [**RenewalsSearchRequestDataType**](RenewalsSearchRequestDataType.md) | | [optional] |
|**dateType** | [**RenewalsSearchRequestDateType**](RenewalsSearchRequestDateType.md) | | [optional] |
|**vendor** | **String** | The name of the Vendor. | [optional] |
|**endUser** | **String** | The name of the enduser. | [optional] |

Expand Down
16 changes: 0 additions & 16 deletions docs/RenewalsSearchRequestDataType.md

This file was deleted.

16 changes: 16 additions & 0 deletions docs/RenewalsSearchRequestDateType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@


# RenewalsSearchRequestDateType


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**startDate** | [**RenewalsSearchRequestDateTypeStartDate**](RenewalsSearchRequestDateTypeStartDate.md) | | [optional] |
|**endDate** | [**RenewalsSearchRequestDateTypeEndDate**](RenewalsSearchRequestDateTypeEndDate.md) | | [optional] |
|**invoiceDate** | [**RenewalsSearchRequestDateTypeInvoiceDate**](RenewalsSearchRequestDateTypeInvoiceDate.md) | | [optional] |
|**expirationDate** | [**RenewalsSearchRequestDateTypeExpirationDate**](RenewalsSearchRequestDateTypeExpirationDate.md) | | [optional] |



Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# RenewalsSearchRequestDataTypeEndDate
# RenewalsSearchRequestDateTypeEndDate


## Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# RenewalsSearchRequestDataTypeExpirationDate
# RenewalsSearchRequestDateTypeExpirationDate


## Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# RenewalsSearchRequestDataTypeInvoiceDate
# RenewalsSearchRequestDateTypeInvoiceDate


## Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# RenewalsSearchRequestDataTypeStartDate
# RenewalsSearchRequestDateTypeStartDate


## Properties
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-19T10:18:25.862607Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T05:40:29.622284Z[Etc/UTC]")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package xiresellers.client;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-19T10:18:25.862607Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T05:40:29.622284Z[Etc/UTC]")
public class Configuration {
public static final String VERSION = "1.0.0";

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/xiresellers/client/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsDetailsResponseProductsInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsDetailsResponseReferenceNumberInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequest.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDataType.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDataTypeEndDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDataTypeExpirationDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDataTypeInvoiceDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDataTypeStartDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDateType.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDateTypeEndDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDateTypeExpirationDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDateTypeInvoiceDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestDateTypeStartDate.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestStatus.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchRequestStatusOpporutinyStatus.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsSearchResponse.CustomTypeAdapterFactory());
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package xiresellers.client;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-19T10:18:25.862607Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T05:40:29.622284Z[Etc/UTC]")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-19T10:18:25.862607Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T05:40:29.622284Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/api/RenewalsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public okhttp3.Call postRenewalssearchCall(String imCustomerNumber, String imCou
}

if (contentType != null) {
localVarHeaderParams.put("Content type", localVarApiClient.parameterToString(contentType));
localVarHeaderParams.put("Content Type", localVarApiClient.parameterToString(contentType));
}

final String[] localVarAccepts = {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/auth/ApiKeyAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-19T10:18:25.862607Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T05:40:29.622284Z[Etc/UTC]")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
Expand Down
Loading

0 comments on commit df195b9

Please sign in to comment.