hostinger-api-sdk 2.5.1 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +24 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +26 -5
- package/dist/api.js +5 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +26 -5
- package/dist/esm/api.js +5 -5
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/EcommerceV1OrderOrderDetailResource.md +2 -0
- package/docs/EcommerceV1OrderOrderMetadataResource.md +20 -0
- package/docs/HostingHeadlessApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.
|
|
1
|
+
## @hostinger/sdk@2.6.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@2.
|
|
8
|
+
npm install @hostinger/sdk@2.6.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* 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 {
|
|
|
4747
4747
|
* @memberof EcommerceV1OrderOrderDetailResource
|
|
4748
4748
|
*/
|
|
4749
4749
|
'merchant_note': string | null;
|
|
4750
|
+
/**
|
|
4751
|
+
*
|
|
4752
|
+
* @type {EcommerceV1OrderOrderMetadataResource}
|
|
4753
|
+
* @memberof EcommerceV1OrderOrderDetailResource
|
|
4754
|
+
*/
|
|
4755
|
+
'metadata': EcommerceV1OrderOrderMetadataResource;
|
|
4750
4756
|
/**
|
|
4751
4757
|
* Subtotal in the smallest currency unit.
|
|
4752
4758
|
* @type {number}
|
|
@@ -5060,6 +5066,19 @@ export interface EcommerceV1OrderOrderDetailResponseResource {
|
|
|
5060
5066
|
*/
|
|
5061
5067
|
'data': EcommerceV1OrderOrderDetailResource;
|
|
5062
5068
|
}
|
|
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
|
+
}
|
|
5063
5082
|
/**
|
|
5064
5083
|
*
|
|
5065
5084
|
* @export
|
|
@@ -35233,7 +35252,7 @@ export type ListGitInstallationsV1StatusEnum = typeof ListGitInstallationsV1Stat
|
|
|
35233
35252
|
export const HostingHeadlessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35234
35253
|
return {
|
|
35235
35254
|
/**
|
|
35236
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
35255
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
35237
35256
|
* @summary Submit headless build report
|
|
35238
35257
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
35239
35258
|
* @param {*} [options] Override http request option.
|
|
@@ -35283,7 +35302,7 @@ export const HostingHeadlessApiFp = function(configuration?: Configuration) {
|
|
|
35283
35302
|
const localVarAxiosParamCreator = HostingHeadlessApiAxiosParamCreator(configuration)
|
|
35284
35303
|
return {
|
|
35285
35304
|
/**
|
|
35286
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
35305
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
35287
35306
|
* @summary Submit headless build report
|
|
35288
35307
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
35289
35308
|
* @param {*} [options] Override http request option.
|
|
@@ -35305,7 +35324,7 @@ export const HostingHeadlessApiFactory = function (configuration?: Configuration
|
|
|
35305
35324
|
const localVarFp = HostingHeadlessApiFp(configuration)
|
|
35306
35325
|
return {
|
|
35307
35326
|
/**
|
|
35308
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
35327
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
35309
35328
|
* @summary Submit headless build report
|
|
35310
35329
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
35311
35330
|
* @param {*} [options] Override http request option.
|
|
@@ -35325,7 +35344,7 @@ export const HostingHeadlessApiFactory = function (configuration?: Configuration
|
|
|
35325
35344
|
*/
|
|
35326
35345
|
export class HostingHeadlessApi extends BaseAPI {
|
|
35327
35346
|
/**
|
|
35328
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
35347
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
35329
35348
|
* @summary Submit headless build report
|
|
35330
35349
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
35331
35350
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* 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 {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/2.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.6.1",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4632,6 +4632,12 @@ export interface EcommerceV1OrderOrderDetailResource {
|
|
|
4632
4632
|
* @memberof EcommerceV1OrderOrderDetailResource
|
|
4633
4633
|
*/
|
|
4634
4634
|
'merchant_note': string | null;
|
|
4635
|
+
/**
|
|
4636
|
+
*
|
|
4637
|
+
* @type {EcommerceV1OrderOrderMetadataResource}
|
|
4638
|
+
* @memberof EcommerceV1OrderOrderDetailResource
|
|
4639
|
+
*/
|
|
4640
|
+
'metadata': EcommerceV1OrderOrderMetadataResource;
|
|
4635
4641
|
/**
|
|
4636
4642
|
* Subtotal in the smallest currency unit.
|
|
4637
4643
|
* @type {number}
|
|
@@ -4945,6 +4951,21 @@ export interface EcommerceV1OrderOrderDetailResponseResource {
|
|
|
4945
4951
|
*/
|
|
4946
4952
|
'data': EcommerceV1OrderOrderDetailResource;
|
|
4947
4953
|
}
|
|
4954
|
+
/**
|
|
4955
|
+
*
|
|
4956
|
+
* @export
|
|
4957
|
+
* @interface EcommerceV1OrderOrderMetadataResource
|
|
4958
|
+
*/
|
|
4959
|
+
export interface EcommerceV1OrderOrderMetadataResource {
|
|
4960
|
+
/**
|
|
4961
|
+
* Custom attributes collected at checkout, keyed by attribute name, or null.
|
|
4962
|
+
* @type {{ [key: string]: string; }}
|
|
4963
|
+
* @memberof EcommerceV1OrderOrderMetadataResource
|
|
4964
|
+
*/
|
|
4965
|
+
'attributes': {
|
|
4966
|
+
[key: string]: string;
|
|
4967
|
+
} | null;
|
|
4968
|
+
}
|
|
4948
4969
|
/**
|
|
4949
4970
|
*
|
|
4950
4971
|
* @export
|
|
@@ -26547,7 +26568,7 @@ export type ListGitInstallationsV1StatusEnum = typeof ListGitInstallationsV1Stat
|
|
|
26547
26568
|
*/
|
|
26548
26569
|
export declare const HostingHeadlessApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26549
26570
|
/**
|
|
26550
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26571
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26551
26572
|
* @summary Submit headless build report
|
|
26552
26573
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26553
26574
|
* @param {*} [options] Override http request option.
|
|
@@ -26561,7 +26582,7 @@ export declare const HostingHeadlessApiAxiosParamCreator: (configuration?: Confi
|
|
|
26561
26582
|
*/
|
|
26562
26583
|
export declare const HostingHeadlessApiFp: (configuration?: Configuration) => {
|
|
26563
26584
|
/**
|
|
26564
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26585
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26565
26586
|
* @summary Submit headless build report
|
|
26566
26587
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26567
26588
|
* @param {*} [options] Override http request option.
|
|
@@ -26575,7 +26596,7 @@ export declare const HostingHeadlessApiFp: (configuration?: Configuration) => {
|
|
|
26575
26596
|
*/
|
|
26576
26597
|
export declare const HostingHeadlessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26577
26598
|
/**
|
|
26578
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26599
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26579
26600
|
* @summary Submit headless build report
|
|
26580
26601
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26581
26602
|
* @param {*} [options] Override http request option.
|
|
@@ -26591,7 +26612,7 @@ export declare const HostingHeadlessApiFactory: (configuration?: Configuration,
|
|
|
26591
26612
|
*/
|
|
26592
26613
|
export declare class HostingHeadlessApi extends BaseAPI {
|
|
26593
26614
|
/**
|
|
26594
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26615
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26595
26616
|
* @summary Submit headless build report
|
|
26596
26617
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26597
26618
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.6.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16504,7 +16504,7 @@ exports.ListGitInstallationsV1StatusEnum = {
|
|
|
16504
16504
|
const HostingHeadlessApiAxiosParamCreator = function (configuration) {
|
|
16505
16505
|
return {
|
|
16506
16506
|
/**
|
|
16507
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16507
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16508
16508
|
* @summary Submit headless build report
|
|
16509
16509
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16510
16510
|
* @param {*} [options] Override http request option.
|
|
@@ -16547,7 +16547,7 @@ const HostingHeadlessApiFp = function (configuration) {
|
|
|
16547
16547
|
const localVarAxiosParamCreator = (0, exports.HostingHeadlessApiAxiosParamCreator)(configuration);
|
|
16548
16548
|
return {
|
|
16549
16549
|
/**
|
|
16550
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16550
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16551
16551
|
* @summary Submit headless build report
|
|
16552
16552
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16553
16553
|
* @param {*} [options] Override http request option.
|
|
@@ -16572,7 +16572,7 @@ const HostingHeadlessApiFactory = function (configuration, basePath, axios) {
|
|
|
16572
16572
|
const localVarFp = (0, exports.HostingHeadlessApiFp)(configuration);
|
|
16573
16573
|
return {
|
|
16574
16574
|
/**
|
|
16575
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16575
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16576
16576
|
* @summary Submit headless build report
|
|
16577
16577
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16578
16578
|
* @param {*} [options] Override http request option.
|
|
@@ -16592,7 +16592,7 @@ exports.HostingHeadlessApiFactory = HostingHeadlessApiFactory;
|
|
|
16592
16592
|
*/
|
|
16593
16593
|
class HostingHeadlessApi extends base_1.BaseAPI {
|
|
16594
16594
|
/**
|
|
16595
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16595
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16596
16596
|
* @summary Submit headless build report
|
|
16597
16597
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16598
16598
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.6.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.6.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.6.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.6.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4632,6 +4632,12 @@ export interface EcommerceV1OrderOrderDetailResource {
|
|
|
4632
4632
|
* @memberof EcommerceV1OrderOrderDetailResource
|
|
4633
4633
|
*/
|
|
4634
4634
|
'merchant_note': string | null;
|
|
4635
|
+
/**
|
|
4636
|
+
*
|
|
4637
|
+
* @type {EcommerceV1OrderOrderMetadataResource}
|
|
4638
|
+
* @memberof EcommerceV1OrderOrderDetailResource
|
|
4639
|
+
*/
|
|
4640
|
+
'metadata': EcommerceV1OrderOrderMetadataResource;
|
|
4635
4641
|
/**
|
|
4636
4642
|
* Subtotal in the smallest currency unit.
|
|
4637
4643
|
* @type {number}
|
|
@@ -4945,6 +4951,21 @@ export interface EcommerceV1OrderOrderDetailResponseResource {
|
|
|
4945
4951
|
*/
|
|
4946
4952
|
'data': EcommerceV1OrderOrderDetailResource;
|
|
4947
4953
|
}
|
|
4954
|
+
/**
|
|
4955
|
+
*
|
|
4956
|
+
* @export
|
|
4957
|
+
* @interface EcommerceV1OrderOrderMetadataResource
|
|
4958
|
+
*/
|
|
4959
|
+
export interface EcommerceV1OrderOrderMetadataResource {
|
|
4960
|
+
/**
|
|
4961
|
+
* Custom attributes collected at checkout, keyed by attribute name, or null.
|
|
4962
|
+
* @type {{ [key: string]: string; }}
|
|
4963
|
+
* @memberof EcommerceV1OrderOrderMetadataResource
|
|
4964
|
+
*/
|
|
4965
|
+
'attributes': {
|
|
4966
|
+
[key: string]: string;
|
|
4967
|
+
} | null;
|
|
4968
|
+
}
|
|
4948
4969
|
/**
|
|
4949
4970
|
*
|
|
4950
4971
|
* @export
|
|
@@ -26547,7 +26568,7 @@ export type ListGitInstallationsV1StatusEnum = typeof ListGitInstallationsV1Stat
|
|
|
26547
26568
|
*/
|
|
26548
26569
|
export declare const HostingHeadlessApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26549
26570
|
/**
|
|
26550
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26571
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26551
26572
|
* @summary Submit headless build report
|
|
26552
26573
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26553
26574
|
* @param {*} [options] Override http request option.
|
|
@@ -26561,7 +26582,7 @@ export declare const HostingHeadlessApiAxiosParamCreator: (configuration?: Confi
|
|
|
26561
26582
|
*/
|
|
26562
26583
|
export declare const HostingHeadlessApiFp: (configuration?: Configuration) => {
|
|
26563
26584
|
/**
|
|
26564
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26585
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26565
26586
|
* @summary Submit headless build report
|
|
26566
26587
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26567
26588
|
* @param {*} [options] Override http request option.
|
|
@@ -26575,7 +26596,7 @@ export declare const HostingHeadlessApiFp: (configuration?: Configuration) => {
|
|
|
26575
26596
|
*/
|
|
26576
26597
|
export declare const HostingHeadlessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26577
26598
|
/**
|
|
26578
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26599
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26579
26600
|
* @summary Submit headless build report
|
|
26580
26601
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26581
26602
|
* @param {*} [options] Override http request option.
|
|
@@ -26591,7 +26612,7 @@ export declare const HostingHeadlessApiFactory: (configuration?: Configuration,
|
|
|
26591
26612
|
*/
|
|
26592
26613
|
export declare class HostingHeadlessApi extends BaseAPI {
|
|
26593
26614
|
/**
|
|
26594
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
26615
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
26595
26616
|
* @summary Submit headless build report
|
|
26596
26617
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
26597
26618
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16306,7 +16306,7 @@ export const ListGitInstallationsV1StatusEnum = {
|
|
|
16306
16306
|
export const HostingHeadlessApiAxiosParamCreator = function (configuration) {
|
|
16307
16307
|
return {
|
|
16308
16308
|
/**
|
|
16309
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16309
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16310
16310
|
* @summary Submit headless build report
|
|
16311
16311
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16312
16312
|
* @param {*} [options] Override http request option.
|
|
@@ -16348,7 +16348,7 @@ export const HostingHeadlessApiFp = function (configuration) {
|
|
|
16348
16348
|
const localVarAxiosParamCreator = HostingHeadlessApiAxiosParamCreator(configuration);
|
|
16349
16349
|
return {
|
|
16350
16350
|
/**
|
|
16351
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16351
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16352
16352
|
* @summary Submit headless build report
|
|
16353
16353
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16354
16354
|
* @param {*} [options] Override http request option.
|
|
@@ -16372,7 +16372,7 @@ export const HostingHeadlessApiFactory = function (configuration, basePath, axio
|
|
|
16372
16372
|
const localVarFp = HostingHeadlessApiFp(configuration);
|
|
16373
16373
|
return {
|
|
16374
16374
|
/**
|
|
16375
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16375
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16376
16376
|
* @summary Submit headless build report
|
|
16377
16377
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16378
16378
|
* @param {*} [options] Override http request option.
|
|
@@ -16391,7 +16391,7 @@ export const HostingHeadlessApiFactory = function (configuration, basePath, axio
|
|
|
16391
16391
|
*/
|
|
16392
16392
|
export class HostingHeadlessApi extends BaseAPI {
|
|
16393
16393
|
/**
|
|
16394
|
-
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
16394
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
16395
16395
|
* @summary Submit headless build report
|
|
16396
16396
|
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
16397
16397
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.6.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.6.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 2.
|
|
7
|
+
* API Version: 2.6.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**item_count** | **number** | Number of distinct line items. | [optional] [default to undefined]
|
|
17
17
|
**created_at** | **string** | ISO timestamp of when the order was created. | [optional] [default to undefined]
|
|
18
18
|
**merchant_note** | **string** | Internal note visible only to the merchant. | [optional] [default to undefined]
|
|
19
|
+
**metadata** | [**EcommerceV1OrderOrderMetadataResource**](EcommerceV1OrderOrderMetadataResource.md) | | [optional] [default to undefined]
|
|
19
20
|
**subtotal** | **number** | Subtotal in the smallest currency unit. | [optional] [default to undefined]
|
|
20
21
|
**discount_total** | **number** | Discount total in the smallest currency unit. | [optional] [default to undefined]
|
|
21
22
|
**tax_total** | **number** | Tax total in the smallest currency unit. | [optional] [default to undefined]
|
|
@@ -44,6 +45,7 @@ const instance: EcommerceV1OrderOrderDetailResource = {
|
|
|
44
45
|
item_count,
|
|
45
46
|
created_at,
|
|
46
47
|
merchant_note,
|
|
48
|
+
metadata,
|
|
47
49
|
subtotal,
|
|
48
50
|
discount_total,
|
|
49
51
|
tax_total,
|
|
@@ -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)
|
|
@@ -9,7 +9,7 @@ All URIs are relative to *https://developers.hostinger.com*
|
|
|
9
9
|
# **submitHeadlessBuildReportV1**
|
|
10
10
|
> HostingV1HeadlessAgentReportResource submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest)
|
|
11
11
|
|
|
12
|
-
Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged.
|
|
12
|
+
Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
13
13
|
|
|
14
14
|
### Example
|
|
15
15
|
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.6.1
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|