vayu-ts 0.2.7 → 0.2.9

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 (38) hide show
  1. package/README.md +9 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +1 -0
  4. package/dist/openapi/apis/AuthApi.js +1 -1
  5. package/dist/openapi/apis/ContractsApi.js +4 -4
  6. package/dist/openapi/apis/CreditsApi.js +3 -3
  7. package/dist/openapi/apis/CustomersApi.js +7 -7
  8. package/dist/openapi/apis/EventsApi.js +5 -5
  9. package/dist/openapi/apis/IntegrationsApi.js +2 -2
  10. package/dist/openapi/apis/InvoicesApi.js +2 -2
  11. package/dist/openapi/apis/MetersApi.js +4 -4
  12. package/dist/openapi/apis/PlansApi.js +3 -3
  13. package/dist/openapi/apis/ProductConsumptionsApi.js +1 -1
  14. package/dist/openapi/apis/ReportsApi.js +2 -2
  15. package/dist/openapi/apis/WebhooksApi.js +1 -1
  16. package/dist/openapi/configuration.d.ts +2 -8
  17. package/dist/openapi/index.d.ts +2 -3
  18. package/dist/openapi/index.js +1 -3
  19. package/dist/openapi/types/ObservableAPI.d.ts +71 -71
  20. package/dist/openapi/types/ObservableAPI.js +105 -1085
  21. package/dist/openapi/types/PromiseAPI.d.ts +71 -71
  22. package/dist/openapi/types/PromiseAPI.js +70 -771
  23. package/dist/openapi-v2/apis/AuthenticationApi.js +1 -1
  24. package/dist/openapi-v2/apis/CustomersApi.js +6 -6
  25. package/dist/openapi-v2/apis/EntitlementsApi.js +3 -3
  26. package/dist/openapi-v2/apis/EventsApi.js +4 -4
  27. package/dist/openapi-v2/apis/InvoicesApi.js +6 -6
  28. package/dist/openapi-v2/apis/ProductsApi.js +5 -5
  29. package/dist/openapi-v2/configuration.d.ts +2 -8
  30. package/dist/openapi-v2/index.d.ts +2 -3
  31. package/dist/openapi-v2/index.js +1 -3
  32. package/dist/openapi-v2/types/ObservableAPI.d.ts +51 -51
  33. package/dist/openapi-v2/types/ObservableAPI.js +75 -775
  34. package/dist/openapi-v2/types/PromiseAPI.d.ts +51 -51
  35. package/dist/openapi-v2/types/PromiseAPI.js +50 -551
  36. package/dist/sdk/clients/CustomersClient.d.ts +1 -0
  37. package/dist/sdk/clients/CustomersClient.js +3 -0
  38. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { HttpInfo } from '../http/http';
2
- import { Configuration, PromiseConfigurationOptions } from '../configuration';
2
+ import { Configuration } from '../configuration';
3
3
  import { CreateContractRequest } from '../models/CreateContractRequest';
4
4
  import { CreateContractResponse } from '../models/CreateContractResponse';
5
5
  import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
