vayu-ts 0.1.4 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/openapi-v2/apis/AuthenticationApi.d.ts +24 -0
  2. package/dist/openapi-v2/apis/AuthenticationApi.js +79 -0
  3. package/dist/openapi-v2/apis/CustomersApi.d.ts +76 -0
  4. package/dist/openapi-v2/apis/CustomersApi.js +295 -0
  5. package/dist/openapi-v2/apis/EventsApi.d.ts +63 -0
  6. package/dist/openapi-v2/apis/EventsApi.js +231 -0
  7. package/dist/openapi-v2/apis/InvoicesApi.d.ts +88 -0
  8. package/dist/openapi-v2/apis/InvoicesApi.js +344 -0
  9. package/dist/openapi-v2/apis/ProductsApi.d.ts +90 -0
  10. package/dist/openapi-v2/apis/ProductsApi.js +359 -0
  11. package/dist/openapi-v2/apis/baseapi.d.ts +33 -0
  12. package/dist/openapi-v2/apis/baseapi.js +41 -0
  13. package/dist/openapi-v2/apis/exception.d.ts +19 -0
  14. package/dist/openapi-v2/apis/exception.js +22 -0
  15. package/dist/openapi-v2/auth/auth.d.ts +38 -0
  16. package/dist/openapi-v2/auth/auth.js +16 -0
  17. package/dist/openapi-v2/configuration.d.ts +63 -0
  18. package/dist/openapi-v2/configuration.js +34 -0
  19. package/dist/openapi-v2/http/http.d.ts +142 -0
  20. package/dist/openapi-v2/http/http.js +229 -0
  21. package/dist/openapi-v2/http/isomorphic-fetch.d.ts +5 -0
  22. package/dist/openapi-v2/http/isomorphic-fetch.js +33 -0
  23. package/dist/openapi-v2/index.d.ts +10 -0
  24. package/dist/openapi-v2/index.js +32 -0
  25. package/dist/openapi-v2/middleware.d.ts +54 -0
  26. package/dist/openapi-v2/middleware.js +16 -0
  27. package/dist/openapi-v2/models/APICreateCustomerPayload.d.ts +45 -0
  28. package/dist/openapi-v2/models/APICreateCustomerPayload.js +49 -0
  29. package/dist/openapi-v2/models/APICreateInvoicePayload.d.ts +41 -0
  30. package/dist/openapi-v2/models/APICreateInvoicePayload.js +49 -0
  31. package/dist/openapi-v2/models/APICreateProductPayload.d.ts +39 -0
  32. package/dist/openapi-v2/models/APICreateProductPayload.js +49 -0
  33. package/dist/openapi-v2/models/APICustomer.d.ts +64 -0
  34. package/dist/openapi-v2/models/APICustomer.js +76 -0
  35. package/dist/openapi-v2/models/APIEvent.d.ts +72 -0
  36. package/dist/openapi-v2/models/APIEvent.js +88 -0
  37. package/dist/openapi-v2/models/APIIngestEventPayload.d.ts +49 -0
  38. package/dist/openapi-v2/models/APIIngestEventPayload.js +55 -0
  39. package/dist/openapi-v2/models/APIInvoice.d.ts +71 -0
  40. package/dist/openapi-v2/models/APIInvoice.js +88 -0
  41. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.d.ts +38 -0
  42. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.js +40 -0
  43. package/dist/openapi-v2/models/APIProduct.d.ts +63 -0
  44. package/dist/openapi-v2/models/APIProduct.js +82 -0
  45. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.d.ts +43 -0
  46. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.js +49 -0
  47. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.d.ts +43 -0
  48. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.js +49 -0
  49. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.d.ts +43 -0
  50. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.js +49 -0
  51. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.d.ts +43 -0
  52. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.js +49 -0
  53. package/dist/openapi-v2/models/APIUpdateCustomerPayload.d.ts +45 -0
  54. package/dist/openapi-v2/models/APIUpdateCustomerPayload.js +49 -0
  55. package/dist/openapi-v2/models/APIUpdateInvoicePayload.d.ts +41 -0
  56. package/dist/openapi-v2/models/APIUpdateInvoicePayload.js +49 -0
  57. package/dist/openapi-v2/models/APIUpdateProductPayload.d.ts +39 -0
  58. package/dist/openapi-v2/models/APIUpdateProductPayload.js +49 -0
  59. package/dist/openapi-v2/models/Aggregation.d.ts +32 -0
  60. package/dist/openapi-v2/models/Aggregation.js +43 -0
  61. package/dist/openapi-v2/models/AggregationMethods.d.ts +18 -0
  62. package/dist/openapi-v2/models/AggregationMethods.js +22 -0
  63. package/dist/openapi-v2/models/Condition.d.ts +29 -0
  64. package/dist/openapi-v2/models/Condition.js +31 -0
  65. package/dist/openapi-v2/models/Criterion.d.ts +32 -0
  66. package/dist/openapi-v2/models/Criterion.js +43 -0
  67. package/dist/openapi-v2/models/CriterionOperators.d.ts +23 -0
  68. package/dist/openapi-v2/models/CriterionOperators.js +27 -0
  69. package/dist/openapi-v2/models/CriterionValue.d.ts +27 -0
  70. package/dist/openapi-v2/models/CriterionValue.js +24 -0
  71. package/dist/openapi-v2/models/Event.d.ts +54 -0
  72. package/dist/openapi-v2/models/Event.js +85 -0
  73. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.d.ts +31 -0
  74. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.js +43 -0
  75. package/dist/openapi-v2/models/InvoiceProductBreakdown.d.ts +36 -0
  76. package/dist/openapi-v2/models/InvoiceProductBreakdown.js +46 -0
  77. package/dist/openapi-v2/models/Login200Response.d.ts +28 -0
  78. package/dist/openapi-v2/models/Login200Response.js +31 -0
  79. package/dist/openapi-v2/models/LoginRequest.d.ts +28 -0
  80. package/dist/openapi-v2/models/LoginRequest.js +31 -0
  81. package/dist/openapi-v2/models/ObjectSerializer.d.ts +64 -0
  82. package/dist/openapi-v2/models/ObjectSerializer.js +368 -0
  83. package/dist/openapi-v2/models/Pricing.d.ts +30 -0
  84. package/dist/openapi-v2/models/Pricing.js +37 -0
  85. package/dist/openapi-v2/models/PricingTiersInner.d.ts +31 -0
  86. package/dist/openapi-v2/models/PricingTiersInner.js +49 -0
  87. package/dist/openapi-v2/models/ProductBreakdown.d.ts +29 -0
  88. package/dist/openapi-v2/models/ProductBreakdown.js +37 -0
  89. package/dist/openapi-v2/models/ProductRevision.d.ts +36 -0
  90. package/dist/openapi-v2/models/ProductRevision.js +55 -0
  91. package/dist/openapi-v2/models/QueryResultAPICustomer.d.ts +40 -0
  92. package/dist/openapi-v2/models/QueryResultAPICustomer.js +43 -0
  93. package/dist/openapi-v2/models/QueryResultAPIEvent.d.ts +40 -0
  94. package/dist/openapi-v2/models/QueryResultAPIEvent.js +43 -0
  95. package/dist/openapi-v2/models/QueryResultAPIInvoice.d.ts +40 -0
  96. package/dist/openapi-v2/models/QueryResultAPIInvoice.js +43 -0
  97. package/dist/openapi-v2/models/QueryResultAPIProduct.d.ts +40 -0
  98. package/dist/openapi-v2/models/QueryResultAPIProduct.js +43 -0
  99. package/dist/openapi-v2/models/ReviseProductPayload.d.ts +37 -0
  100. package/dist/openapi-v2/models/ReviseProductPayload.js +43 -0
  101. package/dist/openapi-v2/models/UpdateEventPayload.d.ts +33 -0
  102. package/dist/openapi-v2/models/UpdateEventPayload.js +31 -0
  103. package/dist/openapi-v2/models/all.d.ts +37 -0
  104. package/dist/openapi-v2/models/all.js +53 -0
  105. package/dist/openapi-v2/rxjsStub.d.ts +10 -0
  106. package/dist/openapi-v2/rxjsStub.js +31 -0
  107. package/dist/openapi-v2/servers.d.ts +38 -0
  108. package/dist/openapi-v2/servers.js +51 -0
  109. package/dist/openapi-v2/types/ObservableAPI.d.ts +245 -0
  110. package/dist/openapi-v2/types/ObservableAPI.js +608 -0
  111. package/dist/openapi-v2/types/PromiseAPI.d.ts +234 -0
  112. package/dist/openapi-v2/types/PromiseAPI.js +354 -0
  113. package/dist/openapi-v2/util.d.ts +15 -0
  114. package/dist/openapi-v2/util.js +42 -0
  115. package/dist/sdk/services/configuration.service.js +1 -1
  116. package/dist/sdk-v2/clients/CustomersClient.d.ts +10 -0
  117. package/dist/sdk-v2/clients/CustomersClient.js +45 -0
  118. package/dist/sdk-v2/clients/EventsClient.d.ts +9 -0
  119. package/dist/sdk-v2/clients/EventsClient.js +46 -0
  120. package/dist/sdk-v2/clients/InvoicesClient.d.ts +11 -0
  121. package/dist/sdk-v2/clients/InvoicesClient.js +50 -0
  122. package/dist/sdk-v2/clients/ProductsClient.d.ts +11 -0
  123. package/dist/sdk-v2/clients/ProductsClient.js +50 -0
  124. package/dist/sdk-v2/clients/index.d.ts +4 -0
  125. package/dist/sdk-v2/clients/index.js +20 -0
  126. package/dist/sdk-v2/index.d.ts +11 -0
  127. package/dist/sdk-v2/index.js +53 -0
  128. package/dist/sdk-v2/services/configuration.service.d.ts +21 -0
  129. package/dist/sdk-v2/services/configuration.service.js +98 -0
  130. package/dist/sdk-v2/services/index.d.ts +1 -0
  131. package/dist/sdk-v2/services/index.js +17 -0
  132. package/dist/sdk-v2/types/Customers.d.ts +1 -0
  133. package/dist/sdk-v2/types/Customers.js +2 -0
  134. package/dist/sdk-v2/types/Events.d.ts +1 -0
  135. package/dist/sdk-v2/types/Events.js +2 -0
  136. package/dist/sdk-v2/types/Invoices.d.ts +1 -0
  137. package/dist/sdk-v2/types/Invoices.js +2 -0
  138. package/dist/sdk-v2/types/Products.d.ts +1 -0
  139. package/dist/sdk-v2/types/Products.js +2 -0
  140. package/dist/sdk-v2/types/index.d.ts +6 -0
  141. package/dist/sdk-v2/types/index.js +23 -0
  142. package/dist/v2.d.ts +1 -0
  143. package/dist/v2.js +17 -0
  144. package/package.json +17 -1
  145. package/dist/openapi/types/ObjectParamAPI.d.ts +0 -845
  146. package/dist/openapi/types/ObjectParamAPI.js +0 -606
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * 24k
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * OpenAPI spec version: 1.0.0
7
+ *
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.APICreateInvoicePayload = void 0;
15
+ class APICreateInvoicePayload {
16
+ static getAttributeTypeMap() {
17
+ return APICreateInvoicePayload.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.APICreateInvoicePayload = APICreateInvoicePayload;
23
+ APICreateInvoicePayload.discriminator = undefined;
24
+ APICreateInvoicePayload.attributeTypeMap = [
25
+ {
26
+ "name": "name",
27
+ "baseName": "name",
28
+ "type": "string",
29
+ "format": ""
30
+ },
31
+ {
32
+ "name": "customerId",
33
+ "baseName": "customerId",
34
+ "type": "string",
35
+ "format": ""
36
+ },
37
+ {
38
+ "name": "products",
39
+ "baseName": "products",
40
+ "type": "Array<string>",
41
+ "format": ""
42
+ },
43
+ {
44
+ "name": "billingPeriod",
45
+ "baseName": "billingPeriod",
46
+ "type": "APIInvoiceBillingPeriod",
47
+ "format": ""
48
+ }
49
+ ];
@@ -0,0 +1,39 @@
1
+ /**
2
+ * 24k
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
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 { Aggregation } from '../models/Aggregation';
13
+ import { Pricing } from '../models/Pricing';
14
+ export declare class APICreateProductPayload {
15
+ /**
16
+ * Name
17
+ */
18
+ 'name': string;
19
+ /**
20
+ * Description
21
+ */
22
+ 'description'?: string;
23
+ 'aggregation': Aggregation;
24
+ 'pricing': Pricing;
25
+ static readonly discriminator: string | undefined;
26
+ static readonly attributeTypeMap: Array<{
27
+ name: string;
28
+ baseName: string;
29
+ type: string;
30
+ format: string;
31
+ }>;
32
+ static getAttributeTypeMap(): {
33
+ name: string;
34
+ baseName: string;
35
+ type: string;
36
+ format: string;
37
+ }[];
38
+ constructor();
39
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * 24k
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * OpenAPI spec version: 1.0.0
7
+ *
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.APICreateProductPayload = void 0;
15
+ class APICreateProductPayload {
16
+ static getAttributeTypeMap() {
17
+ return APICreateProductPayload.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.APICreateProductPayload = APICreateProductPayload;
23
+ APICreateProductPayload.discriminator = undefined;
24
+ APICreateProductPayload.attributeTypeMap = [
25
+ {
26
+ "name": "name",
27
+ "baseName": "name",
28
+ "type": "string",
29
+ "format": ""
30
+ },
31
+ {
32
+ "name": "description",
33
+ "baseName": "description",
34
+ "type": "string",
35
+ "format": ""
36
+ },
37
+ {
38
+ "name": "aggregation",
39
+ "baseName": "aggregation",
40
+ "type": "Aggregation",
41
+ "format": ""
42
+ },
43
+ {
44
+ "name": "pricing",
45
+ "baseName": "pricing",
46
+ "type": "Pricing",
47
+ "format": ""
48
+ }
49
+ ];
@@ -0,0 +1,64 @@
1
+ /**
2
+ * 24k
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
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
+ * API Customer
14
+ */
15
+ export declare class APICustomer {
16
+ /**
17
+ * ID
18
+ */
19
+ 'id': string;
20
+ /**
21
+ * Name
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Account ID
26
+ */
27
+ 'accountId': string;
28
+ /**
29
+ * Aliases
30
+ */
31
+ 'aliases': Array<string>;
32
+ /**
33
+ * External ID
34
+ */
35
+ 'externalId': string;
36
+ /**
37
+ * Construct a type with a set of properties K of type T
38
+ */
39
+ 'metadata': {
40
+ [key: string]: any;
41
+ };
42
+ /**
43
+ * Created At
44
+ */
45
+ 'createdAt': string;
46
+ /**
47
+ * Updated At
48
+ */
49
+ 'updatedAt': string;
50
+ static readonly discriminator: string | undefined;
51
+ static readonly attributeTypeMap: Array<{
52
+ name: string;
53
+ baseName: string;
54
+ type: string;
55
+ format: string;
56
+ }>;
57
+ static getAttributeTypeMap(): {
58
+ name: string;
59
+ baseName: string;
60
+ type: string;
61
+ format: string;
62
+ }[];
63
+ constructor();
64
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ /**
3
+ * 24k
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * OpenAPI spec version: 1.0.0
7
+ *
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.APICustomer = void 0;
15
+ /**
16
+ * API Customer
17
+ */
18
+ class APICustomer {
19
+ static getAttributeTypeMap() {
20
+ return APICustomer.attributeTypeMap;
21
+ }
22
+ constructor() {
23
+ }
24
+ }
25
+ exports.APICustomer = APICustomer;
26
+ APICustomer.discriminator = undefined;
27
+ APICustomer.attributeTypeMap = [
28
+ {
29
+ "name": "id",
30
+ "baseName": "id",
31
+ "type": "string",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "name",
36
+ "baseName": "name",
37
+ "type": "string",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "accountId",
42
+ "baseName": "accountId",
43
+ "type": "string",
44
+ "format": ""
45
+ },
46
+ {
47
+ "name": "aliases",
48
+ "baseName": "aliases",
49
+ "type": "Array<string>",
50
+ "format": ""
51
+ },
52
+ {
53
+ "name": "externalId",
54
+ "baseName": "externalId",
55
+ "type": "string",
56
+ "format": ""
57
+ },
58
+ {
59
+ "name": "metadata",
60
+ "baseName": "metadata",
61
+ "type": "{ [key: string]: any; }",
62
+ "format": ""
63
+ },
64
+ {
65
+ "name": "createdAt",
66
+ "baseName": "createdAt",
67
+ "type": "string",
68
+ "format": "date"
69
+ },
70
+ {
71
+ "name": "updatedAt",
72
+ "baseName": "updatedAt",
73
+ "type": "string",
74
+ "format": "date"
75
+ }
76
+ ];
@@ -0,0 +1,72 @@
1
+ /**
2
+ * 24k
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
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
+ * APIEvent model
14
+ */
15
+ export declare class APIEvent {
16
+ /**
17
+ * ID
18
+ */
19
+ 'id': string;
20
+ /**
21
+ * Name
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Timestamp - When the event occurred
26
+ */
27
+ 'timestamp': number;
28
+ /**
29
+ * Construct a type with a set of properties K of type T
30
+ */
31
+ 'metadata': {
32
+ [key: string]: any;
33
+ };
34
+ /**
35
+ * Account ID
36
+ */
37
+ 'accountId': string;
38
+ /**
39
+ * Customer ID
40
+ */
41
+ 'customerId': string;
42
+ /**
43
+ * Product ID
44
+ */
45
+ 'productId': string;
46
+ /**
47
+ * Reference - unique identifier for the event
48
+ */
49
+ 'ref': string;
50
+ /**
51
+ * Created At
52
+ */
53
+ 'createdAt': string;
54
+ /**
55
+ * Updated At
56
+ */
57
+ 'updatedAt': string;
58
+ static readonly discriminator: string | undefined;
59
+ static readonly attributeTypeMap: Array<{
60
+ name: string;
61
+ baseName: string;
62
+ type: string;
63
+ format: string;
64
+ }>;
65
+ static getAttributeTypeMap(): {
66
+ name: string;
67
+ baseName: string;
68
+ type: string;
69
+ format: string;
70
+ }[];
71
+ constructor();
72
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ /**
3
+ * 24k
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * OpenAPI spec version: 1.0.0
7
+ *
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.APIEvent = void 0;
15
+ /**
16
+ * APIEvent model
17
+ */
18
+ class APIEvent {
19
+ static getAttributeTypeMap() {
20
+ return APIEvent.attributeTypeMap;
21
+ }
22
+ constructor() {
23
+ }
24
+ }
25
+ exports.APIEvent = APIEvent;
26
+ APIEvent.discriminator = undefined;
27
+ APIEvent.attributeTypeMap = [
28
+ {
29
+ "name": "id",
30
+ "baseName": "id",
31
+ "type": "string",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "name",
36
+ "baseName": "name",
37
+ "type": "string",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "timestamp",
42
+ "baseName": "timestamp",
43
+ "type": "number",
44
+ "format": "double"
45
+ },
46
+ {
47
+ "name": "metadata",
48
+ "baseName": "metadata",
49
+ "type": "{ [key: string]: any; }",
50
+ "format": ""
51
+ },
52
+ {
53
+ "name": "accountId",
54
+ "baseName": "accountId",
55
+ "type": "string",
56
+ "format": ""
57
+ },
58
+ {
59
+ "name": "customerId",
60
+ "baseName": "customerId",
61
+ "type": "string",
62
+ "format": ""
63
+ },
64
+ {
65
+ "name": "productId",
66
+ "baseName": "productId",
67
+ "type": "string",
68
+ "format": ""
69
+ },
70
+ {
71
+ "name": "ref",
72
+ "baseName": "ref",
73
+ "type": "string",
74
+ "format": ""
75
+ },
76
+ {
77
+ "name": "createdAt",
78
+ "baseName": "createdAt",
79
+ "type": "string",
80
+ "format": "date"
81
+ },
82
+ {
83
+ "name": "updatedAt",
84
+ "baseName": "updatedAt",
85
+ "type": "string",
86
+ "format": "date"
87
+ }
88
+ ];
@@ -0,0 +1,49 @@
1
+ /**
2
+ * 24k
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
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
+ export declare class APIIngestEventPayload {
13
+ /**
14
+ * Name
15
+ */
16
+ 'eventName': string;
17
+ /**
18
+ * Timestamp - When the event occurred
19
+ */
20
+ 'timestamp': number;
21
+ /**
22
+ * Customer Identifier
23
+ */
24
+ 'customerAlias': string;
25
+ /**
26
+ * Event Ref
27
+ */
28
+ 'ref': string;
29
+ /**
30
+ * Construct a type with a set of properties K of type T
31
+ */
32
+ 'data': {
33
+ [key: string]: any;
34
+ };
35
+ static readonly discriminator: string | 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
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /**
3
+ * 24k
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * OpenAPI spec version: 1.0.0
7
+ *
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.APIIngestEventPayload = void 0;
15
+ class APIIngestEventPayload {
16
+ static getAttributeTypeMap() {
17
+ return APIIngestEventPayload.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.APIIngestEventPayload = APIIngestEventPayload;
23
+ APIIngestEventPayload.discriminator = undefined;
24
+ APIIngestEventPayload.attributeTypeMap = [
25
+ {
26
+ "name": "eventName",
27
+ "baseName": "eventName",
28
+ "type": "string",
29
+ "format": ""
30
+ },
31
+ {
32
+ "name": "timestamp",
33
+ "baseName": "timestamp",
34
+ "type": "number",
35
+ "format": "double"
36
+ },
37
+ {
38
+ "name": "customerAlias",
39
+ "baseName": "customerAlias",
40
+ "type": "string",
41
+ "format": ""
42
+ },
43
+ {
44
+ "name": "ref",
45
+ "baseName": "ref",
46
+ "type": "string",
47
+ "format": ""
48
+ },
49
+ {
50
+ "name": "data",
51
+ "baseName": "data",
52
+ "type": "{ [key: string]: any; }",
53
+ "format": ""
54
+ }
55
+ ];
@@ -0,0 +1,71 @@
1
+ /**
2
+ * 24k
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * OpenAPI spec version: 1.0.0
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 { APIInvoiceBillingPeriod } from '../models/APIInvoiceBillingPeriod';
13
+ import { InvoiceProductBreakdown } from '../models/InvoiceProductBreakdown';
14
+ /**
15
+ * API Invoice
16
+ */
17
+ export declare class APIInvoice {
18
+ /**
19
+ * ID
20
+ */
21
+ 'id': string;
22
+ /**
23
+ * Name
24
+ */
25
+ 'name': string;
26
+ /**
27
+ * Account ID
28
+ */
29
+ 'accountId': string;
30
+ /**
31
+ * Customer ID
32
+ */
33
+ 'customerId': string;
34
+ /**
35
+ * Price Breakdown
36
+ */
37
+ 'price': number;
38
+ /**
39
+ * Products ids
40
+ */
41
+ 'products': Array<string>;
42
+ /**
43
+ * Price breakdown for each product
44
+ */
45
+ 'priceBreakdown': {
46
+ [key: string]: InvoiceProductBreakdown;
47
+ };
48
+ 'billingPeriod': APIInvoiceBillingPeriod;
49
+ /**
50
+ * Created At
51
+ */
52
+ 'createdAt': string;
53
+ /**
54
+ * Updated At
55
+ */
56
+ 'updatedAt': string;
57
+ static readonly discriminator: string | undefined;
58
+ static readonly attributeTypeMap: Array<{
59
+ name: string;
60
+ baseName: string;
61
+ type: string;
62
+ format: string;
63
+ }>;
64
+ static getAttributeTypeMap(): {
65
+ name: string;
66
+ baseName: string;
67
+ type: string;
68
+ format: string;
69
+ }[];
70
+ constructor();
71
+ }
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ /**
3
+ * 24k
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * OpenAPI spec version: 1.0.0
7
+ *
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.APIInvoice = void 0;
15
+ /**
16
+ * API Invoice
17
+ */
18
+ class APIInvoice {
19
+ static getAttributeTypeMap() {
20
+ return APIInvoice.attributeTypeMap;
21
+ }
22
+ constructor() {
23
+ }
24
+ }
25
+ exports.APIInvoice = APIInvoice;
26
+ APIInvoice.discriminator = undefined;
27
+ APIInvoice.attributeTypeMap = [
28
+ {
29
+ "name": "id",
30
+ "baseName": "id",
31
+ "type": "string",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "name",
36
+ "baseName": "name",
37
+ "type": "string",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "accountId",
42
+ "baseName": "accountId",
43
+ "type": "string",
44
+ "format": ""
45
+ },
46
+ {
47
+ "name": "customerId",
48
+ "baseName": "customerId",
49
+ "type": "string",
50
+ "format": ""
51
+ },
52
+ {
53
+ "name": "price",
54
+ "baseName": "price",
55
+ "type": "number",
56
+ "format": "double"
57
+ },
58
+ {
59
+ "name": "products",
60
+ "baseName": "products",
61
+ "type": "Array<string>",
62
+ "format": ""
63
+ },
64
+ {
65
+ "name": "priceBreakdown",
66
+ "baseName": "priceBreakdown",
67
+ "type": "{ [key: string]: InvoiceProductBreakdown; }",
68
+ "format": ""
69
+ },
70
+ {
71
+ "name": "billingPeriod",
72
+ "baseName": "billingPeriod",
73
+ "type": "APIInvoiceBillingPeriod",
74
+ "format": ""
75
+ },
76
+ {
77
+ "name": "createdAt",
78
+ "baseName": "createdAt",
79
+ "type": "string",
80
+ "format": "date"
81
+ },
82
+ {
83
+ "name": "updatedAt",
84
+ "baseName": "updatedAt",
85
+ "type": "string",
86
+ "format": "date"
87
+ }
88
+ ];