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 authored Feb 20, 2024
2 parents c85a7fa + ddbbf92 commit 16a6474
Show file tree
Hide file tree
Showing 17 changed files with 426 additions and 430 deletions.
20 changes: 10 additions & 10 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,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 @@ -367,11 +367,11 @@ model_renewals_details_response_end_user_info_inner.go
model_renewals_details_response_products_inner.go
model_renewals_details_response_reference_number_inner.go
model_renewals_search_request.go
model_renewals_search_request_data_type.go
model_renewals_search_request_data_type_end_date.go
model_renewals_search_request_data_type_expiration_date.go
model_renewals_search_request_data_type_invoice_date.go
model_renewals_search_request_data_type_start_date.go
model_renewals_search_request_date_type.go
model_renewals_search_request_date_type_end_date.go
model_renewals_search_request_date_type_expiration_date.go
model_renewals_search_request_date_type_invoice_date.go
model_renewals_search_request_date_type_start_date.go
model_renewals_search_request_status.go
model_renewals_search_request_status_opporutiny_status.go
model_renewals_search_response.go
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ go get golang.org/x/net/context
Put the package under your project folder and add the following in import:

```go
import xi_sdk_resellers "github.com/GIT_USER_ID/GIT_REPO_ID"
import xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go"
```

To use a proxy, set the environment variable `HTTP_PROXY`:
Expand Down Expand Up @@ -267,11 +267,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 @@ -350,5 +350,3 @@ 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)


30 changes: 14 additions & 16 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6462,7 +6462,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 @@ -9198,8 +9198,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 @@ -10426,7 +10426,7 @@ components:
orderNumber: orderNumber
notes: notes
endCustomerOrderNumber: endCustomerOrderNumber
invoiceDate: 2000-01-23
invoiceDate: invoiceDate
customerNumber: customerNumber
customerOrderNumber: customerOrderNumber
invoiceDueDate: invoiceDueDate
Expand Down Expand Up @@ -10512,7 +10512,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 @@ -10522,7 +10522,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 @@ -10535,7 +10534,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 @@ -14266,7 +14264,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 @@ -14275,7 +14273,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 @@ -14284,7 +14282,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 @@ -14293,7 +14291,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 @@ -14302,16 +14300,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
2 changes: 1 addition & 1 deletion api_renewals.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions docs/RenewalsSearchRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to [**RenewalsSearchRequestStatus**](RenewalsSearchRequestStatus.md) | | [optional]
**DataType** | Pointer to [**RenewalsSearchRequestDataType**](RenewalsSearchRequestDataType.md) | | [optional]
**DateType** | Pointer to [**RenewalsSearchRequestDateType**](RenewalsSearchRequestDateType.md) | | [optional]
**Vendor** | Pointer to **string** | The name of the Vendor. | [optional]
**EndUser** | Pointer to **string** | The name of the enduser. | [optional]

Expand Down Expand Up @@ -53,30 +53,30 @@ SetStatus sets Status field to given value.

HasStatus returns a boolean if a field has been set.

### GetDataType
### GetDateType

`func (o *RenewalsSearchRequest) GetDataType() RenewalsSearchRequestDataType`
`func (o *RenewalsSearchRequest) GetDateType() RenewalsSearchRequestDateType`

GetDataType returns the DataType field if non-nil, zero value otherwise.
GetDateType returns the DateType field if non-nil, zero value otherwise.

### GetDataTypeOk
### GetDateTypeOk

`func (o *RenewalsSearchRequest) GetDataTypeOk() (*RenewalsSearchRequestDataType, bool)`
`func (o *RenewalsSearchRequest) GetDateTypeOk() (*RenewalsSearchRequestDateType, bool)`

GetDataTypeOk returns a tuple with the DataType field if it's non-nil, zero value otherwise
GetDateTypeOk returns a tuple with the DateType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetDataType
### SetDateType

`func (o *RenewalsSearchRequest) SetDataType(v RenewalsSearchRequestDataType)`
`func (o *RenewalsSearchRequest) SetDateType(v RenewalsSearchRequestDateType)`

SetDataType sets DataType field to given value.
SetDateType sets DateType field to given value.

### HasDataType
### HasDateType

`func (o *RenewalsSearchRequest) HasDataType() bool`
`func (o *RenewalsSearchRequest) HasDateType() bool`

HasDataType returns a boolean if a field has been set.
HasDateType returns a boolean if a field has been set.

### GetVendor

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

This file was deleted.

Loading

0 comments on commit 16a6474

Please sign in to comment.