@invoicetronic/ts-sdk 1.1.7 → 1.3.0

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 (88) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/api.ts +1 -0
  4. package/common.ts +15 -2
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +1 -0
  7. package/dist/api.js +1 -0
  8. package/dist/common.d.ts +6 -0
  9. package/dist/common.js +17 -3
  10. package/dist/configuration.js +1 -1
  11. package/dist/esm/api.d.ts +1 -0
  12. package/dist/esm/api.js +1 -0
  13. package/dist/esm/common.d.ts +6 -0
  14. package/dist/esm/common.js +15 -2
  15. package/dist/esm/configuration.js +1 -1
  16. package/dist/esm/src/api/company-api.d.ts +35 -30
  17. package/dist/esm/src/api/company-api.js +34 -27
  18. package/dist/esm/src/api/export-api.d.ts +115 -0
  19. package/dist/esm/src/api/export-api.js +179 -0
  20. package/dist/esm/src/api/log-api.d.ts +10 -10
  21. package/dist/esm/src/api/log-api.js +8 -8
  22. package/dist/esm/src/api/receive-api.d.ts +15 -15
  23. package/dist/esm/src/api/receive-api.js +12 -12
  24. package/dist/esm/src/api/send-api.d.ts +55 -55
  25. package/dist/esm/src/api/send-api.js +44 -44
  26. package/dist/esm/src/api/status-api.d.ts +5 -5
  27. package/dist/esm/src/api/status-api.js +4 -4
  28. package/dist/esm/src/api/update-api.d.ts +10 -10
  29. package/dist/esm/src/api/update-api.js +8 -8
  30. package/dist/esm/src/api/webhook-api.d.ts +25 -25
  31. package/dist/esm/src/api/webhook-api.js +20 -20
  32. package/dist/esm/src/models/event.d.ts +2 -2
  33. package/dist/esm/src/models/receive.d.ts +3 -3
  34. package/dist/esm/src/models/send.d.ts +2 -2
  35. package/dist/esm/src/models/update.d.ts +2 -2
  36. package/dist/esm/src/models/web-hook-history.d.ts +1 -1
  37. package/dist/esm/src/models/web-hook.d.ts +2 -2
  38. package/dist/src/api/company-api.d.ts +35 -30
  39. package/dist/src/api/company-api.js +34 -27
  40. package/dist/src/api/export-api.d.ts +115 -0
  41. package/dist/src/api/export-api.js +186 -0
  42. package/dist/src/api/log-api.d.ts +10 -10
  43. package/dist/src/api/log-api.js +8 -8
  44. package/dist/src/api/receive-api.d.ts +15 -15
  45. package/dist/src/api/receive-api.js +12 -12
  46. package/dist/src/api/send-api.d.ts +55 -55
  47. package/dist/src/api/send-api.js +44 -44
  48. package/dist/src/api/status-api.d.ts +5 -5
  49. package/dist/src/api/status-api.js +4 -4
  50. package/dist/src/api/update-api.d.ts +10 -10
  51. package/dist/src/api/update-api.js +8 -8
  52. package/dist/src/api/webhook-api.d.ts +25 -25
  53. package/dist/src/api/webhook-api.js +20 -20
  54. package/dist/src/models/event.d.ts +2 -2
  55. package/dist/src/models/receive.d.ts +3 -3
  56. package/dist/src/models/send.d.ts +2 -2
  57. package/dist/src/models/update.d.ts +2 -2
  58. package/dist/src/models/web-hook-history.d.ts +1 -1
  59. package/dist/src/models/web-hook.d.ts +2 -2
  60. package/docs/CompanyApi.md +10 -6
  61. package/docs/Event.md +2 -2
  62. package/docs/ExportApi.md +79 -0
  63. package/docs/LogApi.md +2 -2
  64. package/docs/Receive.md +3 -3
  65. package/docs/ReceiveApi.md +4 -3
  66. package/docs/Send.md +2 -2
  67. package/docs/SendApi.md +11 -11
  68. package/docs/StatusApi.md +1 -1
  69. package/docs/Update.md +2 -2
  70. package/docs/UpdateApi.md +2 -2
  71. package/docs/WebHook.md +2 -2
  72. package/docs/WebHookHistory.md +1 -1
  73. package/docs/WebhookApi.md +6 -5
  74. package/package.json +1 -1
  75. package/src/api/company-api.ts +43 -34
  76. package/src/api/export-api.ts +211 -0
  77. package/src/api/log-api.ts +11 -11
  78. package/src/api/receive-api.ts +16 -16
  79. package/src/api/send-api.ts +56 -56
  80. package/src/api/status-api.ts +6 -6
  81. package/src/api/update-api.ts +11 -11
  82. package/src/api/webhook-api.ts +26 -26
  83. package/src/models/event.ts +2 -2
  84. package/src/models/receive.ts +3 -3
  85. package/src/models/send.ts +2 -2
  86. package/src/models/update.ts +2 -2
  87. package/src/models/web-hook-history.ts +1 -1
  88. package/src/models/web-hook.ts +2 -2
