Skip to content

Commit 7f55dfd

Browse files
chore: sdk update
1 parent dd4c1cb commit 7f55dfd

9 files changed

Lines changed: 50 additions & 9 deletions

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## @hostinger/sdk@2.5.1
1+
## @hostinger/sdk@2.6.0
22

33
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
44

55
### Usage
66

77
```
8-
npm install @hostinger/sdk@2.5.1 --save
8+
npm install @hostinger/sdk@2.6.0 --save
99
```

‎api.ts‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.5.1
6+
* API Version: 2.6.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -4747,6 +4747,12 @@ export interface EcommerceV1OrderOrderDetailResource {
47474747
* @memberof EcommerceV1OrderOrderDetailResource
47484748
*/
47494749
'merchant_note': string | null;
4750+
/**
4751+
*
4752+
* @type {EcommerceV1OrderOrderMetadataResource}
4753+
* @memberof EcommerceV1OrderOrderDetailResource
4754+
*/
4755+
'metadata': EcommerceV1OrderOrderMetadataResource;
47504756
/**
47514757
* Subtotal in the smallest currency unit.
47524758
* @type {number}
@@ -5060,6 +5066,19 @@ export interface EcommerceV1OrderOrderDetailResponseResource {
50605066
*/
50615067
'data': EcommerceV1OrderOrderDetailResource;
50625068
}
5069+
/**
5070+
*
5071+
* @export
5072+
* @interface EcommerceV1OrderOrderMetadataResource
5073+
*/
5074+
export interface EcommerceV1OrderOrderMetadataResource {
5075+
/**
5076+
* Custom attributes collected at checkout, keyed by attribute name, or null.
5077+
* @type {{ [key: string]: string; }}
5078+
* @memberof EcommerceV1OrderOrderMetadataResource
5079+
*/
5080+
'attributes': { [key: string]: string; } | null;
5081+
}
50635082
/**
50645083
*
50655084
* @export

‎base.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.5.1
6+
* API Version: 2.6.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.5.1
6+
* API Version: 2.6.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎configuration.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.5.1
6+
* API Version: 2.6.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -48,7 +48,7 @@ export class Configuration {
4848
this.baseOptions = {
4949
...param.baseOptions,
5050
headers: {
51-
'User-Agent': "hostinger-typescript-sdk/2.5.1",
51+
'User-Agent': "hostinger-typescript-sdk/2.6.0",
5252
...param.baseOptions?.headers,
5353
},
5454
};

‎docs/EcommerceV1OrderOrderDetailResource.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**item_count** | **number** | Number of distinct line items. | [optional] [default to undefined]
1717
**created_at** | **string** | ISO timestamp of when the order was created. | [optional] [default to undefined]
1818
**merchant_note** | **string** | Internal note visible only to the merchant. | [optional] [default to undefined]
19+
**metadata** | [**EcommerceV1OrderOrderMetadataResource**](EcommerceV1OrderOrderMetadataResource.md) | | [optional] [default to undefined]
1920
**subtotal** | **number** | Subtotal in the smallest currency unit. | [optional] [default to undefined]
2021
**discount_total** | **number** | Discount total in the smallest currency unit. | [optional] [default to undefined]
2122
**tax_total** | **number** | Tax total in the smallest currency unit. | [optional] [default to undefined]
@@ -44,6 +45,7 @@ const instance: EcommerceV1OrderOrderDetailResource = {
4445
item_count,
4546
created_at,
4647
merchant_note,
48+
metadata,
4749
subtotal,
4850
discount_total,
4951
tax_total,
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# EcommerceV1OrderOrderMetadataResource
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**attributes** | **{ [key: string]: string; }** | Custom attributes collected at checkout, keyed by attribute name, or null. | [optional] [default to undefined]
9+
10+
## Example
11+
12+
```typescript
13+
import { EcommerceV1OrderOrderMetadataResource } from '@hostinger/sdk';
14+
15+
const instance: EcommerceV1OrderOrderMetadataResource = {
16+
attributes,
17+
};
18+
```
19+
20+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

‎index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Hostinger API
55
*
6-
* API Version: 2.5.1
6+
* API Version: 2.6.0
77
*
88
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hostinger/sdk",
3-
"version": "2.5.1",
3+
"version": "2.6.0",
44
"description": "Hostinger API TypeScript SDK",
55
"author": "Hostinger",
66
"repository": {

0 commit comments

Comments
 (0)