@factpulse/sdk 3.0.2 → 3.0.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.
@@ -26,6 +26,7 @@ docs/APIProfile.md
26
26
  docs/AcknowledgmentStatus.md
27
27
  docs/AllowanceReasonCode.md
28
28
  docs/AmountDue.md
29
+ docs/AsyncTaskStatus.md
29
30
  docs/BoundingBoxSchema.md
30
31
  docs/CeleryStatus.md
31
32
  docs/CertificateInfoResponse.md
@@ -115,7 +116,6 @@ docs/SubmitVatAmount.md
115
116
  docs/SupplementaryAttachment.md
116
117
  docs/Supplier.md
117
118
  docs/TaskResponse.md
118
- docs/TaskStatus.md
119
119
  docs/TaxableAmount.md
120
120
  docs/TotalGrossAmount.md
121
121
  docs/TotalNetAmount.md
@@ -145,6 +145,7 @@ models/allowance-reason-code.ts
145
145
  models/amount-due.ts
146
146
  models/apierror.ts
147
147
  models/apiprofile.ts
148
+ models/async-task-status.ts
148
149
  models/bounding-box-schema.ts
149
150
  models/celery-status.ts
150
151
  models/certificate-info-response.ts
@@ -231,7 +232,6 @@ models/submit-vat-amount.ts
231
232
  models/supplementary-attachment.ts
232
233
  models/supplier.ts
233
234
  models/task-response.ts
234
- models/task-status.ts
235
235
  models/taxable-amount.ts
236
236
  models/total-gross-amount.ts
237
237
  models/total-net-amount.ts
package/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [3.0.2] - 2025-12-19
10
+ ## [3.0.3] - 2025-12-19
11
11
 
12
12
  ### Added
13
13
  - Version initiale du SDK typescript
@@ -24,5 +24,5 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
24
24
  - Guide d'authentification JWT
25
25
  - Configuration avancée (timeout, proxy, debug)
26
26
 
27
- [Unreleased]: https://github.com/factpulse/sdk-typescript/compare/v3.0.2...HEAD
28
- [3.0.2]: https://github.com/factpulse/sdk-typescript/releases/tag/v3.0.2
27
+ [Unreleased]: https://github.com/factpulse/sdk-typescript/compare/v3.0.3...HEAD
28
+ [3.0.3]: https://github.com/factpulse/sdk-typescript/releases/tag/v3.0.3
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
24
24
  // @ts-ignore
25
25
  import type { APIProfile } from '../models';
26
26
  // @ts-ignore
27
+ import type { AsyncTaskStatus } from '../models';
28
+ // @ts-ignore
27
29
  import type { GenerateCertificateRequest } from '../models';
28
30
  // @ts-ignore
29
31
  import type { GenerateCertificateResponse } from '../models';
@@ -40,8 +42,6 @@ import type { SubmitCompleteInvoiceResponse } from '../models';
40
42
  // @ts-ignore
41
43
  import type { TaskResponse } from '../models';
42
44
  // @ts-ignore
43
- import type { TaskStatus } from '../models';
44
- // @ts-ignore
45
45
  import type { ValidationErrorResponse } from '../models';
46
46
  // @ts-ignore
47
47
  import type { ValidationSuccessResponse } from '../models';
