vayu-ts 0.2.5 → 0.2.6
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-v2/apis/CustomersApi.d.ts +15 -9
- package/dist/openapi-v2/apis/CustomersApi.js +15 -9
- package/dist/openapi-v2/apis/EntitlementsApi.d.ts +6 -3
- package/dist/openapi-v2/apis/EntitlementsApi.js +6 -3
- package/dist/openapi-v2/apis/EventsApi.d.ts +8 -4
- package/dist/openapi-v2/apis/EventsApi.js +8 -4
- package/dist/openapi-v2/apis/InvoicesApi.d.ts +13 -7
- package/dist/openapi-v2/apis/InvoicesApi.js +13 -7
- package/dist/openapi-v2/apis/ProductsApi.d.ts +11 -6
- package/dist/openapi-v2/apis/ProductsApi.js +11 -6
- package/dist/openapi-v2/models/ObjectSerializer.d.ts +1 -2
- package/dist/openapi-v2/models/ObjectSerializer.js +2 -6
- package/dist/openapi-v2/models/Pricing.d.ts +2 -0
- package/dist/openapi-v2/models/Pricing.js +6 -0
- package/dist/openapi-v2/models/PricingCadence.d.ts +18 -0
- package/dist/openapi-v2/models/PricingCadence.js +22 -0
- package/dist/openapi-v2/models/all.d.ts +1 -2
- package/dist/openapi-v2/models/all.js +1 -2
- package/dist/openapi-v2/types/ObservableAPI.d.ts +106 -58
- package/dist/openapi-v2/types/ObservableAPI.js +106 -58
- package/dist/openapi-v2/types/PromiseAPI.d.ts +106 -58
- package/dist/openapi-v2/types/PromiseAPI.js +106 -58
- package/dist/sdk-v2/types/index.d.ts +1 -1
- package/dist/sdk-v2/types/index.js +2 -1
- package/package.json +1 -1
- package/dist/openapi-v2/models/Event.d.ts +0 -54
- package/dist/openapi-v2/models/Event.js +0 -85
- package/dist/openapi-v2/models/UpdateEventPayload.d.ts +0 -33
- package/dist/openapi-v2/models/UpdateEventPayload.js +0 -31
|
@@ -13,30 +13,36 @@ import { ReviseEntitlementPayload } from '../models/ReviseEntitlementPayload';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class CustomersApiRequestFactory extends BaseAPIRequestFactory {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Create a new customer.
|
|
17
|
+
* @param aPICreateCustomerPayload - The details of the customer to create.
|
|
17
18
|
*/
|
|
18
19
|
createCustomer(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: Configuration): Promise<RequestContext>;
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
+
* Delete a customer by ID.
|
|
22
|
+
* @param id - The ID of the customer to delete.
|
|
21
23
|
*/
|
|
22
24
|
deleteCustomer(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
26
|
+
* Get a single customer by ID.
|
|
27
|
+
* @param id - The ID of the customer to fetch.
|
|
25
28
|
*/
|
|
26
29
|
getCustomer(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
27
30
|
/**
|
|
28
|
-
*
|
|
31
|
+
* Query customers based on filters and pagination.
|
|
32
|
+
* @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
|
|
29
33
|
*/
|
|
30
34
|
queryCustomers(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: Configuration): Promise<RequestContext>;
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @param
|
|
34
|
-
* @param
|
|
36
|
+
* Revise a customer\'s product.
|
|
37
|
+
* @param body - The details of the revision to apply.
|
|
38
|
+
* @param id - The ID of the customer to revise.
|
|
39
|
+
* @param productId - The ID of the product to revise.
|
|
35
40
|
*/
|
|
36
41
|
updateACustomersProduct(body: ReviseEntitlementPayload, id: string, productId: string, _options?: Configuration): Promise<RequestContext>;
|
|
37
42
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @param
|
|
43
|
+
* Update an existing customer.
|
|
44
|
+
* @param aPIUpdateCustomerPayload - The updated details of the customer.
|
|
45
|
+
* @param id - The ID of the customer to update.
|
|
40
46
|
*/
|
|
41
47
|
updateCustomer(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: Configuration): Promise<RequestContext>;
|
|
42
48
|
}
|
|
@@ -21,7 +21,8 @@ const util_1 = require("../util");
|
|
|
21
21
|
*/
|
|
22
22
|
class CustomersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Create a new customer.
|
|
25
|
+
* @param aPICreateCustomerPayload - The details of the customer to create.
|
|
25
26
|
*/
|
|
26
27
|
createCustomer(aPICreateCustomerPayload, _options) {
|
|
27
28
|
var _a, _b, _c;
|
|
@@ -51,7 +52,8 @@ class CustomersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
51
52
|
});
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* Delete a customer by ID.
|
|
56
|
+
* @param id - The ID of the customer to delete.
|
|
55
57
|
*/
|
|
56
58
|
deleteCustomer(id, _options) {
|
|
57
59
|
var _a, _b, _c;
|
|
@@ -75,7 +77,8 @@ class CustomersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
75
77
|
});
|
|
76
78
|
}
|
|
77
79
|
/**
|
|
78
|
-
*
|
|
80
|
+
* Get a single customer by ID.
|
|
81
|
+
* @param id - The ID of the customer to fetch.
|
|
79
82
|
*/
|
|
80
83
|
getCustomer(id, _options) {
|
|
81
84
|
var _a, _b, _c;
|
|
@@ -99,7 +102,8 @@ class CustomersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
99
102
|
});
|
|
100
103
|
}
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* Query customers based on filters and pagination.
|
|
106
|
+
* @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
|
|
103
107
|
*/
|
|
104
108
|
queryCustomers(aPIQueryPayloadAPICustomer, _options) {
|
|
105
109
|
var _a, _b, _c;
|
|
@@ -129,9 +133,10 @@ class CustomersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
129
133
|
});
|
|
130
134
|
}
|
|
131
135
|
/**
|
|
132
|
-
*
|
|
133
|
-
* @param
|
|
134
|
-
* @param
|
|
136
|
+
* Revise a customer\'s product.
|
|
137
|
+
* @param body - The details of the revision to apply.
|
|
138
|
+
* @param id - The ID of the customer to revise.
|
|
139
|
+
* @param productId - The ID of the product to revise.
|
|
135
140
|
*/
|
|
136
141
|
updateACustomersProduct(body, id, productId, _options) {
|
|
137
142
|
var _a, _b, _c;
|
|
@@ -171,8 +176,9 @@ class CustomersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
171
176
|
});
|
|
172
177
|
}
|
|
173
178
|
/**
|
|
174
|
-
*
|
|
175
|
-
* @param
|
|
179
|
+
* Update an existing customer.
|
|
180
|
+
* @param aPIUpdateCustomerPayload - The updated details of the customer.
|
|
181
|
+
* @param id - The ID of the customer to update.
|
|
176
182
|
*/
|
|
177
183
|
updateCustomer(aPIUpdateCustomerPayload, id, _options) {
|
|
178
184
|
var _a, _b, _c;
|
|
@@ -9,15 +9,18 @@ import { QueryResultAPIEntitlement } from '../models/QueryResultAPIEntitlement';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class EntitlementsApiRequestFactory extends BaseAPIRequestFactory {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Delete an entitlement by ID.
|
|
13
|
+
* @param id - The ID of the entitlement to delete.
|
|
13
14
|
*/
|
|
14
15
|
deleteEntitlement(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* Get a single entitlement by ID.
|
|
18
|
+
* @param id - The ID of the entitlement to fetch.
|
|
17
19
|
*/
|
|
18
20
|
getEntitlement(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
22
|
+
* Query entitlements based on filters and pagination.
|
|
23
|
+
* @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
|
|
21
24
|
*/
|
|
22
25
|
queryEntitlements(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: Configuration): Promise<RequestContext>;
|
|
23
26
|
}
|
|
@@ -21,7 +21,8 @@ const util_1 = require("../util");
|
|
|
21
21
|
*/
|
|
22
22
|
class EntitlementsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Delete an entitlement by ID.
|
|
25
|
+
* @param id - The ID of the entitlement to delete.
|
|
25
26
|
*/
|
|
26
27
|
deleteEntitlement(id, _options) {
|
|
27
28
|
var _a, _b, _c;
|
|
@@ -45,7 +46,8 @@ class EntitlementsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
+
* Get a single entitlement by ID.
|
|
50
|
+
* @param id - The ID of the entitlement to fetch.
|
|
49
51
|
*/
|
|
50
52
|
getEntitlement(id, _options) {
|
|
51
53
|
var _a, _b, _c;
|
|
@@ -69,7 +71,8 @@ class EntitlementsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
69
71
|
});
|
|
70
72
|
}
|
|
71
73
|
/**
|
|
72
|
-
*
|
|
74
|
+
* Query entitlements based on filters and pagination.
|
|
75
|
+
* @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
|
|
73
76
|
*/
|
|
74
77
|
queryEntitlements(aPIQueryPayloadAPIEntitlement, _options) {
|
|
75
78
|
var _a, _b, _c;
|
|
@@ -11,19 +11,23 @@ import { QueryResultAPIEvent } from '../models/QueryResultAPIEvent';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class EventsApiRequestFactory extends BaseAPIRequestFactory {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Delete an event by ID.
|
|
15
|
+
* @param id - The ID of the event to delete.
|
|
15
16
|
*/
|
|
16
17
|
deleteEvent(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Get a single event by ID.
|
|
20
|
+
* @param id - The ID of the event to fetch.
|
|
19
21
|
*/
|
|
20
22
|
getEvent(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* Ingest events to the system
|
|
25
|
+
* @param aPIIngestEventPayload - The events to ingest
|
|
23
26
|
*/
|
|
24
27
|
ingestEventToTheSystem(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: Configuration): Promise<RequestContext>;
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* Query events based on filters and pagination.
|
|
30
|
+
* @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
|
|
27
31
|
*/
|
|
28
32
|
queryEvents(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: Configuration): Promise<RequestContext>;
|
|
29
33
|
}
|
|
@@ -21,7 +21,8 @@ const util_1 = require("../util");
|
|
|
21
21
|
*/
|
|
22
22
|
class EventsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Delete an event by ID.
|
|
25
|
+
* @param id - The ID of the event to delete.
|
|
25
26
|
*/
|
|
26
27
|
deleteEvent(id, _options) {
|
|
27
28
|
var _a, _b, _c;
|
|
@@ -45,7 +46,8 @@ class EventsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
+
* Get a single event by ID.
|
|
50
|
+
* @param id - The ID of the event to fetch.
|
|
49
51
|
*/
|
|
50
52
|
getEvent(id, _options) {
|
|
51
53
|
var _a, _b, _c;
|
|
@@ -69,7 +71,8 @@ class EventsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
69
71
|
});
|
|
70
72
|
}
|
|
71
73
|
/**
|
|
72
|
-
*
|
|
74
|
+
* Ingest events to the system
|
|
75
|
+
* @param aPIIngestEventPayload - The events to ingest
|
|
73
76
|
*/
|
|
74
77
|
ingestEventToTheSystem(aPIIngestEventPayload, _options) {
|
|
75
78
|
var _a, _b, _c;
|
|
@@ -99,7 +102,8 @@ class EventsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
99
102
|
});
|
|
100
103
|
}
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* Query events based on filters and pagination.
|
|
106
|
+
* @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
|
|
103
107
|
*/
|
|
104
108
|
queryEvents(aPIQueryPayloadAPIEvent, _options) {
|
|
105
109
|
var _a, _b, _c;
|
|
@@ -11,28 +11,34 @@ import { QueryResultAPIInvoice } from '../models/QueryResultAPIInvoice';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class InvoicesApiRequestFactory extends BaseAPIRequestFactory {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Calculate the total of an invoice.
|
|
15
|
+
* @param id - The ID of the invoice to calculate.
|
|
15
16
|
*/
|
|
16
17
|
calculateInvoice(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Create a new invoice.
|
|
20
|
+
* @param aPICreateInvoicePayload - The details of the invoice to create.
|
|
19
21
|
*/
|
|
20
22
|
createInvoice(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: Configuration): Promise<RequestContext>;
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* Delete an invoice by ID.
|
|
25
|
+
* @param id - The ID of the invoice to delete.
|
|
23
26
|
*/
|
|
24
27
|
deleteInvoice(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* Get a single invoice by ID.
|
|
30
|
+
* @param id - The ID of the invoice to fetch.
|
|
27
31
|
*/
|
|
28
32
|
getInvoice(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
34
|
+
* Query invoices based on filters and pagination.
|
|
35
|
+
* @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
|
|
31
36
|
*/
|
|
32
37
|
queryInvoices(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: Configuration): Promise<RequestContext>;
|
|
33
38
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @param
|
|
39
|
+
* Update an existing invoice.
|
|
40
|
+
* @param aPIUpdateInvoicePayload - The updated details of the invoice.
|
|
41
|
+
* @param id - The ID of the invoice to update.
|
|
36
42
|
*/
|
|
37
43
|
updateInvoice(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: Configuration): Promise<RequestContext>;
|
|
38
44
|
}
|
|
@@ -21,7 +21,8 @@ const util_1 = require("../util");
|
|
|
21
21
|
*/
|
|
22
22
|
class InvoicesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Calculate the total of an invoice.
|
|
25
|
+
* @param id - The ID of the invoice to calculate.
|
|
25
26
|
*/
|
|
26
27
|
calculateInvoice(id, _options) {
|
|
27
28
|
var _a, _b, _c;
|
|
@@ -45,7 +46,8 @@ class InvoicesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
+
* Create a new invoice.
|
|
50
|
+
* @param aPICreateInvoicePayload - The details of the invoice to create.
|
|
49
51
|
*/
|
|
50
52
|
createInvoice(aPICreateInvoicePayload, _options) {
|
|
51
53
|
var _a, _b, _c;
|
|
@@ -75,7 +77,8 @@ class InvoicesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
75
77
|
});
|
|
76
78
|
}
|
|
77
79
|
/**
|
|
78
|
-
*
|
|
80
|
+
* Delete an invoice by ID.
|
|
81
|
+
* @param id - The ID of the invoice to delete.
|
|
79
82
|
*/
|
|
80
83
|
deleteInvoice(id, _options) {
|
|
81
84
|
var _a, _b, _c;
|
|
@@ -99,7 +102,8 @@ class InvoicesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
99
102
|
});
|
|
100
103
|
}
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* Get a single invoice by ID.
|
|
106
|
+
* @param id - The ID of the invoice to fetch.
|
|
103
107
|
*/
|
|
104
108
|
getInvoice(id, _options) {
|
|
105
109
|
var _a, _b, _c;
|
|
@@ -123,7 +127,8 @@ class InvoicesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
123
127
|
});
|
|
124
128
|
}
|
|
125
129
|
/**
|
|
126
|
-
*
|
|
130
|
+
* Query invoices based on filters and pagination.
|
|
131
|
+
* @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
|
|
127
132
|
*/
|
|
128
133
|
queryInvoices(aPIQueryPayloadAPIInvoice, _options) {
|
|
129
134
|
var _a, _b, _c;
|
|
@@ -153,8 +158,9 @@ class InvoicesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
153
158
|
});
|
|
154
159
|
}
|
|
155
160
|
/**
|
|
156
|
-
*
|
|
157
|
-
* @param
|
|
161
|
+
* Update an existing invoice.
|
|
162
|
+
* @param aPIUpdateInvoicePayload - The updated details of the invoice.
|
|
163
|
+
* @param id - The ID of the invoice to update.
|
|
158
164
|
*/
|
|
159
165
|
updateInvoice(aPIUpdateInvoicePayload, id, _options) {
|
|
160
166
|
var _a, _b, _c;
|
|
@@ -11,24 +11,29 @@ import { QueryResultAPIProduct } from '../models/QueryResultAPIProduct';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class ProductsApiRequestFactory extends BaseAPIRequestFactory {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Create a new product.
|
|
15
|
+
* @param aPICreateProductPayload - The details of the product to create.
|
|
15
16
|
*/
|
|
16
17
|
createProduct(aPICreateProductPayload: APICreateProductPayload, _options?: Configuration): Promise<RequestContext>;
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Delete a product by ID.
|
|
20
|
+
* @param id - The ID of the product to delete.
|
|
19
21
|
*/
|
|
20
22
|
deleteProduct(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* Get a single product by ID.
|
|
25
|
+
* @param id - The ID of the product to fetch.
|
|
23
26
|
*/
|
|
24
27
|
getProduct(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* Query products based on filters and pagination.
|
|
30
|
+
* @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
|
|
27
31
|
*/
|
|
28
32
|
queryProducts(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: Configuration): Promise<RequestContext>;
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @param
|
|
34
|
+
* Update an existing product.
|
|
35
|
+
* @param aPIUpdateProductPayload - The updated details of the product.
|
|
36
|
+
* @param id - The ID of the product to update.
|
|
32
37
|
*/
|
|
33
38
|
updateProduct(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: Configuration): Promise<RequestContext>;
|
|
34
39
|
}
|
|
@@ -21,7 +21,8 @@ const util_1 = require("../util");
|
|
|
21
21
|
*/
|
|
22
22
|
class ProductsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Create a new product.
|
|
25
|
+
* @param aPICreateProductPayload - The details of the product to create.
|
|
25
26
|
*/
|
|
26
27
|
createProduct(aPICreateProductPayload, _options) {
|
|
27
28
|
var _a, _b, _c;
|
|
@@ -51,7 +52,8 @@ class ProductsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
51
52
|
});
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* Delete a product by ID.
|
|
56
|
+
* @param id - The ID of the product to delete.
|
|
55
57
|
*/
|
|
56
58
|
deleteProduct(id, _options) {
|
|
57
59
|
var _a, _b, _c;
|
|
@@ -75,7 +77,8 @@ class ProductsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
75
77
|
});
|
|
76
78
|
}
|
|
77
79
|
/**
|
|
78
|
-
*
|
|
80
|
+
* Get a single product by ID.
|
|
81
|
+
* @param id - The ID of the product to fetch.
|
|
79
82
|
*/
|
|
80
83
|
getProduct(id, _options) {
|
|
81
84
|
var _a, _b, _c;
|
|
@@ -99,7 +102,8 @@ class ProductsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
99
102
|
});
|
|
100
103
|
}
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* Query products based on filters and pagination.
|
|
106
|
+
* @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
|
|
103
107
|
*/
|
|
104
108
|
queryProducts(aPIQueryPayloadAPIProduct, _options) {
|
|
105
109
|
var _a, _b, _c;
|
|
@@ -129,8 +133,9 @@ class ProductsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
129
133
|
});
|
|
130
134
|
}
|
|
131
135
|
/**
|
|
132
|
-
*
|
|
133
|
-
* @param
|
|
136
|
+
* Update an existing product.
|
|
137
|
+
* @param aPIUpdateProductPayload - The updated details of the product.
|
|
138
|
+
* @param id - The ID of the product to update.
|
|
134
139
|
*/
|
|
135
140
|
updateProduct(aPIUpdateProductPayload, id, _options) {
|
|
136
141
|
var _a, _b, _c;
|
|
@@ -23,12 +23,12 @@ export * from '../models/Criterion';
|
|
|
23
23
|
export * from '../models/CriterionOperators';
|
|
24
24
|
export * from '../models/CriterionValue';
|
|
25
25
|
export * from '../models/EntitlementRevision';
|
|
26
|
-
export * from '../models/Event';
|
|
27
26
|
export * from '../models/IngestEventToTheSystem201Response';
|
|
28
27
|
export * from '../models/InvoiceProductBreakdown';
|
|
29
28
|
export * from '../models/Login200Response';
|
|
30
29
|
export * from '../models/LoginRequest';
|
|
31
30
|
export * from '../models/Pricing';
|
|
31
|
+
export * from '../models/PricingCadence';
|
|
32
32
|
export * from '../models/PricingTiersInner';
|
|
33
33
|
export * from '../models/ProductBreakdown';
|
|
34
34
|
export * from '../models/QueryResultAPICustomer';
|
|
@@ -37,7 +37,6 @@ export * from '../models/QueryResultAPIEvent';
|
|
|
37
37
|
export * from '../models/QueryResultAPIInvoice';
|
|
38
38
|
export * from '../models/QueryResultAPIProduct';
|
|
39
39
|
export * from '../models/ReviseEntitlementPayload';
|
|
40
|
-
export * from '../models/UpdateEventPayload';
|
|
41
40
|
export declare class ObjectSerializer {
|
|
42
41
|
static findCorrectType(data: any, expectedType: string): any;
|
|
43
42
|
static serialize(data: any, type: string, format: string): any;
|
|
@@ -40,12 +40,12 @@ __exportStar(require("../models/Criterion"), exports);
|
|
|
40
40
|
__exportStar(require("../models/CriterionOperators"), exports);
|
|
41
41
|
__exportStar(require("../models/CriterionValue"), exports);
|
|
42
42
|
__exportStar(require("../models/EntitlementRevision"), exports);
|
|
43
|
-
__exportStar(require("../models/Event"), exports);
|
|
44
43
|
__exportStar(require("../models/IngestEventToTheSystem201Response"), exports);
|
|
45
44
|
__exportStar(require("../models/InvoiceProductBreakdown"), exports);
|
|
46
45
|
__exportStar(require("../models/Login200Response"), exports);
|
|
47
46
|
__exportStar(require("../models/LoginRequest"), exports);
|
|
48
47
|
__exportStar(require("../models/Pricing"), exports);
|
|
48
|
+
__exportStar(require("../models/PricingCadence"), exports);
|
|
49
49
|
__exportStar(require("../models/PricingTiersInner"), exports);
|
|
50
50
|
__exportStar(require("../models/ProductBreakdown"), exports);
|
|
51
51
|
__exportStar(require("../models/QueryResultAPICustomer"), exports);
|
|
@@ -54,7 +54,6 @@ __exportStar(require("../models/QueryResultAPIEvent"), exports);
|
|
|
54
54
|
__exportStar(require("../models/QueryResultAPIInvoice"), exports);
|
|
55
55
|
__exportStar(require("../models/QueryResultAPIProduct"), exports);
|
|
56
56
|
__exportStar(require("../models/ReviseEntitlementPayload"), exports);
|
|
57
|
-
__exportStar(require("../models/UpdateEventPayload"), exports);
|
|
58
57
|
const APICreateCustomerPayload_1 = require("../models/APICreateCustomerPayload");
|
|
59
58
|
const APICreateInvoicePayload_1 = require("../models/APICreateInvoicePayload");
|
|
60
59
|
const APICreateProductPayload_1 = require("../models/APICreateProductPayload");
|
|
@@ -78,7 +77,6 @@ const Condition_1 = require("../models/Condition");
|
|
|
78
77
|
const Criterion_1 = require("../models/Criterion");
|
|
79
78
|
const CriterionValue_1 = require("../models/CriterionValue");
|
|
80
79
|
const EntitlementRevision_1 = require("../models/EntitlementRevision");
|
|
81
|
-
const Event_1 = require("../models/Event");
|
|
82
80
|
const IngestEventToTheSystem201Response_1 = require("../models/IngestEventToTheSystem201Response");
|
|
83
81
|
const InvoiceProductBreakdown_1 = require("../models/InvoiceProductBreakdown");
|
|
84
82
|
const Login200Response_1 = require("../models/Login200Response");
|
|
@@ -92,7 +90,6 @@ const QueryResultAPIEvent_1 = require("../models/QueryResultAPIEvent");
|
|
|
92
90
|
const QueryResultAPIInvoice_1 = require("../models/QueryResultAPIInvoice");
|
|
93
91
|
const QueryResultAPIProduct_1 = require("../models/QueryResultAPIProduct");
|
|
94
92
|
const ReviseEntitlementPayload_1 = require("../models/ReviseEntitlementPayload");
|
|
95
|
-
const UpdateEventPayload_1 = require("../models/UpdateEventPayload");
|
|
96
93
|
/* tslint:disable:no-unused-variable */
|
|
97
94
|
let primitives = [
|
|
98
95
|
"string",
|
|
@@ -107,6 +104,7 @@ let primitives = [
|
|
|
107
104
|
let enumsMap = new Set([
|
|
108
105
|
"AggregationMethods",
|
|
109
106
|
"CriterionOperators",
|
|
107
|
+
"PricingCadence",
|
|
110
108
|
]);
|
|
111
109
|
let typeMap = {
|
|
112
110
|
"APICreateCustomerPayload": APICreateCustomerPayload_1.APICreateCustomerPayload,
|
|
@@ -132,7 +130,6 @@ let typeMap = {
|
|
|
132
130
|
"Criterion": Criterion_1.Criterion,
|
|
133
131
|
"CriterionValue": CriterionValue_1.CriterionValue,
|
|
134
132
|
"EntitlementRevision": EntitlementRevision_1.EntitlementRevision,
|
|
135
|
-
"Event": Event_1.Event,
|
|
136
133
|
"IngestEventToTheSystem201Response": IngestEventToTheSystem201Response_1.IngestEventToTheSystem201Response,
|
|
137
134
|
"InvoiceProductBreakdown": InvoiceProductBreakdown_1.InvoiceProductBreakdown,
|
|
138
135
|
"Login200Response": Login200Response_1.Login200Response,
|
|
@@ -146,7 +143,6 @@ let typeMap = {
|
|
|
146
143
|
"QueryResultAPIInvoice": QueryResultAPIInvoice_1.QueryResultAPIInvoice,
|
|
147
144
|
"QueryResultAPIProduct": QueryResultAPIProduct_1.QueryResultAPIProduct,
|
|
148
145
|
"ReviseEntitlementPayload": ReviseEntitlementPayload_1.ReviseEntitlementPayload,
|
|
149
|
-
"UpdateEventPayload": UpdateEventPayload_1.UpdateEventPayload,
|
|
150
146
|
};
|
|
151
147
|
/**
|
|
152
148
|
* Every mime-type consists of a type, subtype, and optional parameters.
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PricingCadence } from '../models/PricingCadence';
|
|
12
13
|
import { PricingTiersInner } from '../models/PricingTiersInner';
|
|
13
14
|
export declare class Pricing {
|
|
14
15
|
'commitment'?: number;
|
|
15
16
|
'tiers': Array<PricingTiersInner>;
|
|
17
|
+
'cadence'?: PricingCadence;
|
|
16
18
|
static readonly discriminator: string | undefined;
|
|
17
19
|
static readonly attributeTypeMap: Array<{
|
|
18
20
|
name: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 enum PricingCadence {
|
|
13
|
+
Monthly = "Monthly",
|
|
14
|
+
Quarterly = "Quarterly",
|
|
15
|
+
BiMonthly = "BiMonthly",
|
|
16
|
+
SixMonths = "SixMonths",
|
|
17
|
+
Yearly = "Yearly"
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.PricingCadence = void 0;
|
|
15
|
+
var PricingCadence;
|
|
16
|
+
(function (PricingCadence) {
|
|
17
|
+
PricingCadence["Monthly"] = "Monthly";
|
|
18
|
+
PricingCadence["Quarterly"] = "Quarterly";
|
|
19
|
+
PricingCadence["BiMonthly"] = "BiMonthly";
|
|
20
|
+
PricingCadence["SixMonths"] = "SixMonths";
|
|
21
|
+
PricingCadence["Yearly"] = "Yearly";
|
|
22
|
+
})(PricingCadence = exports.PricingCadence || (exports.PricingCadence = {}));
|
|
@@ -23,12 +23,12 @@ export * from '../models/Criterion';
|
|
|
23
23
|
export * from '../models/CriterionOperators';
|
|
24
24
|
export * from '../models/CriterionValue';
|
|
25
25
|
export * from '../models/EntitlementRevision';
|
|
26
|
-
export * from '../models/Event';
|
|
27
26
|
export * from '../models/IngestEventToTheSystem201Response';
|
|
28
27
|
export * from '../models/InvoiceProductBreakdown';
|
|
29
28
|
export * from '../models/Login200Response';
|
|
30
29
|
export * from '../models/LoginRequest';
|
|
31
30
|
export * from '../models/Pricing';
|
|
31
|
+
export * from '../models/PricingCadence';
|
|
32
32
|
export * from '../models/PricingTiersInner';
|
|
33
33
|
export * from '../models/ProductBreakdown';
|
|
34
34
|
export * from '../models/QueryResultAPICustomer';
|
|
@@ -37,4 +37,3 @@ export * from '../models/QueryResultAPIEvent';
|
|
|
37
37
|
export * from '../models/QueryResultAPIInvoice';
|
|
38
38
|
export * from '../models/QueryResultAPIProduct';
|
|
39
39
|
export * from '../models/ReviseEntitlementPayload';
|
|
40
|
-
export * from '../models/UpdateEventPayload';
|
|
@@ -39,12 +39,12 @@ __exportStar(require("../models/Criterion"), exports);
|
|
|
39
39
|
__exportStar(require("../models/CriterionOperators"), exports);
|
|
40
40
|
__exportStar(require("../models/CriterionValue"), exports);
|
|
41
41
|
__exportStar(require("../models/EntitlementRevision"), exports);
|
|
42
|
-
__exportStar(require("../models/Event"), exports);
|
|
43
42
|
__exportStar(require("../models/IngestEventToTheSystem201Response"), exports);
|
|
44
43
|
__exportStar(require("../models/InvoiceProductBreakdown"), exports);
|
|
45
44
|
__exportStar(require("../models/Login200Response"), exports);
|
|
46
45
|
__exportStar(require("../models/LoginRequest"), exports);
|
|
47
46
|
__exportStar(require("../models/Pricing"), exports);
|
|
47
|
+
__exportStar(require("../models/PricingCadence"), exports);
|
|
48
48
|
__exportStar(require("../models/PricingTiersInner"), exports);
|
|
49
49
|
__exportStar(require("../models/ProductBreakdown"), exports);
|
|
50
50
|
__exportStar(require("../models/QueryResultAPICustomer"), exports);
|
|
@@ -53,4 +53,3 @@ __exportStar(require("../models/QueryResultAPIEvent"), exports);
|
|
|
53
53
|
__exportStar(require("../models/QueryResultAPIInvoice"), exports);
|
|
54
54
|
__exportStar(require("../models/QueryResultAPIProduct"), exports);
|
|
55
55
|
__exportStar(require("../models/ReviseEntitlementPayload"), exports);
|
|
56
|
-
__exportStar(require("../models/UpdateEventPayload"), exports);
|