Skip to content

Commit

Permalink
Merge pull request #22 from ingrammicro-xvantage/feature
Browse files Browse the repository at this point in the history
Feature
  • Loading branch information
im-deviprakash committed Feb 26, 2024
2 parents a33a724 + 2dbeee4 commit 0291e15
Show file tree
Hide file tree
Showing 203 changed files with 422 additions and 402 deletions.
12 changes: 6 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ docs/QuoteSearchResponseQuotesInnerLinks.md
docs/QuoteToOrderApi.md
docs/QuoteToOrderDetailsDTO.md
docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md
docs/QuoteToOrderDetailsDTOEndUserInfoInner.md
docs/QuoteToOrderDetailsDTOEndUserInfo.md
docs/QuoteToOrderDetailsDTOLinesInner.md
docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md
docs/QuoteToOrderDetailsDTOShipToInfoInner.md
docs/QuoteToOrderDetailsDTOShipToInfo.md
docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md
docs/QuoteToOrderResponse.md
docs/QuotesApi.md
Expand Down Expand Up @@ -384,10 +384,10 @@ src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInner.java
src/main/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinks.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTO.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInner.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInner.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfo.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInner.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInner.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfo.java
src/main/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.java
src/main/java/xiresellers/client/model/QuoteToOrderResponse.java
src/main/java/xiresellers/client/model/RenewalsDetailsResponse.java
Expand Down Expand Up @@ -574,10 +574,10 @@ src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerLinksTest.j
src/test/java/xiresellers/client/model/QuoteSearchResponseQuotesInnerTest.java
src/test/java/xiresellers/client/model/QuoteSearchResponseTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOAdditionalAttributesInnerTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoInnerTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOEndUserInfoTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoInnerTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOShipToInfoTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOTest.java
src/test/java/xiresellers/client/model/QuoteToOrderDetailsDTOVmfadditionalAttributesInnerTest.java
src/test/java/xiresellers/client/model/QuoteToOrderResponseTest.java
Expand Down
10 changes: 4 additions & 6 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-21T11:49:36.439472Z[Etc/UTC]
- Build date: 2024-02-26T07:01:43.696074Z[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 @@ -293,10 +293,10 @@ Class | Method | HTTP request | Description
- [QuoteSearchResponseQuotesInnerLinks](docs/QuoteSearchResponseQuotesInnerLinks.md)
- [QuoteToOrderDetailsDTO](docs/QuoteToOrderDetailsDTO.md)
- [QuoteToOrderDetailsDTOAdditionalAttributesInner](docs/QuoteToOrderDetailsDTOAdditionalAttributesInner.md)
- [QuoteToOrderDetailsDTOEndUserInfoInner](docs/QuoteToOrderDetailsDTOEndUserInfoInner.md)
- [QuoteToOrderDetailsDTOEndUserInfo](docs/QuoteToOrderDetailsDTOEndUserInfo.md)
- [QuoteToOrderDetailsDTOLinesInner](docs/QuoteToOrderDetailsDTOLinesInner.md)
- [QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner](docs/QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.md)
- [QuoteToOrderDetailsDTOShipToInfoInner](docs/QuoteToOrderDetailsDTOShipToInfoInner.md)
- [QuoteToOrderDetailsDTOShipToInfo](docs/QuoteToOrderDetailsDTOShipToInfo.md)
- [QuoteToOrderDetailsDTOVmfadditionalAttributesInner](docs/QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md)
- [QuoteToOrderResponse](docs/QuoteToOrderResponse.md)
- [RenewalsDetailsResponse](docs/RenewalsDetailsResponse.md)
Expand Down Expand Up @@ -357,6 +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])
54 changes: 17 additions & 37 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8128,18 +8128,7 @@ components:
additionalProperties: false
example:
endUserInfo:
- phoneNumber: phoneNumber
city: city
countryCode: countryCode
companyName: companyName
contact: contact
postalCode: postalCode
addressLine1: addressLine1
addressLine2: addressLine2
addressLine3: addressLine3
state: state
email: email
- phoneNumber: phoneNumber
phoneNumber: phoneNumber
city: city
countryCode: countryCode
companyName: companyName
Expand All @@ -8151,18 +8140,7 @@ components:
state: state
email: email
shipToInfo:
- city: city
countryCode: countryCode
companyName: companyName
contact: contact
postalCode: postalCode
addressLine1: addressLine1
addressLine2: addressLine2
addressLine3: addressLine3
state: state
email: email
addressId: addressId
- city: city
city: city
countryCode: countryCode
companyName: companyName
contact: contact
Expand Down Expand Up @@ -8235,17 +8213,9 @@ components:
nullable: true
type: string
endUserInfo:
description: The contact information for the end user/customer provided
by the reseller. Used to determine pricing and discounts.
items:
$ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo_inner'
type: array
$ref: '#/components/schemas/QuoteToOrderDetailsDTO_endUserInfo'
shipToInfo:
description: The shipping information provided by the reseller for order
delivery.
items:
$ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo_inner'
type: array
$ref: '#/components/schemas/QuoteToOrderDetailsDTO_shipToInfo'
additionalAttributes:
description: Additional order create attributes.
items:
Expand Down Expand Up @@ -9987,6 +9957,7 @@ components:
customerNumber: customerNumber
email: email
ingramQuoteExpiryDate: ingramQuoteExpiryDate
totalQuoteAmount: totalQuoteAmount
closingReason: closingReason
purchaseInstructions: purchaseInstructions
proposedSolution: proposedSolution
Expand Down Expand Up @@ -10103,6 +10074,8 @@ components:
description: Total amount of quoted price for all products in the quote
including both solution products and suggested products.
type: integer
totalQuoteAmount:
type: string
additionalAttributes:
items:
$ref: '#/components/schemas/QuoteDetailsResponse_additionalAttributes_inner'
Expand Down Expand Up @@ -10506,6 +10479,7 @@ components:
serialNumbers:
- serialNumber: serialNumber
- serialNumber: serialNumber
upc: upc
ingramLineNumber: ingramLineNumber
quantityOrdered: 9
vendorName: vendorName
Expand All @@ -10527,6 +10501,7 @@ components:
serialNumbers:
- serialNumber: serialNumber
- serialNumber: serialNumber
upc: upc
ingramLineNumber: ingramLineNumber
quantityOrdered: 9
vendorName: vendorName
Expand Down Expand Up @@ -12086,7 +12061,9 @@ components:
description: attributefield data
type: string
type: object
QuoteToOrderDetailsDTO_endUserInfo_inner:
QuoteToOrderDetailsDTO_endUserInfo:
description: The contact information for the end user/customer provided by the
reseller. Used to determine pricing and discounts.
example:
phoneNumber: phoneNumber
city: city
Expand Down Expand Up @@ -12134,7 +12111,8 @@ components:
description: The end user/customer's phone number.
type: string
type: object
QuoteToOrderDetailsDTO_shipToInfo_inner:
QuoteToOrderDetailsDTO_shipToInfo:
description: The shipping information provided by the reseller for order delivery.
example:
city: city
countryCode: countryCode
Expand Down Expand Up @@ -16027,6 +16005,7 @@ components:
serialNumbers:
- serialNumber: serialNumber
- serialNumber: serialNumber
upc: upc
ingramLineNumber: ingramLineNumber
quantityOrdered: 9
vendorName: vendorName
Expand All @@ -16051,6 +16030,8 @@ components:
\ usually alphanumeric, of a particular product that allows it to be tracked\
\ for inventory purposes."
type: string
upc:
type: string
vendorPartNumber:
description: Vendor Part Number.
type: string
Expand Down Expand Up @@ -17392,7 +17373,6 @@ components:
type: object
securitySchemes:
application:
description: ""
flows:
clientCredentials:
scopes:
Expand Down
1 change: 1 addition & 0 deletions docs/InvoiceDetailsv61ResponseLinesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
|**ingramLineNumber** | **String** | Unique line number from Ingram. | [optional] |
|**customerLineNumber** | **String** | Line number passes by customer while creating an order. | [optional] |
|**ingramPartNumber** | **String** | Ingram Micro SKU (stock keeping unit). An identification, usually alphanumeric, of a particular product that allows it to be tracked for inventory purposes. | [optional] |
|**upc** | **String** | | [optional] |
|**vendorPartNumber** | **String** | Vendor Part Number. | [optional] |
|**customerPartNumber** | **String** | Part number from customer's system. | [optional] |
|**vendorName** | **String** | Name of the vendor. | [optional] |
Expand Down
1 change: 1 addition & 0 deletions docs/QuoteDetailsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
|**extendedMsrpTotal** | **Integer** | Total extended MSRP for all products included in the quote | [optional] |
|**quantityTotal** | **Integer** | Total quantity of all items in the quote. | [optional] |
|**extendedQuotePriceTotal** | **Integer** | Total amount of quoted price for all products in the quote including both solution products and suggested products. | [optional] |
|**totalQuoteAmount** | **String** | | [optional] |
|**additionalAttributes** | [**List<QuoteDetailsResponseAdditionalAttributesInner>**](QuoteDetailsResponseAdditionalAttributesInner.md) | | [optional] |