@@ -664,7 +664,7 @@ export const InvoiceProcessingApiFp = function(configuration?: Configuration) {
664
664
  * @param {*} [options] Override http request option.
665
665
  * @throws {RequiredError}
666
666
  */
667
- async getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>> {
667
+ async getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>> {
668
668
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId, options);
669
669
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
670
670
  const localVarOperationServerBasePath = operationServerMap['InvoiceProcessingApi.getTaskStatusApiV1ProcessingTasksTaskIdStatusGet']?.[localVarOperationServerIndex]?.url;
@@ -831,7 +831,7 @@ export const InvoiceProcessingApiFactory = function (configuration?: Configurati
831
831
  * @param {*} [options] Override http request option.
832
832
  * @throws {RequiredError}
833
833
  */
834
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus> {
834
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus> {
835
835
  return localVarFp.getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId, options).then((request) => request(axios, basePath));
836
836
  },
837
837
  /**
@@ -24,12 +24,12 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
24
24
  // @ts-ignore
25
25
  import type { APIError } from '../models';
26
26
  // @ts-ignore
27
+ import type { AsyncTaskStatus } from '../models';
28
+ // @ts-ignore
27
29
  import type { HTTPValidationError } from '../models';
28
30
  // @ts-ignore
29
31
  import type { TaskResponse } from '../models';
30
32
  // @ts-ignore
31
- import type { TaskStatus } from '../models';
32
- // @ts-ignore
33
33
  import type { VerificationSuccessResponse } from '../models';
34
34
  /**
35
35
  * PDFXMLVerificationApi - axios parameter creator
@@ -314,7 +314,7 @@ export const PDFXMLVerificationApiFp = function(configuration?: Configuration) {
314
314
  * @param {*} [options] Override http request option.
315
315
  * @throws {RequiredError}
316
316
  */
317
- async getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>> {
317
+ async getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>> {
318
318
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId, options);
319
319
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
320
320
  const localVarOperationServerBasePath = operationServerMap['PDFXMLVerificationApi.getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet']?.[localVarOperationServerIndex]?.url;
@@ -327,7 +327,7 @@ export const PDFXMLVerificationApiFp = function(configuration?: Configuration) {
327
327
  * @param {*} [options] Override http request option.
328
328
  * @throws {RequiredError}
329
329
  */
330
- async getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>> {
330
+ async getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>> {
331
331
  const localVarAxiosArgs = await localVarAxiosParamCreator.getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId, options);
332
332
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
333
333
  const localVarOperationServerBasePath = operationServerMap['PDFXMLVerificationApi.getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1']?.[localVarOperationServerIndex]?.url;
@@ -403,7 +403,7 @@ export const PDFXMLVerificationApiFactory = function (configuration?: Configurat
403
403
  * @param {*} [options] Override http request option.
404
404
  * @throws {RequiredError}
405
405
  */
406
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus> {
406
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus> {
407
407
  return localVarFp.getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId, options).then((request) => request(axios, basePath));
408
408
  },
409
409
  /**
@@ -413,7 +413,7 @@ export const PDFXMLVerificationApiFactory = function (configuration?: Configurat
413
413
  * @param {*} [options] Override http request option.
414
414
  * @throws {RequiredError}
415
415
  */
416
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus> {
416
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus> {
417
417
  return localVarFp.getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId, options).then((request) => request(axios, basePath));
418
418
  },
419
419
  /**
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { APIProfile } from '../models';
16
+ import type { AsyncTaskStatus } from '../models';
16
17
  import type { GenerateCertificateRequest } from '../models';
17
18
  import type { GenerateCertificateResponse } from '../models';
18
19
  import type { OutputFormat } from '../models';
@@ -20,7 +21,6 @@ import type { PDFValidationResultAPI } from '../models';
20
21
  import type { SubmitCompleteInvoiceRequest } from '../models';
21
22
  import type { SubmitCompleteInvoiceResponse } from '../models';
22
23
  import type { TaskResponse } from '../models';
23
- import type { TaskStatus } from '../models';
24
24
  import type { ValidationSuccessResponse } from '../models';
25
25
  /**
26
26
  * InvoiceProcessingApi - axios parameter creator
@@ -167,7 +167,7 @@ export declare const InvoiceProcessingApiFp: (configuration?: Configuration) =>
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>>;
170
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
171
171
  /**
172
172
  * Signs an uploaded PDF with the electronic certificate configured for the client (via client_uid from JWT). **Supported standards**: PAdES-B-B, PAdES-B-T (timestamping), PAdES-B-LT (long-term archiving). **eIDAS levels**: SES (self-signed), AdES (commercial CA), QES (PSCO - out of scope). **Security**: Double authentication X-Internal-Secret + JWT Bearer to retrieve the certificate. **⚠️ Legal disclaimer**: Generated signatures are electronic seals as defined by the eIDAS regulation. The level of legal validity depends on the certificate used (SES/AdES/QES). FactPulse does not provide QES qualified certificates - you must obtain a certificate from a PSCO (qualified Trust Service Provider) for maximum legal validity.
173
173
  * @summary Sign a PDF with client\'s certificate (PAdES-B-LT)
@@ -281,7 +281,7 @@ export declare const InvoiceProcessingApiFactory: (configuration?: Configuration
281
281
  * @param {*} [options] Override http request option.
282
282
  * @throws {RequiredError}
283
283
  */
284
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus>;
284
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
285
285
  /**
286
286
  * Signs an uploaded PDF with the electronic certificate configured for the client (via client_uid from JWT). **Supported standards**: PAdES-B-B, PAdES-B-T (timestamping), PAdES-B-LT (long-term archiving). **eIDAS levels**: SES (self-signed), AdES (commercial CA), QES (PSCO - out of scope). **Security**: Double authentication X-Internal-Secret + JWT Bearer to retrieve the certificate. **⚠️ Legal disclaimer**: Generated signatures are electronic seals as defined by the eIDAS regulation. The level of legal validity depends on the certificate used (SES/AdES/QES). FactPulse does not provide QES qualified certificates - you must obtain a certificate from a PSCO (qualified Trust Service Provider) for maximum legal validity.
287
287
  * @summary Sign a PDF with client\'s certificate (PAdES-B-LT)
@@ -395,7 +395,7 @@ export declare class InvoiceProcessingApi extends BaseAPI {
395
395
  * @param {*} [options] Override http request option.
396
396
  * @throws {RequiredError}
397
397
  */
398
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskStatus, any, {}>>;
398
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
399
399
  /**
400
400
  * Signs an uploaded PDF with the electronic certificate configured for the client (via client_uid from JWT). **Supported standards**: PAdES-B-B, PAdES-B-T (timestamping), PAdES-B-LT (long-term archiving). **eIDAS levels**: SES (self-signed), AdES (commercial CA), QES (PSCO - out of scope). **Security**: Double authentication X-Internal-Secret + JWT Bearer to retrieve the certificate. **⚠️ Legal disclaimer**: Generated signatures are electronic seals as defined by the eIDAS regulation. The level of legal validity depends on the certificate used (SES/AdES/QES). FactPulse does not provide QES qualified certificates - you must obtain a certificate from a PSCO (qualified Trust Service Provider) for maximum legal validity.
401
401
  * @summary Sign a PDF with client\'s certificate (PAdES-B-LT)
@@ -12,8 +12,8 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AsyncTaskStatus } from '../models';
15
16
  import type { TaskResponse } from '../models';
16
- import type { TaskStatus } from '../models';
17
17
  import type { VerificationSuccessResponse } from '../models';
18
18
  /**
19
19
  * PDFXMLVerificationApi - axios parameter creator
@@ -81,7 +81,7 @@ export declare const PDFXMLVerificationApiFp: (configuration?: Configuration) =>
81
81
  * @param {*} [options] Override http request option.
82
82
  * @throws {RequiredError}
83
83
  */
84
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>>;
84
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
85
85
  /**
86
86
  * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
87
87
  * @summary Get status of an asynchronous verification
@@ -89,7 +89,7 @@ export declare const PDFXMLVerificationApiFp: (configuration?: Configuration) =>
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
91
91
  */
92
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>>;
92
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
93
93
  /**
94
94
  * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server
95
95
  * @summary Verify PDF/XML Factur-X compliance (asynchronous)
@@ -136,7 +136,7 @@ export declare const PDFXMLVerificationApiFactory: (configuration?: Configuratio
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
139
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus>;
139
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
140
140
  /**
141
141
  * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
142
142
  * @summary Get status of an asynchronous verification
@@ -144,7 +144,7 @@ export declare const PDFXMLVerificationApiFactory: (configuration?: Configuratio
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
147
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus>;
147
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
148
148
  /**
149
149
  * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server
150
150
  * @summary Verify PDF/XML Factur-X compliance (asynchronous)
@@ -191,7 +191,7 @@ export declare class PDFXMLVerificationApi extends BaseAPI {
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
193
193
  */
194
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskStatus, any, {}>>;
194
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
195
195
  /**
196
196
  * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
197
197
  * @summary Get status of an asynchronous verification
@@ -199,7 +199,7 @@ export declare class PDFXMLVerificationApi extends BaseAPI {
199
199
  * @param {*} [options] Override http request option.
200
200
  * @throws {RequiredError}
201
201
  */
202
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskStatus, any, {}>>;
202
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
203
203
  /**
204
204
  * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server
205
205
  * @summary Verify PDF/XML Factur-X compliance (asynchronous)
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { APIProfile } from '../models';
16
+ import type { AsyncTaskStatus } from '../models';
16
17
  import type { GenerateCertificateRequest } from '../models';
17
18
  import type { GenerateCertificateResponse } from '../models';
18
19
  import type { OutputFormat } from '../models';
@@ -20,7 +21,6 @@ import type { PDFValidationResultAPI } from '../models';
20
21
  import type { SubmitCompleteInvoiceRequest } from '../models';
21
22
  import type { SubmitCompleteInvoiceResponse } from '../models';
22
23
  import type { TaskResponse } from '../models';
23
- import type { TaskStatus } from '../models';
24
24
  import type { ValidationSuccessResponse } from '../models';
25
25
  /**
26
26
  * InvoiceProcessingApi - axios parameter creator
@@ -167,7 +167,7 @@ export declare const InvoiceProcessingApiFp: (configuration?: Configuration) =>
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>>;
170
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
171
171
  /**
172
172
  * Signs an uploaded PDF with the electronic certificate configured for the client (via client_uid from JWT). **Supported standards**: PAdES-B-B, PAdES-B-T (timestamping), PAdES-B-LT (long-term archiving). **eIDAS levels**: SES (self-signed), AdES (commercial CA), QES (PSCO - out of scope). **Security**: Double authentication X-Internal-Secret + JWT Bearer to retrieve the certificate. **⚠️ Legal disclaimer**: Generated signatures are electronic seals as defined by the eIDAS regulation. The level of legal validity depends on the certificate used (SES/AdES/QES). FactPulse does not provide QES qualified certificates - you must obtain a certificate from a PSCO (qualified Trust Service Provider) for maximum legal validity.
173
173
  * @summary Sign a PDF with client\'s certificate (PAdES-B-LT)
@@ -281,7 +281,7 @@ export declare const InvoiceProcessingApiFactory: (configuration?: Configuration
281
281
  * @param {*} [options] Override http request option.
282
282
  * @throws {RequiredError}
283
283
  */
284
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus>;
284
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
285
285
  /**
286
286
  * Signs an uploaded PDF with the electronic certificate configured for the client (via client_uid from JWT). **Supported standards**: PAdES-B-B, PAdES-B-T (timestamping), PAdES-B-LT (long-term archiving). **eIDAS levels**: SES (self-signed), AdES (commercial CA), QES (PSCO - out of scope). **Security**: Double authentication X-Internal-Secret + JWT Bearer to retrieve the certificate. **⚠️ Legal disclaimer**: Generated signatures are electronic seals as defined by the eIDAS regulation. The level of legal validity depends on the certificate used (SES/AdES/QES). FactPulse does not provide QES qualified certificates - you must obtain a certificate from a PSCO (qualified Trust Service Provider) for maximum legal validity.
287
287
  * @summary Sign a PDF with client\'s certificate (PAdES-B-LT)
@@ -395,7 +395,7 @@ export declare class InvoiceProcessingApi extends BaseAPI {
395
395
  * @param {*} [options] Override http request option.
396
396
  * @throws {RequiredError}
397
397
  */
398
- getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskStatus, any, {}>>;
398
+ getTaskStatusApiV1ProcessingTasksTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
399
399
  /**
400
400
  * Signs an uploaded PDF with the electronic certificate configured for the client (via client_uid from JWT). **Supported standards**: PAdES-B-B, PAdES-B-T (timestamping), PAdES-B-LT (long-term archiving). **eIDAS levels**: SES (self-signed), AdES (commercial CA), QES (PSCO - out of scope). **Security**: Double authentication X-Internal-Secret + JWT Bearer to retrieve the certificate. **⚠️ Legal disclaimer**: Generated signatures are electronic seals as defined by the eIDAS regulation. The level of legal validity depends on the certificate used (SES/AdES/QES). FactPulse does not provide QES qualified certificates - you must obtain a certificate from a PSCO (qualified Trust Service Provider) for maximum legal validity.
401
401
  * @summary Sign a PDF with client\'s certificate (PAdES-B-LT)
@@ -12,8 +12,8 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AsyncTaskStatus } from '../models';
15
16
  import type { TaskResponse } from '../models';
16
- import type { TaskStatus } from '../models';
17
17
  import type { VerificationSuccessResponse } from '../models';
18
18
  /**
19
19
  * PDFXMLVerificationApi - axios parameter creator
@@ -81,7 +81,7 @@ export declare const PDFXMLVerificationApiFp: (configuration?: Configuration) =>
81
81
  * @param {*} [options] Override http request option.
82
82
  * @throws {RequiredError}
83
83
  */
84
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>>;
84
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
85
85
  /**
86
86
  * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
87
87
  * @summary Get status of an asynchronous verification
@@ -89,7 +89,7 @@ export declare const PDFXMLVerificationApiFp: (configuration?: Configuration) =>
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
91
91
  */
92
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskStatus>>;
92
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
93
93
  /**
94
94
  * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server
95
95
  * @summary Verify PDF/XML Factur-X compliance (asynchronous)
@@ -136,7 +136,7 @@ export declare const PDFXMLVerificationApiFactory: (configuration?: Configuratio
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
139
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus>;
139
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
140
140
  /**
141
141
  * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
142
142
  * @summary Get status of an asynchronous verification
@@ -144,7 +144,7 @@ export declare const PDFXMLVerificationApiFactory: (configuration?: Configuratio
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
147
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskStatus>;
147
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
148
148
  /**
149
149
  * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server
150
150
  * @summary Verify PDF/XML Factur-X compliance (asynchronous)
@@ -191,7 +191,7 @@ export declare class PDFXMLVerificationApi extends BaseAPI {
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
193
193
  */
194
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskStatus, any, {}>>;
194
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
195
195
  /**
196
196
  * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
197
197
  * @summary Get status of an asynchronous verification
@@ -199,7 +199,7 @@ export declare class PDFXMLVerificationApi extends BaseAPI {
199
199
  * @param {*} [options] Override http request option.
200
200
  * @throws {RequiredError}
201
201
  */
202
- getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskStatus, any, {}>>;
202
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_1(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
203
203
  /**
204
204
  * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server
205
205
  * @summary Verify PDF/XML Factur-X compliance (asynchronous)
@@ -13,7 +13,7 @@ import type { CeleryStatus } from './celery-status';
13
13
  /**
14
14
  * Complete description of an async task status. The `status` field indicates the Celery state of the task. When `status=\"SUCCESS\"`, check `result.status` for the business result (\"SUCCESS\" or \"ERROR\").
15
15
  */
16
- export interface TaskStatus {
16
+ export interface AsyncTaskStatus {
17
17
  /**
18
18
  * Unique task identifier
19
19
  */
@@ -7,6 +7,7 @@ export * from './apiprofile';
7
7
  export * from './acknowledgment-status';
8
8
  export * from './allowance-reason-code';
9
9
  export * from './amount-due';
10
+ export * from './async-task-status';
10
11
  export * from './bounding-box-schema';
11
12
  export * from './celery-status';
12
13
  export * from './certificate-info-response';
@@ -92,7 +93,6 @@ export * from './submit-vat-amount';
92
93
  export * from './supplementary-attachment';
93
94
  export * from './supplier';
94
95
  export * from './task-response';
95
- export * from './task-status';
96
96
  export * from './taxable-amount';
97
97
  export * from './total-gross-amount';
98
98
  export * from './total-net-amount';
@@ -7,6 +7,7 @@ export * from './apiprofile';
7
7
  export * from './acknowledgment-status';
8
8
  export * from './allowance-reason-code';
9
9
  export * from './amount-due';
10
+ export * from './async-task-status';
10
11
  export * from './bounding-box-schema';
11
12
  export * from './celery-status';
12
13
  export * from './certificate-info-response';
@@ -92,7 +93,6 @@ export * from './submit-vat-amount';
92
93
  export * from './supplementary-attachment';
93
94
  export * from './supplier';
94
95
  export * from './task-response';
95
- export * from './task-status';
96
96
  export * from './taxable-amount';
97
97
  export * from './total-gross-amount';
98
98
  export * from './total-net-amount';
@@ -13,7 +13,7 @@ import type { CeleryStatus } from './celery-status';
13
13
  /**
14
14
  * Complete description of an async task status. The `status` field indicates the Celery state of the task. When `status=\"SUCCESS\"`, check `result.status` for the business result (\"SUCCESS\" or \"ERROR\").
15
15
  */
16
- export interface TaskStatus {
16
+ export interface AsyncTaskStatus {
17
17
  /**
18
18
  * Unique task identifier
19
19
  */
@@ -7,6 +7,7 @@ export * from './apiprofile';
7
7
  export * from './acknowledgment-status';
8
8
  export * from './allowance-reason-code';
9
9
  export * from './amount-due';
10
+ export * from './async-task-status';
10
11
  export * from './bounding-box-schema';
11
12
  export * from './celery-status';
12
13
  export * from './certificate-info-response';
@@ -92,7 +93,6 @@ export * from './submit-vat-amount';
92
93
  export * from './supplementary-attachment';
93
94
  export * from './supplier';
94
95
  export * from './task-response';
95
- export * from './task-status';
96
96
  export * from './taxable-amount';
97
97
  export * from './total-gross-amount';
98
98
  export * from './total-net-amount';
@@ -23,6 +23,7 @@ __exportStar(require("./apiprofile"), exports);
23
23
  __exportStar(require("./acknowledgment-status"), exports);
24
24
  __exportStar(require("./allowance-reason-code"), exports);
25
25
  __exportStar(require("./amount-due"), exports);
26
+ __exportStar(require("./async-task-status"), exports);
26
27
  __exportStar(require("./bounding-box-schema"), exports);
27
28
  __exportStar(require("./celery-status"), exports);
28
29
  __exportStar(require("./certificate-info-response"), exports);
@@ -108,7 +109,6 @@ __exportStar(require("./submit-vat-amount"), exports);
108
109
  __exportStar(require("./supplementary-attachment"), exports);
109
110
  __exportStar(require("./supplier"), exports);
110
111
  __exportStar(require("./task-response"), exports);
111
- __exportStar(require("./task-status"), exports);
112
112
  __exportStar(require("./taxable-amount"), exports);
113
113
  __exportStar(require("./total-gross-amount"), exports);
114
114
  __exportStar(require("./total-net-amount"), exports);
@@ -1,4 +1,4 @@
1
- # TaskStatus
1
+ # AsyncTaskStatus
2
2
 
3
3
  Complete description of an async task status. The `status` field indicates the Celery state of the task. When `status=\"SUCCESS\"`, check `result.status` for the business result (\"SUCCESS\" or \"ERROR\").
4
4
 
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { TaskStatus } from '@factpulse/sdk';
16
+ import { AsyncTaskStatus } from '@factpulse/sdk';
17
17
 
18
- const instance: TaskStatus = {
18
+ const instance: AsyncTaskStatus = {
19
19
  taskId,
20
20
  status,
21
21
  result,
@@ -137,7 +137,7 @@ const { status, data } = await apiInstance.generateTestCertificateApiV1Processin
137
137
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
138
138
 
139
139
  # **getTaskStatusApiV1ProcessingTasksTaskIdStatusGet**
140
- > TaskStatus getTaskStatusApiV1ProcessingTasksTaskIdStatusGet()
140
+ > AsyncTaskStatus getTaskStatusApiV1ProcessingTasksTaskIdStatusGet()
141
141
 
142
142
  Retrieves the progress status of an invoice generation task. ## Possible states The `status` field uses the `CeleryStatus` enum with values: - **PENDING, STARTED, SUCCESS, FAILURE, RETRY** See the `CeleryStatus` schema documentation for details. ## Business result When `status=\"SUCCESS\"`, the `result` field contains: - `status`: \"SUCCESS\" or \"ERROR\" (business result) - `content_b64`: Base64 encoded content (if success) - `errorCode`, `errorMessage`, `details`: AFNOR format (if business error) ## Usage Poll this endpoint every 2-3 seconds until `status` is `SUCCESS` or `FAILURE`.
143
143
 
@@ -168,7 +168,7 @@ const { status, data } = await apiInstance.getTaskStatusApiV1ProcessingTasksTask
168
168
 
169
169
  ### Return type
170
170
 
171
- **TaskStatus**
171
+ **AsyncTaskStatus**
172
172
 
173
173
  ### Authorization
174
174
 
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost*
12
12
  |[**verifyPdfSyncApiV1VerificationVerifyPost_0**](#verifypdfsyncapiv1verificationverifypost_0) | **POST** /api/v1/verification/verify | Verify PDF/XML Factur-X compliance (synchronous)|
13
13
 
14
14
  # **getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet**
15
- > TaskStatus getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet()
15
+ > AsyncTaskStatus getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet()
16
16
 
17
17
  Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
18
18
 
@@ -43,7 +43,7 @@ const { status, data } = await apiInstance.getVerificationStatusApiV1Verificatio
43
43
 
44
44
  ### Return type
45
45
 
46
- **TaskStatus**
46
+ **AsyncTaskStatus**
47
47
 
48
48
  ### Authorization
49
49
 
@@ -64,7 +64,7 @@ const { status, data } = await apiInstance.getVerificationStatusApiV1Verificatio
64
64
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
65
65
 
66
66
  # **getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_0**
67
- > TaskStatus getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_0()
67
+ > AsyncTaskStatus getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet_0()
68
68
 
69
69
  Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
70
70
 
@@ -95,7 +95,7 @@ const { status, data } = await apiInstance.getVerificationStatusApiV1Verificatio
95
95
 
96
96
  ### Return type
97
97
 
98
- **TaskStatus**
98
+ **AsyncTaskStatus**
99
99
 
100
100
  ### Authorization
101
101
 
@@ -20,7 +20,7 @@ import type { CeleryStatus } from './celery-status';
20
20
  /**
21
21
  * Complete description of an async task status. The `status` field indicates the Celery state of the task. When `status=\"SUCCESS\"`, check `result.status` for the business result (\"SUCCESS\" or \"ERROR\").
22
22
  */
23
- export interface TaskStatus {
23
+ export interface AsyncTaskStatus {
24
24
  /**
25
25
  * Unique task identifier
26
26
  */
package/models/index.ts CHANGED
@@ -7,6 +7,7 @@ export * from './apiprofile';
7
7
  export * from './acknowledgment-status';
8
8
  export * from './allowance-reason-code';
9
9
  export * from './amount-due';
10
+ export * from './async-task-status';
10
11
  export * from './bounding-box-schema';
11
12
  export * from './celery-status';
12
13
  export * from './certificate-info-response';
@@ -92,7 +93,6 @@ export * from './submit-vat-amount';
92
93
  export * from './supplementary-attachment';
93
94
  export * from './supplier';
94
95
  export * from './task-response';
95
- export * from './task-status';
96
96
  export * from './taxable-amount';
97
97
  export * from './total-gross-amount';
98
98
  export * from './total-net-amount';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factpulse/sdk",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "OpenAPI client for @factpulse/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {