vayu-ts 0.2.13 → 0.2.15

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.
Files changed (82) hide show
  1. package/dist/openapi/apis/CustomersApi.d.ts +15 -0
  2. package/dist/openapi/apis/CustomersApi.js +64 -0
  3. package/dist/openapi/apis/MeasurementsApi.d.ts +72 -0
  4. package/dist/openapi/apis/{PlansApi.js → MeasurementsApi.js} +106 -39
  5. package/dist/openapi/index.d.ts +1 -1
  6. package/dist/openapi/index.js +2 -4
  7. package/dist/openapi/models/CreateMeasurementRequest.d.ts +44 -0
  8. package/dist/openapi/models/{NetSuiteExportSalesOrderRequest.js → CreateMeasurementRequest.js} +21 -15
  9. package/dist/openapi/models/{NetSuiteSyncInvoicesRequestDataEntity.d.ts → CreateMeasurementRequestUsageDate.d.ts} +7 -2
  10. package/dist/openapi/models/{NetSuiteSyncInvoicesResponse.js → CreateMeasurementRequestUsageDate.js} +22 -13
  11. package/dist/openapi/models/{GetPlanResponse.d.ts → CreateMeasurementResponse.d.ts} +3 -3
  12. package/dist/openapi/models/{DeletePlanResponse.js → CreateMeasurementResponse.js} +10 -10
  13. package/dist/openapi/models/{GetPlanResponsePlan.d.ts → CreateMeasurementResponseMeasurement.d.ts} +13 -7
  14. package/dist/openapi/models/{DeletePlanResponsePlan.js → CreateMeasurementResponseMeasurement.js} +21 -21
  15. package/dist/openapi/models/CreditLedgerEntry.d.ts +5 -1
  16. package/dist/openapi/models/CreditLedgerEntry.js +27 -3
  17. package/dist/openapi/models/DeleteMeasurementResponse.d.ts +32 -0
  18. package/dist/openapi/models/{NetSuiteSyncInvoicesRequestDataEntity.js → DeleteMeasurementResponse.js} +10 -10
  19. package/dist/openapi/models/{DeletePlanResponsePlan.d.ts → DeleteMeasurementResponseMeasurement.d.ts} +13 -7
  20. package/dist/openapi/models/{GetPlanResponsePlan.js → DeleteMeasurementResponseMeasurement.js} +27 -15
  21. package/dist/openapi/models/{NetSuiteExportSalesOrderRequest.d.ts → GetCustomerProductsConsumptionsByAliasResponse.d.ts} +3 -4
  22. package/dist/openapi/models/{NetSuiteSyncInvoicesRequestDataItem.js → GetCustomerProductsConsumptionsByAliasResponse.js} +10 -10
  23. package/dist/openapi/models/{DeletePlanResponse.d.ts → GetMeasurementResponse.d.ts} +3 -3
  24. package/dist/openapi/models/{GetPlanResponse.js → GetMeasurementResponse.js} +10 -10
  25. package/dist/openapi/models/{ListPlansResponse.d.ts → ListMeasurementsResponse.d.ts} +3 -3
  26. package/dist/openapi/models/{ListPlansResponse.js → ListMeasurementsResponse.js} +10 -10
  27. package/dist/openapi/models/NotificationEventType.d.ts +4 -0
  28. package/dist/openapi/models/NotificationEventType.js +4 -0
  29. package/dist/openapi/models/ObjectSerializer.d.ts +9 -22
  30. package/dist/openapi/models/ObjectSerializer.js +27 -61
  31. package/dist/openapi/models/all.d.ts +9 -22
  32. package/dist/openapi/models/all.js +9 -22
  33. package/dist/openapi/types/ObservableAPI.d.ts +75 -117
  34. package/dist/openapi/types/ObservableAPI.js +142 -220
  35. package/dist/openapi/types/PromiseAPI.d.ts +73 -111
  36. package/dist/openapi/types/PromiseAPI.js +104 -156
  37. package/dist/sdk/clients/CustomersClient.d.ts +1 -0
  38. package/dist/sdk/clients/CustomersClient.js +3 -0
  39. package/dist/sdk/clients/index.d.ts +0 -1
  40. package/dist/sdk/clients/index.js +0 -1
  41. package/dist/sdk/index.d.ts +1 -2
  42. package/dist/sdk/index.js +0 -3
  43. package/dist/sdk/types/index.d.ts +0 -1
  44. package/dist/sdk/types/index.js +0 -1
  45. package/package.json +1 -1
  46. package/dist/openapi/apis/IntegrationsApi.d.ts +0 -41
  47. package/dist/openapi/apis/IntegrationsApi.js +0 -151
  48. package/dist/openapi/apis/PlansApi.d.ts +0 -56
  49. package/dist/openapi/apis/ReportsApi.d.ts +0 -41
  50. package/dist/openapi/apis/ReportsApi.js +0 -147
  51. package/dist/openapi/models/BillingInterval.d.ts +0 -18
  52. package/dist/openapi/models/BillingInterval.js +0 -22
  53. package/dist/openapi/models/ContractStatus.d.ts +0 -19
  54. package/dist/openapi/models/ContractStatus.js +0 -23
  55. package/dist/openapi/models/Currency.d.ts +0 -17
  56. package/dist/openapi/models/Currency.js +0 -21
  57. package/dist/openapi/models/GetCommitmentReportResponse.d.ts +0 -49
  58. package/dist/openapi/models/GetCommitmentReportResponse.js +0 -128
  59. package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +0 -49
  60. package/dist/openapi/models/GetProductsUsageReportResponse.js +0 -128
  61. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +0 -37
  62. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +0 -48
  63. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +0 -42
  64. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +0 -86
  65. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +0 -32
  66. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +0 -36
  67. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +0 -56
  68. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +0 -32
  69. package/dist/openapi/models/PaymentTerm.d.ts +0 -18
  70. package/dist/openapi/models/PaymentTerm.js +0 -22
  71. package/dist/openapi/models/PlanBillingData.d.ts +0 -41
  72. package/dist/openapi/models/PlanBillingData.js +0 -59
  73. package/dist/openapi/models/PlanDuration.d.ts +0 -30
  74. package/dist/openapi/models/PlanDuration.js +0 -25
  75. package/dist/openapi/models/PlanStatus.d.ts +0 -19
  76. package/dist/openapi/models/PlanStatus.js +0 -23
  77. package/dist/openapi/models/UnlimitedDuration.d.ts +0 -14
  78. package/dist/openapi/models/UnlimitedDuration.js +0 -18
  79. package/dist/sdk/clients/PlansClient.d.ts +0 -8
  80. package/dist/sdk/clients/PlansClient.js +0 -22
  81. package/dist/sdk/types/Plans.d.ts +0 -1
  82. package/dist/sdk/types/Plans.js +0 -2
