vayu-ts 0.2.13 → 0.2.14
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/openapi/apis/CustomersApi.d.ts +15 -0
- package/dist/openapi/apis/CustomersApi.js +64 -0
- package/dist/openapi/apis/MeasurementsApi.d.ts +72 -0
- package/dist/openapi/apis/{PlansApi.js → MeasurementsApi.js} +106 -39
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +2 -4
- package/dist/openapi/models/CreateMeasurementRequest.d.ts +44 -0
- package/dist/openapi/models/{NetSuiteExportSalesOrderRequest.js → CreateMeasurementRequest.js} +21 -15
- package/dist/openapi/models/{NetSuiteSyncInvoicesRequestDataEntity.d.ts → CreateMeasurementRequestUsageDate.d.ts} +7 -2
- package/dist/openapi/models/{NetSuiteSyncInvoicesResponse.js → CreateMeasurementRequestUsageDate.js} +22 -13
- package/dist/openapi/models/{GetPlanResponse.d.ts → CreateMeasurementResponse.d.ts} +3 -3
- package/dist/openapi/models/{DeletePlanResponse.js → CreateMeasurementResponse.js} +10 -10
- package/dist/openapi/models/{GetPlanResponsePlan.d.ts → CreateMeasurementResponseMeasurement.d.ts} +13 -7
- package/dist/openapi/models/{DeletePlanResponsePlan.js → CreateMeasurementResponseMeasurement.js} +21 -21
- package/dist/openapi/models/CreditLedgerEntry.d.ts +5 -1
- package/dist/openapi/models/CreditLedgerEntry.js +27 -3
- package/dist/openapi/models/DeleteMeasurementResponse.d.ts +32 -0
- package/dist/openapi/models/{NetSuiteSyncInvoicesRequestDataEntity.js → DeleteMeasurementResponse.js} +10 -10
- package/dist/openapi/models/{DeletePlanResponsePlan.d.ts → DeleteMeasurementResponseMeasurement.d.ts} +13 -7
- package/dist/openapi/models/{GetPlanResponsePlan.js → DeleteMeasurementResponseMeasurement.js} +27 -15
- package/dist/openapi/models/{NetSuiteExportSalesOrderRequest.d.ts → GetCustomerProductsConsumptionsByAliasResponse.d.ts} +3 -4
- package/dist/openapi/models/{NetSuiteSyncInvoicesRequestDataItem.js → GetCustomerProductsConsumptionsByAliasResponse.js} +10 -10
- package/dist/openapi/models/{DeletePlanResponse.d.ts → GetMeasurementResponse.d.ts} +3 -3
- package/dist/openapi/models/{GetPlanResponse.js → GetMeasurementResponse.js} +10 -10
- package/dist/openapi/models/{ListPlansResponse.d.ts → ListMeasurementsResponse.d.ts} +3 -3
- package/dist/openapi/models/{ListPlansResponse.js → ListMeasurementsResponse.js} +10 -10
- package/dist/openapi/models/NotificationEventType.d.ts +4 -0
- package/dist/openapi/models/NotificationEventType.js +4 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +9 -22
- package/dist/openapi/models/ObjectSerializer.js +27 -61
- package/dist/openapi/models/all.d.ts +9 -22
- package/dist/openapi/models/all.js +9 -22
- package/dist/openapi/types/ObservableAPI.d.ts +75 -117
- package/dist/openapi/types/ObservableAPI.js +142 -220
- package/dist/openapi/types/PromiseAPI.d.ts +73 -111
- package/dist/openapi/types/PromiseAPI.js +104 -156
- package/dist/sdk/clients/index.d.ts +0 -1
- package/dist/sdk/clients/index.js +0 -1
- package/dist/sdk/index.d.ts +1 -2
- package/dist/sdk/index.js +0 -3
- package/dist/sdk/types/index.d.ts +0 -1
- package/dist/sdk/types/index.js +0 -1
- package/package.json +1 -1
- package/dist/openapi/apis/IntegrationsApi.d.ts +0 -41
- package/dist/openapi/apis/IntegrationsApi.js +0 -151
- package/dist/openapi/apis/PlansApi.d.ts +0 -56
- package/dist/openapi/apis/ReportsApi.d.ts +0 -41
- package/dist/openapi/apis/ReportsApi.js +0 -147
- package/dist/openapi/models/BillingInterval.d.ts +0 -18
- package/dist/openapi/models/BillingInterval.js +0 -22
- package/dist/openapi/models/ContractStatus.d.ts +0 -19
- package/dist/openapi/models/ContractStatus.js +0 -23
- package/dist/openapi/models/Currency.d.ts +0 -17
- package/dist/openapi/models/Currency.js +0 -21
- package/dist/openapi/models/GetCommitmentReportResponse.d.ts +0 -49
- package/dist/openapi/models/GetCommitmentReportResponse.js +0 -128
- package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +0 -49
- package/dist/openapi/models/GetProductsUsageReportResponse.js +0 -128
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +0 -37
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +0 -48
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +0 -42
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +0 -86
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +0 -32
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +0 -36
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +0 -56
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +0 -32
- package/dist/openapi/models/PaymentTerm.d.ts +0 -18
- package/dist/openapi/models/PaymentTerm.js +0 -22
- package/dist/openapi/models/PlanBillingData.d.ts +0 -41
- package/dist/openapi/models/PlanBillingData.js +0 -59
- package/dist/openapi/models/PlanDuration.d.ts +0 -30
- package/dist/openapi/models/PlanDuration.js +0 -25
- package/dist/openapi/models/PlanStatus.d.ts +0 -19
- package/dist/openapi/models/PlanStatus.js +0 -23
- package/dist/openapi/models/UnlimitedDuration.d.ts +0 -14
- package/dist/openapi/models/UnlimitedDuration.js +0 -18
- package/dist/sdk/clients/PlansClient.d.ts +0 -8
- package/dist/sdk/clients/PlansClient.js +0 -22
- package/dist/sdk/types/Plans.d.ts +0 -1
- package/dist/sdk/types/Plans.js +0 -2
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.CreateMeasurementResponse = void 0;
|
|
15
|
+
class CreateMeasurementResponse {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return CreateMeasurementResponse.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.CreateMeasurementResponse = CreateMeasurementResponse;
|
|
23
|
+
CreateMeasurementResponse.discriminator = undefined;
|
|
24
|
+
CreateMeasurementResponse.mapping = undefined;
|
|
25
|
+
CreateMeasurementResponse.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
29
|
-
"type": "
|
|
27
|
+
"name": "measurement",
|
|
28
|
+
"baseName": "measurement",
|
|
29
|
+
"type": "CreateMeasurementResponseMeasurement",
|
|
30
30
|
"format": ""
|
|
31
31
|
}
|
|
32
32
|
];
|
package/dist/openapi/models/{GetPlanResponsePlan.d.ts → CreateMeasurementResponseMeasurement.d.ts}
RENAMED
|
@@ -9,15 +9,21 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
export declare class GetPlanResponsePlan {
|
|
12
|
+
import { CreateMeasurementRequestUsageDate } from '../models/CreateMeasurementRequestUsageDate';
|
|
13
|
+
export declare class CreateMeasurementResponseMeasurement {
|
|
15
14
|
/**
|
|
16
|
-
* The
|
|
15
|
+
* The customer for whom usage will be attributed
|
|
17
16
|
*/
|
|
18
|
-
'
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
'customerId': string;
|
|
18
|
+
/**
|
|
19
|
+
* The meter/product that is being measured
|
|
20
|
+
*/
|
|
21
|
+
'meterId': string;
|
|
22
|
+
'usageDate': CreateMeasurementRequestUsageDate;
|
|
23
|
+
/**
|
|
24
|
+
* The updated value of product units consumed by the customer, for the product for given day
|
|
25
|
+
*/
|
|
26
|
+
'value': number;
|
|
21
27
|
'id': string;
|
|
22
28
|
'createdAt': Date;
|
|
23
29
|
'updatedAt': Date;
|
package/dist/openapi/models/{DeletePlanResponsePlan.js → CreateMeasurementResponseMeasurement.js}
RENAMED
|
@@ -11,34 +11,40 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.CreateMeasurementResponseMeasurement = void 0;
|
|
15
|
+
class CreateMeasurementResponseMeasurement {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return CreateMeasurementResponseMeasurement.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.CreateMeasurementResponseMeasurement = CreateMeasurementResponseMeasurement;
|
|
23
|
+
CreateMeasurementResponseMeasurement.discriminator = undefined;
|
|
24
|
+
CreateMeasurementResponseMeasurement.mapping = undefined;
|
|
25
|
+
CreateMeasurementResponseMeasurement.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
27
|
+
"name": "customerId",
|
|
28
|
+
"baseName": "customerId",
|
|
29
29
|
"type": "string",
|
|
30
30
|
"format": ""
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"name": "
|
|
34
|
-
"baseName": "
|
|
35
|
-
"type": "
|
|
33
|
+
"name": "meterId",
|
|
34
|
+
"baseName": "meterId",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "usageDate",
|
|
40
|
+
"baseName": "usageDate",
|
|
41
|
+
"type": "CreateMeasurementRequestUsageDate",
|
|
36
42
|
"format": ""
|
|
37
43
|
},
|
|
38
44
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"baseName": "
|
|
41
|
-
"type": "
|
|
45
|
+
"name": "value",
|
|
46
|
+
"baseName": "value",
|
|
47
|
+
"type": "number",
|
|
42
48
|
"format": ""
|
|
43
49
|
},
|
|
44
50
|
{
|
|
@@ -58,11 +64,5 @@ DeletePlanResponsePlan.attributeTypeMap = [
|
|
|
58
64
|
"baseName": "updatedAt",
|
|
59
65
|
"type": "Date",
|
|
60
66
|
"format": "date-time"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "deletedAt",
|
|
64
|
-
"baseName": "deletedAt",
|
|
65
|
-
"type": "string",
|
|
66
|
-
"format": ""
|
|
67
67
|
}
|
|
68
68
|
];
|
|
@@ -11,10 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { BillingCycleStatus } from '../models/BillingCycleStatus';
|
|
13
13
|
export declare class CreditLedgerEntry {
|
|
14
|
+
'id': string;
|
|
15
|
+
'createdAt': Date;
|
|
14
16
|
'type': BillingCycleStatus;
|
|
15
17
|
'amount': number;
|
|
16
|
-
'invoiceId'?: string;
|
|
17
18
|
'balanceAfterEntry': number;
|
|
19
|
+
'invoiceId'?: string;
|
|
20
|
+
'productId'?: string;
|
|
21
|
+
'contractId'?: string;
|
|
18
22
|
static readonly discriminator: string | undefined;
|
|
19
23
|
static readonly mapping: {
|
|
20
24
|
[index: string]: string;
|
|
@@ -23,6 +23,18 @@ exports.CreditLedgerEntry = CreditLedgerEntry;
|
|
|
23
23
|
CreditLedgerEntry.discriminator = undefined;
|
|
24
24
|
CreditLedgerEntry.mapping = undefined;
|
|
25
25
|
CreditLedgerEntry.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "id",
|
|
28
|
+
"baseName": "id",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "createdAt",
|
|
34
|
+
"baseName": "createdAt",
|
|
35
|
+
"type": "Date",
|
|
36
|
+
"format": "date-time"
|
|
37
|
+
},
|
|
26
38
|
{
|
|
27
39
|
"name": "type",
|
|
28
40
|
"baseName": "type",
|
|
@@ -35,6 +47,12 @@ CreditLedgerEntry.attributeTypeMap = [
|
|
|
35
47
|
"type": "number",
|
|
36
48
|
"format": ""
|
|
37
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"name": "balanceAfterEntry",
|
|
52
|
+
"baseName": "balanceAfterEntry",
|
|
53
|
+
"type": "number",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
38
56
|
{
|
|
39
57
|
"name": "invoiceId",
|
|
40
58
|
"baseName": "invoiceId",
|
|
@@ -42,9 +60,15 @@ CreditLedgerEntry.attributeTypeMap = [
|
|
|
42
60
|
"format": ""
|
|
43
61
|
},
|
|
44
62
|
{
|
|
45
|
-
"name": "
|
|
46
|
-
"baseName": "
|
|
47
|
-
"type": "
|
|
63
|
+
"name": "productId",
|
|
64
|
+
"baseName": "productId",
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "contractId",
|
|
70
|
+
"baseName": "contractId",
|
|
71
|
+
"type": "string",
|
|
48
72
|
"format": ""
|
|
49
73
|
}
|
|
50
74
|
];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vayu API
|
|
3
|
+
* The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: dev@withvayu.com
|
|
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 { DeleteMeasurementResponseMeasurement } from '../models/DeleteMeasurementResponseMeasurement';
|
|
13
|
+
export declare class DeleteMeasurementResponse {
|
|
14
|
+
'measurement': DeleteMeasurementResponseMeasurement;
|
|
15
|
+
static readonly discriminator: string | undefined;
|
|
16
|
+
static readonly mapping: {
|
|
17
|
+
[index: string]: string;
|
|
18
|
+
} | undefined;
|
|
19
|
+
static readonly attributeTypeMap: Array<{
|
|
20
|
+
name: string;
|
|
21
|
+
baseName: string;
|
|
22
|
+
type: string;
|
|
23
|
+
format: string;
|
|
24
|
+
}>;
|
|
25
|
+
static getAttributeTypeMap(): {
|
|
26
|
+
name: string;
|
|
27
|
+
baseName: string;
|
|
28
|
+
type: string;
|
|
29
|
+
format: string;
|
|
30
|
+
}[];
|
|
31
|
+
constructor();
|
|
32
|
+
}
|
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.DeleteMeasurementResponse = void 0;
|
|
15
|
+
class DeleteMeasurementResponse {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return DeleteMeasurementResponse.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.DeleteMeasurementResponse = DeleteMeasurementResponse;
|
|
23
|
+
DeleteMeasurementResponse.discriminator = undefined;
|
|
24
|
+
DeleteMeasurementResponse.mapping = undefined;
|
|
25
|
+
DeleteMeasurementResponse.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
29
|
-
"type": "
|
|
27
|
+
"name": "measurement",
|
|
28
|
+
"baseName": "measurement",
|
|
29
|
+
"type": "DeleteMeasurementResponseMeasurement",
|
|
30
30
|
"format": ""
|
|
31
31
|
}
|
|
32
32
|
];
|
|
@@ -9,15 +9,21 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
export declare class DeletePlanResponsePlan {
|
|
12
|
+
import { CreateMeasurementRequestUsageDate } from '../models/CreateMeasurementRequestUsageDate';
|
|
13
|
+
export declare class DeleteMeasurementResponseMeasurement {
|
|
15
14
|
/**
|
|
16
|
-
* The
|
|
15
|
+
* The customer for whom usage will be attributed
|
|
17
16
|
*/
|
|
18
|
-
'
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
'customerId': string;
|
|
18
|
+
/**
|
|
19
|
+
* The meter/product that is being measured
|
|
20
|
+
*/
|
|
21
|
+
'meterId': string;
|
|
22
|
+
'usageDate': CreateMeasurementRequestUsageDate;
|
|
23
|
+
/**
|
|
24
|
+
* The updated value of product units consumed by the customer, for the product for given day
|
|
25
|
+
*/
|
|
26
|
+
'value': number;
|
|
21
27
|
'id': string;
|
|
22
28
|
'createdAt': Date;
|
|
23
29
|
'updatedAt': Date;
|
package/dist/openapi/models/{GetPlanResponsePlan.js → DeleteMeasurementResponseMeasurement.js}
RENAMED
|
@@ -11,34 +11,40 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.DeleteMeasurementResponseMeasurement = void 0;
|
|
15
|
+
class DeleteMeasurementResponseMeasurement {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return DeleteMeasurementResponseMeasurement.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.DeleteMeasurementResponseMeasurement = DeleteMeasurementResponseMeasurement;
|
|
23
|
+
DeleteMeasurementResponseMeasurement.discriminator = undefined;
|
|
24
|
+
DeleteMeasurementResponseMeasurement.mapping = undefined;
|
|
25
|
+
DeleteMeasurementResponseMeasurement.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
27
|
+
"name": "customerId",
|
|
28
|
+
"baseName": "customerId",
|
|
29
29
|
"type": "string",
|
|
30
30
|
"format": ""
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"name": "
|
|
34
|
-
"baseName": "
|
|
35
|
-
"type": "
|
|
33
|
+
"name": "meterId",
|
|
34
|
+
"baseName": "meterId",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "usageDate",
|
|
40
|
+
"baseName": "usageDate",
|
|
41
|
+
"type": "CreateMeasurementRequestUsageDate",
|
|
36
42
|
"format": ""
|
|
37
43
|
},
|
|
38
44
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"baseName": "
|
|
41
|
-
"type": "
|
|
45
|
+
"name": "value",
|
|
46
|
+
"baseName": "value",
|
|
47
|
+
"type": "number",
|
|
42
48
|
"format": ""
|
|
43
49
|
},
|
|
44
50
|
{
|
|
@@ -58,5 +64,11 @@ GetPlanResponsePlan.attributeTypeMap = [
|
|
|
58
64
|
"baseName": "updatedAt",
|
|
59
65
|
"type": "Date",
|
|
60
66
|
"format": "date-time"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "deletedAt",
|
|
70
|
+
"baseName": "deletedAt",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"format": ""
|
|
61
73
|
}
|
|
62
74
|
];
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
'
|
|
15
|
-
'subsidiaryId': string;
|
|
12
|
+
import { ProductConsumption } from '../models/ProductConsumption';
|
|
13
|
+
export declare class GetCustomerProductsConsumptionsByAliasResponse {
|
|
14
|
+
'productsConsumptions': Array<ProductConsumption>;
|
|
16
15
|
static readonly discriminator: string | undefined;
|
|
17
16
|
static readonly mapping: {
|
|
18
17
|
[index: string]: string;
|
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.GetCustomerProductsConsumptionsByAliasResponse = void 0;
|
|
15
|
+
class GetCustomerProductsConsumptionsByAliasResponse {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return GetCustomerProductsConsumptionsByAliasResponse.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.GetCustomerProductsConsumptionsByAliasResponse = GetCustomerProductsConsumptionsByAliasResponse;
|
|
23
|
+
GetCustomerProductsConsumptionsByAliasResponse.discriminator = undefined;
|
|
24
|
+
GetCustomerProductsConsumptionsByAliasResponse.mapping = undefined;
|
|
25
|
+
GetCustomerProductsConsumptionsByAliasResponse.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
29
|
-
"type": "Array<
|
|
27
|
+
"name": "productsConsumptions",
|
|
28
|
+
"baseName": "productsConsumptions",
|
|
29
|
+
"type": "Array<ProductConsumption>",
|
|
30
30
|
"format": ""
|
|
31
31
|
}
|
|
32
32
|
];
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
export declare class
|
|
14
|
-
'
|
|
12
|
+
import { CreateMeasurementResponseMeasurement } from '../models/CreateMeasurementResponseMeasurement';
|
|
13
|
+
export declare class GetMeasurementResponse {
|
|
14
|
+
'measurement': CreateMeasurementResponseMeasurement;
|
|
15
15
|
static readonly discriminator: string | undefined;
|
|
16
16
|
static readonly mapping: {
|
|
17
17
|
[index: string]: string;
|
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.GetMeasurementResponse = void 0;
|
|
15
|
+
class GetMeasurementResponse {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return GetMeasurementResponse.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.GetMeasurementResponse = GetMeasurementResponse;
|
|
23
|
+
GetMeasurementResponse.discriminator = undefined;
|
|
24
|
+
GetMeasurementResponse.mapping = undefined;
|
|
25
|
+
GetMeasurementResponse.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
29
|
-
"type": "
|
|
27
|
+
"name": "measurement",
|
|
28
|
+
"baseName": "measurement",
|
|
29
|
+
"type": "CreateMeasurementResponseMeasurement",
|
|
30
30
|
"format": ""
|
|
31
31
|
}
|
|
32
32
|
];
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
export declare class
|
|
14
|
-
'
|
|
12
|
+
import { CreateMeasurementResponseMeasurement } from '../models/CreateMeasurementResponseMeasurement';
|
|
13
|
+
export declare class ListMeasurementsResponse {
|
|
14
|
+
'measurements': Array<CreateMeasurementResponseMeasurement>;
|
|
15
15
|
'total': number;
|
|
16
16
|
'hasMore': boolean;
|
|
17
17
|
'nextCursor'?: string;
|
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
class
|
|
14
|
+
exports.ListMeasurementsResponse = void 0;
|
|
15
|
+
class ListMeasurementsResponse {
|
|
16
16
|
static getAttributeTypeMap() {
|
|
17
|
-
return
|
|
17
|
+
return ListMeasurementsResponse.attributeTypeMap;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
exports.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
exports.ListMeasurementsResponse = ListMeasurementsResponse;
|
|
23
|
+
ListMeasurementsResponse.discriminator = undefined;
|
|
24
|
+
ListMeasurementsResponse.mapping = undefined;
|
|
25
|
+
ListMeasurementsResponse.attributeTypeMap = [
|
|
26
26
|
{
|
|
27
|
-
"name": "
|
|
28
|
-
"baseName": "
|
|
29
|
-
"type": "Array<
|
|
27
|
+
"name": "measurements",
|
|
28
|
+
"baseName": "measurements",
|
|
29
|
+
"type": "Array<CreateMeasurementResponseMeasurement>",
|
|
30
30
|
"format": ""
|
|
31
31
|
},
|
|
32
32
|
{
|
|
@@ -15,5 +15,9 @@ export declare enum NotificationEventType {
|
|
|
15
15
|
UpcomingRenewal = "UpcomingRenewal",
|
|
16
16
|
InvoiceApproved = "InvoiceApproved",
|
|
17
17
|
CustomerPortalLinkSent = "CustomerPortalLinkSent",
|
|
18
|
+
NewCustomerWithoutContract = "NewCustomerWithoutContract",
|
|
19
|
+
MonthEndReport = "MonthEndReport",
|
|
20
|
+
UnchargedEvents = "UnchargedEvents",
|
|
21
|
+
TierCrossed = "TierCrossed",
|
|
18
22
|
CommitmentCrossed = "CommitmentCrossed"
|
|
19
23
|
}
|
|
@@ -19,5 +19,9 @@ var NotificationEventType;
|
|
|
19
19
|
NotificationEventType["UpcomingRenewal"] = "UpcomingRenewal";
|
|
20
20
|
NotificationEventType["InvoiceApproved"] = "InvoiceApproved";
|
|
21
21
|
NotificationEventType["CustomerPortalLinkSent"] = "CustomerPortalLinkSent";
|
|
22
|
+
NotificationEventType["NewCustomerWithoutContract"] = "NewCustomerWithoutContract";
|
|
23
|
+
NotificationEventType["MonthEndReport"] = "MonthEndReport";
|
|
24
|
+
NotificationEventType["UnchargedEvents"] = "UnchargedEvents";
|
|
25
|
+
NotificationEventType["TierCrossed"] = "TierCrossed";
|
|
22
26
|
NotificationEventType["CommitmentCrossed"] = "CommitmentCrossed";
|
|
23
27
|
})(NotificationEventType = exports.NotificationEventType || (exports.NotificationEventType = {}));
|
|
@@ -2,19 +2,20 @@ export * from '../models/Address';
|
|
|
2
2
|
export * from '../models/AggregationMethod';
|
|
3
3
|
export * from '../models/AggregationOperator';
|
|
4
4
|
export * from '../models/BillingCycleStatus';
|
|
5
|
-
export * from '../models/BillingInterval';
|
|
6
5
|
export * from '../models/Condition';
|
|
7
6
|
export * from '../models/Contact';
|
|
8
|
-
export * from '../models/ContractStatus';
|
|
9
7
|
export * from '../models/CreateContractRequest';
|
|
10
8
|
export * from '../models/CreateContractResponse';
|
|
11
9
|
export * from '../models/CreateCustomerRequest';
|
|
12
10
|
export * from '../models/CreateCustomerResponse';
|
|
13
11
|
export * from '../models/CreateCustomerResponseCustomer';
|
|
12
|
+
export * from '../models/CreateMeasurementRequest';
|
|
13
|
+
export * from '../models/CreateMeasurementRequestUsageDate';
|
|
14
|
+
export * from '../models/CreateMeasurementResponse';
|
|
15
|
+
export * from '../models/CreateMeasurementResponseMeasurement';
|
|
14
16
|
export * from '../models/CreditLedgerEntry';
|
|
15
17
|
export * from '../models/Criterion';
|
|
16
18
|
export * from '../models/CriterionOperator';
|
|
17
|
-
export * from '../models/Currency';
|
|
18
19
|
export * from '../models/DeductCreditsRequest';
|
|
19
20
|
export * from '../models/DeleteContractResponse';
|
|
20
21
|
export * from '../models/DeleteContractResponseContract';
|
|
@@ -22,10 +23,10 @@ export * from '../models/DeleteCustomerResponse';
|
|
|
22
23
|
export * from '../models/DeleteCustomerResponseCustomer';
|
|
23
24
|
export * from '../models/DeleteEventResponse';
|
|
24
25
|
export * from '../models/DeleteEventResponseEvent';
|
|
26
|
+
export * from '../models/DeleteMeasurementResponse';
|
|
27
|
+
export * from '../models/DeleteMeasurementResponseMeasurement';
|
|
25
28
|
export * from '../models/DeleteMeterResponse';
|
|
26
29
|
export * from '../models/DeleteMeterResponseMeter';
|
|
27
|
-
export * from '../models/DeletePlanResponse';
|
|
28
|
-
export * from '../models/DeletePlanResponsePlan';
|
|
29
30
|
export * from '../models/Event';
|
|
30
31
|
export * from '../models/EventsDryRunRequest';
|
|
31
32
|
export * from '../models/EventsDryRunResponse';
|
|
@@ -34,22 +35,20 @@ export * from '../models/EventsDryRunResponseObjectEvent';
|
|
|
34
35
|
export * from '../models/EventsDryRunResponseObjectMeterWithValuesInner';
|
|
35
36
|
export * from '../models/Filter';
|
|
36
37
|
export * from '../models/FullDayPeriod';
|
|
37
|
-
export * from '../models/GetCommitmentReportResponse';
|
|
38
38
|
export * from '../models/GetContractResponse';
|
|
39
39
|
export * from '../models/GetContractResponseContract';
|
|
40
|
+
export * from '../models/GetCustomerProductsConsumptionsByAliasResponse';
|
|
40
41
|
export * from '../models/GetCustomerProductsConsumptionsResponse';
|
|
41
42
|
export * from '../models/GetCustomerResponse';
|
|
42
43
|
export * from '../models/GetEventResponse';
|
|
43
44
|
export * from '../models/GetEventResponseEvent';
|
|
44
45
|
export * from '../models/GetInvoiceResponse';
|
|
45
46
|
export * from '../models/GetInvoiceResponseInvoice';
|
|
47
|
+
export * from '../models/GetMeasurementResponse';
|
|
46
48
|
export * from '../models/GetMeterResponse';
|
|
47
49
|
export * from '../models/GetMeterResponseMeter';
|
|
48
|
-
export * from '../models/GetPlanResponse';
|
|
49
|
-
export * from '../models/GetPlanResponsePlan';
|
|
50
50
|
export * from '../models/GetProductConsumptionResponse';
|
|
51
51
|
export * from '../models/GetProductConsumptionResponseProductConsumption';
|
|
52
|
-
export * from '../models/GetProductsUsageReportResponse';
|
|
53
52
|
export * from '../models/GrantCreditsRequest';
|
|
54
53
|
export * from '../models/InvalidEvent';
|
|
55
54
|
export * from '../models/LineItem';
|
|
@@ -58,29 +57,17 @@ export * from '../models/ListContractsResponse';
|
|
|
58
57
|
export * from '../models/ListCreditLedgerEntriesResponse';
|
|
59
58
|
export * from '../models/ListCustomersResponse';
|
|
60
59
|
export * from '../models/ListInvoicesResponse';
|
|
60
|
+
export * from '../models/ListMeasurementsResponse';
|
|
61
61
|
export * from '../models/ListMetersResponse';
|
|
62
|
-
export * from '../models/ListPlansResponse';
|
|
63
62
|
export * from '../models/LoginRequest';
|
|
64
63
|
export * from '../models/LoginResponse';
|
|
65
64
|
export * from '../models/Meter';
|
|
66
|
-
export * from '../models/NetSuiteExportSalesOrderRequest';
|
|
67
|
-
export * from '../models/NetSuiteSyncInvoicesRequest';
|
|
68
|
-
export * from '../models/NetSuiteSyncInvoicesRequestData';
|
|
69
|
-
export * from '../models/NetSuiteSyncInvoicesRequestDataEntity';
|
|
70
|
-
export * from '../models/NetSuiteSyncInvoicesRequestDataItem';
|
|
71
|
-
export * from '../models/NetSuiteSyncInvoicesRequestDataItemItemsInner';
|
|
72
|
-
export * from '../models/NetSuiteSyncInvoicesResponse';
|
|
73
65
|
export * from '../models/NotificationEventType';
|
|
74
|
-
export * from '../models/PaymentTerm';
|
|
75
|
-
export * from '../models/PlanBillingData';
|
|
76
|
-
export * from '../models/PlanDuration';
|
|
77
|
-
export * from '../models/PlanStatus';
|
|
78
66
|
export * from '../models/ProductConsumption';
|
|
79
67
|
export * from '../models/QueryEventsResponse';
|
|
80
68
|
export * from '../models/QueryEventsResponseEventsInner';
|
|
81
69
|
export * from '../models/SendEventsRequest';
|
|
82
70
|
export * from '../models/SendEventsResponse';
|
|
83
|
-
export * from '../models/UnlimitedDuration';
|
|
84
71
|
export * from '../models/UpdateCustomerRequest';
|
|
85
72
|
export * from '../models/UpdateCustomerResponse';
|
|
86
73
|
export * from '../models/UpdateMeterRequest';
|