Expand Down
4 changes: 2 additions & 2 deletions docs/QuoteToOrderDetailsDTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
|**customerOrderNumber** | **String** | The reseller's order number for reference in their system. | [optional] |
|**enduserOrderNumber** | **String** | The end customer's order number for reference in their system. | [optional] |
|**billToAddressId** | **String** | Suffix used to identify billing address. Created during onboarding. Resellers are provided with one or more address IDs depending on how many bill to addresses they need for various flooring companies they are using for credit. | [optional] |
|**endUserInfo** | [**List<QuoteToOrderDetailsDTOEndUserInfoInner>**](QuoteToOrderDetailsDTOEndUserInfoInner.md) | The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts. | [optional] |
|**shipToInfo** | [**List<QuoteToOrderDetailsDTOShipToInfoInner>**](QuoteToOrderDetailsDTOShipToInfoInner.md) | The shipping information provided by the reseller for order delivery. | [optional] |
|**endUserInfo** | [**QuoteToOrderDetailsDTOEndUserInfo**](QuoteToOrderDetailsDTOEndUserInfo.md) | | [optional] |
|**shipToInfo** | [**QuoteToOrderDetailsDTOShipToInfo**](QuoteToOrderDetailsDTOShipToInfo.md) | | [optional] |
|**additionalAttributes** | [**List<QuoteToOrderDetailsDTOAdditionalAttributesInner>**](QuoteToOrderDetailsDTOAdditionalAttributesInner.md) | Additional order create attributes. | [optional] |
|**vmfadditionalAttributes** | [**List<QuoteToOrderDetailsDTOVmfadditionalAttributesInner>**](QuoteToOrderDetailsDTOVmfadditionalAttributesInner.md) | The object containing the list of fields required at a header level by the vendor. | [optional] |
|**lines** | [**List<QuoteToOrderDetailsDTOLinesInner>**](QuoteToOrderDetailsDTOLinesInner.md) | The object containing the lines that require vendor mandatory fields. | [optional] |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@


