@hostafrica/ha-sdk-typescript 1.1.3 → 1.1.5
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/dist/apis/BillingApi.d.ts +45 -0
- package/dist/apis/BillingApi.js +122 -0
- package/dist/apis/DNSApi.d.ts +8 -8
- package/dist/apis/DNSApi.js +8 -8
- package/dist/apis/VPSManagementApi.d.ts +18 -3
- package/dist/apis/VPSManagementApi.js +49 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/BillingApi.d.ts +45 -0
- package/dist/esm/apis/BillingApi.js +118 -0
- package/dist/esm/apis/DNSApi.d.ts +8 -8
- package/dist/esm/apis/DNSApi.js +8 -8
- package/dist/esm/apis/VPSManagementApi.d.ts +18 -3
- package/dist/esm/apis/VPSManagementApi.js +50 -3
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AddDnsRecordRequestContent.d.ts +22 -3
- package/dist/esm/models/AddDnsRecordRequestContent.js +8 -3
- package/dist/esm/models/DeleteDnsRecordRequestContent.d.ts +22 -3
- package/dist/esm/models/DeleteDnsRecordRequestContent.js +8 -3
- package/dist/esm/models/DnsBackend.d.ts +28 -0
- package/dist/esm/models/DnsBackend.js +46 -0
- package/dist/esm/models/DnsRecordMutationRecord.d.ts +3 -2
- package/dist/esm/models/DnsZoneInfo.d.ts +7 -0
- package/dist/esm/models/DnsZoneInfo.js +3 -0
- package/dist/esm/models/EditDnsRecordRequestContent.d.ts +22 -3
- package/dist/esm/models/EditDnsRecordRequestContent.js +8 -3
- package/dist/esm/models/EncryptedPasswordResponseData.d.ts +45 -0
- package/dist/esm/models/EncryptedPasswordResponseData.js +52 -0
- package/dist/esm/models/GetDnsZoneDetailsRequestContent.d.ts +7 -0
- package/dist/esm/models/GetDnsZoneDetailsRequestContent.js +3 -0
- package/dist/esm/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
- package/dist/esm/models/GetEncryptedPasswordRequestContent.js +47 -0
- package/dist/esm/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
- package/dist/esm/models/GetEncryptedPasswordResponseContent.js +49 -0
- package/dist/esm/models/GetInvoiceDetailsRequestContent.d.ts +32 -0
- package/dist/esm/models/GetInvoiceDetailsRequestContent.js +43 -0
- package/dist/esm/models/GetInvoiceDetailsResponseContent.d.ts +40 -0
- package/dist/esm/models/GetInvoiceDetailsResponseContent.js +49 -0
- package/dist/esm/models/GetInvoiceDetailsResponseData.d.ts +40 -0
- package/dist/esm/models/GetInvoiceDetailsResponseData.js +47 -0
- package/dist/esm/models/InvoiceDetails.d.ts +143 -0
- package/dist/esm/models/InvoiceDetails.js +112 -0
- package/dist/esm/models/InvoiceIssuedTo.d.ts +69 -0
- package/dist/esm/models/InvoiceIssuedTo.js +66 -0
- package/dist/esm/models/InvoiceIssuedToTax.d.ts +44 -0
- package/dist/esm/models/InvoiceIssuedToTax.js +51 -0
- package/dist/esm/models/InvoiceItem.d.ts +56 -0
- package/dist/esm/models/InvoiceItem.js +59 -0
- package/dist/esm/models/InvoiceSummary.d.ts +98 -0
- package/dist/esm/models/InvoiceSummary.js +83 -0
- package/dist/esm/models/InvoiceTransaction.d.ts +74 -0
- package/dist/esm/models/InvoiceTransaction.js +57 -0
- package/dist/esm/models/ListInvoicesResponseContent.d.ts +40 -0
- package/dist/esm/models/ListInvoicesResponseContent.js +49 -0
- package/dist/esm/models/ListInvoicesResponseData.d.ts +39 -0
- package/dist/esm/models/ListInvoicesResponseData.js +48 -0
- package/dist/esm/models/NoVncConsoleDetails.d.ts +19 -1
- package/dist/esm/models/NoVncConsoleDetails.js +7 -3
- package/dist/esm/models/PasswordEncryptionInfo.d.ts +50 -0
- package/dist/esm/models/PasswordEncryptionInfo.js +55 -0
- package/dist/esm/models/SelcomMetadata.d.ts +56 -0
- package/dist/esm/models/SelcomMetadata.js +59 -0
- package/dist/esm/models/VpsCredentials.d.ts +1 -1
- package/dist/esm/models/VpsDetailsResponse.d.ts +4 -3
- package/dist/esm/models/VpsDetailsResponse.js +3 -2
- package/dist/esm/models/VpsIpAddressDetail.d.ts +56 -0
- package/dist/esm/models/VpsIpAddressDetail.js +51 -0
- package/dist/esm/models/VpsVmInfo.d.ts +3 -3
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/retryablePaths.js +3 -0
- package/dist/models/AddDnsRecordRequestContent.d.ts +22 -3
- package/dist/models/AddDnsRecordRequestContent.js +8 -3
- package/dist/models/DeleteDnsRecordRequestContent.d.ts +22 -3
- package/dist/models/DeleteDnsRecordRequestContent.js +8 -3
- package/dist/models/DnsBackend.d.ts +28 -0
- package/dist/models/DnsBackend.js +54 -0
- package/dist/models/DnsRecordMutationRecord.d.ts +3 -2
- package/dist/models/DnsZoneInfo.d.ts +7 -0
- package/dist/models/DnsZoneInfo.js +3 -0
- package/dist/models/EditDnsRecordRequestContent.d.ts +22 -3
- package/dist/models/EditDnsRecordRequestContent.js +8 -3
- package/dist/models/EncryptedPasswordResponseData.d.ts +45 -0
- package/dist/models/EncryptedPasswordResponseData.js +59 -0
- package/dist/models/GetDnsZoneDetailsRequestContent.d.ts +7 -0
- package/dist/models/GetDnsZoneDetailsRequestContent.js +3 -0
- package/dist/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
- package/dist/models/GetEncryptedPasswordRequestContent.js +54 -0
- package/dist/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
- package/dist/models/GetEncryptedPasswordResponseContent.js +56 -0
- package/dist/models/GetInvoiceDetailsRequestContent.d.ts +32 -0
- package/dist/models/GetInvoiceDetailsRequestContent.js +50 -0
- package/dist/models/GetInvoiceDetailsResponseContent.d.ts +40 -0
- package/dist/models/GetInvoiceDetailsResponseContent.js +56 -0
- package/dist/models/GetInvoiceDetailsResponseData.d.ts +40 -0
- package/dist/models/GetInvoiceDetailsResponseData.js +54 -0
- package/dist/models/InvoiceDetails.d.ts +143 -0
- package/dist/models/InvoiceDetails.js +119 -0
- package/dist/models/InvoiceIssuedTo.d.ts +69 -0
- package/dist/models/InvoiceIssuedTo.js +73 -0
- package/dist/models/InvoiceIssuedToTax.d.ts +44 -0
- package/dist/models/InvoiceIssuedToTax.js +58 -0
- package/dist/models/InvoiceItem.d.ts +56 -0
- package/dist/models/InvoiceItem.js +66 -0
- package/dist/models/InvoiceSummary.d.ts +98 -0
- package/dist/models/InvoiceSummary.js +90 -0
- package/dist/models/InvoiceTransaction.d.ts +74 -0
- package/dist/models/InvoiceTransaction.js +64 -0
- package/dist/models/ListInvoicesResponseContent.d.ts +40 -0
- package/dist/models/ListInvoicesResponseContent.js +56 -0
- package/dist/models/ListInvoicesResponseData.d.ts +39 -0
- package/dist/models/ListInvoicesResponseData.js +55 -0
- package/dist/models/NoVncConsoleDetails.d.ts +19 -1
- package/dist/models/NoVncConsoleDetails.js +7 -3
- package/dist/models/PasswordEncryptionInfo.d.ts +50 -0
- package/dist/models/PasswordEncryptionInfo.js +62 -0
- package/dist/models/SelcomMetadata.d.ts +56 -0
- package/dist/models/SelcomMetadata.js +66 -0
- package/dist/models/VpsCredentials.d.ts +1 -1
- package/dist/models/VpsDetailsResponse.d.ts +4 -3
- package/dist/models/VpsDetailsResponse.js +3 -2
- package/dist/models/VpsIpAddressDetail.d.ts +56 -0
- package/dist/models/VpsIpAddressDetail.js +58 -0
- package/dist/models/VpsVmInfo.d.ts +3 -3
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/retryablePaths.js +3 -0
- package/dist.zip +0 -0
- package/docs/AddDnsRecordRequestContent.md +6 -0
- package/docs/BillingApi.md +159 -0
- package/docs/DNSApi.md +4 -4
- package/docs/DeleteDnsRecordRequestContent.md +6 -0
- package/docs/DnsBackend.md +33 -0
- package/docs/DnsRecordMutationRecord.md +1 -1
- package/docs/DnsZoneInfo.md +2 -0
- package/docs/EditDnsRecordRequestContent.md +6 -0
- package/docs/EncryptedPasswordResponseData.md +39 -0
- package/docs/GetDnsZoneDetailsRequestContent.md +2 -0
- package/docs/GetEncryptedPasswordRequestContent.md +36 -0
- package/docs/GetEncryptedPasswordResponseContent.md +36 -0
- package/docs/GetInvoiceDetailsRequestContent.md +34 -0
- package/docs/GetInvoiceDetailsResponseContent.md +36 -0
- package/docs/GetInvoiceDetailsResponseData.md +37 -0
- package/docs/InvoiceDetails.md +71 -0
- package/docs/InvoiceIssuedTo.md +47 -0
- package/docs/InvoiceIssuedToTax.md +39 -0
- package/docs/InvoiceItem.md +43 -0
- package/docs/InvoiceSummary.md +57 -0
- package/docs/InvoiceTransaction.md +49 -0
- package/docs/ListInvoicesResponseContent.md +36 -0
- package/docs/ListInvoicesResponseData.md +37 -0
- package/docs/NoVncConsoleDetails.md +6 -0
- package/docs/PasswordEncryptionInfo.md +41 -0
- package/docs/SelcomMetadata.md +43 -0
- package/docs/VPSManagementApi.md +81 -1
- package/docs/VpsDetailsResponse.md +1 -1
- package/docs/VpsIpAddressDetail.md +43 -0
- package/docs/VpsVmInfo.md +1 -1
- package/package.json +1 -1
- package/src/apis/BillingApi.ts +164 -0
- package/src/apis/DNSApi.ts +8 -8
- package/src/apis/VPSManagementApi.ts +67 -2
- package/src/apis/index.ts +1 -0
- package/src/models/AddDnsRecordRequestContent.ts +37 -5
- package/src/models/DeleteDnsRecordRequestContent.ts +37 -5
- package/src/models/DnsBackend.ts +56 -0
- package/src/models/DnsRecordMutationRecord.ts +3 -2
- package/src/models/DnsZoneInfo.ts +17 -0
- package/src/models/EditDnsRecordRequestContent.ts +37 -5
- package/src/models/EncryptedPasswordResponseData.ts +92 -0
- package/src/models/GetDnsZoneDetailsRequestContent.ts +18 -0
- package/src/models/GetEncryptedPasswordRequestContent.ts +75 -0
- package/src/models/GetEncryptedPasswordResponseContent.ts +92 -0
- package/src/models/GetInvoiceDetailsRequestContent.ts +66 -0
- package/src/models/GetInvoiceDetailsResponseContent.ts +92 -0
- package/src/models/GetInvoiceDetailsResponseData.ts +89 -0
- package/src/models/InvoiceDetails.ts +247 -0
- package/src/models/InvoiceIssuedTo.ts +127 -0
- package/src/models/InvoiceIssuedToTax.ts +84 -0
- package/src/models/InvoiceItem.ts +102 -0
- package/src/models/InvoiceSummary.ts +163 -0
- package/src/models/InvoiceTransaction.ts +122 -0
- package/src/models/ListInvoicesResponseContent.ts +92 -0
- package/src/models/ListInvoicesResponseData.ts +83 -0
- package/src/models/NoVncConsoleDetails.ts +26 -3
- package/src/models/PasswordEncryptionInfo.ts +93 -0
- package/src/models/SelcomMetadata.ts +102 -0
- package/src/models/VpsCredentials.ts +1 -1
- package/src/models/VpsDetailsResponse.ts +12 -5
- package/src/models/VpsIpAddressDetail.ts +98 -0
- package/src/models/VpsVmInfo.ts +3 -3
- package/src/models/index.ts +18 -0
- package/src/retryablePaths.ts +3 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { PasswordEncryptionInfoFromJSON, PasswordEncryptionInfoToJSON, } from './PasswordEncryptionInfo.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the EncryptedPasswordResponseData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfEncryptedPasswordResponseData(value) {
|
|
19
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('password' in value) || value['password'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('encryption' in value) || value['encryption'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function EncryptedPasswordResponseDataFromJSON(json) {
|
|
28
|
+
return EncryptedPasswordResponseDataFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function EncryptedPasswordResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'username': json['username'],
|
|
36
|
+
'password': json['password'],
|
|
37
|
+
'encryption': PasswordEncryptionInfoFromJSON(json['encryption']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function EncryptedPasswordResponseDataToJSON(json) {
|
|
41
|
+
return EncryptedPasswordResponseDataToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function EncryptedPasswordResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'username': value['username'],
|
|
49
|
+
'password': value['password'],
|
|
50
|
+
'encryption': PasswordEncryptionInfoToJSON(value['encryption']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DnsBackend } from './DnsBackend.js';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -21,6 +22,12 @@ export interface GetDnsZoneDetailsRequestContent {
|
|
|
21
22
|
* @memberof GetDnsZoneDetailsRequestContent
|
|
22
23
|
*/
|
|
23
24
|
domainId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {DnsBackend}
|
|
28
|
+
* @memberof GetDnsZoneDetailsRequestContent
|
|
29
|
+
*/
|
|
30
|
+
backend?: DnsBackend;
|
|
24
31
|
}
|
|
25
32
|
/**
|
|
26
33
|
* Check if a given object implements the GetDnsZoneDetailsRequestContent interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { DnsBackendFromJSON, DnsBackendToJSON, } from './DnsBackend.js';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the GetDnsZoneDetailsRequestContent interface.
|
|
16
17
|
*/
|
|
@@ -28,6 +29,7 @@ export function GetDnsZoneDetailsRequestContentFromJSONTyped(json, ignoreDiscrim
|
|
|
28
29
|
}
|
|
29
30
|
return {
|
|
30
31
|
'domainId': json['domain_id'],
|
|
32
|
+
'backend': json['backend'] == null ? undefined : DnsBackendFromJSON(json['backend']),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export function GetDnsZoneDetailsRequestContentToJSON(json) {
|
|
@@ -39,5 +41,6 @@ export function GetDnsZoneDetailsRequestContentToJSONTyped(value, ignoreDiscrimi
|
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
41
43
|
'domain_id': value['domainId'],
|
|
44
|
+
'backend': DnsBackendToJSON(value['backend']),
|
|
42
45
|
};
|
|
43
46
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetEncryptedPasswordRequestContent
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEncryptedPasswordRequestContent {
|
|
18
|
+
/**
|
|
19
|
+
* Service ID - must be sent as a string
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetEncryptedPasswordRequestContent
|
|
22
|
+
*/
|
|
23
|
+
serviceId: string;
|
|
24
|
+
/**
|
|
25
|
+
* PEM-encoded RSA public key only (never the private key). Accepts SPKI (`-----BEGIN PUBLIC KEY-----`) or PKCS#1 (`-----BEGIN RSA PUBLIC KEY-----`). Must be exactly 4096-bit. Used with RSA-OAEP and SHA-256 to encrypt the password.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetEncryptedPasswordRequestContent
|
|
28
|
+
*/
|
|
29
|
+
publicKey: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetEncryptedPasswordRequestContent interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetEncryptedPasswordRequestContent(value: object): value is GetEncryptedPasswordRequestContent;
|
|
35
|
+
export declare function GetEncryptedPasswordRequestContentFromJSON(json: any): GetEncryptedPasswordRequestContent;
|
|
36
|
+
export declare function GetEncryptedPasswordRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEncryptedPasswordRequestContent;
|
|
37
|
+
export declare function GetEncryptedPasswordRequestContentToJSON(json: any): GetEncryptedPasswordRequestContent;
|
|
38
|
+
export declare function GetEncryptedPasswordRequestContentToJSONTyped(value?: GetEncryptedPasswordRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GetEncryptedPasswordRequestContent interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetEncryptedPasswordRequestContent(value) {
|
|
18
|
+
if (!('serviceId' in value) || value['serviceId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('publicKey' in value) || value['publicKey'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GetEncryptedPasswordRequestContentFromJSON(json) {
|
|
25
|
+
return GetEncryptedPasswordRequestContentFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GetEncryptedPasswordRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'serviceId': json['service_id'],
|
|
33
|
+
'publicKey': json['public_key'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GetEncryptedPasswordRequestContentToJSON(json) {
|
|
37
|
+
return GetEncryptedPasswordRequestContentToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GetEncryptedPasswordRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'service_id': value['serviceId'],
|
|
45
|
+
'public_key': value['publicKey'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
13
|
+
import type { EncryptedPasswordResponseData } from './EncryptedPasswordResponseData.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetEncryptedPasswordResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEncryptedPasswordResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof GetEncryptedPasswordResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {EncryptedPasswordResponseData}
|
|
29
|
+
* @memberof GetEncryptedPasswordResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: EncryptedPasswordResponseData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetEncryptedPasswordResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetEncryptedPasswordResponseContent(value: object): value is GetEncryptedPasswordResponseContent;
|
|
37
|
+
export declare function GetEncryptedPasswordResponseContentFromJSON(json: any): GetEncryptedPasswordResponseContent;
|
|
38
|
+
export declare function GetEncryptedPasswordResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEncryptedPasswordResponseContent;
|
|
39
|
+
export declare function GetEncryptedPasswordResponseContentToJSON(json: any): GetEncryptedPasswordResponseContent;
|
|
40
|
+
export declare function GetEncryptedPasswordResponseContentToJSONTyped(value?: GetEncryptedPasswordResponseContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OperationStatusFromJSON, OperationStatusToJSON, } from './OperationStatus.js';
|
|
15
|
+
import { EncryptedPasswordResponseDataFromJSON, EncryptedPasswordResponseDataToJSON, } from './EncryptedPasswordResponseData.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the GetEncryptedPasswordResponseContent interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfGetEncryptedPasswordResponseContent(value) {
|
|
20
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function GetEncryptedPasswordResponseContentFromJSON(json) {
|
|
27
|
+
return GetEncryptedPasswordResponseContentFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function GetEncryptedPasswordResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'status': OperationStatusFromJSON(json['status']),
|
|
35
|
+
'data': EncryptedPasswordResponseDataFromJSON(json['data']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function GetEncryptedPasswordResponseContentToJSON(json) {
|
|
39
|
+
return GetEncryptedPasswordResponseContentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function GetEncryptedPasswordResponseContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'status': OperationStatusToJSON(value['status']),
|
|
47
|
+
'data': EncryptedPasswordResponseDataToJSON(value['data']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetInvoiceDetailsRequestContent
|
|
16
|
+
*/
|
|
17
|
+
export interface GetInvoiceDetailsRequestContent {
|
|
18
|
+
/**
|
|
19
|
+
* Invoice ID - must be sent as a string
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetInvoiceDetailsRequestContent
|
|
22
|
+
*/
|
|
23
|
+
invoiceId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetInvoiceDetailsRequestContent interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetInvoiceDetailsRequestContent(value: object): value is GetInvoiceDetailsRequestContent;
|
|
29
|
+
export declare function GetInvoiceDetailsRequestContentFromJSON(json: any): GetInvoiceDetailsRequestContent;
|
|
30
|
+
export declare function GetInvoiceDetailsRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoiceDetailsRequestContent;
|
|
31
|
+
export declare function GetInvoiceDetailsRequestContentToJSON(json: any): GetInvoiceDetailsRequestContent;
|
|
32
|
+
export declare function GetInvoiceDetailsRequestContentToJSONTyped(value?: GetInvoiceDetailsRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GetInvoiceDetailsRequestContent interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetInvoiceDetailsRequestContent(value) {
|
|
18
|
+
if (!('invoiceId' in value) || value['invoiceId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function GetInvoiceDetailsRequestContentFromJSON(json) {
|
|
23
|
+
return GetInvoiceDetailsRequestContentFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function GetInvoiceDetailsRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'invoiceId': json['invoice_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function GetInvoiceDetailsRequestContentToJSON(json) {
|
|
34
|
+
return GetInvoiceDetailsRequestContentToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function GetInvoiceDetailsRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'invoice_id': value['invoiceId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
13
|
+
import type { GetInvoiceDetailsResponseData } from './GetInvoiceDetailsResponseData.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetInvoiceDetailsResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface GetInvoiceDetailsResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof GetInvoiceDetailsResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {GetInvoiceDetailsResponseData}
|
|
29
|
+
* @memberof GetInvoiceDetailsResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: GetInvoiceDetailsResponseData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetInvoiceDetailsResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetInvoiceDetailsResponseContent(value: object): value is GetInvoiceDetailsResponseContent;
|
|
37
|
+
export declare function GetInvoiceDetailsResponseContentFromJSON(json: any): GetInvoiceDetailsResponseContent;
|
|
38
|
+
export declare function GetInvoiceDetailsResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoiceDetailsResponseContent;
|
|
39
|
+
export declare function GetInvoiceDetailsResponseContentToJSON(json: any): GetInvoiceDetailsResponseContent;
|
|
40
|
+
export declare function GetInvoiceDetailsResponseContentToJSONTyped(value?: GetInvoiceDetailsResponseContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OperationStatusFromJSON, OperationStatusToJSON, } from './OperationStatus.js';
|
|
15
|
+
import { GetInvoiceDetailsResponseDataFromJSON, GetInvoiceDetailsResponseDataToJSON, } from './GetInvoiceDetailsResponseData.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the GetInvoiceDetailsResponseContent interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfGetInvoiceDetailsResponseContent(value) {
|
|
20
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function GetInvoiceDetailsResponseContentFromJSON(json) {
|
|
27
|
+
return GetInvoiceDetailsResponseContentFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function GetInvoiceDetailsResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'status': OperationStatusFromJSON(json['status']),
|
|
35
|
+
'data': GetInvoiceDetailsResponseDataFromJSON(json['data']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function GetInvoiceDetailsResponseContentToJSON(json) {
|
|
39
|
+
return GetInvoiceDetailsResponseContentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function GetInvoiceDetailsResponseContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'status': OperationStatusToJSON(value['status']),
|
|
47
|
+
'data': GetInvoiceDetailsResponseDataToJSON(value['data']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InvoiceDetails } from './InvoiceDetails.js';
|
|
13
|
+
import type { SelcomMetadata } from './SelcomMetadata.js';
|
|
14
|
+
/**
|
|
15
|
+
* Top-level data payload for the GetInvoiceDetails response
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetInvoiceDetailsResponseData
|
|
18
|
+
*/
|
|
19
|
+
export interface GetInvoiceDetailsResponseData {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {InvoiceDetails}
|
|
23
|
+
* @memberof GetInvoiceDetailsResponseData
|
|
24
|
+
*/
|
|
25
|
+
invoice: InvoiceDetails;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SelcomMetadata}
|
|
29
|
+
* @memberof GetInvoiceDetailsResponseData
|
|
30
|
+
*/
|
|
31
|
+
selcomMetadata?: SelcomMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetInvoiceDetailsResponseData interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetInvoiceDetailsResponseData(value: object): value is GetInvoiceDetailsResponseData;
|
|
37
|
+
export declare function GetInvoiceDetailsResponseDataFromJSON(json: any): GetInvoiceDetailsResponseData;
|
|
38
|
+
export declare function GetInvoiceDetailsResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoiceDetailsResponseData;
|
|
39
|
+
export declare function GetInvoiceDetailsResponseDataToJSON(json: any): GetInvoiceDetailsResponseData;
|
|
40
|
+
export declare function GetInvoiceDetailsResponseDataToJSONTyped(value?: GetInvoiceDetailsResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { InvoiceDetailsFromJSON, InvoiceDetailsToJSON, } from './InvoiceDetails.js';
|
|
15
|
+
import { SelcomMetadataFromJSON, SelcomMetadataToJSON, } from './SelcomMetadata.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the GetInvoiceDetailsResponseData interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfGetInvoiceDetailsResponseData(value) {
|
|
20
|
+
if (!('invoice' in value) || value['invoice'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GetInvoiceDetailsResponseDataFromJSON(json) {
|
|
25
|
+
return GetInvoiceDetailsResponseDataFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GetInvoiceDetailsResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'invoice': InvoiceDetailsFromJSON(json['invoice']),
|
|
33
|
+
'selcomMetadata': json['selcom_metadata'] == null ? undefined : SelcomMetadataFromJSON(json['selcom_metadata']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GetInvoiceDetailsResponseDataToJSON(json) {
|
|
37
|
+
return GetInvoiceDetailsResponseDataToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GetInvoiceDetailsResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'invoice': InvoiceDetailsToJSON(value['invoice']),
|
|
45
|
+
'selcom_metadata': SelcomMetadataToJSON(value['selcomMetadata']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InvoiceItem } from './InvoiceItem.js';
|
|
13
|
+
import type { InvoiceTransaction } from './InvoiceTransaction.js';
|
|
14
|
+
import type { InvoiceIssuedTo } from './InvoiceIssuedTo.js';
|
|
15
|
+
/**
|
|
16
|
+
* Full invoice details
|
|
17
|
+
* @export
|
|
18
|
+
* @interface InvoiceDetails
|
|
19
|
+
*/
|
|
20
|
+
export interface InvoiceDetails {
|
|
21
|
+
/**
|
|
22
|
+
* Unique invoice identifier - must be sent as a string
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof InvoiceDetails
|
|
25
|
+
*/
|
|
26
|
+
invoiceId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Human-readable invoice number when assigned
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof InvoiceDetails
|
|
31
|
+
*/
|
|
32
|
+
invoiceNumber: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {InvoiceIssuedTo}
|
|
36
|
+
* @memberof InvoiceDetails
|
|
37
|
+
*/
|
|
38
|
+
issuedTo: InvoiceIssuedTo;
|
|
39
|
+
/**
|
|
40
|
+
* Invoice issue date (ISO 8601)
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof InvoiceDetails
|
|
43
|
+
*/
|
|
44
|
+
date: string;
|
|
45
|
+
/**
|
|
46
|
+
* Invoice due date (ISO 8601)
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof InvoiceDetails
|
|
49
|
+
*/
|
|
50
|
+
dueDate: string;
|
|
51
|
+
/**
|
|
52
|
+
* Date the invoice was paid (ISO 8601), if paid
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof InvoiceDetails
|
|
55
|
+
*/
|
|
56
|
+
datePaid?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Invoice subtotal excluding tax as a decimal string
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof InvoiceDetails
|
|
61
|
+
*/
|
|
62
|
+
subtotal: string;
|
|
63
|
+
/**
|
|
64
|
+
* Credit applied as a decimal string
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof InvoiceDetails
|
|
67
|
+
*/
|
|
68
|
+
credit: string;
|
|
69
|
+
/**
|
|
70
|
+
* Primary tax amount as a decimal string
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof InvoiceDetails
|
|
73
|
+
*/
|
|
74
|
+
tax: string;
|
|
75
|
+
/**
|
|
76
|
+
* Secondary tax amount as a decimal string. Omitted when a second tax is not configured.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof InvoiceDetails
|
|
79
|
+
*/
|
|
80
|
+
tax2?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Invoice total including tax as a decimal string
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof InvoiceDetails
|
|
85
|
+
*/
|
|
86
|
+
total: string;
|
|
87
|
+
/**
|
|
88
|
+
* Primary tax rate as a decimal string
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof InvoiceDetails
|
|
91
|
+
*/
|
|
92
|
+
taxRate: string;
|
|
93
|
+
/**
|
|
94
|
+
* Secondary tax rate as a decimal string. Omitted when a second tax is not configured.
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof InvoiceDetails
|
|
97
|
+
*/
|
|
98
|
+
taxRate2?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Invoice status (e.g. Paid, Unpaid, Cancelled, Refunded)
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof InvoiceDetails
|
|
103
|
+
*/
|
|
104
|
+
status: string;
|
|
105
|
+
/**
|
|
106
|
+
* Payment method identifier
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof InvoiceDetails
|
|
109
|
+
*/
|
|
110
|
+
paymentMethod: string;
|
|
111
|
+
/**
|
|
112
|
+
* Amount still due as a decimal string
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof InvoiceDetails
|
|
115
|
+
*/
|
|
116
|
+
totalDue: string;
|
|
117
|
+
/**
|
|
118
|
+
* Invoice notes
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof InvoiceDetails
|
|
121
|
+
*/
|
|
122
|
+
notes: string;
|
|
123
|
+
/**
|
|
124
|
+
* Invoice line items
|
|
125
|
+
* @type {Array<InvoiceItem>}
|
|
126
|
+
* @memberof InvoiceDetails
|
|
127
|
+
*/
|
|
128
|
+
items: Array<InvoiceItem>;
|
|
129
|
+
/**
|
|
130
|
+
* Payment and refund transactions on the invoice
|
|
131
|
+
* @type {Array<InvoiceTransaction>}
|
|
132
|
+
* @memberof InvoiceDetails
|
|
133
|
+
*/
|
|
134
|
+
transactions: Array<InvoiceTransaction>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Check if a given object implements the InvoiceDetails interface.
|
|
138
|
+
*/
|
|
139
|
+
export declare function instanceOfInvoiceDetails(value: object): value is InvoiceDetails;
|
|
140
|
+
export declare function InvoiceDetailsFromJSON(json: any): InvoiceDetails;
|
|
141
|
+
export declare function InvoiceDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceDetails;
|
|
142
|
+
export declare function InvoiceDetailsToJSON(json: any): InvoiceDetails;
|
|
143
|
+
export declare function InvoiceDetailsToJSONTyped(value?: InvoiceDetails | null, ignoreDiscriminator?: boolean): any;
|