@@ -51,13 +51,13 @@ export declare class PromiseAuthApi {
51
51
  * Login by obtaining a new access token
52
52
  * @param loginRequest
53
53
  */
54
- loginWithHttpInfo(loginRequest: LoginRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<LoginResponse>>;
54
+ loginWithHttpInfo(loginRequest: LoginRequest, _options?: Configuration): Promise<HttpInfo<LoginResponse>>;
55
55
  /**
56
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
57
  * Login by obtaining a new access token
58
58
  * @param loginRequest
59
59
  */
60
- login(loginRequest: LoginRequest, _options?: PromiseConfigurationOptions): Promise<LoginResponse>;
60
+ login(loginRequest: LoginRequest, _options?: Configuration): Promise<LoginResponse>;
61
61
  }
62
62
  import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
63
63
  export declare class PromiseContractsApi {
@@ -68,51 +68,51 @@ export declare class PromiseContractsApi {
68
68
  * Create Contract
69
69
  * @param createContractRequest
70
70
  */
71
- createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<CreateContractResponse>>;
71
+ createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: Configuration): Promise<HttpInfo<CreateContractResponse>>;
72
72
  /**
73
73
  * Create a new Contract.
74
74
  * Create Contract
75
75
  * @param createContractRequest
76
76
  */
77
- createContract(createContractRequest: CreateContractRequest, _options?: PromiseConfigurationOptions): Promise<CreateContractResponse>;
77
+ createContract(createContractRequest: CreateContractRequest, _options?: Configuration): Promise<CreateContractResponse>;
78
78
  /**
79
79
  * Delete a Contract by id.
80
80
  * Delete Contract
81
81
  * @param contractId
82
82
  */
83
- deleteContractWithHttpInfo(contractId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteContractResponse>>;
83
+ deleteContractWithHttpInfo(contractId: string, _options?: Configuration): Promise<HttpInfo<DeleteContractResponse>>;
84
84
  /**
85
85
  * Delete a Contract by id.
86
86
  * Delete Contract
87
87
  * @param contractId
88
88
  */
89
- deleteContract(contractId: string, _options?: PromiseConfigurationOptions): Promise<DeleteContractResponse>;
89
+ deleteContract(contractId: string, _options?: Configuration): Promise<DeleteContractResponse>;
90
90
  /**
91
91
  * Get a Contract by id.
92
92
  * Get Contract
93
93
  * @param contractId
94
94
  */
95
- getContractWithHttpInfo(contractId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetContractResponse>>;
95
+ getContractWithHttpInfo(contractId: string, _options?: Configuration): Promise<HttpInfo<GetContractResponse>>;
96
96
  /**
97
97
  * Get a Contract by id.
98
98
  * Get Contract
99
99
  * @param contractId
100
100
  */
101
- getContract(contractId: string, _options?: PromiseConfigurationOptions): Promise<GetContractResponse>;
101
+ getContract(contractId: string, _options?: Configuration): Promise<GetContractResponse>;
102
102
  /**
103
103
  * Get a list of Contracts.
104
104
  * List Contracts
105
105
  * @param [limit]
106
106
  * @param [cursor]
107
107
  */
108
- listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListContractsResponse>>;
108
+ listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListContractsResponse>>;
109
109
  /**
110
110
  * Get a list of Contracts.
111
111
  * List Contracts
112
112
  * @param [limit]
113
113
  * @param [cursor]
114
114
  */
115
- listContracts(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListContractsResponse>;
115
+ listContracts(limit?: number, cursor?: string, _options?: Configuration): Promise<ListContractsResponse>;
116
116
  }
117
117
  import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
118
118
  export declare class PromiseCreditsApi {
@@ -123,25 +123,25 @@ export declare class PromiseCreditsApi {
123
123
  * Deduct credits from customer credit ledger
124
124
  * @param deductCreditsRequest
125
125
  */
126
- deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
126
+ deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Promise<HttpInfo<void>>;
127
127
  /**
128
128
  * 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.
129
129
  * Deduct credits from customer credit ledger
130
130
  * @param deductCreditsRequest
131
131
  */
132
- deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: PromiseConfigurationOptions): Promise<void>;
132
+ deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Promise<void>;
133
133
  /**
134
134
  * 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.
135
135
  * Grant credits to a customer credit ledger
136
136
  * @param grantCreditsRequest
137
137
  */
138
- grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
138
+ grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Promise<HttpInfo<void>>;
139
139
  /**
140
140
  * 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.
141
141
  * Grant credits to a customer credit ledger
142
142
  * @param grantCreditsRequest
143
143
  */
144
- grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: PromiseConfigurationOptions): Promise<void>;
144
+ grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Promise<void>;
145
145
  /**
146
146
  * This endpoint is used to retrieve the credit ledger entries for a specific customer.
147
147
  * Retrieve credit ledger entries for customer.
@@ -149,7 +149,7 @@ export declare class PromiseCreditsApi {
149
149
  * @param [limit]
150
150
  * @param [cursor]
151
151
  */
152
- listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListCreditLedgerEntriesResponse>>;
152
+ listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListCreditLedgerEntriesResponse>>;
153
153
  /**
154
154
  * This endpoint is used to retrieve the credit ledger entries for a specific customer.
155
155
  * Retrieve credit ledger entries for customer.
@@ -157,7 +157,7 @@ export declare class PromiseCreditsApi {
157
157
  * @param [limit]
158
158
  * @param [cursor]
159
159
  */
160
- listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListCreditLedgerEntriesResponse>;
160
+ listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Promise<ListCreditLedgerEntriesResponse>;
161
161
  }
162
162
  import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
163
163
  export declare class PromiseCustomersApi {
@@ -168,89 +168,89 @@ export declare class PromiseCustomersApi {
168
168
  * Create Customer
169
169
  * @param createCustomerRequest
170
170
  */
171
- createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<CreateCustomerResponse>>;
171
+ createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Promise<HttpInfo<CreateCustomerResponse>>;
172
172
  /**
173
173
  * Create a new Customer.
174
174
  * Create Customer
175
175
  * @param createCustomerRequest
176
176
  */
177
- createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: PromiseConfigurationOptions): Promise<CreateCustomerResponse>;
177
+ createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Promise<CreateCustomerResponse>;
178
178
  /**
179
179
  * Delete a Customer by id.
180
180
  * Delete Customer
181
181
  * @param customerId
182
182
  */
183
- deleteCustomerWithHttpInfo(customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteCustomerResponse>>;
183
+ deleteCustomerWithHttpInfo(customerId: string, _options?: Configuration): Promise<HttpInfo<DeleteCustomerResponse>>;
184
184
  /**
185
185
  * Delete a Customer by id.
186
186
  * Delete Customer
187
187
  * @param customerId
188
188
  */
189
- deleteCustomer(customerId: string, _options?: PromiseConfigurationOptions): Promise<DeleteCustomerResponse>;
189
+ deleteCustomer(customerId: string, _options?: Configuration): Promise<DeleteCustomerResponse>;
190
190
  /**
191
191
  * Get a Customer by id.
192
192
  * Get Customer
193
193
  * @param customerId
194
194
  */
195
- getCustomerWithHttpInfo(customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCustomerResponse>>;
195
+ getCustomerWithHttpInfo(customerId: string, _options?: Configuration): Promise<HttpInfo<GetCustomerResponse>>;
196
196
  /**
197
197
  * Get a Customer by id.
198
198
  * Get Customer
199
199
  * @param customerId
200
200
  */
201
- getCustomer(customerId: string, _options?: PromiseConfigurationOptions): Promise<GetCustomerResponse>;
201
+ getCustomer(customerId: string, _options?: Configuration): Promise<GetCustomerResponse>;
202
202
  /**
203
203
  * Use this endpoint to get a specific customer using its external Id.
204
204
  * Get customer by externalId
205
205
  * @param externalId
206
206
  */
207
- getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCustomerResponse>>;
207
+ getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: Configuration): Promise<HttpInfo<GetCustomerResponse>>;
208
208
  /**
209
209
  * Use this endpoint to get a specific customer using its external Id.
210
210
  * Get customer by externalId
211
211
  * @param externalId
212
212
  */
213
- getCustomerByExternalId(externalId: string, _options?: PromiseConfigurationOptions): Promise<GetCustomerResponse>;
213
+ getCustomerByExternalId(externalId: string, _options?: Configuration): Promise<GetCustomerResponse>;
214
214
  /**
215
215
  * Use this endpoint to get the products consumptions by the customer id.
216
216
  * Get products consumptions by customer id
217
217
  * @param customerId
218
218
  */
219
- getCustomerProductsConsumptionsWithHttpInfo(customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCustomerProductsConsumptionsResponse>>;
219
+ getCustomerProductsConsumptionsWithHttpInfo(customerId: string, _options?: Configuration): Promise<HttpInfo<GetCustomerProductsConsumptionsResponse>>;
220
220
  /**
221
221
  * Use this endpoint to get the products consumptions by the customer id.
222
222
  * Get products consumptions by customer id
223
223
  * @param customerId
224
224
  */
225
- getCustomerProductsConsumptions(customerId: string, _options?: PromiseConfigurationOptions): Promise<GetCustomerProductsConsumptionsResponse>;
225
+ getCustomerProductsConsumptions(customerId: string, _options?: Configuration): Promise<GetCustomerProductsConsumptionsResponse>;
226
226
  /**
227
227
  * Get a list of Customers.
228
228
  * List Customers
229
229
  * @param [limit]
230
230
  * @param [cursor]
231
231
  */
232
- listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListCustomersResponse>>;
232
+ listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListCustomersResponse>>;
233
233
  /**
234
234
  * Get a list of Customers.
235
235
  * List Customers
236
236
  * @param [limit]
237
237
  * @param [cursor]
238
238
  */
239
- listCustomers(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListCustomersResponse>;
239
+ listCustomers(limit?: number, cursor?: string, _options?: Configuration): Promise<ListCustomersResponse>;
240
240
  /**
241
241
  * Update a Customer by id.
242
242
  * Update Customer
243
243
  * @param updateCustomerRequest
244
244
  * @param customerId
245
245
  */
246
- updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<UpdateCustomerResponse>>;
246
+ updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Promise<HttpInfo<UpdateCustomerResponse>>;
247
247
  /**
248
248
  * Update a Customer by id.
249
249
  * Update Customer
250
250
  * @param updateCustomerRequest
251
251
  * @param customerId
252
252
  */
253
- updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: PromiseConfigurationOptions): Promise<UpdateCustomerResponse>;
253
+ updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Promise<UpdateCustomerResponse>;
254
254
  }
255
255
  import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
256
256
  export declare class PromiseEventsApi {
@@ -261,25 +261,25 @@ export declare class PromiseEventsApi {
261
261
  * Delete an event by refId
262
262
  * @param refId
263
263
  */
264
- deleteEventByRefIdWithHttpInfo(refId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteEventResponse>>;
264
+ deleteEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Promise<HttpInfo<DeleteEventResponse>>;
265
265
  /**
266
266
  * Use this endpoint to remove a specific event using its reference ID.
267
267
  * Delete an event by refId
268
268
  * @param refId
269
269
  */
270
- deleteEventByRefId(refId: string, _options?: PromiseConfigurationOptions): Promise<DeleteEventResponse>;
270
+ deleteEventByRefId(refId: string, _options?: Configuration): Promise<DeleteEventResponse>;
271
271
  /**
272
272
  * Use this endpoint to get a specific event using its reference ID.
273
273
  * Get event by refId
274
274
  * @param refId
275
275
  */
276
- getEventByRefIdWithHttpInfo(refId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetEventResponse>>;
276
+ getEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Promise<HttpInfo<GetEventResponse>>;
277
277
  /**
278
278
  * Use this endpoint to get a specific event using its reference ID.
279
279
  * Get event by refId
280
280
  * @param refId
281
281
  */
282
- getEventByRefId(refId: string, _options?: PromiseConfigurationOptions): Promise<GetEventResponse>;
282
+ getEventByRefId(refId: string, _options?: Configuration): Promise<GetEventResponse>;
283
283
  /**
284
284
  * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
285
285
  * Query events by timestamp period and optional event name
@@ -289,7 +289,7 @@ export declare class PromiseEventsApi {
289
289
  * @param [limit]
290
290
  * @param [cursor]
291
291
  */
292
- queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryEventsResponse>>;
292
+ queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<QueryEventsResponse>>;
293
293
  /**
294
294
  * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
295
295
  * Query events by timestamp period and optional event name
@@ -299,31 +299,31 @@ export declare class PromiseEventsApi {
299
299
  * @param [limit]
300
300
  * @param [cursor]
301
301
  */
302
- queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<QueryEventsResponse>;
302
+ queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<QueryEventsResponse>;
303
303
  /**
304
304
  * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
305
305
  * Submit a batch of events for ingestion
306
306
  * @param sendEventsRequest 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
307
307
  */
308
- sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<SendEventsResponse>>;
308
+ sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: Configuration): Promise<HttpInfo<SendEventsResponse>>;
309
309
  /**
310
310
  * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
311
311
  * Submit a batch of events for ingestion
312
312
  * @param sendEventsRequest 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
313
313
  */
314
- sendEvents(sendEventsRequest: SendEventsRequest, _options?: PromiseConfigurationOptions): Promise<SendEventsResponse>;
314
+ sendEvents(sendEventsRequest: SendEventsRequest, _options?: Configuration): Promise<SendEventsResponse>;
315
315
  /**
316
316
  * 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.
317
317
  * Submit a batch of events for testing
318
318
  * @param eventsDryRunRequest 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
319
319
  */
320
- sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<EventsDryRunResponse>>;
320
+ sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Promise<HttpInfo<EventsDryRunResponse>>;
321
321
  /**
322
322
  * 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.
323
323
  * Submit a batch of events for testing
324
324
  * @param eventsDryRunRequest 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
325
325
  */
326
- sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: PromiseConfigurationOptions): Promise<EventsDryRunResponse>;
326
+ sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Promise<EventsDryRunResponse>;
327
327
  }
328
328
  import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
329
329
  export declare class PromiseIntegrationsApi {
@@ -334,25 +334,25 @@ export declare class PromiseIntegrationsApi {
334
334
  * Export sales order to NetSuite
335
335
  * @param netSuiteExportSalesOrderRequest
336
336
  */
337
- exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
337
+ exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Promise<HttpInfo<void>>;
338
338
  /**
339
339
  * This endpoint is used to export sales order to NetSuite.
340
340
  * Export sales order to NetSuite
341
341
  * @param netSuiteExportSalesOrderRequest
342
342
  */
343
- exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: PromiseConfigurationOptions): Promise<void>;
343
+ exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Promise<void>;
344
344
  /**
345
345
  * This endpoint is used to sync invoices to NetSuite.
346
346
  * Sync invoices to NetSuite
347
347
  * @param netSuiteSyncInvoicesRequest
348
348
  */
349
- netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<NetSuiteSyncInvoicesResponse>>;
349
+ netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Promise<HttpInfo<NetSuiteSyncInvoicesResponse>>;
350
350
  /**
351
351
  * This endpoint is used to sync invoices to NetSuite.
352
352
  * Sync invoices to NetSuite
353
353
  * @param netSuiteSyncInvoicesRequest
354
354
  */
355
- netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: PromiseConfigurationOptions): Promise<NetSuiteSyncInvoicesResponse>;
355
+ netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Promise<NetSuiteSyncInvoicesResponse>;
356
356
  }
357
357
  import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
358
358
  export declare class PromiseInvoicesApi {
@@ -363,27 +363,27 @@ export declare class PromiseInvoicesApi {
363
363
  * Get Invoice
364
364
  * @param invoiceId
365
365
  */
366
- getInvoiceWithHttpInfo(invoiceId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetInvoiceResponse>>;
366
+ getInvoiceWithHttpInfo(invoiceId: string, _options?: Configuration): Promise<HttpInfo<GetInvoiceResponse>>;
367
367
  /**
368
368
  * Get a Invoice by id.
369
369
  * Get Invoice
370
370
  * @param invoiceId
371
371
  */
372
- getInvoice(invoiceId: string, _options?: PromiseConfigurationOptions): Promise<GetInvoiceResponse>;
372
+ getInvoice(invoiceId: string, _options?: Configuration): Promise<GetInvoiceResponse>;
373
373
  /**
374
374
  * Get a list of Invoices.
375
375
  * List Invoices
376
376
  * @param [limit]
377
377
  * @param [cursor]
378
378
  */
379
- listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListInvoicesResponse>>;
379
+ listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListInvoicesResponse>>;
380
380
  /**
381
381
  * Get a list of Invoices.
382
382
  * List Invoices
383
383
  * @param [limit]
384
384
  * @param [cursor]
385
385
  */
386
- listInvoices(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListInvoicesResponse>;
386
+ listInvoices(limit?: number, cursor?: string, _options?: Configuration): Promise<ListInvoicesResponse>;
387
387
  }
388
388
  import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
389
389
  export declare class PromiseMetersApi {
@@ -394,53 +394,53 @@ export declare class PromiseMetersApi {
394
394
  * Delete Meter
395
395
  * @param meterId
396
396
  */
397
- deleteMeterWithHttpInfo(meterId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteMeterResponse>>;
397
+ deleteMeterWithHttpInfo(meterId: string, _options?: Configuration): Promise<HttpInfo<DeleteMeterResponse>>;
398
398
  /**
399
399
  * Delete a Meter by id.
400
400
  * Delete Meter
401
401
  * @param meterId
402
402
  */
403
- deleteMeter(meterId: string, _options?: PromiseConfigurationOptions): Promise<DeleteMeterResponse>;
403
+ deleteMeter(meterId: string, _options?: Configuration): Promise<DeleteMeterResponse>;
404
404
  /**
405
405
  * Get a Meter by id.
406
406
  * Get Meter
407
407
  * @param meterId
408
408
  */
409
- getMeterWithHttpInfo(meterId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetMeterResponse>>;
409
+ getMeterWithHttpInfo(meterId: string, _options?: Configuration): Promise<HttpInfo<GetMeterResponse>>;
410
410
  /**
411
411
  * Get a Meter by id.
412
412
  * Get Meter
413
413
  * @param meterId
414
414
  */
415
- getMeter(meterId: string, _options?: PromiseConfigurationOptions): Promise<GetMeterResponse>;
415
+ getMeter(meterId: string, _options?: Configuration): Promise<GetMeterResponse>;
416
416
  /**
417
417
  * Get a list of Meters.
418
418
  * List Meters
419
419
  * @param [limit]
420
420
  * @param [cursor]
421
421
  */
422
- listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListMetersResponse>>;
422
+ listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListMetersResponse>>;
423
423
  /**
424
424
  * Get a list of Meters.
425
425
  * List Meters
426
426
  * @param [limit]
427
427
  * @param [cursor]
428
428
  */
429
- listMeters(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListMetersResponse>;
429
+ listMeters(limit?: number, cursor?: string, _options?: Configuration): Promise<ListMetersResponse>;
430
430
  /**
431
431
  * Update a Meter by id.
432
432
  * Update Meter
433
433
  * @param updateMeterRequest
434
434
  * @param meterId
435
435
  */
436
- updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<UpdateMeterResponse>>;
436
+ updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Promise<HttpInfo<UpdateMeterResponse>>;
437
437
  /**
438
438
  * Update a Meter by id.
439
439
  * Update Meter
440
440
  * @param updateMeterRequest
441
441
  * @param meterId
442
442
  */
443
- updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: PromiseConfigurationOptions): Promise<UpdateMeterResponse>;
443
+ updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Promise<UpdateMeterResponse>;
444
444
  }
445
445
  import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
446
446
  export declare class PromisePlansApi {
@@ -451,39 +451,39 @@ export declare class PromisePlansApi {
451
451
  * Delete Plan
452
452
  * @param planId
453
453
  */
454
- deletePlanWithHttpInfo(planId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeletePlanResponse>>;
454
+ deletePlanWithHttpInfo(planId: string, _options?: Configuration): Promise<HttpInfo<DeletePlanResponse>>;
455
455
  /**
456
456
  * Delete a Plan by id.
457
457
  * Delete Plan
458
458
  * @param planId
459
459
  */
460
- deletePlan(planId: string, _options?: PromiseConfigurationOptions): Promise<DeletePlanResponse>;
460
+ deletePlan(planId: string, _options?: Configuration): Promise<DeletePlanResponse>;
461
461
  /**
462
462
  * Get a Plan by id.
463
463
  * Get Plan
464
464
  * @param planId
465
465
  */
466
- getPlanWithHttpInfo(planId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetPlanResponse>>;
466
+ getPlanWithHttpInfo(planId: string, _options?: Configuration): Promise<HttpInfo<GetPlanResponse>>;
467
467
  /**
468
468
  * Get a Plan by id.
469
469
  * Get Plan
470
470
  * @param planId
471
471
  */
472
- getPlan(planId: string, _options?: PromiseConfigurationOptions): Promise<GetPlanResponse>;
472
+ getPlan(planId: string, _options?: Configuration): Promise<GetPlanResponse>;
473
473
  /**
474
474
  * Get a list of Plans.
475
475
  * List Plans
476
476
  * @param [limit]
477
477
  * @param [cursor]
478
478
  */
479
- listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListPlansResponse>>;
479
+ listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListPlansResponse>>;
480
480
  /**
481
481
  * Get a list of Plans.
482
482
  * List Plans
483
483
  * @param [limit]
484
484
  * @param [cursor]
485
485
  */
486
- listPlans(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListPlansResponse>;
486
+ listPlans(limit?: number, cursor?: string, _options?: Configuration): Promise<ListPlansResponse>;
487
487
  }
488
488
  import { ProductConsumptionsApiRequestFactory, ProductConsumptionsApiResponseProcessor } from "../apis/ProductConsumptionsApi";
489
489
  export declare class PromiseProductConsumptionsApi {
@@ -494,13 +494,13 @@ export declare class PromiseProductConsumptionsApi {
494
494
  * Get product consumption
495
495
  * @param productId
496
496
  */
497
- getProductConsumptionWithHttpInfo(productId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetProductConsumptionResponse>>;
497
+ getProductConsumptionWithHttpInfo(productId: string, _options?: Configuration): Promise<HttpInfo<GetProductConsumptionResponse>>;
498
498
  /**
499
499
  * Use this action to get the consumption data for a product
500
500
  * Get product consumption
501
501
  * @param productId
502
502
  */
503
- getProductConsumption(productId: string, _options?: PromiseConfigurationOptions): Promise<GetProductConsumptionResponse>;
503
+ getProductConsumption(productId: string, _options?: Configuration): Promise<GetProductConsumptionResponse>;
504
504
  }
505
505
  import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
506
506
  export declare class PromiseReportsApi {
@@ -510,12 +510,12 @@ export declare class PromiseReportsApi {
510
510
  * Get commitment report
511
511
  * @param [reportId]
512
512
  */
513
- getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCommitmentReportResponse>>;
513
+ getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: Configuration): Promise<HttpInfo<GetCommitmentReportResponse>>;
514
514
  /**
515
515
  * Get commitment report
516
516
  * @param [reportId]
517
517
  */
518
- getCommitmentReportResponse(reportId?: string, _options?: PromiseConfigurationOptions): Promise<GetCommitmentReportResponse>;
518
+ getCommitmentReportResponse(reportId?: string, _options?: Configuration): Promise<GetCommitmentReportResponse>;
519
519
  /**
520
520
  * Use this endpoint to get the products usage report.
521
521
  * Get products usage report
@@ -523,7 +523,7 @@ export declare class PromiseReportsApi {
523
523
  * @param [limit]
524
524
  * @param [cursor]
525
525
  */
526
- getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetProductsUsageReportResponse>>;
526
+ getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<GetProductsUsageReportResponse>>;
527
527
  /**
528
528
  * Use this endpoint to get the products usage report.
529
529
  * Get products usage report
@@ -531,7 +531,7 @@ export declare class PromiseReportsApi {
531
531
  * @param [limit]
532
532
  * @param [cursor]
533
533
  */
534
- getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<GetProductsUsageReportResponse>;
534
+ getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<GetProductsUsageReportResponse>;
535
535
  }
536
536
  import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
537
537
  export declare class PromiseWebhooksApi {
@@ -542,11 +542,11 @@ export declare class PromiseWebhooksApi {
542
542
  * Subscribe to webhooks
543
543
  * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
544
544
  */
545
- webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
545
+ webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Promise<HttpInfo<void>>;
546
546
  /**
547
547
  * Use this endpoint to subscribe to webhooks and receive event notifications.
548
548
  * Subscribe to webhooks
549
549
  * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
550
550
  */
551
- webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: PromiseConfigurationOptions): Promise<void>;
551
+ webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Promise<void>;
552
552
  }