# QuoteToOrderDetailsDTOEndUserInfoInner
# QuoteToOrderDetailsDTOEndUserInfo

The contact information for the end user/customer provided by the reseller. Used to determine pricing and discounts.

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@


# QuoteToOrderDetailsDTOShipToInfoInner
# QuoteToOrderDetailsDTOShipToInfo

The shipping information provided by the reseller for order delivery.

## 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-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[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-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public class Configuration {
public static final String VERSION = "1.0.0";

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/xiresellers/client/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteSearchResponseQuotesInnerLinks.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTO.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOAdditionalAttributesInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOEndUserInfoInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOEndUserInfo.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOLinesInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOShipToInfoInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOShipToInfo.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderDetailsDTOVmfadditionalAttributesInner.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.QuoteToOrderResponse.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new xiresellers.client.model.RenewalsDetailsResponse.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-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[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-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[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/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-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/auth/HttpBearerAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.Optional;
import java.util.function.Supplier;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private Supplier<String> tokenSupplier;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/auth/OAuth.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-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public class OAuth implements Authentication {
private String accessToken;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xiresellers/client/auth/OAuthFlow.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* OAuth flows that are supported by this client
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public enum OAuthFlow {
ACCESS_CODE, //called authorizationCode in OpenAPI 3.0
IMPLICIT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public abstract class AbstractOpenApiSchema {

// store the actual instance of the schema/object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/**
* AvailabilityAsyncNotificationRequest
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public class AvailabilityAsyncNotificationRequest {
public static final String SERIALIZED_NAME_TOPIC = "topic";
@SerializedName(SERIALIZED_NAME_TOPIC)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/**
* AvailabilityAsyncNotificationRequestResourceInner
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T11:49:36.439472Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-26T07:01:43.696074Z[Etc/UTC]")
public class AvailabilityAsyncNotificationRequestResourceInner {
public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType";
@SerializedName(SERIALIZED_NAME_EVENT_TYPE)
Expand Down
Loading

0 comments on commit 0291e15

Please sign in to comment.