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

Update from https://github.com/ingrammicro-xvantage/xi-sdk-openapispe… #11

Merged
merged 2 commits into from
Feb 20, 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
2 changes: 1 addition & 1 deletion 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-20T05:40:29.622284Z[Etc/UTC]
- Build date: 2024-02-20T09:00:28.102704Z[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
67 changes: 41 additions & 26 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6481,15 +6481,6 @@ paths:
maxLength: 32
type: string
style: simple
- description: The media type for JSON Request.
explode: false
in: header
name: Content Type
required: true
schema:
example: application/json
type: string
style: simple
- description: The reseller's unique PO/Order number.
explode: true
in: query
Expand Down Expand Up @@ -8282,6 +8273,7 @@ components:
- attributeValue: ABC1234
attributeName: VEND_AUTH_NBR_FLG
attributeDescription: Authorization Number
vendorMasterNumber: vendorMasterNumber
vendorName: Cisco
lines:
- ingramPartNumber: YN6551
Expand All @@ -8304,7 +8296,10 @@ components:
attributeDescription: attributeDescription
quantity: "1"
customerLineNumber: "11"
quoteType: 0
quoteNumber: QUO-14551943-D2Y9L9
vendorQuoteNumber: vendorQuoteNumber
vendorGroupName: vendorGroupName
properties:
quoteNumber:
description: A unique identifier generated by Ingram Micro's CRM specific
Expand All @@ -8326,6 +8321,14 @@ components:
items:
$ref: '#/components/schemas/ValidateQuoteResponse_lines_inner'
type: array
quoteType:
type: integer
vendorGroupName:
type: string
vendorQuoteNumber:
type: string
vendorMasterNumber:
type: string
type: object
OrderCreateResponse:
example:
Expand Down Expand Up @@ -9134,7 +9137,6 @@ components:
hasBundle: true
isDirectship: true
productCategory: productCategory
productSubcategory: productSubcategory
ciscoFields:
itemType: itemType
productSubGroup: productSubGroup
Expand All @@ -9152,6 +9154,7 @@ components:
attributevalue: attributevalue
attributedisplay: attributedisplay
attributename: attributename
productSubCategory: productSubCategory
productDetailDescription: productDetailDescription
vendorPartNumber: vendorPartNumber
productStatusCode: productStatusCode
Expand Down Expand Up @@ -9182,7 +9185,7 @@ components:
productCategory:
description: The category of the product.
type: string
productSubcategory:
productSubCategory:
description: The sub-category of the product.
type: string
vendorName:
Expand Down Expand Up @@ -9514,8 +9517,8 @@ components:
vendorPartNumber: vendorPartNumber
extendedMSRP: 1.4658129805029452
productDescription: productDescription
startDate: 2000-01-23
expirationDate: 2000-01-23
startDate: startDate
expirationDate: expirationDate
- ingramPartNumber: ingramPartNumber
remainingQuantity: 2
daysRemaining: 7
Expand All @@ -9528,8 +9531,8 @@ components:
vendorPartNumber: vendorPartNumber
extendedMSRP: 1.4658129805029452
productDescription: productDescription
startDate: 2000-01-23
expirationDate: 2000-01-23
startDate: startDate
expirationDate: expirationDate
properties:
dealId:
description: Deal/Special bid number.
Expand Down Expand Up @@ -9644,7 +9647,8 @@ components:
description: description
upc: upc
ingramLineNumber: 0
invoiceDate: 2000-01-23
invoiceDate: invoiceDate
additionalDetails: additionalDetails
customerOrderNumber: customerOrderNumber
extendedPrice: 5.962133916683182
invoiceNumber: invoiceNumber
Expand All @@ -9659,7 +9663,8 @@ components:
description: description
upc: upc
ingramLineNumber: 0
invoiceDate: 2000-01-23
invoiceDate: invoiceDate
additionalDetails: additionalDetails
customerOrderNumber: customerOrderNumber
extendedPrice: 5.962133916683182
invoiceNumber: invoiceNumber
Expand Down Expand Up @@ -9930,6 +9935,7 @@ components:
example:
quantityTotal: 2
leaseInfo: leaseInfo
quoteType: quoteType
products:
- ingramPartNumber: ingramPartNumber
CoO: CoO
Expand Down Expand Up @@ -10089,6 +10095,8 @@ components:
description: Legal terms - Legally required - must be included when presenting
the quote details.
type: string
quoteType:
type: string
leaseInfo:
description: Lease information.
type: string
Expand Down Expand Up @@ -10823,6 +10831,7 @@ components:
confirmedQuantity: confirmedQuantity
quantityOrdered: 4
customerLineNumber: customerLineNumber
backOrderETAData: backOrderETAData
lineStatus: lineStatus
extendedPrice: 3.616076749251911
scheduleLines:
Expand Down Expand Up @@ -11061,6 +11070,7 @@ components:
confirmedQuantity: confirmedQuantity
quantityOrdered: 4
customerLineNumber: customerLineNumber
backOrderETAData: backOrderETAData
lineStatus: lineStatus
extendedPrice: 3.616076749251911
scheduleLines:
Expand Down Expand Up @@ -14587,8 +14597,8 @@ components:
vendorPartNumber: vendorPartNumber
extendedMSRP: 1.4658129805029452
productDescription: productDescription
startDate: 2000-01-23
expirationDate: 2000-01-23
startDate: startDate
expirationDate: expirationDate
properties:
ingramPartNumber:
description: Unique Ingram part number.
Expand Down Expand Up @@ -14630,11 +14640,9 @@ components:
type: string
startDate:
description: Start Date.
format: date
type: string
expirationDate:
description: Expiration date.
format: date
type: string
daysRemaining:
description: Number of days remaining before the deal expires.
Expand Down Expand Up @@ -14723,7 +14731,8 @@ components:
description: description
upc: upc
ingramLineNumber: 0
invoiceDate: 2000-01-23
invoiceDate: invoiceDate
additionalDetails: additionalDetails
customerOrderNumber: customerOrderNumber
extendedPrice: 5.962133916683182
invoiceNumber: invoiceNumber
Expand All @@ -14749,17 +14758,13 @@ components:
type: string
invoiceDate:
description: The date of the invoice.
format: date
type: string
invoiceNumber:
description: Ingram micro Invoice number.
type: string
customerOrderNumber:
description: The reseller's order number for reference in their system.
type: string
requestDetails:
description: Request details.
type: string
quantity:
description: The quantity of the line item.
format: decimal
Expand All @@ -14781,6 +14786,11 @@ components:
shipFromBranch:
description: The code of the ship from branch.
type: string
requestDetails:
description: Request details.
type: string
additionalDetails:
type: string
type: object
returnsCreateRequest_list_inner_shipFromInfo_inner:
properties:
Expand Down Expand Up @@ -15283,6 +15293,7 @@ components:
items:
$ref: '#/components/schemas/QuoteSearchResponse_quotes_inner_links_inner'
type: array
type: object
QuoteDetailsResponse_resellerInfo:
example:
phoneNumber: phoneNumber
Expand Down Expand Up @@ -17000,6 +17011,7 @@ components:
confirmedQuantity: confirmedQuantity
quantityOrdered: 4
customerLineNumber: customerLineNumber
backOrderETAData: backOrderETAData
lineStatus: lineStatus
extendedPrice: 3.616076749251911
scheduleLines:
Expand Down Expand Up @@ -17292,6 +17304,9 @@ components:
promisedDeliveryDate:
description: The delivery date promised by IngramMicro.
type: string
backOrderETAData:
description: Backorder ETA date
type: string
lineNotes:
description: Line-level notes for the order.
type: string
Expand Down
4 changes: 2 additions & 2 deletions docs/DealsDetailsResponseProductsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
|**remainingQuantity** | **Integer** | The quantity remaining as part of the deal for the customer to order. | [optional] |
|**comments** | **String** | Comments of the deal. | [optional] |
|**specialConditions** | **String** | Special conditions of the deal. | [optional] |
|**startDate** | **LocalDate** | Start Date. | [optional] |
|**expirationDate** | **LocalDate** | Expiration date. | [optional] |
|**startDate** | **String** | Start Date. | [optional] |
|**expirationDate** | **String** | Expiration date. | [optional] |
|**daysRemaining** | **Integer** | Number of days remaining before the deal expires. | [optional] |


Expand Down
1 change: 1 addition & 0 deletions docs/OrderDetailB2BLinesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
|**specialBidNumber** | **String** | The line-level bid number provided to the reseller by the vendor for special pricing and discounts. Used to track the bid number in the case of split orders or where different line items have different bid numbers. Line-level bid numbers take precedence over header-level bid numbers. | [optional] |
|**requestedDeliverydate** | **String** | Reseller-requested delivery date. Delivery date is not guaranteed. | [optional] |
|**promisedDeliveryDate** | **String** | The delivery date promised by IngramMicro. | [optional] |
|**backOrderETAData** | **String** | Backorder ETA date | [optional] |
|**lineNotes** | **String** | Line-level notes for the order. | [optional] |
|**shipmentDetails** | [**List<OrderDetailB2BLinesInnerShipmentDetailsInner>**](OrderDetailB2BLinesInnerShipmentDetailsInner.md) | Shipping details for the line item. | [optional] |
|**serviceContractInfo** | [**OrderDetailB2BLinesInnerServiceContractInfo**](OrderDetailB2BLinesInnerServiceContractInfo.md) | | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion docs/ProductDetailResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|**productDetailDescription** | **String** | The detailed description given for the product. | [optional] |
|**upc** | **String** | The UPC code for the product. Consists of 12 numeric digits that are uniquely assigned to each trade item. | [optional] |
|**productCategory** | **String** | The category of the product. | [optional] |
|**productSubcategory** | **String** | The sub-category of the product. | [optional] |
|**productSubCategory** | **String** | The sub-category of the product. | [optional] |
|**vendorName** | **String** | Vendor name for the order. | [optional] |
|**vendorNumber** | **String** | Vendor number that identifies the product. | [optional] |
|**productStatusCode** | **String** | Status code of the product. | [optional] |
Expand Down
1 change: 1 addition & 0 deletions docs/QuoteDetailsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
|**introPreamble** | **String** | Introductory paragraph included in each quote. Legally required - must be included when presenting the quote details. | [optional] |
|**purchaseInstructions** | **String** | Purchase instructions. Legally required - must be included when presenting the quote details. | [optional] |
|**legalTerms** | **String** | Legal terms - Legally required - must be included when presenting the quote details. | [optional] |
|**quoteType** | **String** | | [optional] |
|**leaseInfo** | **String** | Lease information. | [optional] |
|**leasingInstructions** | **String** | Leasing information | [optional] |
|**resellerInfo** | [**QuoteDetailsResponseResellerInfo**](QuoteDetailsResponseResellerInfo.md) | | [optional] |
Expand Down
6 changes: 2 additions & 4 deletions docs/RenewalsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class Example {

<a id="postRenewalssearch"></a>
# **postRenewalssearch**
> RenewalsSearchResponse postRenewalssearch(imCustomerNumber, imCountryCode, imCorrelationID, contentType, imSenderID, customerOrderNumber, ingramPurchaseOrderNumber, serialNumber, page, size, sort, renewalsSearchRequest)
> RenewalsSearchResponse postRenewalssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, customerOrderNumber, ingramPurchaseOrderNumber, serialNumber, page, size, sort, renewalsSearchRequest)

Renewals Search

Expand Down Expand Up @@ -116,7 +116,6 @@ 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 contentType = "application/json"; // String | The media type for JSON Request.
String imSenderID = "MyCompany"; // String | Unique value used to identify the sender of the transaction. Example: MyCompany
String customerOrderNumber = "customerOrderNumber_example"; // String | The reseller's unique PO/Order number.
String ingramPurchaseOrderNumber = "ingramPurchaseOrderNumber_example"; // String | Sales order number.
Expand All @@ -126,7 +125,7 @@ public class Example {
String sort = "sort_example"; // String | Refers to the column selected to apply the sorting criteria.
RenewalsSearchRequest renewalsSearchRequest = new RenewalsSearchRequest(); // RenewalsSearchRequest |
try {
RenewalsSearchResponse result = apiInstance.postRenewalssearch(imCustomerNumber, imCountryCode, imCorrelationID, contentType, imSenderID, customerOrderNumber, ingramPurchaseOrderNumber, serialNumber, page, size, sort, renewalsSearchRequest);
RenewalsSearchResponse result = apiInstance.postRenewalssearch(imCustomerNumber, imCountryCode, imCorrelationID, imSenderID, customerOrderNumber, ingramPurchaseOrderNumber, serialNumber, page, size, sort, renewalsSearchRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RenewalsApi#postRenewalssearch");
Expand All @@ -146,7 +145,6 @@ public class Example {
| **imCustomerNumber** | **String**| Your unique Ingram Micro customer number. | |
| **imCountryCode** | **String**| Two-character ISO country code. | |
| **imCorrelationID** | **String**| Unique transaction number to identify each transaction across all the systems. | |
| **contentType** | **String**| The media type for JSON Request. | |
| **imSenderID** | **String**| Unique value used to identify the sender of the transaction. Example: MyCompany | [optional] |
| **customerOrderNumber** | **String**| The reseller&#39;s unique PO/Order number. | [optional] |
| **ingramPurchaseOrderNumber** | **String**| Sales order number. | [optional] |
Expand Down
5 changes: 3 additions & 2 deletions docs/ReturnsDetailsResponseProductsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@
|**ingramPartNumber** | **String** | Unique IngramMicro part number. | [optional] |
|**vendorPartNumber** | **String** | The vendor&#39;s part number for the line item. | [optional] |
|**upc** | **String** | The UPC code of a product. | [optional] |
|**invoiceDate** | **LocalDate** | The date of the invoice. | [optional] |
|**invoiceDate** | **String** | The date of the invoice. | [optional] |
|**invoiceNumber** | **String** | Ingram micro Invoice number. | [optional] |
|**customerOrderNumber** | **String** | The reseller&#39;s order number for reference in their system. | [optional] |
|**requestDetails** | **String** | Request details. | [optional] |
|**quantity** | **BigDecimal** | The quantity of the line item. | [optional] |
|**unitPrice** | **BigDecimal** | The unit price of the line item. | [optional] |
|**extendedPrice** | **BigDecimal** | Unit price X quantity for the line item. | [optional] |
|**status** | **String** | The status of the line item. | [optional] |
|**returnBranch** | **String** | The code of the return branch. | [optional] |
|**shipFromBranch** | **String** | The code of the ship from branch. | [optional] |
|**requestDetails** | **String** | Request details. | [optional] |
|**additionalDetails** | **String** | | [optional] |



4 changes: 4 additions & 0 deletions docs/ValidateQuoteResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
|**vendorName** | **String** | The name of the vendor. | [optional] |
|**vmfAdditionalAttributes** | [**List&lt;ValidateQuoteResponseVmfAdditionalAttributesInner&gt;**](ValidateQuoteResponseVmfAdditionalAttributesInner.md) | The object containing the list of fields required at a header level by the vendor. | [optional] |
|**lines** | [**List&lt;ValidateQuoteResponseLinesInner&gt;**](ValidateQuoteResponseLinesInner.md) | The object containing the lines from the quote. | [optional] |
|**quoteType** | **Integer** | | [optional] |
|**vendorGroupName** | **String** | | [optional] |
|**vendorQuoteNumber** | **String** | | [optional] |
|**vendorMasterNumber** | **String** | | [optional] |



2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>xi.sdk.resellers</artifactId>
<packaging>jar</packaging>
<name>xi.sdk.resellers</name>
<version>1.0.2</version>
<version>1.0.3</version>
<url>https://github.com/ingrammicro-xvantage/xi-sdk-resellers-java</url>
<distributionManagement>
<repository>
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-20T05:40:29.622284Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T09:00:28.102704Z[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-20T05:40:29.622284Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T09:00:28.102704Z[Etc/UTC]")
public class Configuration {
public static final String VERSION = "1.0.0";

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-20T05:40:29.622284Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T09:00:28.102704Z[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-20T05:40:29.622284Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-20T09:00:28.102704Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
Loading
Loading