vayu-ts 0.1.4 → 0.2.3

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 (158) 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 +92 -0
  4. package/dist/openapi-v2/apis/CustomersApi.js +362 -0
  5. package/dist/openapi-v2/apis/EntitlementsApi.d.ts +49 -0
  6. package/dist/openapi-v2/apis/EntitlementsApi.js +176 -0
  7. package/dist/openapi-v2/apis/EventsApi.d.ts +63 -0
  8. package/dist/openapi-v2/apis/EventsApi.js +231 -0
  9. package/dist/openapi-v2/apis/InvoicesApi.d.ts +88 -0
  10. package/dist/openapi-v2/apis/InvoicesApi.js +344 -0
  11. package/dist/openapi-v2/apis/ProductsApi.d.ts +76 -0
  12. package/dist/openapi-v2/apis/ProductsApi.js +295 -0
  13. package/dist/openapi-v2/apis/baseapi.d.ts +33 -0
  14. package/dist/openapi-v2/apis/baseapi.js +41 -0
  15. package/dist/openapi-v2/apis/exception.d.ts +19 -0
  16. package/dist/openapi-v2/apis/exception.js +22 -0
  17. package/dist/openapi-v2/auth/auth.d.ts +38 -0
  18. package/dist/openapi-v2/auth/auth.js +16 -0
  19. package/dist/openapi-v2/configuration.d.ts +63 -0
  20. package/dist/openapi-v2/configuration.js +34 -0
  21. package/dist/openapi-v2/http/http.d.ts +142 -0
  22. package/dist/openapi-v2/http/http.js +229 -0
  23. package/dist/openapi-v2/http/isomorphic-fetch.d.ts +5 -0
  24. package/dist/openapi-v2/http/isomorphic-fetch.js +33 -0
  25. package/dist/openapi-v2/index.d.ts +10 -0
  26. package/dist/openapi-v2/index.js +33 -0
  27. package/dist/openapi-v2/middleware.d.ts +54 -0
  28. package/dist/openapi-v2/middleware.js +16 -0
  29. package/dist/openapi-v2/models/APICreateCustomerPayload.d.ts +45 -0
  30. package/dist/openapi-v2/models/APICreateCustomerPayload.js +49 -0
  31. package/dist/openapi-v2/models/APICreateInvoicePayload.d.ts +41 -0
  32. package/dist/openapi-v2/models/APICreateInvoicePayload.js +49 -0
  33. package/dist/openapi-v2/models/APICreateProductPayload.d.ts +43 -0
  34. package/dist/openapi-v2/models/APICreateProductPayload.js +55 -0
  35. package/dist/openapi-v2/models/APICustomer.d.ts +64 -0
  36. package/dist/openapi-v2/models/APICustomer.js +76 -0
  37. package/dist/openapi-v2/models/APIEntitlement.d.ts +56 -0
  38. package/dist/openapi-v2/models/APIEntitlement.js +79 -0
  39. package/dist/openapi-v2/models/APIEvent.d.ts +72 -0
  40. package/dist/openapi-v2/models/APIEvent.js +88 -0
  41. package/dist/openapi-v2/models/APIIngestEventPayload.d.ts +49 -0
  42. package/dist/openapi-v2/models/APIIngestEventPayload.js +55 -0
  43. package/dist/openapi-v2/models/APIInvoice.d.ts +71 -0
  44. package/dist/openapi-v2/models/APIInvoice.js +88 -0
  45. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.d.ts +38 -0
  46. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.js +40 -0
  47. package/dist/openapi-v2/models/APIProduct.d.ts +62 -0
  48. package/dist/openapi-v2/models/APIProduct.js +82 -0
  49. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.d.ts +43 -0
  50. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.js +49 -0
  51. package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.d.ts +43 -0
  52. package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.js +49 -0
  53. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.d.ts +43 -0
  54. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.js +49 -0
  55. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.d.ts +43 -0
  56. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.js +49 -0
  57. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.d.ts +43 -0
  58. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.js +49 -0
  59. package/dist/openapi-v2/models/APIUpdateCustomerPayload.d.ts +45 -0
  60. package/dist/openapi-v2/models/APIUpdateCustomerPayload.js +49 -0
  61. package/dist/openapi-v2/models/APIUpdateInvoicePayload.d.ts +41 -0
  62. package/dist/openapi-v2/models/APIUpdateInvoicePayload.js +49 -0
  63. package/dist/openapi-v2/models/APIUpdateProductPayload.d.ts +43 -0
  64. package/dist/openapi-v2/models/APIUpdateProductPayload.js +55 -0
  65. package/dist/openapi-v2/models/Aggregation.d.ts +32 -0
  66. package/dist/openapi-v2/models/Aggregation.js +43 -0
  67. package/dist/openapi-v2/models/AggregationMethods.d.ts +18 -0
  68. package/dist/openapi-v2/models/AggregationMethods.js +22 -0
  69. package/dist/openapi-v2/models/Condition.d.ts +29 -0
  70. package/dist/openapi-v2/models/Condition.js +31 -0
  71. package/dist/openapi-v2/models/Criterion.d.ts +32 -0
  72. package/dist/openapi-v2/models/Criterion.js +43 -0
  73. package/dist/openapi-v2/models/CriterionOperators.d.ts +23 -0
  74. package/dist/openapi-v2/models/CriterionOperators.js +27 -0
  75. package/dist/openapi-v2/models/CriterionValue.d.ts +27 -0
  76. package/dist/openapi-v2/models/CriterionValue.js +24 -0
  77. package/dist/openapi-v2/models/EntitlementRevision.d.ts +36 -0
  78. package/dist/openapi-v2/models/EntitlementRevision.js +55 -0
  79. package/dist/openapi-v2/models/Event.d.ts +54 -0
  80. package/dist/openapi-v2/models/Event.js +85 -0
  81. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.d.ts +31 -0
  82. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.js +43 -0
  83. package/dist/openapi-v2/models/InvoiceProductBreakdown.d.ts +36 -0
  84. package/dist/openapi-v2/models/InvoiceProductBreakdown.js +46 -0
  85. package/dist/openapi-v2/models/Login200Response.d.ts +28 -0
  86. package/dist/openapi-v2/models/Login200Response.js +31 -0
  87. package/dist/openapi-v2/models/LoginRequest.d.ts +28 -0
  88. package/dist/openapi-v2/models/LoginRequest.js +31 -0
  89. package/dist/openapi-v2/models/ObjectSerializer.d.ts +67 -0
  90. package/dist/openapi-v2/models/ObjectSerializer.js +377 -0
  91. package/dist/openapi-v2/models/Pricing.d.ts +30 -0
  92. package/dist/openapi-v2/models/Pricing.js +37 -0
  93. package/dist/openapi-v2/models/PricingTiersInner.d.ts +31 -0
  94. package/dist/openapi-v2/models/PricingTiersInner.js +49 -0
  95. package/dist/openapi-v2/models/ProductBreakdown.d.ts +29 -0
  96. package/dist/openapi-v2/models/ProductBreakdown.js +37 -0
  97. package/dist/openapi-v2/models/QueryResultAPICustomer.d.ts +40 -0
  98. package/dist/openapi-v2/models/QueryResultAPICustomer.js +43 -0
  99. package/dist/openapi-v2/models/QueryResultAPIEntitlement.d.ts +40 -0
  100. package/dist/openapi-v2/models/QueryResultAPIEntitlement.js +43 -0
  101. package/dist/openapi-v2/models/QueryResultAPIEvent.d.ts +40 -0
  102. package/dist/openapi-v2/models/QueryResultAPIEvent.js +43 -0
  103. package/dist/openapi-v2/models/QueryResultAPIInvoice.d.ts +40 -0
  104. package/dist/openapi-v2/models/QueryResultAPIInvoice.js +43 -0
  105. package/dist/openapi-v2/models/QueryResultAPIProduct.d.ts +40 -0
  106. package/dist/openapi-v2/models/QueryResultAPIProduct.js +43 -0
  107. package/dist/openapi-v2/models/ReviseEntitlementPayload.d.ts +37 -0
  108. package/dist/openapi-v2/models/ReviseEntitlementPayload.js +43 -0
  109. package/dist/openapi-v2/models/UpdateEventPayload.d.ts +33 -0
  110. package/dist/openapi-v2/models/UpdateEventPayload.js +31 -0
  111. package/dist/openapi-v2/models/all.d.ts +40 -0
  112. package/dist/openapi-v2/models/all.js +56 -0
  113. package/dist/openapi-v2/rxjsStub.d.ts +10 -0
  114. package/dist/openapi-v2/rxjsStub.js +31 -0
  115. package/dist/openapi-v2/servers.d.ts +38 -0
  116. package/dist/openapi-v2/servers.js +51 -0
  117. package/dist/openapi-v2/types/ObservableAPI.d.ts +281 -0
  118. package/dist/openapi-v2/types/ObservableAPI.js +694 -0
  119. package/dist/openapi-v2/types/PromiseAPI.d.ts +268 -0
  120. package/dist/openapi-v2/types/PromiseAPI.js +405 -0
  121. package/dist/openapi-v2/util.d.ts +15 -0
  122. package/dist/openapi-v2/util.js +42 -0
  123. package/dist/sdk/services/configuration.service.js +1 -1
  124. package/dist/sdk-v2/clients/CustomersClient.d.ts +11 -0
  125. package/dist/sdk-v2/clients/CustomersClient.js +50 -0
  126. package/dist/sdk-v2/clients/EntitlementsClient.d.ts +8 -0
  127. package/dist/sdk-v2/clients/EntitlementsClient.js +35 -0
  128. package/dist/sdk-v2/clients/EventsClient.d.ts +9 -0
  129. package/dist/sdk-v2/clients/EventsClient.js +40 -0
  130. package/dist/sdk-v2/clients/InvoicesClient.d.ts +11 -0
  131. package/dist/sdk-v2/clients/InvoicesClient.js +50 -0
  132. package/dist/sdk-v2/clients/ProductsClient.d.ts +10 -0
  133. package/dist/sdk-v2/clients/ProductsClient.js +45 -0
  134. package/dist/sdk-v2/clients/index.d.ts +4 -0
  135. package/dist/sdk-v2/clients/index.js +20 -0
  136. package/dist/sdk-v2/index.d.ts +11 -0
  137. package/dist/sdk-v2/index.js +53 -0
  138. package/dist/sdk-v2/services/configuration.service.d.ts +21 -0
  139. package/dist/sdk-v2/services/configuration.service.js +98 -0
  140. package/dist/sdk-v2/services/index.d.ts +1 -0
  141. package/dist/sdk-v2/services/index.js +17 -0
  142. package/dist/sdk-v2/types/Customers.d.ts +1 -0
  143. package/dist/sdk-v2/types/Customers.js +2 -0
  144. package/dist/sdk-v2/types/Entitlements.d.ts +1 -0
  145. package/dist/sdk-v2/types/Entitlements.js +2 -0
  146. package/dist/sdk-v2/types/Events.d.ts +1 -0
  147. package/dist/sdk-v2/types/Events.js +2 -0
  148. package/dist/sdk-v2/types/Invoices.d.ts +1 -0
  149. package/dist/sdk-v2/types/Invoices.js +2 -0
  150. package/dist/sdk-v2/types/Products.d.ts +1 -0
  151. package/dist/sdk-v2/types/Products.js +2 -0
  152. package/dist/sdk-v2/types/index.d.ts +6 -0
  153. package/dist/sdk-v2/types/index.js +24 -0
  154. package/dist/v2.d.ts +1 -0
  155. package/dist/v2.js +17 -0
  156. package/package.json +17 -1
  157. package/dist/openapi/types/ObjectParamAPI.d.ts +0 -845
  158. package/dist/openapi/types/ObjectParamAPI.js +0 -606