@@ -18,7 +18,7 @@ import type { Event } from '../../src/models';
18
18
  */
19
19
  export declare const LogApiAxiosParamCreator: (configuration?: Configuration) => {
20
20
  /**
21
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
21
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
22
22
  * @summary List events
23
23
  * @param {number} [companyId] Company id
24
24
  * @param {string} [endpoint]
@@ -39,7 +39,7 @@ export declare const LogApiAxiosParamCreator: (configuration?: Configuration) =>
39
39
  */
40
40
  logGet: (companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
42
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
43
43
  * @summary Get an event by id
44
44
  * @param {number} id Item id
45
45
  * @param {*} [options] Override http request option.
@@ -52,7 +52,7 @@ export declare const LogApiAxiosParamCreator: (configuration?: Configuration) =>
52
52
  */
53
53
  export declare const LogApiFp: (configuration?: Configuration) => {
54
54
  /**
55
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
55
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
56
56
  * @summary List events
57
57
  * @param {number} [companyId] Company id
58
58
  * @param {string} [endpoint]
@@ -73,7 +73,7 @@ export declare const LogApiFp: (configuration?: Configuration) => {
73
73
  */
74
74
  logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Event>>>;
75
75
  /**
76
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
76
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
77
77
  * @summary Get an event by id
78
78
  * @param {number} id Item id
79
79
  * @param {*} [options] Override http request option.
@@ -86,7 +86,7 @@ export declare const LogApiFp: (configuration?: Configuration) => {
86
86
  */
87
87
  export declare const LogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
88
88
  /**
89
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
89
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
90
90
  * @summary List events
91
91
  * @param {number} [companyId] Company id
92
92
  * @param {string} [endpoint]
@@ -107,7 +107,7 @@ export declare const LogApiFactory: (configuration?: Configuration, basePath?: s
107
107
  */
108
108
  logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
109
109
  /**
110
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
110
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
111
111
  * @summary Get an event by id
112
112
  * @param {number} id Item id
113
113
  * @param {*} [options] Override http request option.
@@ -120,7 +120,7 @@ export declare const LogApiFactory: (configuration?: Configuration, basePath?: s
120
120
  */
121
121
  export interface LogApiInterface {
122
122
  /**
123
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
123
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
124
124
  * @summary List events
125
125
  * @param {number} [companyId] Company id
126
126
  * @param {string} [endpoint]
@@ -141,7 +141,7 @@ export interface LogApiInterface {
141
141
  */
142
142
  logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Event>>;
143
143
  /**
144
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
144
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
145
145
  * @summary Get an event by id
146
146
  * @param {number} id Item id
147
147
  * @param {*} [options] Override http request option.
@@ -154,7 +154,7 @@ export interface LogApiInterface {
154
154
  */
155
155
  export declare class LogApi extends BaseAPI implements LogApiInterface {
156
156
  /**
157
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
157
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
158
158
  * @summary List events
159
159
  * @param {number} [companyId] Company id
160
160
  * @param {string} [endpoint]
@@ -175,7 +175,7 @@ export declare class LogApi extends BaseAPI implements LogApiInterface {
175
175
  */
176
176
  logGet(companyId?: number, endpoint?: string, method?: string, apiVerion?: number, statusCode?: number, dateCreatedFrom?: string, dateCreatedTo?: string, page?: number, pageSize?: number, sort?: string, query?: string, success?: boolean, dateTimeFrom?: string, dateTimeTo?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Event[], any, {}>>;
177
177
  /**
178
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
178
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
179
179
  * @summary Get an event by id
180
180
  * @param {number} id Item id
181
181
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
35
35
  export const LogApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
37
  /**
38
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
38
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
39
39
  * @summary List events
40
40
  * @param {number} [companyId] Company id
41
41
  * @param {string} [endpoint]
@@ -128,7 +128,7 @@ export const LogApiAxiosParamCreator = function (configuration) {
128
128
  };
129
129
  }),
130
130
  /**
131
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
131
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
132
132
  * @summary Get an event by id
133
133
  * @param {number} id Item id
134
134
  * @param {*} [options] Override http request option.
@@ -169,7 +169,7 @@ export const LogApiFp = function (configuration) {
169
169
  const localVarAxiosParamCreator = LogApiAxiosParamCreator(configuration);
170
170
  return {
171
171
  /**
172
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
172
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
173
173
  * @summary List events
174
174
  * @param {number} [companyId] Company id
175
175
  * @param {string} [endpoint]
@@ -198,7 +198,7 @@ export const LogApiFp = function (configuration) {
198
198
  });
199
199
  },
200
200
  /**
201
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
201
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
202
202
  * @summary Get an event by id
203
203
  * @param {number} id Item id
204
204
  * @param {*} [options] Override http request option.
@@ -222,7 +222,7 @@ export const LogApiFactory = function (configuration, basePath, axios) {
222
222
  const localVarFp = LogApiFp(configuration);
223
223
  return {
224
224
  /**
225
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
225
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
226
226
  * @summary List events
227
227
  * @param {number} [companyId] Company id
228
228
  * @param {string} [endpoint]
@@ -245,7 +245,7 @@ export const LogApiFactory = function (configuration, basePath, axios) {
245
245
  return localVarFp.logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(axios, basePath));
246
246
  },
247
247
  /**
248
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
248
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
249
249
  * @summary Get an event by id
250
250
  * @param {number} id Item id
251
251
  * @param {*} [options] Override http request option.
@@ -261,7 +261,7 @@ export const LogApiFactory = function (configuration, basePath, axios) {
261
261
  */
262
262
  export class LogApi extends BaseAPI {
263
263
  /**
264
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
264
+ * Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
265
265
  * @summary List events
266
266
  * @param {number} [companyId] Company id
267
267
  * @param {string} [endpoint]
@@ -284,7 +284,7 @@ export class LogApi extends BaseAPI {
284
284
  return LogApiFp(this.configuration).logGet(companyId, endpoint, method, apiVerion, statusCode, dateCreatedFrom, dateCreatedTo, page, pageSize, sort, query, success, dateTimeFrom, dateTimeTo, options).then((request) => request(this.axios, this.basePath));
285
285
  }
286
286
  /**
287
- * Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
287
+ * Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
288
288
  * @summary Get an event by id
289
289
  * @param {number} id Item id
290
290
  * @param {*} [options] Override http request option.
@@ -18,7 +18,7 @@ import type { Receive } from '../../src/models';
18
18
  */
19
19
  export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration) => {
20
20
  /**
21
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
21
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
22
22
  * @summary List incoming invoices
23
23
  * @param {number} [companyId] Company id
24
24
  * @param {string} [identifier] SDI identifier.
@@ -42,7 +42,7 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
42
42
  */
43
43
  receiveGet: (companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
45
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
46
46
  * @summary Delete an incoming invoice by id
47
47
  * @param {number} id Item id
48
48
  * @param {*} [options] Override http request option.
@@ -50,7 +50,7 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
50
50
  */
51
51
  receiveIdDelete: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
52
  /**
53
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
53
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
54
54
  * @summary Get an incoming invoice by id
55
55
  * @param {number} id Item id
56
56
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -64,7 +64,7 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
64
64
  */
65
65
  export declare const ReceiveApiFp: (configuration?: Configuration) => {
66
66
  /**
67
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
67
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
68
68
  * @summary List incoming invoices
69
69
  * @param {number} [companyId] Company id
70
70
  * @param {string} [identifier] SDI identifier.
@@ -88,7 +88,7 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
88
88
  */
89
89
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Receive>>>;
90
90
  /**
91
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
91
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
92
92
  * @summary Delete an incoming invoice by id
93
93
  * @param {number} id Item id
94
94
  * @param {*} [options] Override http request option.
@@ -96,7 +96,7 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
96
96
  */
97
97
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Receive>>;
98
98
  /**
99
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
99
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
100
100
  * @summary Get an incoming invoice by id
101
101
  * @param {number} id Item id
102
102
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -110,7 +110,7 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
110
110
  */
111
111
  export declare const ReceiveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
112
112
  /**
113
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
113
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
114
114
  * @summary List incoming invoices
115
115
  * @param {number} [companyId] Company id
116
116
  * @param {string} [identifier] SDI identifier.
@@ -134,7 +134,7 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
134
134
  */
135
135
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
136
136
  /**
137
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
137
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
138
138
  * @summary Delete an incoming invoice by id
139
139
  * @param {number} id Item id
140
140
  * @param {*} [options] Override http request option.
@@ -142,7 +142,7 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
142
142
  */
143
143
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
144
144
  /**
145
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
145
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
146
146
  * @summary Get an incoming invoice by id
147
147
  * @param {number} id Item id
148
148
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -156,7 +156,7 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
156
156
  */
157
157
  export interface ReceiveApiInterface {
158
158
  /**
159
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
159
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
160
160
  * @summary List incoming invoices
161
161
  * @param {number} [companyId] Company id
162
162
  * @param {string} [identifier] SDI identifier.
@@ -180,7 +180,7 @@ export interface ReceiveApiInterface {
180
180
  */
181
181
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Receive>>;
182
182
  /**
183
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
183
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
184
184
  * @summary Delete an incoming invoice by id
185
185
  * @param {number} id Item id
186
186
  * @param {*} [options] Override http request option.
@@ -188,7 +188,7 @@ export interface ReceiveApiInterface {
188
188
  */
189
189
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
190
190
  /**
191
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
191
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
192
192
  * @summary Get an incoming invoice by id
193
193
  * @param {number} id Item id
194
194
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -202,7 +202,7 @@ export interface ReceiveApiInterface {
202
202
  */
203
203
  export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
204
204
  /**
205
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
205
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
206
206
  * @summary List incoming invoices
207
207
  * @param {number} [companyId] Company id
208
208
  * @param {string} [identifier] SDI identifier.
@@ -226,7 +226,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
226
226
  */
227
227
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive[], any, {}>>;
228
228
  /**
229
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
229
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
230
230
  * @summary Delete an incoming invoice by id
231
231
  * @param {number} id Item id
232
232
  * @param {*} [options] Override http request option.
@@ -234,7 +234,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
234
234
  */
235
235
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
236
236
  /**
237
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
237
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
238
238
  * @summary Get an incoming invoice by id
239
239
  * @param {number} id Item id
240
240
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -35,7 +35,7 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../../base';
35
35
  export const ReceiveApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
37
  /**
38
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
38
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
39
39
  * @summary List incoming invoices
40
40
  * @param {number} [companyId] Company id
41
41
  * @param {string} [identifier] SDI identifier.
@@ -144,7 +144,7 @@ export const ReceiveApiAxiosParamCreator = function (configuration) {
144
144
  };
145
145
  }),
146
146
  /**
147
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
147
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
148
148
  * @summary Delete an incoming invoice by id
149
149
  * @param {number} id Item id
150
150
  * @param {*} [options] Override http request option.
@@ -177,7 +177,7 @@ export const ReceiveApiAxiosParamCreator = function (configuration) {
177
177
  };
178
178
  }),
179
179
  /**
180
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
180
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
181
181
  * @summary Get an incoming invoice by id
182
182
  * @param {number} id Item id
183
183
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -222,7 +222,7 @@ export const ReceiveApiFp = function (configuration) {
222
222
  const localVarAxiosParamCreator = ReceiveApiAxiosParamCreator(configuration);
223
223
  return {
224
224
  /**
225
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
225
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
226
226
  * @summary List incoming invoices
227
227
  * @param {number} [companyId] Company id
228
228
  * @param {string} [identifier] SDI identifier.
@@ -254,7 +254,7 @@ export const ReceiveApiFp = function (configuration) {
254
254
  });
255
255
  },
256
256
  /**
257
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
257
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
258
258
  * @summary Delete an incoming invoice by id
259
259
  * @param {number} id Item id
260
260
  * @param {*} [options] Override http request option.
@@ -270,7 +270,7 @@ export const ReceiveApiFp = function (configuration) {
270
270
  });
271
271
  },
272
272
  /**
273
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
273
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
274
274
  * @summary Get an incoming invoice by id
275
275
  * @param {number} id Item id
276
276
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -295,7 +295,7 @@ export const ReceiveApiFactory = function (configuration, basePath, axios) {
295
295
  const localVarFp = ReceiveApiFp(configuration);
296
296
  return {
297
297
  /**
298
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
298
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
299
299
  * @summary List incoming invoices
300
300
  * @param {number} [companyId] Company id
301
301
  * @param {string} [identifier] SDI identifier.
@@ -321,7 +321,7 @@ export const ReceiveApiFactory = function (configuration, basePath, axios) {
321
321
  return localVarFp.receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(axios, basePath));
322
322
  },
323
323
  /**
324
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
324
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
325
325
  * @summary Delete an incoming invoice by id
326
326
  * @param {number} id Item id
327
327
  * @param {*} [options] Override http request option.
@@ -331,7 +331,7 @@ export const ReceiveApiFactory = function (configuration, basePath, axios) {
331
331
  return localVarFp.receiveIdDelete(id, options).then((request) => request(axios, basePath));
332
332
  },
333
333
  /**
334
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
334
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
335
335
  * @summary Get an incoming invoice by id
336
336
  * @param {number} id Item id
337
337
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -348,7 +348,7 @@ export const ReceiveApiFactory = function (configuration, basePath, axios) {
348
348
  */
349
349
  export class ReceiveApi extends BaseAPI {
350
350
  /**
351
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
351
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
352
352
  * @summary List incoming invoices
353
353
  * @param {number} [companyId] Company id
354
354
  * @param {string} [identifier] SDI identifier.
@@ -374,7 +374,7 @@ export class ReceiveApi extends BaseAPI {
374
374
  return ReceiveApiFp(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(this.axios, this.basePath));
375
375
  }
376
376
  /**
377
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
377
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
378
378
  * @summary Delete an incoming invoice by id
379
379
  * @param {number} id Item id
380
380
  * @param {*} [options] Override http request option.
@@ -384,7 +384,7 @@ export class ReceiveApi extends BaseAPI {
384
384
  return ReceiveApiFp(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
385
385
  }
386
386
  /**
387
- * Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
387
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
388
388
  * @summary Get an incoming invoice by id
389
389
  * @param {number} id Item id
390
390
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.