@@ -1,128 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * 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
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.GetCommitmentReportResponse = void 0;
15
- class GetCommitmentReportResponse {
16
- static getAttributeTypeMap() {
17
- return GetCommitmentReportResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.GetCommitmentReportResponse = GetCommitmentReportResponse;
23
- GetCommitmentReportResponse.discriminator = undefined;
24
- GetCommitmentReportResponse.mapping = undefined;
25
- GetCommitmentReportResponse.attributeTypeMap = [
26
- {
27
- "name": "contractStatus",
28
- "baseName": "contractStatus",
29
- "type": "ContractStatus",
30
- "format": ""
31
- },
32
- {
33
- "name": "customerName",
34
- "baseName": "customerName",
35
- "type": "string",
36
- "format": ""
37
- },
38
- {
39
- "name": "startDate",
40
- "baseName": "startDate",
41
- "type": "Date",
42
- "format": "date-time"
43
- },
44
- {
45
- "name": "endDate",
46
- "baseName": "endDate",
47
- "type": "Date",
48
- "format": "date-time"
49
- },
50
- {
51
- "name": "contractName",
52
- "baseName": "contractName",
53
- "type": "string",
54
- "format": ""
55
- },
56
- {
57
- "name": "contractStartDate",
58
- "baseName": "contractStartDate",
59
- "type": "Date",
60
- "format": "date-time"
61
- },
62
- {
63
- "name": "contractEndDate",
64
- "baseName": "contractEndDate",
65
- "type": "Date",
66
- "format": "date-time"
67
- },
68
- {
69
- "name": "daysToContractEnd",
70
- "baseName": "daysToContractEnd",
71
- "type": "number",
72
- "format": ""
73
- },
74
- {
75
- "name": "productVariantName",
76
- "baseName": "productVariantName",
77
- "type": "string",
78
- "format": ""
79
- },
80
- {
81
- "name": "commitmentConsumptionCurrencyAmount",
82
- "baseName": "commitmentConsumptionCurrencyAmount",
83
- "type": "number",
84
- "format": ""
85
- },
86
- {
87
- "name": "commitmentConsumptionUnitsAmount",
88
- "baseName": "commitmentConsumptionUnitsAmount",
89
- "type": "number",
90
- "format": ""
91
- },
92
- {
93
- "name": "commitmentConsumptionPercentage",
94
- "baseName": "commitmentConsumptionPercentage",
95
- "type": "number",
96
- "format": ""
97
- },
98
- {
99
- "name": "totalCommitmentCurrencyAmount",
100
- "baseName": "totalCommitmentCurrencyAmount",
101
- "type": "number",
102
- "format": ""
103
- },
104
- {
105
- "name": "totalCommitmentUnitsAmount",
106
- "baseName": "totalCommitmentUnitsAmount",
107
- "type": "number",
108
- "format": ""
109
- },
110
- {
111
- "name": "commercialTermsAmount",
112
- "baseName": "commercialTermsAmount",
113
- "type": "number",
114
- "format": ""
115
- },
116
- {
117
- "name": "erpId",
118
- "baseName": "erpId",
119
- "type": "string",
120
- "format": ""
121
- },
122
- {
123
- "name": "currency",
124
- "baseName": "currency",
125
- "type": "Currency",
126
- "format": ""
127
- }
128
- ];
@@ -1,49 +0,0 @@
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 { ContractStatus } from '../models/ContractStatus';
13
- import { Currency } from '../models/Currency';
14
- export declare class GetProductsUsageReportResponse {
15
- 'contractStatus': ContractStatus;
16
- 'customerName': string;
17
- 'startDate': Date;
18
- 'endDate': Date;
19
- 'contractName'?: string;
20
- 'contractStartDate': Date;
21
- 'contractEndDate'?: Date;
22
- 'daysToContractEnd'?: number;
23
- 'productVariantName': string;
24
- 'commitmentConsumptionPercentage'?: number;
25
- 'totalCommitmentCurrencyAmount'?: number;
26
- 'totalCommitmentUnitsAmount'?: number;
27
- 'commercialTermsAmount'?: number;
28
- 'erpId'?: string;
29
- 'currency': Currency;
30
- 'usageConsumptionCurrencyAmount'?: number;
31
- 'usageConsumptionUnitsAmount'?: number;
32
- static readonly discriminator: string | undefined;
33
- static readonly mapping: {
34
- [index: string]: string;
35
- } | undefined;
36
- static readonly attributeTypeMap: Array<{
37
- name: string;
38
- baseName: string;
39
- type: string;
40
- format: string;
41
- }>;
42
- static getAttributeTypeMap(): {
43
- name: string;
44
- baseName: string;
45
- type: string;
46
- format: string;
47
- }[];
48
- constructor();
49
- }
@@ -1,128 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * 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
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.GetProductsUsageReportResponse = void 0;
15
- class GetProductsUsageReportResponse {
16
- static getAttributeTypeMap() {
17
- return GetProductsUsageReportResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.GetProductsUsageReportResponse = GetProductsUsageReportResponse;
23
- GetProductsUsageReportResponse.discriminator = undefined;
24
- GetProductsUsageReportResponse.mapping = undefined;
25
- GetProductsUsageReportResponse.attributeTypeMap = [
26
- {
27
- "name": "contractStatus",
28
- "baseName": "contractStatus",
29
- "type": "ContractStatus",
30
- "format": ""
31
- },
32
- {
33
- "name": "customerName",
34
- "baseName": "customerName",
35
- "type": "string",
36
- "format": ""
37
- },
38
- {
39
- "name": "startDate",
40
- "baseName": "startDate",
41
- "type": "Date",
42
- "format": "date-time"
43
- },
44
- {
45
- "name": "endDate",
46
- "baseName": "endDate",
47
- "type": "Date",
48
- "format": "date-time"
49
- },
50
- {
51
- "name": "contractName",
52
- "baseName": "contractName",
53
- "type": "string",
54
- "format": ""
55
- },
56
- {
57
- "name": "contractStartDate",
58
- "baseName": "contractStartDate",
59
- "type": "Date",
60
- "format": "date-time"
61
- },
62
- {
63
- "name": "contractEndDate",
64
- "baseName": "contractEndDate",
65
- "type": "Date",
66
- "format": "date-time"
67
- },
68
- {
69
- "name": "daysToContractEnd",
70
- "baseName": "daysToContractEnd",
71
- "type": "number",
72
- "format": ""
73
- },
74
- {
75
- "name": "productVariantName",
76
- "baseName": "productVariantName",
77
- "type": "string",
78
- "format": ""
79
- },
80
- {
81
- "name": "commitmentConsumptionPercentage",
82
- "baseName": "commitmentConsumptionPercentage",
83
- "type": "number",
84
- "format": ""
85
- },
86
- {
87
- "name": "totalCommitmentCurrencyAmount",
88
- "baseName": "totalCommitmentCurrencyAmount",
89
- "type": "number",
90
- "format": ""
91
- },
92
- {
93
- "name": "totalCommitmentUnitsAmount",
94
- "baseName": "totalCommitmentUnitsAmount",
95
- "type": "number",
96
- "format": ""
97
- },
98
- {
99
- "name": "commercialTermsAmount",
100
- "baseName": "commercialTermsAmount",
101
- "type": "number",
102
- "format": ""
103
- },
104
- {
105
- "name": "erpId",
106
- "baseName": "erpId",
107
- "type": "string",
108
- "format": ""
109
- },
110
- {
111
- "name": "currency",
112
- "baseName": "currency",
113
- "type": "Currency",
114
- "format": ""
115
- },
116
- {
117
- "name": "usageConsumptionCurrencyAmount",
118
- "baseName": "usageConsumptionCurrencyAmount",
119
- "type": "number",
120
- "format": ""
121
- },
122
- {
123
- "name": "usageConsumptionUnitsAmount",
124
- "baseName": "usageConsumptionUnitsAmount",
125
- "type": "number",
126
- "format": ""
127
- }
128
- ];
@@ -1,37 +0,0 @@
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 { NetSuiteSyncInvoicesRequestData } from '../models/NetSuiteSyncInvoicesRequestData';
13
- export declare class NetSuiteSyncInvoicesRequest {
14
- 'integrationType': NetSuiteSyncInvoicesRequestIntegrationTypeEnum;
15
- 'uid': string;
16
- 'data': NetSuiteSyncInvoicesRequestData;
17
- static readonly discriminator: string | undefined;
18
- static readonly mapping: {
19
- [index: string]: string;
20
- } | undefined;
21
- static readonly attributeTypeMap: Array<{
22
- name: string;
23
- baseName: string;
24
- type: string;
25
- format: string;
26
- }>;
27
- static getAttributeTypeMap(): {
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- format: string;
32
- }[];
33
- constructor();
34
- }
35
- export declare enum NetSuiteSyncInvoicesRequestIntegrationTypeEnum {
36
- UpsertInvoice = "upsertInvoice"
37
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * 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
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.NetSuiteSyncInvoicesRequestIntegrationTypeEnum = exports.NetSuiteSyncInvoicesRequest = void 0;
15
- class NetSuiteSyncInvoicesRequest {
16
- static getAttributeTypeMap() {
17
- return NetSuiteSyncInvoicesRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.NetSuiteSyncInvoicesRequest = NetSuiteSyncInvoicesRequest;
23
- NetSuiteSyncInvoicesRequest.discriminator = undefined;
24
- NetSuiteSyncInvoicesRequest.mapping = undefined;
25
- NetSuiteSyncInvoicesRequest.attributeTypeMap = [
26
- {
27
- "name": "integrationType",
28
- "baseName": "integrationType",
29
- "type": "NetSuiteSyncInvoicesRequestIntegrationTypeEnum",
30
- "format": ""
31
- },
32
- {
33
- "name": "uid",
34
- "baseName": "uid",
35
- "type": "string",
36
- "format": ""
37
- },
38
- {
39
- "name": "data",
40
- "baseName": "data",
41
- "type": "NetSuiteSyncInvoicesRequestData",
42
- "format": ""
43
- }
44
- ];
45
- var NetSuiteSyncInvoicesRequestIntegrationTypeEnum;
46
- (function (NetSuiteSyncInvoicesRequestIntegrationTypeEnum) {
47
- NetSuiteSyncInvoicesRequestIntegrationTypeEnum["UpsertInvoice"] = "upsertInvoice";
48
- })(NetSuiteSyncInvoicesRequestIntegrationTypeEnum = exports.NetSuiteSyncInvoicesRequestIntegrationTypeEnum || (exports.NetSuiteSyncInvoicesRequestIntegrationTypeEnum = {}));
@@ -1,42 +0,0 @@
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 { NetSuiteSyncInvoicesRequestDataEntity } from '../models/NetSuiteSyncInvoicesRequestDataEntity';
13
- import { NetSuiteSyncInvoicesRequestDataItem } from '../models/NetSuiteSyncInvoicesRequestDataItem';
14
- export declare class NetSuiteSyncInvoicesRequestData {
15
- 'startDate': Date;
16
- 'endDate': Date;
17
- 'tranDate': Date;
18
- 'memo': string;
19
- 'externalId': string;
20
- 'entity': NetSuiteSyncInvoicesRequestDataEntity;
21
- 'account'?: NetSuiteSyncInvoicesRequestDataEntity;
22
- 'item': NetSuiteSyncInvoicesRequestDataItem;
23
- 'discountItem'?: NetSuiteSyncInvoicesRequestDataEntity;
24
- 'discountRate'?: number;
25
- static readonly discriminator: string | undefined;
26
- static readonly mapping: {
27
- [index: string]: string;
28
- } | undefined;
29
- static readonly attributeTypeMap: Array<{
30
- name: string;
31
- baseName: string;
32
- type: string;
33
- format: string;
34
- }>;
35
- static getAttributeTypeMap(): {
36
- name: string;
37
- baseName: string;
38
- type: string;
39
- format: string;
40
- }[];
41
- constructor();
42
- }
@@ -1,86 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * 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
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.NetSuiteSyncInvoicesRequestData = void 0;
15
- class NetSuiteSyncInvoicesRequestData {
16
- static getAttributeTypeMap() {
17
- return NetSuiteSyncInvoicesRequestData.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.NetSuiteSyncInvoicesRequestData = NetSuiteSyncInvoicesRequestData;
23
- NetSuiteSyncInvoicesRequestData.discriminator = undefined;
24
- NetSuiteSyncInvoicesRequestData.mapping = undefined;
25
- NetSuiteSyncInvoicesRequestData.attributeTypeMap = [
26
- {
27
- "name": "startDate",
28
- "baseName": "startDate",
29
- "type": "Date",
30
- "format": "date-time"
31
- },
32
- {
33
- "name": "endDate",
34
- "baseName": "endDate",
35
- "type": "Date",
36
- "format": "date-time"
37
- },
38
- {
39
- "name": "tranDate",
40
- "baseName": "tranDate",
41
- "type": "Date",
42
- "format": "date-time"
43
- },
44
- {
45
- "name": "memo",
46
- "baseName": "memo",
47
- "type": "string",
48
- "format": ""
49
- },
50
- {
51
- "name": "externalId",
52
- "baseName": "externalId",
53
- "type": "string",
54
- "format": ""
55
- },
56
- {
57
- "name": "entity",
58
- "baseName": "entity",
59
- "type": "NetSuiteSyncInvoicesRequestDataEntity",
60
- "format": ""
61
- },
62
- {
63
- "name": "account",
64
- "baseName": "account",
65
- "type": "NetSuiteSyncInvoicesRequestDataEntity",
66
- "format": ""
67
- },
68
- {
69
- "name": "item",
70
- "baseName": "item",
71
- "type": "NetSuiteSyncInvoicesRequestDataItem",
72
- "format": ""
73
- },
74
- {
75
- "name": "discountItem",
76
- "baseName": "discountItem",
77
- "type": "NetSuiteSyncInvoicesRequestDataEntity",
78
- "format": ""
79
- },
80
- {
81
- "name": "discountRate",
82
- "baseName": "discountRate",
83
- "type": "number",
84
- "format": ""
85
- }
86
- ];
@@ -1,32 +0,0 @@
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 { NetSuiteSyncInvoicesRequestDataItemItemsInner } from '../models/NetSuiteSyncInvoicesRequestDataItemItemsInner';
13
- export declare class NetSuiteSyncInvoicesRequestDataItem {
14
- 'items': Array<NetSuiteSyncInvoicesRequestDataItemItemsInner>;
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
- }
@@ -1,36 +0,0 @@
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 { NetSuiteSyncInvoicesRequestDataEntity } from '../models/NetSuiteSyncInvoicesRequestDataEntity';
13
- export declare class NetSuiteSyncInvoicesRequestDataItemItemsInner {
14
- 'item': NetSuiteSyncInvoicesRequestDataEntity;
15
- 'quantity': number;
16
- 'amount': number;
17
- 'description'?: string;
18
- 'memo'?: string;
19
- static readonly discriminator: string | undefined;
20
- static readonly mapping: {
21
- [index: string]: string;
22
- } | undefined;
23
- static readonly attributeTypeMap: Array<{
24
- name: string;
25
- baseName: string;
26
- type: string;
27
- format: string;
28
- }>;
29
- static getAttributeTypeMap(): {
30
- name: string;
31
- baseName: string;
32
- type: string;
33
- format: string;
34
- }[];
35
- constructor();
36
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * 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
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.NetSuiteSyncInvoicesRequestDataItemItemsInner = void 0;
15
- class NetSuiteSyncInvoicesRequestDataItemItemsInner {
16
- static getAttributeTypeMap() {
17
- return NetSuiteSyncInvoicesRequestDataItemItemsInner.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.NetSuiteSyncInvoicesRequestDataItemItemsInner = NetSuiteSyncInvoicesRequestDataItemItemsInner;
23
- NetSuiteSyncInvoicesRequestDataItemItemsInner.discriminator = undefined;
24
- NetSuiteSyncInvoicesRequestDataItemItemsInner.mapping = undefined;
25
- NetSuiteSyncInvoicesRequestDataItemItemsInner.attributeTypeMap = [
26
- {
27
- "name": "item",
28
- "baseName": "item",
29
- "type": "NetSuiteSyncInvoicesRequestDataEntity",
30
- "format": ""
31
- },
32
- {
33
- "name": "quantity",
34
- "baseName": "quantity",
35
- "type": "number",
36
- "format": ""
37
- },
38
- {
39
- "name": "amount",
40
- "baseName": "amount",
41
- "type": "number",
42
- "format": ""
43
- },
44
- {
45
- "name": "description",
46
- "baseName": "description",
47
- "type": "string",
48
- "format": ""
49
- },
50
- {
51
- "name": "memo",
52
- "baseName": "memo",
53
- "type": "string",
54
- "format": ""
55
- }
56
- ];
@@ -1,32 +0,0 @@
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
- export declare class NetSuiteSyncInvoicesResponse {
13
- 'recordId': string;
14
- 'tranId': string;
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
- }