@@ -1,845 +0,0 @@
1
- import { HttpInfo } from '../http/http';
2
- import { Configuration } from '../configuration';
3
- import { CreateContractRequest } from '../models/CreateContractRequest';
4
- import { CreateContractResponse } from '../models/CreateContractResponse';
5
- import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
6
- import { CreateCustomerResponse } from '../models/CreateCustomerResponse';
7
- import { DeductCreditsRequest } from '../models/DeductCreditsRequest';
8
- import { DeleteContractResponse } from '../models/DeleteContractResponse';
9
- import { DeleteCustomerResponse } from '../models/DeleteCustomerResponse';
10
- import { DeleteEventResponse } from '../models/DeleteEventResponse';
11
- import { DeleteMeterResponse } from '../models/DeleteMeterResponse';
12
- import { DeletePlanResponse } from '../models/DeletePlanResponse';
13
- import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
14
- import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
15
- import { GetCommitmentReportResponse } from '../models/GetCommitmentReportResponse';
16
- import { GetContractResponse } from '../models/GetContractResponse';
17
- import { GetCustomerResponse } from '../models/GetCustomerResponse';
18
- import { GetEventResponse } from '../models/GetEventResponse';
19
- import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
20
- import { GetMeterResponse } from '../models/GetMeterResponse';
21
- import { GetPlanResponse } from '../models/GetPlanResponse';
22
- import { GetProductsUsageReportResponse } from '../models/GetProductsUsageReportResponse';
23
- import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
24
- import { ListContractsResponse } from '../models/ListContractsResponse';
25
- import { ListCreditLedgerEntriesResponse } from '../models/ListCreditLedgerEntriesResponse';
26
- import { ListCustomersResponse } from '../models/ListCustomersResponse';
27
- import { ListInvoicesResponse } from '../models/ListInvoicesResponse';
28
- import { ListMetersResponse } from '../models/ListMetersResponse';
29
- import { ListPlansResponse } from '../models/ListPlansResponse';
30
- import { LoginRequest } from '../models/LoginRequest';
31
- import { LoginResponse } from '../models/LoginResponse';
32
- import { NetSuiteExportSalesOrderRequest } from '../models/NetSuiteExportSalesOrderRequest';
33
- import { NetSuiteSyncInvoicesRequest } from '../models/NetSuiteSyncInvoicesRequest';
34
- import { NetSuiteSyncInvoicesResponse } from '../models/NetSuiteSyncInvoicesResponse';
35
- import { QueryEventsResponse } from '../models/QueryEventsResponse';
36
- import { SendEventsRequest } from '../models/SendEventsRequest';
37
- import { SendEventsResponse } from '../models/SendEventsResponse';
38
- import { UpdateCustomerRequest } from '../models/UpdateCustomerRequest';
39
- import { UpdateCustomerResponse } from '../models/UpdateCustomerResponse';
40
- import { UpdateMeterRequest } from '../models/UpdateMeterRequest';
41
- import { UpdateMeterResponse } from '../models/UpdateMeterResponse';
42
- import { WebhookSubscribeRequest } from '../models/WebhookSubscribeRequest';
43
- import { AuthApiRequestFactory, AuthApiResponseProcessor } from "../apis/AuthApi";
44
- export interface AuthApiLoginRequest {
45
- /**
46
- *
47
- * @type LoginRequest
48
- * @memberof AuthApilogin
49
- */
50
- loginRequest: LoginRequest;
51
- }
52
- export declare class ObjectAuthApi {
53
- private api;
54
- constructor(configuration: Configuration, requestFactory?: AuthApiRequestFactory, responseProcessor?: AuthApiResponseProcessor);
55
- /**
56
- * This endpoint is designed to acquire a temporary access token. Submit the auth token in the request body to obtain a new access token. Use this new token for subsequent API calls. Token is set to expire every hour.
57
- * Login by obtaining a new access token
58
- * @param param the request object
59
- */
60
- loginWithHttpInfo(param: AuthApiLoginRequest, options?: Configuration): Promise<HttpInfo<LoginResponse>>;
61
- /**
62
- * This endpoint is designed to acquire a temporary access token. Submit the auth token in the request body to obtain a new access token. Use this new token for subsequent API calls. Token is set to expire every hour.
63
- * Login by obtaining a new access token
64
- * @param param the request object
65
- */
66
- login(param: AuthApiLoginRequest, options?: Configuration): Promise<LoginResponse>;
67
- }
68
- import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
69
- export interface ContractsApiCreateContractRequest {
70
- /**
71
- *
72
- * @type CreateContractRequest
73
- * @memberof ContractsApicreateContract
74
- */
75
- createContractRequest: CreateContractRequest;
76
- }
77
- export interface ContractsApiDeleteContractRequest {
78
- /**
79
- *
80
- * @type string
81
- * @memberof ContractsApideleteContract
82
- */
83
- contractId: string;
84
- }
85
- export interface ContractsApiGetContractRequest {
86
- /**
87
- *
88
- * @type string
89
- * @memberof ContractsApigetContract
90
- */
91
- contractId: string;
92
- }
93
- export interface ContractsApiListContractsRequest {
94
- /**
95
- *
96
- * @type number
97
- * @memberof ContractsApilistContracts
98
- */
99
- limit?: number;
100
- /**
101
- *
102
- * @type string
103
- * @memberof ContractsApilistContracts
104
- */
105
- cursor?: string;
106
- }
107
- export declare class ObjectContractsApi {
108
- private api;
109
- constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
110
- /**
111
- * Create a new Contract.
112
- * Create Contract
113
- * @param param the request object
114
- */
115
- createContractWithHttpInfo(param: ContractsApiCreateContractRequest, options?: Configuration): Promise<HttpInfo<CreateContractResponse>>;
116
- /**
117
- * Create a new Contract.
118
- * Create Contract
119
- * @param param the request object
120
- */
121
- createContract(param: ContractsApiCreateContractRequest, options?: Configuration): Promise<CreateContractResponse>;
122
- /**
123
- * Delete a Contract by id.
124
- * Delete Contract
125
- * @param param the request object
126
- */
127
- deleteContractWithHttpInfo(param: ContractsApiDeleteContractRequest, options?: Configuration): Promise<HttpInfo<DeleteContractResponse>>;
128
- /**
129
- * Delete a Contract by id.
130
- * Delete Contract
131
- * @param param the request object
132
- */
133
- deleteContract(param: ContractsApiDeleteContractRequest, options?: Configuration): Promise<DeleteContractResponse>;
134
- /**
135
- * Get a Contract by id.
136
- * Get Contract
137
- * @param param the request object
138
- */
139
- getContractWithHttpInfo(param: ContractsApiGetContractRequest, options?: Configuration): Promise<HttpInfo<GetContractResponse>>;
140
- /**
141
- * Get a Contract by id.
142
- * Get Contract
143
- * @param param the request object
144
- */
145
- getContract(param: ContractsApiGetContractRequest, options?: Configuration): Promise<GetContractResponse>;
146
- /**
147
- * Get a list of Contracts.
148
- * List Contracts
149
- * @param param the request object
150
- */
151
- listContractsWithHttpInfo(param?: ContractsApiListContractsRequest, options?: Configuration): Promise<HttpInfo<ListContractsResponse>>;
152
- /**
153
- * Get a list of Contracts.
154
- * List Contracts
155
- * @param param the request object
156
- */
157
- listContracts(param?: ContractsApiListContractsRequest, options?: Configuration): Promise<ListContractsResponse>;
158
- }
159
- import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
160
- export interface CreditsApiDeductCreditsRequest {
161
- /**
162
- *
163
- * @type DeductCreditsRequest
164
- * @memberof CreditsApideductCredits
165
- */
166
- deductCreditsRequest: DeductCreditsRequest;
167
- }
168
- export interface CreditsApiGrantCreditsRequest {
169
- /**
170
- *
171
- * @type GrantCreditsRequest
172
- * @memberof CreditsApigrantCredits
173
- */
174
- grantCreditsRequest: GrantCreditsRequest;
175
- }
176
- export interface CreditsApiListCreditLedgerEntriesRequest {
177
- /**
178
- *
179
- * @type string
180
- * @memberof CreditsApilistCreditLedgerEntries
181
- */
182
- customerId: string;
183
- /**
184
- *
185
- * @type number
186
- * @memberof CreditsApilistCreditLedgerEntries
187
- */
188
- limit?: number;
189
- /**
190
- *
191
- * @type string
192
- * @memberof CreditsApilistCreditLedgerEntries
193
- */
194
- cursor?: string;
195
- }
196
- export declare class ObjectCreditsApi {
197
- private api;
198
- constructor(configuration: Configuration, requestFactory?: CreditsApiRequestFactory, responseProcessor?: CreditsApiResponseProcessor);
199
- /**
200
- * This endpoint is used to deduct credits from the specified customer account. Submit the credit amount and customer ID in the request body to deduct the credits. The deducted credits will be subtracted from the customer\'s account.
201
- * Deduct credits from customer credit ledger
202
- * @param param the request object
203
- */
204
- deductCreditsWithHttpInfo(param: CreditsApiDeductCreditsRequest, options?: Configuration): Promise<HttpInfo<void>>;
205
- /**
206
- * This endpoint is used to deduct credits from the specified customer account. Submit the credit amount and customer ID in the request body to deduct the credits. The deducted credits will be subtracted from the customer\'s account.
207
- * Deduct credits from customer credit ledger
208
- * @param param the request object
209
- */
210
- deductCredits(param: CreditsApiDeductCreditsRequest, options?: Configuration): Promise<void>;
211
- /**
212
- * This endpoint is used to grant credits to a customer. Submit the credit amount and customer ID in the request body to grant the credits. The granted credits will be added to the customer\'s account.
213
- * Grant credits to a customer credit ledger
214
- * @param param the request object
215
- */
216
- grantCreditsWithHttpInfo(param: CreditsApiGrantCreditsRequest, options?: Configuration): Promise<HttpInfo<void>>;
217
- /**
218
- * This endpoint is used to grant credits to a customer. Submit the credit amount and customer ID in the request body to grant the credits. The granted credits will be added to the customer\'s account.
219
- * Grant credits to a customer credit ledger
220
- * @param param the request object
221
- */
222
- grantCredits(param: CreditsApiGrantCreditsRequest, options?: Configuration): Promise<void>;
223
- /**
224
- * This endpoint is used to retrieve the credit ledger entries for a specific customer.
225
- * Retrieve credit ledger entries for customer.
226
- * @param param the request object
227
- */
228
- listCreditLedgerEntriesWithHttpInfo(param: CreditsApiListCreditLedgerEntriesRequest, options?: Configuration): Promise<HttpInfo<ListCreditLedgerEntriesResponse>>;
229
- /**
230
- * This endpoint is used to retrieve the credit ledger entries for a specific customer.
231
- * Retrieve credit ledger entries for customer.
232
- * @param param the request object
233
- */
234
- listCreditLedgerEntries(param: CreditsApiListCreditLedgerEntriesRequest, options?: Configuration): Promise<ListCreditLedgerEntriesResponse>;
235
- }
236
- import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
237
- export interface CustomersApiCreateCustomerRequest {
238
- /**
239
- *
240
- * @type CreateCustomerRequest
241
- * @memberof CustomersApicreateCustomer
242
- */
243
- createCustomerRequest: CreateCustomerRequest;
244
- }
245
- export interface CustomersApiDeleteCustomerRequest {
246
- /**
247
- *
248
- * @type string
249
- * @memberof CustomersApideleteCustomer
250
- */
251
- customerId: string;
252
- }
253
- export interface CustomersApiGetCustomerRequest {
254
- /**
255
- *
256
- * @type string
257
- * @memberof CustomersApigetCustomer
258
- */
259
- customerId: string;
260
- }
261
- export interface CustomersApiGetCustomerByExternalIdRequest {
262
- /**
263
- *
264
- * @type string
265
- * @memberof CustomersApigetCustomerByExternalId
266
- */
267
- externalId: string;
268
- }
269
- export interface CustomersApiListCustomersRequest {
270
- /**
271
- *
272
- * @type number
273
- * @memberof CustomersApilistCustomers
274
- */
275
- limit?: number;
276
- /**
277
- *
278
- * @type string
279
- * @memberof CustomersApilistCustomers
280
- */
281
- cursor?: string;
282
- }
283
- export interface CustomersApiUpdateCustomerRequest {
284
- /**
285
- *
286
- * @type UpdateCustomerRequest
287
- * @memberof CustomersApiupdateCustomer
288
- */
289
- updateCustomerRequest: UpdateCustomerRequest;
290
- /**
291
- *
292
- * @type string
293
- * @memberof CustomersApiupdateCustomer
294
- */
295
- customerId: string;
296
- }
297
- export declare class ObjectCustomersApi {
298
- private api;
299
- constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
300
- /**
301
- * Create a new Customer.
302
- * Create Customer
303
- * @param param the request object
304
- */
305
- createCustomerWithHttpInfo(param: CustomersApiCreateCustomerRequest, options?: Configuration): Promise<HttpInfo<CreateCustomerResponse>>;
306
- /**
307
- * Create a new Customer.
308
- * Create Customer
309
- * @param param the request object
310
- */
311
- createCustomer(param: CustomersApiCreateCustomerRequest, options?: Configuration): Promise<CreateCustomerResponse>;
312
- /**
313
- * Delete a Customer by id.
314
- * Delete Customer
315
- * @param param the request object
316
- */
317
- deleteCustomerWithHttpInfo(param: CustomersApiDeleteCustomerRequest, options?: Configuration): Promise<HttpInfo<DeleteCustomerResponse>>;
318
- /**
319
- * Delete a Customer by id.
320
- * Delete Customer
321
- * @param param the request object
322
- */
323
- deleteCustomer(param: CustomersApiDeleteCustomerRequest, options?: Configuration): Promise<DeleteCustomerResponse>;
324
- /**
325
- * Get a Customer by id.
326
- * Get Customer
327
- * @param param the request object
328
- */
329
- getCustomerWithHttpInfo(param: CustomersApiGetCustomerRequest, options?: Configuration): Promise<HttpInfo<GetCustomerResponse>>;
330
- /**
331
- * Get a Customer by id.
332
- * Get Customer
333
- * @param param the request object
334
- */
335
- getCustomer(param: CustomersApiGetCustomerRequest, options?: Configuration): Promise<GetCustomerResponse>;
336
- /**
337
- * Use this endpoint to get a specific customer using its external Id.
338
- * Get customer by externalId
339
- * @param param the request object
340
- */
341
- getCustomerByExternalIdWithHttpInfo(param: CustomersApiGetCustomerByExternalIdRequest, options?: Configuration): Promise<HttpInfo<GetCustomerResponse>>;
342
- /**
343
- * Use this endpoint to get a specific customer using its external Id.
344
- * Get customer by externalId
345
- * @param param the request object
346
- */
347
- getCustomerByExternalId(param: CustomersApiGetCustomerByExternalIdRequest, options?: Configuration): Promise<GetCustomerResponse>;
348
- /**
349
- * Get a list of Customers.
350
- * List Customers
351
- * @param param the request object
352
- */
353
- listCustomersWithHttpInfo(param?: CustomersApiListCustomersRequest, options?: Configuration): Promise<HttpInfo<ListCustomersResponse>>;
354
- /**
355
- * Get a list of Customers.
356
- * List Customers
357
- * @param param the request object
358
- */
359
- listCustomers(param?: CustomersApiListCustomersRequest, options?: Configuration): Promise<ListCustomersResponse>;
360
- /**
361
- * Update a Customer by id.
362
- * Update Customer
363
- * @param param the request object
364
- */
365
- updateCustomerWithHttpInfo(param: CustomersApiUpdateCustomerRequest, options?: Configuration): Promise<HttpInfo<UpdateCustomerResponse>>;
366
- /**
367
- * Update a Customer by id.
368
- * Update Customer
369
- * @param param the request object
370
- */
371
- updateCustomer(param: CustomersApiUpdateCustomerRequest, options?: Configuration): Promise<UpdateCustomerResponse>;
372
- }
373
- import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
374
- export interface EventsApiDeleteEventByRefIdRequest {
375
- /**
376
- *
377
- * @type string
378
- * @memberof EventsApideleteEventByRefId
379
- */
380
- refId: string;
381
- }
382
- export interface EventsApiGetEventByRefIdRequest {
383
- /**
384
- *
385
- * @type string
386
- * @memberof EventsApigetEventByRefId
387
- */
388
- refId: string;
389
- }
390
- export interface EventsApiQueryEventsRequest {
391
- /**
392
- *
393
- * @type Date
394
- * @memberof EventsApiqueryEvents
395
- */
396
- startTime: Date;
397
- /**
398
- *
399
- * @type Date
400
- * @memberof EventsApiqueryEvents
401
- */
402
- endTime: Date;
403
- /**
404
- *
405
- * @type string
406
- * @memberof EventsApiqueryEvents
407
- */
408
- eventName?: string;
409
- /**
410
- *
411
- * @type number
412
- * @memberof EventsApiqueryEvents
413
- */
414
- limit?: number;
415
- /**
416
- *
417
- * @type string
418
- * @memberof EventsApiqueryEvents
419
- */
420
- cursor?: string;
421
- }
422
- export interface EventsApiSendEventsRequest {
423
- /**
424
- * An array of events following the EventInput schema. This request body should be included in the PUT request to \&#39;/events\&#39; Up to 1000 events or a total payload max size of 256KB
425
- * @type SendEventsRequest
426
- * @memberof EventsApisendEvents
427
- */
428
- sendEventsRequest: SendEventsRequest;
429
- }
430
- export interface EventsApiSendEventsDryRunRequest {
431
- /**
432
- * An array of events following the EventInput schema. This request body should be included in the PUT request to \&#39;/events\&#39; Up to 1000 events or a total payload max size of 256KB
433
- * @type EventsDryRunRequest
434
- * @memberof EventsApisendEventsDryRun
435
- */
436
- eventsDryRunRequest: EventsDryRunRequest;
437
- }
438
- export declare class ObjectEventsApi {
439
- private api;
440
- constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
441
- /**
442
- * Use this endpoint to remove a specific event using its reference ID.
443
- * Delete an event by refId
444
- * @param param the request object
445
- */
446
- deleteEventByRefIdWithHttpInfo(param: EventsApiDeleteEventByRefIdRequest, options?: Configuration): Promise<HttpInfo<DeleteEventResponse>>;
447
- /**
448
- * Use this endpoint to remove a specific event using its reference ID.
449
- * Delete an event by refId
450
- * @param param the request object
451
- */
452
- deleteEventByRefId(param: EventsApiDeleteEventByRefIdRequest, options?: Configuration): Promise<DeleteEventResponse>;
453
- /**
454
- * Use this endpoint to get a specific event using its reference ID.
455
- * Get event by refId
456
- * @param param the request object
457
- */
458
- getEventByRefIdWithHttpInfo(param: EventsApiGetEventByRefIdRequest, options?: Configuration): Promise<HttpInfo<GetEventResponse>>;
459
- /**
460
- * Use this endpoint to get a specific event using its reference ID.
461
- * Get event by refId
462
- * @param param the request object
463
- */
464
- getEventByRefId(param: EventsApiGetEventByRefIdRequest, options?: Configuration): Promise<GetEventResponse>;
465
- /**
466
- * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
467
- * Query events by timestamp period and optional event name
468
- * @param param the request object
469
- */
470
- queryEventsWithHttpInfo(param: EventsApiQueryEventsRequest, options?: Configuration): Promise<HttpInfo<QueryEventsResponse>>;
471
- /**
472
- * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
473
- * Query events by timestamp period and optional event name
474
- * @param param the request object
475
- */
476
- queryEvents(param: EventsApiQueryEventsRequest, options?: Configuration): Promise<QueryEventsResponse>;
477
- /**
478
- * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
479
- * Submit a batch of events for ingestion
480
- * @param param the request object
481
- */
482
- sendEventsWithHttpInfo(param: EventsApiSendEventsRequest, options?: Configuration): Promise<HttpInfo<SendEventsResponse>>;
483
- /**
484
- * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
485
- * Submit a batch of events for ingestion
486
- * @param param the request object
487
- */
488
- sendEvents(param: EventsApiSendEventsRequest, options?: Configuration): Promise<SendEventsResponse>;
489
- /**
490
- * Use this endpoint to send an array of events for processing. Make sure to comply with the request schema for each event. NOTE: this is a dry run and will not result in actual storage of the events.
491
- * Submit a batch of events for testing
492
- * @param param the request object
493
- */
494
- sendEventsDryRunWithHttpInfo(param: EventsApiSendEventsDryRunRequest, options?: Configuration): Promise<HttpInfo<EventsDryRunResponse>>;
495
- /**
496
- * Use this endpoint to send an array of events for processing. Make sure to comply with the request schema for each event. NOTE: this is a dry run and will not result in actual storage of the events.
497
- * Submit a batch of events for testing
498
- * @param param the request object
499
- */
500
- sendEventsDryRun(param: EventsApiSendEventsDryRunRequest, options?: Configuration): Promise<EventsDryRunResponse>;
501
- }
502
- import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
503
- export interface IntegrationsApiExportNetSuiteSalesOrderRequest {
504
- /**
505
- *
506
- * @type NetSuiteExportSalesOrderRequest
507
- * @memberof IntegrationsApiexportNetSuiteSalesOrder
508
- */
509
- netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest;
510
- }
511
- export interface IntegrationsApiNetSuiteSyncInvoicesRequest {
512
- /**
513
- *
514
- * @type NetSuiteSyncInvoicesRequest
515
- * @memberof IntegrationsApinetSuiteSyncInvoices
516
- */
517
- netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest;
518
- }
519
- export declare class ObjectIntegrationsApi {
520
- private api;
521
- constructor(configuration: Configuration, requestFactory?: IntegrationsApiRequestFactory, responseProcessor?: IntegrationsApiResponseProcessor);
522
- /**
523
- * This endpoint is used to export sales order to NetSuite.
524
- * Export sales order to NetSuite
525
- * @param param the request object
526
- */
527
- exportNetSuiteSalesOrderWithHttpInfo(param: IntegrationsApiExportNetSuiteSalesOrderRequest, options?: Configuration): Promise<HttpInfo<void>>;
528
- /**
529
- * This endpoint is used to export sales order to NetSuite.
530
- * Export sales order to NetSuite
531
- * @param param the request object
532
- */
533
- exportNetSuiteSalesOrder(param: IntegrationsApiExportNetSuiteSalesOrderRequest, options?: Configuration): Promise<void>;
534
- /**
535
- * This endpoint is used to sync invoices to NetSuite.
536
- * Sync invoices to NetSuite
537
- * @param param the request object
538
- */
539
- netSuiteSyncInvoicesWithHttpInfo(param: IntegrationsApiNetSuiteSyncInvoicesRequest, options?: Configuration): Promise<HttpInfo<NetSuiteSyncInvoicesResponse>>;
540
- /**
541
- * This endpoint is used to sync invoices to NetSuite.
542
- * Sync invoices to NetSuite
543
- * @param param the request object
544
- */
545
- netSuiteSyncInvoices(param: IntegrationsApiNetSuiteSyncInvoicesRequest, options?: Configuration): Promise<NetSuiteSyncInvoicesResponse>;
546
- }
547
- import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
548
- export interface InvoicesApiGetInvoiceRequest {
549
- /**
550
- *
551
- * @type string
552
- * @memberof InvoicesApigetInvoice
553
- */
554
- invoiceId: string;
555
- }
556
- export interface InvoicesApiListInvoicesRequest {
557
- /**
558
- *
559
- * @type number
560
- * @memberof InvoicesApilistInvoices
561
- */
562
- limit?: number;
563
- /**
564
- *
565
- * @type string
566
- * @memberof InvoicesApilistInvoices
567
- */
568
- cursor?: string;
569
- }
570
- export declare class ObjectInvoicesApi {
571
- private api;
572
- constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
573
- /**
574
- * Get a Invoice by id.
575
- * Get Invoice
576
- * @param param the request object
577
- */
578
- getInvoiceWithHttpInfo(param: InvoicesApiGetInvoiceRequest, options?: Configuration): Promise<HttpInfo<GetInvoiceResponse>>;
579
- /**
580
- * Get a Invoice by id.
581
- * Get Invoice
582
- * @param param the request object
583
- */
584
- getInvoice(param: InvoicesApiGetInvoiceRequest, options?: Configuration): Promise<GetInvoiceResponse>;
585
- /**
586
- * Get a list of Invoices.
587
- * List Invoices
588
- * @param param the request object
589
- */
590
- listInvoicesWithHttpInfo(param?: InvoicesApiListInvoicesRequest, options?: Configuration): Promise<HttpInfo<ListInvoicesResponse>>;
591
- /**
592
- * Get a list of Invoices.
593
- * List Invoices
594
- * @param param the request object
595
- */
596
- listInvoices(param?: InvoicesApiListInvoicesRequest, options?: Configuration): Promise<ListInvoicesResponse>;
597
- }
598
- import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
599
- export interface MetersApiDeleteMeterRequest {
600
- /**
601
- *
602
- * @type string
603
- * @memberof MetersApideleteMeter
604
- */
605
- meterId: string;
606
- }
607
- export interface MetersApiGetMeterRequest {
608
- /**
609
- *
610
- * @type string
611
- * @memberof MetersApigetMeter
612
- */
613
- meterId: string;
614
- }
615
- export interface MetersApiListMetersRequest {
616
- /**
617
- *
618
- * @type number
619
- * @memberof MetersApilistMeters
620
- */
621
- limit?: number;
622
- /**
623
- *
624
- * @type string
625
- * @memberof MetersApilistMeters
626
- */
627
- cursor?: string;
628
- }
629
- export interface MetersApiUpdateMeterRequest {
630
- /**
631
- *
632
- * @type UpdateMeterRequest
633
- * @memberof MetersApiupdateMeter
634
- */
635
- updateMeterRequest: UpdateMeterRequest;
636
- /**
637
- *
638
- * @type string
639
- * @memberof MetersApiupdateMeter
640
- */
641
- meterId: string;
642
- }
643
- export declare class ObjectMetersApi {
644
- private api;
645
- constructor(configuration: Configuration, requestFactory?: MetersApiRequestFactory, responseProcessor?: MetersApiResponseProcessor);
646
- /**
647
- * Delete a Meter by id.
648
- * Delete Meter
649
- * @param param the request object
650
- */
651
- deleteMeterWithHttpInfo(param: MetersApiDeleteMeterRequest, options?: Configuration): Promise<HttpInfo<DeleteMeterResponse>>;
652
- /**
653
- * Delete a Meter by id.
654
- * Delete Meter
655
- * @param param the request object
656
- */
657
- deleteMeter(param: MetersApiDeleteMeterRequest, options?: Configuration): Promise<DeleteMeterResponse>;
658
- /**
659
- * Get a Meter by id.
660
- * Get Meter
661
- * @param param the request object
662
- */
663
- getMeterWithHttpInfo(param: MetersApiGetMeterRequest, options?: Configuration): Promise<HttpInfo<GetMeterResponse>>;
664
- /**
665
- * Get a Meter by id.
666
- * Get Meter
667
- * @param param the request object
668
- */
669
- getMeter(param: MetersApiGetMeterRequest, options?: Configuration): Promise<GetMeterResponse>;
670
- /**
671
- * Get a list of Meters.
672
- * List Meters
673
- * @param param the request object
674
- */
675
- listMetersWithHttpInfo(param?: MetersApiListMetersRequest, options?: Configuration): Promise<HttpInfo<ListMetersResponse>>;
676
- /**
677
- * Get a list of Meters.
678
- * List Meters
679
- * @param param the request object
680
- */
681
- listMeters(param?: MetersApiListMetersRequest, options?: Configuration): Promise<ListMetersResponse>;
682
- /**
683
- * Update a Meter by id.
684
- * Update Meter
685
- * @param param the request object
686
- */
687
- updateMeterWithHttpInfo(param: MetersApiUpdateMeterRequest, options?: Configuration): Promise<HttpInfo<UpdateMeterResponse>>;
688
- /**
689
- * Update a Meter by id.
690
- * Update Meter
691
- * @param param the request object
692
- */
693
- updateMeter(param: MetersApiUpdateMeterRequest, options?: Configuration): Promise<UpdateMeterResponse>;
694
- }
695
- import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
696
- export interface PlansApiDeletePlanRequest {
697
- /**
698
- *
699
- * @type string
700
- * @memberof PlansApideletePlan
701
- */
702
- planId: string;
703
- }
704
- export interface PlansApiGetPlanRequest {
705
- /**
706
- *
707
- * @type string
708
- * @memberof PlansApigetPlan
709
- */
710
- planId: string;
711
- }
712
- export interface PlansApiListPlansRequest {
713
- /**
714
- *
715
- * @type number
716
- * @memberof PlansApilistPlans
717
- */
718
- limit?: number;
719
- /**
720
- *
721
- * @type string
722
- * @memberof PlansApilistPlans
723
- */
724
- cursor?: string;
725
- }
726
- export declare class ObjectPlansApi {
727
- private api;
728
- constructor(configuration: Configuration, requestFactory?: PlansApiRequestFactory, responseProcessor?: PlansApiResponseProcessor);
729
- /**
730
- * Delete a Plan by id.
731
- * Delete Plan
732
- * @param param the request object
733
- */
734
- deletePlanWithHttpInfo(param: PlansApiDeletePlanRequest, options?: Configuration): Promise<HttpInfo<DeletePlanResponse>>;
735
- /**
736
- * Delete a Plan by id.
737
- * Delete Plan
738
- * @param param the request object
739
- */
740
- deletePlan(param: PlansApiDeletePlanRequest, options?: Configuration): Promise<DeletePlanResponse>;
741
- /**
742
- * Get a Plan by id.
743
- * Get Plan
744
- * @param param the request object
745
- */
746
- getPlanWithHttpInfo(param: PlansApiGetPlanRequest, options?: Configuration): Promise<HttpInfo<GetPlanResponse>>;
747
- /**
748
- * Get a Plan by id.
749
- * Get Plan
750
- * @param param the request object
751
- */
752
- getPlan(param: PlansApiGetPlanRequest, options?: Configuration): Promise<GetPlanResponse>;
753
- /**
754
- * Get a list of Plans.
755
- * List Plans
756
- * @param param the request object
757
- */
758
- listPlansWithHttpInfo(param?: PlansApiListPlansRequest, options?: Configuration): Promise<HttpInfo<ListPlansResponse>>;
759
- /**
760
- * Get a list of Plans.
761
- * List Plans
762
- * @param param the request object
763
- */
764
- listPlans(param?: PlansApiListPlansRequest, options?: Configuration): Promise<ListPlansResponse>;
765
- }
766
- import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
767
- export interface ReportsApiGetCommitmentReportResponseRequest {
768
- /**
769
- *
770
- * @type string
771
- * @memberof ReportsApigetCommitmentReportResponse
772
- */
773
- reportId?: string;
774
- }
775
- export interface ReportsApiGetProductsUsageReportRequest {
776
- /**
777
- *
778
- * @type string
779
- * @memberof ReportsApigetProductsUsageReport
780
- */
781
- reportId?: string;
782
- /**
783
- *
784
- * @type number
785
- * @memberof ReportsApigetProductsUsageReport
786
- */
787
- limit?: number;
788
- /**
789
- *
790
- * @type string
791
- * @memberof ReportsApigetProductsUsageReport
792
- */
793
- cursor?: string;
794
- }
795
- export declare class ObjectReportsApi {
796
- private api;
797
- constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
798
- /**
799
- * Get commitment report
800
- * @param param the request object
801
- */
802
- getCommitmentReportResponseWithHttpInfo(param?: ReportsApiGetCommitmentReportResponseRequest, options?: Configuration): Promise<HttpInfo<GetCommitmentReportResponse>>;
803
- /**
804
- * Get commitment report
805
- * @param param the request object
806
- */
807
- getCommitmentReportResponse(param?: ReportsApiGetCommitmentReportResponseRequest, options?: Configuration): Promise<GetCommitmentReportResponse>;
808
- /**
809
- * Use this endpoint to get the products usage report.
810
- * Get products usage report
811
- * @param param the request object
812
- */
813
- getProductsUsageReportWithHttpInfo(param?: ReportsApiGetProductsUsageReportRequest, options?: Configuration): Promise<HttpInfo<GetProductsUsageReportResponse>>;
814
- /**
815
- * Use this endpoint to get the products usage report.
816
- * Get products usage report
817
- * @param param the request object
818
- */
819
- getProductsUsageReport(param?: ReportsApiGetProductsUsageReportRequest, options?: Configuration): Promise<GetProductsUsageReportResponse>;
820
- }
821
- import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
822
- export interface WebhooksApiWebhookSubscribeRequest {
823
- /**
824
- * Subscribe to webhooks and receive event notifications.
825
- * @type WebhookSubscribeRequest
826
- * @memberof WebhooksApiwebhookSubscribe
827
- */
828
- webhookSubscribeRequest: WebhookSubscribeRequest;
829
- }
830
- export declare class ObjectWebhooksApi {
831
- private api;
832
- constructor(configuration: Configuration, requestFactory?: WebhooksApiRequestFactory, responseProcessor?: WebhooksApiResponseProcessor);
833
- /**
834
- * Use this endpoint to subscribe to webhooks and receive event notifications.
835
- * Subscribe to webhooks
836
- * @param param the request object
837
- */
838
- webhookSubscribeWithHttpInfo(param: WebhooksApiWebhookSubscribeRequest, options?: Configuration): Promise<HttpInfo<void>>;
839
- /**
840
- * Use this endpoint to subscribe to webhooks and receive event notifications.
841
- * Subscribe to webhooks
842
- * @param param the request object
843
- */
844
- webhookSubscribe(param: WebhooksApiWebhookSubscribeRequest, options?: Configuration): Promise<void>;
845
- }