@persei/perseed-api 5.0.10 → 5.0.12

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.
@@ -1 +1 @@
1
- {"version":3,"file":"client.cjs","sources":["../src/generated/client.ts"],"sourcesContent":["/**\n * Generated by orval v7.18.0 🍺\n * Do not edit manually.\n * @fastify/swagger\n * OpenAPI spec version: 9.7.0\n */\nexport type ListDocumentsParams = {\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\n/**\n * Represents an uploaded document record\n */\nexport type ListDocuments200ResultsItemAllOf = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\nexport type ListDocuments200ResultsItemAllOfTwoCategoriesItem = {\n /** Category ID */\n id: number\n /** Category name */\n name: string\n}\n\nexport type ListDocuments200ResultsItemAllOfTwo = {\n /** Categories linked to the document */\n categories?: ListDocuments200ResultsItemAllOfTwoCategoriesItem[]\n}\n\n/**\n * Document item returned in document listings\n */\nexport type ListDocuments200ResultsItem = ListDocuments200ResultsItemAllOf & ListDocuments200ResultsItemAllOfTwo\n\n/**\n * Paginated response\n */\nexport type ListDocuments200 = {\n /** Array of items of the current page */\n results: ListDocuments200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type ListDocuments403AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocuments403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocuments403AllOfDebug\n}\n\nexport type ListDocuments403AllOfThreeStatusCode =\n (typeof ListDocuments403AllOfThreeStatusCode)[keyof typeof ListDocuments403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type ListDocuments403AllOfThreeError =\n (typeof ListDocuments403AllOfThreeError)[keyof typeof ListDocuments403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type ListDocuments403AllOfThree = {\n statusCode: ListDocuments403AllOfThreeStatusCode\n error: ListDocuments403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type ListDocuments403 = ListDocuments403AllOf & ListDocuments403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type ListDocuments404AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocuments404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocuments404AllOfDebug\n}\n\nexport type ListDocuments404AllOfThreeStatusCode =\n (typeof ListDocuments404AllOfThreeStatusCode)[keyof typeof ListDocuments404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type ListDocuments404AllOfThreeError =\n (typeof ListDocuments404AllOfThreeError)[keyof typeof ListDocuments404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type ListDocuments404AllOfThree = {\n statusCode: ListDocuments404AllOfThreeStatusCode\n error: ListDocuments404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type ListDocuments404 = ListDocuments404AllOf & ListDocuments404AllOfThree\n\n/**\n * Payload used to create a new document record\n */\nexport type CreateDocumentBody = {\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /** Category IDs to associate with the document */\n category_ids?: number[]\n}\n\n/**\n * Represents an uploaded document record\n */\nexport type CreateDocument200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\n/**\n * Debug information of the error\n */\nexport type CreateDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocument403AllOfDebug\n}\n\nexport type CreateDocument403AllOfThreeStatusCode =\n (typeof CreateDocument403AllOfThreeStatusCode)[keyof typeof CreateDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type CreateDocument403AllOfThreeError =\n (typeof CreateDocument403AllOfThreeError)[keyof typeof CreateDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type CreateDocument403AllOfThree = {\n statusCode: CreateDocument403AllOfThreeStatusCode\n error: CreateDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type CreateDocument403 = CreateDocument403AllOf & CreateDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type CreateDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocument404AllOfDebug\n}\n\nexport type CreateDocument404AllOfThreeStatusCode =\n (typeof CreateDocument404AllOfThreeStatusCode)[keyof typeof CreateDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type CreateDocument404AllOfThreeError =\n (typeof CreateDocument404AllOfThreeError)[keyof typeof CreateDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type CreateDocument404AllOfThree = {\n statusCode: CreateDocument404AllOfThreeStatusCode\n error: CreateDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type CreateDocument404 = CreateDocument404AllOf & CreateDocument404AllOfThree\n\n/**\n * Represents an uploaded document record\n */\nexport type GetDocument200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocument403AllOfDebug\n}\n\nexport type GetDocument403AllOfThreeStatusCode =\n (typeof GetDocument403AllOfThreeStatusCode)[keyof typeof GetDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetDocument403AllOfThreeError =\n (typeof GetDocument403AllOfThreeError)[keyof typeof GetDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetDocument403AllOfThree = {\n statusCode: GetDocument403AllOfThreeStatusCode\n error: GetDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetDocument403 = GetDocument403AllOf & GetDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocument404AllOfDebug\n}\n\nexport type GetDocument404AllOfThreeStatusCode =\n (typeof GetDocument404AllOfThreeStatusCode)[keyof typeof GetDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetDocument404AllOfThreeError =\n (typeof GetDocument404AllOfThreeError)[keyof typeof GetDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetDocument404AllOfThree = {\n statusCode: GetDocument404AllOfThreeStatusCode\n error: GetDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetDocument404 = GetDocument404AllOf & GetDocument404AllOfThree\n\n/**\n * Payload used to update a document record\n */\nexport type UpdateDocumentBody = {\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file?: string\n /** Hospital/clinic ID associated with the document */\n organization_unit?: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /** Category IDs to associate with the document */\n category_ids?: number[]\n}\n\n/**\n * Represents an uploaded document record\n */\nexport type UpdateDocument200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocument403AllOfDebug\n}\n\nexport type UpdateDocument403AllOfThreeStatusCode =\n (typeof UpdateDocument403AllOfThreeStatusCode)[keyof typeof UpdateDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type UpdateDocument403AllOfThreeError =\n (typeof UpdateDocument403AllOfThreeError)[keyof typeof UpdateDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type UpdateDocument403AllOfThree = {\n statusCode: UpdateDocument403AllOfThreeStatusCode\n error: UpdateDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type UpdateDocument403 = UpdateDocument403AllOf & UpdateDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocument404AllOfDebug\n}\n\nexport type UpdateDocument404AllOfThreeStatusCode =\n (typeof UpdateDocument404AllOfThreeStatusCode)[keyof typeof UpdateDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type UpdateDocument404AllOfThreeError =\n (typeof UpdateDocument404AllOfThreeError)[keyof typeof UpdateDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type UpdateDocument404AllOfThree = {\n statusCode: UpdateDocument404AllOfThreeStatusCode\n error: UpdateDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type UpdateDocument404 = UpdateDocument404AllOf & UpdateDocument404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type DeleteDocument200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocument403AllOfDebug\n}\n\nexport type DeleteDocument403AllOfThreeStatusCode =\n (typeof DeleteDocument403AllOfThreeStatusCode)[keyof typeof DeleteDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type DeleteDocument403AllOfThreeError =\n (typeof DeleteDocument403AllOfThreeError)[keyof typeof DeleteDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type DeleteDocument403AllOfThree = {\n statusCode: DeleteDocument403AllOfThreeStatusCode\n error: DeleteDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type DeleteDocument403 = DeleteDocument403AllOf & DeleteDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocument404AllOfDebug\n}\n\nexport type DeleteDocument404AllOfThreeStatusCode =\n (typeof DeleteDocument404AllOfThreeStatusCode)[keyof typeof DeleteDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type DeleteDocument404AllOfThreeError =\n (typeof DeleteDocument404AllOfThreeError)[keyof typeof DeleteDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type DeleteDocument404AllOfThree = {\n statusCode: DeleteDocument404AllOfThreeStatusCode\n error: DeleteDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type DeleteDocument404 = DeleteDocument404AllOf & DeleteDocument404AllOfThree\n\n/**\n * Payload used to associate a category with a document\n */\nexport type AddCategoryToDocumentBody = {\n /** Category ID to associate with the document */\n categoryId: number\n}\n\n/**\n * Response when the request is successful\n */\nexport type AddCategoryToDocument200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type AddCategoryToDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type AddCategoryToDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: AddCategoryToDocument403AllOfDebug\n}\n\nexport type AddCategoryToDocument403AllOfThreeStatusCode =\n (typeof AddCategoryToDocument403AllOfThreeStatusCode)[keyof typeof AddCategoryToDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type AddCategoryToDocument403AllOfThreeError =\n (typeof AddCategoryToDocument403AllOfThreeError)[keyof typeof AddCategoryToDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type AddCategoryToDocument403AllOfThree = {\n statusCode: AddCategoryToDocument403AllOfThreeStatusCode\n error: AddCategoryToDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type AddCategoryToDocument403 = AddCategoryToDocument403AllOf & AddCategoryToDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type AddCategoryToDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type AddCategoryToDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: AddCategoryToDocument404AllOfDebug\n}\n\nexport type AddCategoryToDocument404AllOfThreeStatusCode =\n (typeof AddCategoryToDocument404AllOfThreeStatusCode)[keyof typeof AddCategoryToDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type AddCategoryToDocument404AllOfThreeError =\n (typeof AddCategoryToDocument404AllOfThreeError)[keyof typeof AddCategoryToDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type AddCategoryToDocument404AllOfThree = {\n statusCode: AddCategoryToDocument404AllOfThreeStatusCode\n error: AddCategoryToDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type AddCategoryToDocument404 = AddCategoryToDocument404AllOf & AddCategoryToDocument404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type RemoveCategoryFromDocument200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type RemoveCategoryFromDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type RemoveCategoryFromDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: RemoveCategoryFromDocument403AllOfDebug\n}\n\nexport type RemoveCategoryFromDocument403AllOfThreeStatusCode =\n (typeof RemoveCategoryFromDocument403AllOfThreeStatusCode)[keyof typeof RemoveCategoryFromDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type RemoveCategoryFromDocument403AllOfThreeError =\n (typeof RemoveCategoryFromDocument403AllOfThreeError)[keyof typeof RemoveCategoryFromDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type RemoveCategoryFromDocument403AllOfThree = {\n statusCode: RemoveCategoryFromDocument403AllOfThreeStatusCode\n error: RemoveCategoryFromDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type RemoveCategoryFromDocument403 = RemoveCategoryFromDocument403AllOf & RemoveCategoryFromDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type RemoveCategoryFromDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type RemoveCategoryFromDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: RemoveCategoryFromDocument404AllOfDebug\n}\n\nexport type RemoveCategoryFromDocument404AllOfThreeStatusCode =\n (typeof RemoveCategoryFromDocument404AllOfThreeStatusCode)[keyof typeof RemoveCategoryFromDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type RemoveCategoryFromDocument404AllOfThreeError =\n (typeof RemoveCategoryFromDocument404AllOfThreeError)[keyof typeof RemoveCategoryFromDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type RemoveCategoryFromDocument404AllOfThree = {\n statusCode: RemoveCategoryFromDocument404AllOfThreeStatusCode\n error: RemoveCategoryFromDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type RemoveCategoryFromDocument404 = RemoveCategoryFromDocument404AllOf & RemoveCategoryFromDocument404AllOfThree\n\nexport type ListDocumentCategoriesParams = {\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\n/**\n * Document category data\n */\nexport type ListDocumentCategories200ResultsItemAllOf = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\nexport type ListDocumentCategories200ResultsItemAllOfTwo = {\n /** Number of documents in this category */\n documents_count: number\n}\n\n/**\n * Document category list item\n */\nexport type ListDocumentCategories200ResultsItem = ListDocumentCategories200ResultsItemAllOf &\n ListDocumentCategories200ResultsItemAllOfTwo\n\n/**\n * Paginated response\n */\nexport type ListDocumentCategories200 = {\n /** Array of items of the current page */\n results: ListDocumentCategories200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type ListDocumentCategories403AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocumentCategories403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocumentCategories403AllOfDebug\n}\n\nexport type ListDocumentCategories403AllOfThreeStatusCode =\n (typeof ListDocumentCategories403AllOfThreeStatusCode)[keyof typeof ListDocumentCategories403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type ListDocumentCategories403AllOfThreeError =\n (typeof ListDocumentCategories403AllOfThreeError)[keyof typeof ListDocumentCategories403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type ListDocumentCategories403AllOfThree = {\n statusCode: ListDocumentCategories403AllOfThreeStatusCode\n error: ListDocumentCategories403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type ListDocumentCategories403 = ListDocumentCategories403AllOf & ListDocumentCategories403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type ListDocumentCategories404AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocumentCategories404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocumentCategories404AllOfDebug\n}\n\nexport type ListDocumentCategories404AllOfThreeStatusCode =\n (typeof ListDocumentCategories404AllOfThreeStatusCode)[keyof typeof ListDocumentCategories404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type ListDocumentCategories404AllOfThreeError =\n (typeof ListDocumentCategories404AllOfThreeError)[keyof typeof ListDocumentCategories404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type ListDocumentCategories404AllOfThree = {\n statusCode: ListDocumentCategories404AllOfThreeStatusCode\n error: ListDocumentCategories404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type ListDocumentCategories404 = ListDocumentCategories404AllOf & ListDocumentCategories404AllOfThree\n\n/**\n * Document category creation payload\n */\nexport type CreateDocumentCategoryBody = {\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Document category data\n */\nexport type CreateDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type CreateDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocumentCategory403AllOfDebug\n}\n\nexport type CreateDocumentCategory403AllOfThreeStatusCode =\n (typeof CreateDocumentCategory403AllOfThreeStatusCode)[keyof typeof CreateDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type CreateDocumentCategory403AllOfThreeError =\n (typeof CreateDocumentCategory403AllOfThreeError)[keyof typeof CreateDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type CreateDocumentCategory403AllOfThree = {\n statusCode: CreateDocumentCategory403AllOfThreeStatusCode\n error: CreateDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type CreateDocumentCategory403 = CreateDocumentCategory403AllOf & CreateDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type CreateDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocumentCategory404AllOfDebug\n}\n\nexport type CreateDocumentCategory404AllOfThreeStatusCode =\n (typeof CreateDocumentCategory404AllOfThreeStatusCode)[keyof typeof CreateDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type CreateDocumentCategory404AllOfThreeError =\n (typeof CreateDocumentCategory404AllOfThreeError)[keyof typeof CreateDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type CreateDocumentCategory404AllOfThree = {\n statusCode: CreateDocumentCategory404AllOfThreeStatusCode\n error: CreateDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type CreateDocumentCategory404 = CreateDocumentCategory404AllOf & CreateDocumentCategory404AllOfThree\n\n/**\n * Document category data\n */\nexport type GetDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocumentCategory403AllOfDebug\n}\n\nexport type GetDocumentCategory403AllOfThreeStatusCode =\n (typeof GetDocumentCategory403AllOfThreeStatusCode)[keyof typeof GetDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetDocumentCategory403AllOfThreeError =\n (typeof GetDocumentCategory403AllOfThreeError)[keyof typeof GetDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetDocumentCategory403AllOfThree = {\n statusCode: GetDocumentCategory403AllOfThreeStatusCode\n error: GetDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetDocumentCategory403 = GetDocumentCategory403AllOf & GetDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocumentCategory404AllOfDebug\n}\n\nexport type GetDocumentCategory404AllOfThreeStatusCode =\n (typeof GetDocumentCategory404AllOfThreeStatusCode)[keyof typeof GetDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetDocumentCategory404AllOfThreeError =\n (typeof GetDocumentCategory404AllOfThreeError)[keyof typeof GetDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetDocumentCategory404AllOfThree = {\n statusCode: GetDocumentCategory404AllOfThreeStatusCode\n error: GetDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetDocumentCategory404 = GetDocumentCategory404AllOf & GetDocumentCategory404AllOfThree\n\n/**\n * Document category update payload\n */\nexport type UpdateDocumentCategoryBody = {\n /**\n * Name of the category\n * @maxLength 100\n */\n name?: string\n}\n\n/**\n * Document category data\n */\nexport type UpdateDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocumentCategory403AllOfDebug\n}\n\nexport type UpdateDocumentCategory403AllOfThreeStatusCode =\n (typeof UpdateDocumentCategory403AllOfThreeStatusCode)[keyof typeof UpdateDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type UpdateDocumentCategory403AllOfThreeError =\n (typeof UpdateDocumentCategory403AllOfThreeError)[keyof typeof UpdateDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type UpdateDocumentCategory403AllOfThree = {\n statusCode: UpdateDocumentCategory403AllOfThreeStatusCode\n error: UpdateDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type UpdateDocumentCategory403 = UpdateDocumentCategory403AllOf & UpdateDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocumentCategory404AllOfDebug\n}\n\nexport type UpdateDocumentCategory404AllOfThreeStatusCode =\n (typeof UpdateDocumentCategory404AllOfThreeStatusCode)[keyof typeof UpdateDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type UpdateDocumentCategory404AllOfThreeError =\n (typeof UpdateDocumentCategory404AllOfThreeError)[keyof typeof UpdateDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type UpdateDocumentCategory404AllOfThree = {\n statusCode: UpdateDocumentCategory404AllOfThreeStatusCode\n error: UpdateDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type UpdateDocumentCategory404 = UpdateDocumentCategory404AllOf & UpdateDocumentCategory404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type DeleteDocumentCategory200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocumentCategory403AllOfDebug\n}\n\nexport type DeleteDocumentCategory403AllOfThreeStatusCode =\n (typeof DeleteDocumentCategory403AllOfThreeStatusCode)[keyof typeof DeleteDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type DeleteDocumentCategory403AllOfThreeError =\n (typeof DeleteDocumentCategory403AllOfThreeError)[keyof typeof DeleteDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type DeleteDocumentCategory403AllOfThree = {\n statusCode: DeleteDocumentCategory403AllOfThreeStatusCode\n error: DeleteDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type DeleteDocumentCategory403 = DeleteDocumentCategory403AllOf & DeleteDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocumentCategory404AllOfDebug\n}\n\nexport type DeleteDocumentCategory404AllOfThreeStatusCode =\n (typeof DeleteDocumentCategory404AllOfThreeStatusCode)[keyof typeof DeleteDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type DeleteDocumentCategory404AllOfThreeError =\n (typeof DeleteDocumentCategory404AllOfThreeError)[keyof typeof DeleteDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type DeleteDocumentCategory404AllOfThree = {\n statusCode: DeleteDocumentCategory404AllOfThreeStatusCode\n error: DeleteDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type DeleteDocumentCategory404 = DeleteDocumentCategory404AllOf & DeleteDocumentCategory404AllOfThree\n\nexport type GetFormsDataParams = {\n /**\n * ID of the associated dashboard widget\n */\n dashboardWidgetId: number\n /**\n * Values for params referenced in Card filterParams blocks\n */\n paramValues?: { [key: string]: unknown }\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\nexport type GetFormsData200ResultsItem = { [key: string]: unknown }\n\n/**\n * Paginated response\n */\nexport type GetFormsData200 = {\n /** Array of items of the current page */\n results: GetFormsData200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type GetFormsData403AllOfDebug = { [key: string]: unknown }\n\nexport type GetFormsData403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetFormsData403AllOfDebug\n}\n\nexport type GetFormsData403AllOfThreeStatusCode =\n (typeof GetFormsData403AllOfThreeStatusCode)[keyof typeof GetFormsData403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetFormsData403AllOfThreeError =\n (typeof GetFormsData403AllOfThreeError)[keyof typeof GetFormsData403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetFormsData403AllOfThree = {\n statusCode: GetFormsData403AllOfThreeStatusCode\n error: GetFormsData403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetFormsData403 = GetFormsData403AllOf & GetFormsData403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetFormsData404AllOfDebug = { [key: string]: unknown }\n\nexport type GetFormsData404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetFormsData404AllOfDebug\n}\n\nexport type GetFormsData404AllOfThreeStatusCode =\n (typeof GetFormsData404AllOfThreeStatusCode)[keyof typeof GetFormsData404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetFormsData404AllOfThreeError =\n (typeof GetFormsData404AllOfThreeError)[keyof typeof GetFormsData404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetFormsData404AllOfThree = {\n statusCode: GetFormsData404AllOfThreeStatusCode\n error: GetFormsData404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetFormsData404 = GetFormsData404AllOf & GetFormsData404AllOfThree\n\n/**\n * Thryve connection widget URL response\n */\nexport type GetThryveIframeUrl200 = {\n /** Short-lived URL to embed in an iframe / WebView for the Thryve connection widget */\n url: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetThryveIframeUrl403AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveIframeUrl403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveIframeUrl403AllOfDebug\n}\n\nexport type GetThryveIframeUrl403AllOfThreeStatusCode =\n (typeof GetThryveIframeUrl403AllOfThreeStatusCode)[keyof typeof GetThryveIframeUrl403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetThryveIframeUrl403AllOfThreeError =\n (typeof GetThryveIframeUrl403AllOfThreeError)[keyof typeof GetThryveIframeUrl403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetThryveIframeUrl403AllOfThree = {\n statusCode: GetThryveIframeUrl403AllOfThreeStatusCode\n error: GetThryveIframeUrl403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetThryveIframeUrl403 = GetThryveIframeUrl403AllOf & GetThryveIframeUrl403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetThryveIframeUrl404AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveIframeUrl404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveIframeUrl404AllOfDebug\n}\n\nexport type GetThryveIframeUrl404AllOfThreeStatusCode =\n (typeof GetThryveIframeUrl404AllOfThreeStatusCode)[keyof typeof GetThryveIframeUrl404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetThryveIframeUrl404AllOfThreeError =\n (typeof GetThryveIframeUrl404AllOfThreeError)[keyof typeof GetThryveIframeUrl404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetThryveIframeUrl404AllOfThree = {\n statusCode: GetThryveIframeUrl404AllOfThreeStatusCode\n error: GetThryveIframeUrl404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetThryveIframeUrl404 = GetThryveIframeUrl404AllOf & GetThryveIframeUrl404AllOfThree\n\n/**\n * Thryve authorization status response\n */\nexport type GetThryveAuthorizationStatus200 = {\n /** True if the user has at least one connected data source in the thryve_integration service, false otherwise (including when the integration service is unreachable or unconfigured). */\n authorized: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type GetThryveAuthorizationStatus403AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveAuthorizationStatus403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveAuthorizationStatus403AllOfDebug\n}\n\nexport type GetThryveAuthorizationStatus403AllOfThreeStatusCode =\n (typeof GetThryveAuthorizationStatus403AllOfThreeStatusCode)[keyof typeof GetThryveAuthorizationStatus403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetThryveAuthorizationStatus403AllOfThreeError =\n (typeof GetThryveAuthorizationStatus403AllOfThreeError)[keyof typeof GetThryveAuthorizationStatus403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetThryveAuthorizationStatus403AllOfThree = {\n statusCode: GetThryveAuthorizationStatus403AllOfThreeStatusCode\n error: GetThryveAuthorizationStatus403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetThryveAuthorizationStatus403 = GetThryveAuthorizationStatus403AllOf &\n GetThryveAuthorizationStatus403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetThryveAuthorizationStatus404AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveAuthorizationStatus404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveAuthorizationStatus404AllOfDebug\n}\n\nexport type GetThryveAuthorizationStatus404AllOfThreeStatusCode =\n (typeof GetThryveAuthorizationStatus404AllOfThreeStatusCode)[keyof typeof GetThryveAuthorizationStatus404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetThryveAuthorizationStatus404AllOfThreeError =\n (typeof GetThryveAuthorizationStatus404AllOfThreeError)[keyof typeof GetThryveAuthorizationStatus404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetThryveAuthorizationStatus404AllOfThree = {\n statusCode: GetThryveAuthorizationStatus404AllOfThreeStatusCode\n error: GetThryveAuthorizationStatus404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetThryveAuthorizationStatus404 = GetThryveAuthorizationStatus404AllOf &\n GetThryveAuthorizationStatus404AllOfThree\n\nexport type postV2AuthLoginGlobalResponse200 = {\n data: void\n status: 200\n}\n\nexport type postV2AuthLoginGlobalResponseSuccess = postV2AuthLoginGlobalResponse200 & {\n headers: Headers\n}\nexport type postV2AuthLoginGlobalResponse = postV2AuthLoginGlobalResponseSuccess\n\nexport const getPostV2AuthLoginGlobalUrl = () => {\n return `/v2/auth/login/global`\n}\n\nexport const postV2AuthLoginGlobal = async (options?: RequestInit): Promise<postV2AuthLoginGlobalResponse> => {\n const res = await fetch(getPostV2AuthLoginGlobalUrl(), {\n ...options,\n method: 'POST',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: postV2AuthLoginGlobalResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postV2AuthLoginGlobalResponse\n}\n\n/**\n * Get a paginated list of documents\n */\nexport type listDocumentsResponse200 = {\n data: ListDocuments200\n status: 200\n}\n\nexport type listDocumentsResponse403 = {\n data: ListDocuments403\n status: 403\n}\n\nexport type listDocumentsResponse404 = {\n data: ListDocuments404\n status: 404\n}\n\nexport type listDocumentsResponseSuccess = listDocumentsResponse200 & {\n headers: Headers\n}\nexport type listDocumentsResponseError = (listDocumentsResponse403 | listDocumentsResponse404) & {\n headers: Headers\n}\n\nexport type listDocumentsResponse = listDocumentsResponseSuccess | listDocumentsResponseError\n\nexport const getListDocumentsUrl = (ecosystemName: string, projectName: string, params?: ListDocumentsParams) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`\n}\n\nexport const listDocuments = async (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentsParams,\n options?: RequestInit,\n): Promise<listDocumentsResponse> => {\n const res = await fetch(getListDocumentsUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: listDocumentsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as listDocumentsResponse\n}\n\n/**\n * Create a new document record\n */\nexport type createDocumentResponse200 = {\n data: CreateDocument200\n status: 200\n}\n\nexport type createDocumentResponse403 = {\n data: CreateDocument403\n status: 403\n}\n\nexport type createDocumentResponse404 = {\n data: CreateDocument404\n status: 404\n}\n\nexport type createDocumentResponseSuccess = createDocumentResponse200 & {\n headers: Headers\n}\nexport type createDocumentResponseError = (createDocumentResponse403 | createDocumentResponse404) & {\n headers: Headers\n}\n\nexport type createDocumentResponse = createDocumentResponseSuccess | createDocumentResponseError\n\nexport const getCreateDocumentUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`\n}\n\nexport const createDocument = async (\n ecosystemName: string,\n projectName: string,\n createDocumentBody: CreateDocumentBody,\n options?: RequestInit,\n): Promise<createDocumentResponse> => {\n const res = await fetch(getCreateDocumentUrl(ecosystemName, projectName), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(createDocumentBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: createDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as createDocumentResponse\n}\n\n/**\n * Retrieve a specific document by ID\n */\nexport type getDocumentResponse200 = {\n data: GetDocument200\n status: 200\n}\n\nexport type getDocumentResponse403 = {\n data: GetDocument403\n status: 403\n}\n\nexport type getDocumentResponse404 = {\n data: GetDocument404\n status: 404\n}\n\nexport type getDocumentResponseSuccess = getDocumentResponse200 & {\n headers: Headers\n}\nexport type getDocumentResponseError = (getDocumentResponse403 | getDocumentResponse404) & {\n headers: Headers\n}\n\nexport type getDocumentResponse = getDocumentResponseSuccess | getDocumentResponseError\n\nexport const getGetDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`\n}\n\nexport const getDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<getDocumentResponse> => {\n const res = await fetch(getGetDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getDocumentResponse\n}\n\n/**\n * Update an existing document record\n */\nexport type updateDocumentResponse200 = {\n data: UpdateDocument200\n status: 200\n}\n\nexport type updateDocumentResponse403 = {\n data: UpdateDocument403\n status: 403\n}\n\nexport type updateDocumentResponse404 = {\n data: UpdateDocument404\n status: 404\n}\n\nexport type updateDocumentResponseSuccess = updateDocumentResponse200 & {\n headers: Headers\n}\nexport type updateDocumentResponseError = (updateDocumentResponse403 | updateDocumentResponse404) & {\n headers: Headers\n}\n\nexport type updateDocumentResponse = updateDocumentResponseSuccess | updateDocumentResponseError\n\nexport const getUpdateDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`\n}\n\nexport const updateDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n updateDocumentBody: UpdateDocumentBody,\n options?: RequestInit,\n): Promise<updateDocumentResponse> => {\n const res = await fetch(getUpdateDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateDocumentBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: updateDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as updateDocumentResponse\n}\n\n/**\n * Delete a document by its ID\n */\nexport type deleteDocumentResponse200 = {\n data: DeleteDocument200\n status: 200\n}\n\nexport type deleteDocumentResponse403 = {\n data: DeleteDocument403\n status: 403\n}\n\nexport type deleteDocumentResponse404 = {\n data: DeleteDocument404\n status: 404\n}\n\nexport type deleteDocumentResponseSuccess = deleteDocumentResponse200 & {\n headers: Headers\n}\nexport type deleteDocumentResponseError = (deleteDocumentResponse403 | deleteDocumentResponse404) & {\n headers: Headers\n}\n\nexport type deleteDocumentResponse = deleteDocumentResponseSuccess | deleteDocumentResponseError\n\nexport const getDeleteDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`\n}\n\nexport const deleteDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<deleteDocumentResponse> => {\n const res = await fetch(getDeleteDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: deleteDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteDocumentResponse\n}\n\nexport type addCategoryToDocumentResponse200 = {\n data: AddCategoryToDocument200\n status: 200\n}\n\nexport type addCategoryToDocumentResponse403 = {\n data: AddCategoryToDocument403\n status: 403\n}\n\nexport type addCategoryToDocumentResponse404 = {\n data: AddCategoryToDocument404\n status: 404\n}\n\nexport type addCategoryToDocumentResponseSuccess = addCategoryToDocumentResponse200 & {\n headers: Headers\n}\nexport type addCategoryToDocumentResponseError = (\n | addCategoryToDocumentResponse403\n | addCategoryToDocumentResponse404\n) & {\n headers: Headers\n}\n\nexport type addCategoryToDocumentResponse = addCategoryToDocumentResponseSuccess | addCategoryToDocumentResponseError\n\nexport const getAddCategoryToDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}/categories`\n}\n\nexport const addCategoryToDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n addCategoryToDocumentBody: AddCategoryToDocumentBody,\n options?: RequestInit,\n): Promise<addCategoryToDocumentResponse> => {\n const res = await fetch(getAddCategoryToDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(addCategoryToDocumentBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: addCategoryToDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as addCategoryToDocumentResponse\n}\n\nexport type removeCategoryFromDocumentResponse200 = {\n data: RemoveCategoryFromDocument200\n status: 200\n}\n\nexport type removeCategoryFromDocumentResponse403 = {\n data: RemoveCategoryFromDocument403\n status: 403\n}\n\nexport type removeCategoryFromDocumentResponse404 = {\n data: RemoveCategoryFromDocument404\n status: 404\n}\n\nexport type removeCategoryFromDocumentResponseSuccess = removeCategoryFromDocumentResponse200 & {\n headers: Headers\n}\nexport type removeCategoryFromDocumentResponseError = (\n | removeCategoryFromDocumentResponse403\n | removeCategoryFromDocumentResponse404\n) & {\n headers: Headers\n}\n\nexport type removeCategoryFromDocumentResponse =\n | removeCategoryFromDocumentResponseSuccess\n | removeCategoryFromDocumentResponseError\n\nexport const getRemoveCategoryFromDocumentUrl = (\n ecosystemName: string,\n projectName: string,\n documentId: number,\n categoryId: number,\n) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${documentId}/categories/${categoryId}`\n}\n\nexport const removeCategoryFromDocument = async (\n ecosystemName: string,\n projectName: string,\n documentId: number,\n categoryId: number,\n options?: RequestInit,\n): Promise<removeCategoryFromDocumentResponse> => {\n const res = await fetch(getRemoveCategoryFromDocumentUrl(ecosystemName, projectName, documentId, categoryId), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: removeCategoryFromDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as removeCategoryFromDocumentResponse\n}\n\n/**\n * A paginated list of document categories with the number of documents in each category\n */\nexport type listDocumentCategoriesResponse200 = {\n data: ListDocumentCategories200\n status: 200\n}\n\nexport type listDocumentCategoriesResponse403 = {\n data: ListDocumentCategories403\n status: 403\n}\n\nexport type listDocumentCategoriesResponse404 = {\n data: ListDocumentCategories404\n status: 404\n}\n\nexport type listDocumentCategoriesResponseSuccess = listDocumentCategoriesResponse200 & {\n headers: Headers\n}\nexport type listDocumentCategoriesResponseError = (\n | listDocumentCategoriesResponse403\n | listDocumentCategoriesResponse404\n) & {\n headers: Headers\n}\n\nexport type listDocumentCategoriesResponse = listDocumentCategoriesResponseSuccess | listDocumentCategoriesResponseError\n\nexport const getListDocumentCategoriesUrl = (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentCategoriesParams,\n) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`\n}\n\nexport const listDocumentCategories = async (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentCategoriesParams,\n options?: RequestInit,\n): Promise<listDocumentCategoriesResponse> => {\n const res = await fetch(getListDocumentCategoriesUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: listDocumentCategoriesResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as listDocumentCategoriesResponse\n}\n\n/**\n * Creates a document category with the provided data\n */\nexport type createDocumentCategoryResponse200 = {\n data: CreateDocumentCategory200\n status: 200\n}\n\nexport type createDocumentCategoryResponse403 = {\n data: CreateDocumentCategory403\n status: 403\n}\n\nexport type createDocumentCategoryResponse404 = {\n data: CreateDocumentCategory404\n status: 404\n}\n\nexport type createDocumentCategoryResponseSuccess = createDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type createDocumentCategoryResponseError = (\n | createDocumentCategoryResponse403\n | createDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type createDocumentCategoryResponse = createDocumentCategoryResponseSuccess | createDocumentCategoryResponseError\n\nexport const getCreateDocumentCategoryUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`\n}\n\nexport const createDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n createDocumentCategoryBody: CreateDocumentCategoryBody,\n options?: RequestInit,\n): Promise<createDocumentCategoryResponse> => {\n const res = await fetch(getCreateDocumentCategoryUrl(ecosystemName, projectName), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(createDocumentCategoryBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: createDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as createDocumentCategoryResponse\n}\n\n/**\n * Get the data of a document category\n */\nexport type getDocumentCategoryResponse200 = {\n data: GetDocumentCategory200\n status: 200\n}\n\nexport type getDocumentCategoryResponse403 = {\n data: GetDocumentCategory403\n status: 403\n}\n\nexport type getDocumentCategoryResponse404 = {\n data: GetDocumentCategory404\n status: 404\n}\n\nexport type getDocumentCategoryResponseSuccess = getDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type getDocumentCategoryResponseError = (getDocumentCategoryResponse403 | getDocumentCategoryResponse404) & {\n headers: Headers\n}\n\nexport type getDocumentCategoryResponse = getDocumentCategoryResponseSuccess | getDocumentCategoryResponseError\n\nexport const getGetDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const getDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<getDocumentCategoryResponse> => {\n const res = await fetch(getGetDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getDocumentCategoryResponse\n}\n\n/**\n * Updates (patch) a document category with the provided data\n */\nexport type updateDocumentCategoryResponse200 = {\n data: UpdateDocumentCategory200\n status: 200\n}\n\nexport type updateDocumentCategoryResponse403 = {\n data: UpdateDocumentCategory403\n status: 403\n}\n\nexport type updateDocumentCategoryResponse404 = {\n data: UpdateDocumentCategory404\n status: 404\n}\n\nexport type updateDocumentCategoryResponseSuccess = updateDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type updateDocumentCategoryResponseError = (\n | updateDocumentCategoryResponse403\n | updateDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type updateDocumentCategoryResponse = updateDocumentCategoryResponseSuccess | updateDocumentCategoryResponseError\n\nexport const getUpdateDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const updateDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n updateDocumentCategoryBody: UpdateDocumentCategoryBody,\n options?: RequestInit,\n): Promise<updateDocumentCategoryResponse> => {\n const res = await fetch(getUpdateDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateDocumentCategoryBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: updateDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as updateDocumentCategoryResponse\n}\n\n/**\n * Deletes a document category with the provided ID\n */\nexport type deleteDocumentCategoryResponse200 = {\n data: DeleteDocumentCategory200\n status: 200\n}\n\nexport type deleteDocumentCategoryResponse403 = {\n data: DeleteDocumentCategory403\n status: 403\n}\n\nexport type deleteDocumentCategoryResponse404 = {\n data: DeleteDocumentCategory404\n status: 404\n}\n\nexport type deleteDocumentCategoryResponseSuccess = deleteDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type deleteDocumentCategoryResponseError = (\n | deleteDocumentCategoryResponse403\n | deleteDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type deleteDocumentCategoryResponse = deleteDocumentCategoryResponseSuccess | deleteDocumentCategoryResponseError\n\nexport const getDeleteDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const deleteDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<deleteDocumentCategoryResponse> => {\n const res = await fetch(getDeleteDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: deleteDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteDocumentCategoryResponse\n}\n\n/**\n * Get forms data\n */\nexport type getFormsDataResponse200 = {\n data: GetFormsData200\n status: 200\n}\n\nexport type getFormsDataResponse403 = {\n data: GetFormsData403\n status: 403\n}\n\nexport type getFormsDataResponse404 = {\n data: GetFormsData404\n status: 404\n}\n\nexport type getFormsDataResponseSuccess = getFormsDataResponse200 & {\n headers: Headers\n}\nexport type getFormsDataResponseError = (getFormsDataResponse403 | getFormsDataResponse404) & {\n headers: Headers\n}\n\nexport type getFormsDataResponse = getFormsDataResponseSuccess | getFormsDataResponseError\n\nexport const getGetFormsDataUrl = (ecosystemName: string, projectName: string, params: GetFormsDataParams) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/`\n}\n\nexport const getFormsData = async (\n ecosystemName: string,\n projectName: string,\n params: GetFormsDataParams,\n options?: RequestInit,\n): Promise<getFormsDataResponse> => {\n const res = await fetch(getGetFormsDataUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getFormsDataResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getFormsDataResponse\n}\n\n/**\n * Returns a short-lived URL to embed the Thryve connection widget in an iframe / WebView\n */\nexport type getThryveIframeUrlResponse200 = {\n data: GetThryveIframeUrl200\n status: 200\n}\n\nexport type getThryveIframeUrlResponse403 = {\n data: GetThryveIframeUrl403\n status: 403\n}\n\nexport type getThryveIframeUrlResponse404 = {\n data: GetThryveIframeUrl404\n status: 404\n}\n\nexport type getThryveIframeUrlResponseSuccess = getThryveIframeUrlResponse200 & {\n headers: Headers\n}\nexport type getThryveIframeUrlResponseError = (getThryveIframeUrlResponse403 | getThryveIframeUrlResponse404) & {\n headers: Headers\n}\n\nexport type getThryveIframeUrlResponse = getThryveIframeUrlResponseSuccess | getThryveIframeUrlResponseError\n\nexport const getGetThryveIframeUrlUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/iframe-url`\n}\n\nexport const getThryveIframeUrl = async (\n ecosystemName: string,\n projectName: string,\n options?: RequestInit,\n): Promise<getThryveIframeUrlResponse> => {\n const res = await fetch(getGetThryveIframeUrlUrl(ecosystemName, projectName), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getThryveIframeUrlResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getThryveIframeUrlResponse\n}\n\n/**\n * Returns whether the current user has at least one connected data source in the Thryve integration service.\n */\nexport type getThryveAuthorizationStatusResponse200 = {\n data: GetThryveAuthorizationStatus200\n status: 200\n}\n\nexport type getThryveAuthorizationStatusResponse403 = {\n data: GetThryveAuthorizationStatus403\n status: 403\n}\n\nexport type getThryveAuthorizationStatusResponse404 = {\n data: GetThryveAuthorizationStatus404\n status: 404\n}\n\nexport type getThryveAuthorizationStatusResponseSuccess = getThryveAuthorizationStatusResponse200 & {\n headers: Headers\n}\nexport type getThryveAuthorizationStatusResponseError = (\n | getThryveAuthorizationStatusResponse403\n | getThryveAuthorizationStatusResponse404\n) & {\n headers: Headers\n}\n\nexport type getThryveAuthorizationStatusResponse =\n | getThryveAuthorizationStatusResponseSuccess\n | getThryveAuthorizationStatusResponseError\n\nexport const getGetThryveAuthorizationStatusUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/sources`\n}\n\nexport const getThryveAuthorizationStatus = async (\n ecosystemName: string,\n projectName: string,\n options?: RequestInit,\n): Promise<getThryveAuthorizationStatusResponse> => {\n const res = await fetch(getGetThryveAuthorizationStatusUrl(ecosystemName, projectName), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getThryveAuthorizationStatusResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getThryveAuthorizationStatusResponse\n}\n"],"names":[],"mappings":";;AAiGO,MAAM,uCAAuC;AAAA,EAClD,YAAY;AACd;AAMO,MAAM,kCAAkC;AAAA,EAC7C,mBAAmB;AACrB;AAg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AO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAA2C,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AAC3E,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;AAkCO,MAAM,qCAAqC,CAAC,eAAuB,gBAAwB;AAChG,SAAO,iBAAiB,aAAa,YAAY,WAAW;AAC9D;AAEO,MAAM,+BAA+B,OAC1C,eACA,aACA,YACkD;AAClD,QAAM,MAAM,MAAM,MAAM,mCAAmC,eAAe,WAAW,GAAG;AAAA,IACtF,GAAG;AAAA,IACH,QAAQ;AAAA,EAAA,CACT;AAED,QAAM,OAAO,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,IAAI,MAAM,IAAI,OAAO,MAAM,IAAI,KAAA;AAErE,QAAM,OAAqD,OAAO,KAAK,MAAM,IAAI,IAAI,CAAA;AACrF,SAAO,EAAE,MAAM,QAAQ,IAAI,QAAQ,SAAS,IAAI,QAAA;AAClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"client.cjs","sources":["../src/generated/client.ts"],"sourcesContent":["/**\n * Generated by orval v7.21.0 🍺\n * Do not edit manually.\n * @fastify/swagger\n * OpenAPI spec version: 9.7.0\n */\nexport type ListDocumentsParams = {\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\n/**\n * Represents an uploaded document record\n */\nexport type ListDocuments200ResultsItemAllOf = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\nexport type ListDocuments200ResultsItemAllOfTwoCategoriesItem = {\n /** Category ID */\n id: number\n /** Category name */\n name: string\n}\n\nexport type ListDocuments200ResultsItemAllOfTwo = {\n /** Categories linked to the document */\n categories?: ListDocuments200ResultsItemAllOfTwoCategoriesItem[]\n}\n\n/**\n * Document item returned in document listings\n */\nexport type ListDocuments200ResultsItem = ListDocuments200ResultsItemAllOf & ListDocuments200ResultsItemAllOfTwo\n\n/**\n * Paginated response\n */\nexport type ListDocuments200 = {\n /** Array of items of the current page */\n results: ListDocuments200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type ListDocuments403AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocuments403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocuments403AllOfDebug\n}\n\nexport type ListDocuments403AllOfThreeStatusCode =\n (typeof ListDocuments403AllOfThreeStatusCode)[keyof typeof ListDocuments403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type ListDocuments403AllOfThreeError =\n (typeof ListDocuments403AllOfThreeError)[keyof typeof ListDocuments403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type ListDocuments403AllOfThree = {\n statusCode: ListDocuments403AllOfThreeStatusCode\n error: ListDocuments403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type ListDocuments403 = ListDocuments403AllOf & ListDocuments403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type ListDocuments404AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocuments404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocuments404AllOfDebug\n}\n\nexport type ListDocuments404AllOfThreeStatusCode =\n (typeof ListDocuments404AllOfThreeStatusCode)[keyof typeof ListDocuments404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type ListDocuments404AllOfThreeError =\n (typeof ListDocuments404AllOfThreeError)[keyof typeof ListDocuments404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocuments404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type ListDocuments404AllOfThree = {\n statusCode: ListDocuments404AllOfThreeStatusCode\n error: ListDocuments404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type ListDocuments404 = ListDocuments404AllOf & ListDocuments404AllOfThree\n\n/**\n * Payload used to create a new document record\n */\nexport type CreateDocumentBody = {\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /** Category IDs to associate with the document */\n category_ids?: number[]\n}\n\n/**\n * Represents an uploaded document record\n */\nexport type CreateDocument200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\n/**\n * Debug information of the error\n */\nexport type CreateDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocument403AllOfDebug\n}\n\nexport type CreateDocument403AllOfThreeStatusCode =\n (typeof CreateDocument403AllOfThreeStatusCode)[keyof typeof CreateDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type CreateDocument403AllOfThreeError =\n (typeof CreateDocument403AllOfThreeError)[keyof typeof CreateDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type CreateDocument403AllOfThree = {\n statusCode: CreateDocument403AllOfThreeStatusCode\n error: CreateDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type CreateDocument403 = CreateDocument403AllOf & CreateDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type CreateDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocument404AllOfDebug\n}\n\nexport type CreateDocument404AllOfThreeStatusCode =\n (typeof CreateDocument404AllOfThreeStatusCode)[keyof typeof CreateDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type CreateDocument404AllOfThreeError =\n (typeof CreateDocument404AllOfThreeError)[keyof typeof CreateDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type CreateDocument404AllOfThree = {\n statusCode: CreateDocument404AllOfThreeStatusCode\n error: CreateDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type CreateDocument404 = CreateDocument404AllOf & CreateDocument404AllOfThree\n\n/**\n * Represents an uploaded document record\n */\nexport type GetDocument200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocument403AllOfDebug\n}\n\nexport type GetDocument403AllOfThreeStatusCode =\n (typeof GetDocument403AllOfThreeStatusCode)[keyof typeof GetDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetDocument403AllOfThreeError =\n (typeof GetDocument403AllOfThreeError)[keyof typeof GetDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetDocument403AllOfThree = {\n statusCode: GetDocument403AllOfThreeStatusCode\n error: GetDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetDocument403 = GetDocument403AllOf & GetDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocument404AllOfDebug\n}\n\nexport type GetDocument404AllOfThreeStatusCode =\n (typeof GetDocument404AllOfThreeStatusCode)[keyof typeof GetDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetDocument404AllOfThreeError =\n (typeof GetDocument404AllOfThreeError)[keyof typeof GetDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetDocument404AllOfThree = {\n statusCode: GetDocument404AllOfThreeStatusCode\n error: GetDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetDocument404 = GetDocument404AllOf & GetDocument404AllOfThree\n\n/**\n * Payload used to update a document record\n */\nexport type UpdateDocumentBody = {\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file?: string\n /** Hospital/clinic ID associated with the document */\n organization_unit?: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /** Category IDs to associate with the document */\n category_ids?: number[]\n}\n\n/**\n * Represents an uploaded document record\n */\nexport type UpdateDocument200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * IP address of the user who uploaded the document\n * @maxLength 20\n */\n user_ip?: string\n /** Timestamp when the document was created */\n creation_time?: string\n /** User ID who created the document */\n creation_user?: number\n /** Timestamp when the document was last modified */\n mod_time?: string\n /** User ID who last modified the document */\n mod_user?: number\n /** Hospital/clinic ID associated with the document */\n organization_unit: number\n /**\n * Display name of the document\n * @maxLength 255\n */\n name?: string\n /**\n * Filename or file path of the document\n * @maxLength 255\n */\n file: string\n}\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocument403AllOfDebug\n}\n\nexport type UpdateDocument403AllOfThreeStatusCode =\n (typeof UpdateDocument403AllOfThreeStatusCode)[keyof typeof UpdateDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type UpdateDocument403AllOfThreeError =\n (typeof UpdateDocument403AllOfThreeError)[keyof typeof UpdateDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type UpdateDocument403AllOfThree = {\n statusCode: UpdateDocument403AllOfThreeStatusCode\n error: UpdateDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type UpdateDocument403 = UpdateDocument403AllOf & UpdateDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocument404AllOfDebug\n}\n\nexport type UpdateDocument404AllOfThreeStatusCode =\n (typeof UpdateDocument404AllOfThreeStatusCode)[keyof typeof UpdateDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type UpdateDocument404AllOfThreeError =\n (typeof UpdateDocument404AllOfThreeError)[keyof typeof UpdateDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type UpdateDocument404AllOfThree = {\n statusCode: UpdateDocument404AllOfThreeStatusCode\n error: UpdateDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type UpdateDocument404 = UpdateDocument404AllOf & UpdateDocument404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type DeleteDocument200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocument403AllOfDebug\n}\n\nexport type DeleteDocument403AllOfThreeStatusCode =\n (typeof DeleteDocument403AllOfThreeStatusCode)[keyof typeof DeleteDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type DeleteDocument403AllOfThreeError =\n (typeof DeleteDocument403AllOfThreeError)[keyof typeof DeleteDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type DeleteDocument403AllOfThree = {\n statusCode: DeleteDocument403AllOfThreeStatusCode\n error: DeleteDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type DeleteDocument403 = DeleteDocument403AllOf & DeleteDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocument404AllOfDebug\n}\n\nexport type DeleteDocument404AllOfThreeStatusCode =\n (typeof DeleteDocument404AllOfThreeStatusCode)[keyof typeof DeleteDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type DeleteDocument404AllOfThreeError =\n (typeof DeleteDocument404AllOfThreeError)[keyof typeof DeleteDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type DeleteDocument404AllOfThree = {\n statusCode: DeleteDocument404AllOfThreeStatusCode\n error: DeleteDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type DeleteDocument404 = DeleteDocument404AllOf & DeleteDocument404AllOfThree\n\n/**\n * Payload used to associate a category with a document\n */\nexport type AddCategoryToDocumentBody = {\n /** Category ID to associate with the document */\n categoryId: number\n}\n\n/**\n * Response when the request is successful\n */\nexport type AddCategoryToDocument200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type AddCategoryToDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type AddCategoryToDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: AddCategoryToDocument403AllOfDebug\n}\n\nexport type AddCategoryToDocument403AllOfThreeStatusCode =\n (typeof AddCategoryToDocument403AllOfThreeStatusCode)[keyof typeof AddCategoryToDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type AddCategoryToDocument403AllOfThreeError =\n (typeof AddCategoryToDocument403AllOfThreeError)[keyof typeof AddCategoryToDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type AddCategoryToDocument403AllOfThree = {\n statusCode: AddCategoryToDocument403AllOfThreeStatusCode\n error: AddCategoryToDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type AddCategoryToDocument403 = AddCategoryToDocument403AllOf & AddCategoryToDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type AddCategoryToDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type AddCategoryToDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: AddCategoryToDocument404AllOfDebug\n}\n\nexport type AddCategoryToDocument404AllOfThreeStatusCode =\n (typeof AddCategoryToDocument404AllOfThreeStatusCode)[keyof typeof AddCategoryToDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type AddCategoryToDocument404AllOfThreeError =\n (typeof AddCategoryToDocument404AllOfThreeError)[keyof typeof AddCategoryToDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AddCategoryToDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type AddCategoryToDocument404AllOfThree = {\n statusCode: AddCategoryToDocument404AllOfThreeStatusCode\n error: AddCategoryToDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type AddCategoryToDocument404 = AddCategoryToDocument404AllOf & AddCategoryToDocument404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type RemoveCategoryFromDocument200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type RemoveCategoryFromDocument403AllOfDebug = { [key: string]: unknown }\n\nexport type RemoveCategoryFromDocument403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: RemoveCategoryFromDocument403AllOfDebug\n}\n\nexport type RemoveCategoryFromDocument403AllOfThreeStatusCode =\n (typeof RemoveCategoryFromDocument403AllOfThreeStatusCode)[keyof typeof RemoveCategoryFromDocument403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type RemoveCategoryFromDocument403AllOfThreeError =\n (typeof RemoveCategoryFromDocument403AllOfThreeError)[keyof typeof RemoveCategoryFromDocument403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type RemoveCategoryFromDocument403AllOfThree = {\n statusCode: RemoveCategoryFromDocument403AllOfThreeStatusCode\n error: RemoveCategoryFromDocument403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type RemoveCategoryFromDocument403 = RemoveCategoryFromDocument403AllOf & RemoveCategoryFromDocument403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type RemoveCategoryFromDocument404AllOfDebug = { [key: string]: unknown }\n\nexport type RemoveCategoryFromDocument404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: RemoveCategoryFromDocument404AllOfDebug\n}\n\nexport type RemoveCategoryFromDocument404AllOfThreeStatusCode =\n (typeof RemoveCategoryFromDocument404AllOfThreeStatusCode)[keyof typeof RemoveCategoryFromDocument404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type RemoveCategoryFromDocument404AllOfThreeError =\n (typeof RemoveCategoryFromDocument404AllOfThreeError)[keyof typeof RemoveCategoryFromDocument404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const RemoveCategoryFromDocument404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type RemoveCategoryFromDocument404AllOfThree = {\n statusCode: RemoveCategoryFromDocument404AllOfThreeStatusCode\n error: RemoveCategoryFromDocument404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type RemoveCategoryFromDocument404 = RemoveCategoryFromDocument404AllOf & RemoveCategoryFromDocument404AllOfThree\n\nexport type ListDocumentCategoriesParams = {\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\n/**\n * Document category data\n */\nexport type ListDocumentCategories200ResultsItemAllOf = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\nexport type ListDocumentCategories200ResultsItemAllOfTwo = {\n /** Number of documents in this category */\n documents_count: number\n}\n\n/**\n * Document category list item\n */\nexport type ListDocumentCategories200ResultsItem = ListDocumentCategories200ResultsItemAllOf &\n ListDocumentCategories200ResultsItemAllOfTwo\n\n/**\n * Paginated response\n */\nexport type ListDocumentCategories200 = {\n /** Array of items of the current page */\n results: ListDocumentCategories200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type ListDocumentCategories403AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocumentCategories403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocumentCategories403AllOfDebug\n}\n\nexport type ListDocumentCategories403AllOfThreeStatusCode =\n (typeof ListDocumentCategories403AllOfThreeStatusCode)[keyof typeof ListDocumentCategories403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type ListDocumentCategories403AllOfThreeError =\n (typeof ListDocumentCategories403AllOfThreeError)[keyof typeof ListDocumentCategories403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type ListDocumentCategories403AllOfThree = {\n statusCode: ListDocumentCategories403AllOfThreeStatusCode\n error: ListDocumentCategories403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type ListDocumentCategories403 = ListDocumentCategories403AllOf & ListDocumentCategories403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type ListDocumentCategories404AllOfDebug = { [key: string]: unknown }\n\nexport type ListDocumentCategories404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: ListDocumentCategories404AllOfDebug\n}\n\nexport type ListDocumentCategories404AllOfThreeStatusCode =\n (typeof ListDocumentCategories404AllOfThreeStatusCode)[keyof typeof ListDocumentCategories404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type ListDocumentCategories404AllOfThreeError =\n (typeof ListDocumentCategories404AllOfThreeError)[keyof typeof ListDocumentCategories404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ListDocumentCategories404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type ListDocumentCategories404AllOfThree = {\n statusCode: ListDocumentCategories404AllOfThreeStatusCode\n error: ListDocumentCategories404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type ListDocumentCategories404 = ListDocumentCategories404AllOf & ListDocumentCategories404AllOfThree\n\n/**\n * Document category creation payload\n */\nexport type CreateDocumentCategoryBody = {\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Document category data\n */\nexport type CreateDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type CreateDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocumentCategory403AllOfDebug\n}\n\nexport type CreateDocumentCategory403AllOfThreeStatusCode =\n (typeof CreateDocumentCategory403AllOfThreeStatusCode)[keyof typeof CreateDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type CreateDocumentCategory403AllOfThreeError =\n (typeof CreateDocumentCategory403AllOfThreeError)[keyof typeof CreateDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type CreateDocumentCategory403AllOfThree = {\n statusCode: CreateDocumentCategory403AllOfThreeStatusCode\n error: CreateDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type CreateDocumentCategory403 = CreateDocumentCategory403AllOf & CreateDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type CreateDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type CreateDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: CreateDocumentCategory404AllOfDebug\n}\n\nexport type CreateDocumentCategory404AllOfThreeStatusCode =\n (typeof CreateDocumentCategory404AllOfThreeStatusCode)[keyof typeof CreateDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type CreateDocumentCategory404AllOfThreeError =\n (typeof CreateDocumentCategory404AllOfThreeError)[keyof typeof CreateDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const CreateDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type CreateDocumentCategory404AllOfThree = {\n statusCode: CreateDocumentCategory404AllOfThreeStatusCode\n error: CreateDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type CreateDocumentCategory404 = CreateDocumentCategory404AllOf & CreateDocumentCategory404AllOfThree\n\n/**\n * Document category data\n */\nexport type GetDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocumentCategory403AllOfDebug\n}\n\nexport type GetDocumentCategory403AllOfThreeStatusCode =\n (typeof GetDocumentCategory403AllOfThreeStatusCode)[keyof typeof GetDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetDocumentCategory403AllOfThreeError =\n (typeof GetDocumentCategory403AllOfThreeError)[keyof typeof GetDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetDocumentCategory403AllOfThree = {\n statusCode: GetDocumentCategory403AllOfThreeStatusCode\n error: GetDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetDocumentCategory403 = GetDocumentCategory403AllOf & GetDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type GetDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetDocumentCategory404AllOfDebug\n}\n\nexport type GetDocumentCategory404AllOfThreeStatusCode =\n (typeof GetDocumentCategory404AllOfThreeStatusCode)[keyof typeof GetDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetDocumentCategory404AllOfThreeError =\n (typeof GetDocumentCategory404AllOfThreeError)[keyof typeof GetDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetDocumentCategory404AllOfThree = {\n statusCode: GetDocumentCategory404AllOfThreeStatusCode\n error: GetDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetDocumentCategory404 = GetDocumentCategory404AllOf & GetDocumentCategory404AllOfThree\n\n/**\n * Document category update payload\n */\nexport type UpdateDocumentCategoryBody = {\n /**\n * Name of the category\n * @maxLength 100\n */\n name?: string\n}\n\n/**\n * Document category data\n */\nexport type UpdateDocumentCategory200 = {\n /** Unique identifier of the category */\n id: number\n /**\n * Name of the category\n * @maxLength 100\n */\n name: string\n}\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocumentCategory403AllOfDebug\n}\n\nexport type UpdateDocumentCategory403AllOfThreeStatusCode =\n (typeof UpdateDocumentCategory403AllOfThreeStatusCode)[keyof typeof UpdateDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type UpdateDocumentCategory403AllOfThreeError =\n (typeof UpdateDocumentCategory403AllOfThreeError)[keyof typeof UpdateDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type UpdateDocumentCategory403AllOfThree = {\n statusCode: UpdateDocumentCategory403AllOfThreeStatusCode\n error: UpdateDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type UpdateDocumentCategory403 = UpdateDocumentCategory403AllOf & UpdateDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type UpdateDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type UpdateDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: UpdateDocumentCategory404AllOfDebug\n}\n\nexport type UpdateDocumentCategory404AllOfThreeStatusCode =\n (typeof UpdateDocumentCategory404AllOfThreeStatusCode)[keyof typeof UpdateDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type UpdateDocumentCategory404AllOfThreeError =\n (typeof UpdateDocumentCategory404AllOfThreeError)[keyof typeof UpdateDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const UpdateDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type UpdateDocumentCategory404AllOfThree = {\n statusCode: UpdateDocumentCategory404AllOfThreeStatusCode\n error: UpdateDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type UpdateDocumentCategory404 = UpdateDocumentCategory404AllOf & UpdateDocumentCategory404AllOfThree\n\n/**\n * Response when the request is successful\n */\nexport type DeleteDocumentCategory200 = {\n /** If the request success or not */\n success: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocumentCategory403AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocumentCategory403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocumentCategory403AllOfDebug\n}\n\nexport type DeleteDocumentCategory403AllOfThreeStatusCode =\n (typeof DeleteDocumentCategory403AllOfThreeStatusCode)[keyof typeof DeleteDocumentCategory403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type DeleteDocumentCategory403AllOfThreeError =\n (typeof DeleteDocumentCategory403AllOfThreeError)[keyof typeof DeleteDocumentCategory403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type DeleteDocumentCategory403AllOfThree = {\n statusCode: DeleteDocumentCategory403AllOfThreeStatusCode\n error: DeleteDocumentCategory403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type DeleteDocumentCategory403 = DeleteDocumentCategory403AllOf & DeleteDocumentCategory403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type DeleteDocumentCategory404AllOfDebug = { [key: string]: unknown }\n\nexport type DeleteDocumentCategory404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: DeleteDocumentCategory404AllOfDebug\n}\n\nexport type DeleteDocumentCategory404AllOfThreeStatusCode =\n (typeof DeleteDocumentCategory404AllOfThreeStatusCode)[keyof typeof DeleteDocumentCategory404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type DeleteDocumentCategory404AllOfThreeError =\n (typeof DeleteDocumentCategory404AllOfThreeError)[keyof typeof DeleteDocumentCategory404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const DeleteDocumentCategory404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type DeleteDocumentCategory404AllOfThree = {\n statusCode: DeleteDocumentCategory404AllOfThreeStatusCode\n error: DeleteDocumentCategory404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type DeleteDocumentCategory404 = DeleteDocumentCategory404AllOf & DeleteDocumentCategory404AllOfThree\n\nexport type GetFormsDataParams = {\n /**\n * ID of the associated dashboard widget\n */\n dashboardWidgetId: number\n /**\n * Values for params referenced in Card filterParams blocks\n */\n paramValues?: { [key: string]: unknown }\n /**\n * Page number starting from 0\n */\n page?: number\n /**\n * The number of items per page\n */\n perPage?: number\n}\n\nexport type GetFormsData200ResultsItem = { [key: string]: unknown }\n\n/**\n * Paginated response\n */\nexport type GetFormsData200 = {\n /** Array of items of the current page */\n results: GetFormsData200ResultsItem[]\n /** Total number of items not in this page but in the whole query */\n total: number\n}\n\n/**\n * Debug information of the error\n */\nexport type GetFormsData403AllOfDebug = { [key: string]: unknown }\n\nexport type GetFormsData403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetFormsData403AllOfDebug\n}\n\nexport type GetFormsData403AllOfThreeStatusCode =\n (typeof GetFormsData403AllOfThreeStatusCode)[keyof typeof GetFormsData403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetFormsData403AllOfThreeError =\n (typeof GetFormsData403AllOfThreeError)[keyof typeof GetFormsData403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetFormsData403AllOfThree = {\n statusCode: GetFormsData403AllOfThreeStatusCode\n error: GetFormsData403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetFormsData403 = GetFormsData403AllOf & GetFormsData403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetFormsData404AllOfDebug = { [key: string]: unknown }\n\nexport type GetFormsData404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetFormsData404AllOfDebug\n}\n\nexport type GetFormsData404AllOfThreeStatusCode =\n (typeof GetFormsData404AllOfThreeStatusCode)[keyof typeof GetFormsData404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetFormsData404AllOfThreeError =\n (typeof GetFormsData404AllOfThreeError)[keyof typeof GetFormsData404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetFormsData404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetFormsData404AllOfThree = {\n statusCode: GetFormsData404AllOfThreeStatusCode\n error: GetFormsData404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetFormsData404 = GetFormsData404AllOf & GetFormsData404AllOfThree\n\n/**\n * Thryve connection widget URL response\n */\nexport type GetThryveIframeUrl200 = {\n /** Short-lived URL to embed in an iframe / WebView for the Thryve connection widget */\n url: string\n}\n\n/**\n * Debug information of the error\n */\nexport type GetThryveIframeUrl403AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveIframeUrl403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveIframeUrl403AllOfDebug\n}\n\nexport type GetThryveIframeUrl403AllOfThreeStatusCode =\n (typeof GetThryveIframeUrl403AllOfThreeStatusCode)[keyof typeof GetThryveIframeUrl403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetThryveIframeUrl403AllOfThreeError =\n (typeof GetThryveIframeUrl403AllOfThreeError)[keyof typeof GetThryveIframeUrl403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetThryveIframeUrl403AllOfThree = {\n statusCode: GetThryveIframeUrl403AllOfThreeStatusCode\n error: GetThryveIframeUrl403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetThryveIframeUrl403 = GetThryveIframeUrl403AllOf & GetThryveIframeUrl403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetThryveIframeUrl404AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveIframeUrl404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveIframeUrl404AllOfDebug\n}\n\nexport type GetThryveIframeUrl404AllOfThreeStatusCode =\n (typeof GetThryveIframeUrl404AllOfThreeStatusCode)[keyof typeof GetThryveIframeUrl404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetThryveIframeUrl404AllOfThreeError =\n (typeof GetThryveIframeUrl404AllOfThreeError)[keyof typeof GetThryveIframeUrl404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveIframeUrl404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetThryveIframeUrl404AllOfThree = {\n statusCode: GetThryveIframeUrl404AllOfThreeStatusCode\n error: GetThryveIframeUrl404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetThryveIframeUrl404 = GetThryveIframeUrl404AllOf & GetThryveIframeUrl404AllOfThree\n\n/**\n * Thryve authorization status response\n */\nexport type GetThryveAuthorizationStatus200 = {\n /** True if the user has at least one connected data source in the thryve_integration service, false otherwise (including when the integration service is unreachable or unconfigured). */\n authorized: boolean\n}\n\n/**\n * Debug information of the error\n */\nexport type GetThryveAuthorizationStatus403AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveAuthorizationStatus403AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveAuthorizationStatus403AllOfDebug\n}\n\nexport type GetThryveAuthorizationStatus403AllOfThreeStatusCode =\n (typeof GetThryveAuthorizationStatus403AllOfThreeStatusCode)[keyof typeof GetThryveAuthorizationStatus403AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus403AllOfThreeStatusCode = {\n NUMBER_403: 403,\n} as const\n\nexport type GetThryveAuthorizationStatus403AllOfThreeError =\n (typeof GetThryveAuthorizationStatus403AllOfThreeError)[keyof typeof GetThryveAuthorizationStatus403AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus403AllOfThreeError = {\n 'forbidden-error': 'forbidden-error',\n} as const\n\nexport type GetThryveAuthorizationStatus403AllOfThree = {\n statusCode: GetThryveAuthorizationStatus403AllOfThreeStatusCode\n error: GetThryveAuthorizationStatus403AllOfThreeError\n}\n\n/**\n * Error when the user is forbidden to access the resource\n */\nexport type GetThryveAuthorizationStatus403 = GetThryveAuthorizationStatus403AllOf &\n GetThryveAuthorizationStatus403AllOfThree\n\n/**\n * Debug information of the error\n */\nexport type GetThryveAuthorizationStatus404AllOfDebug = { [key: string]: unknown }\n\nexport type GetThryveAuthorizationStatus404AllOf = {\n /** HTTP status code */\n statusCode: number\n /** Error code */\n error: string\n /** Localized error message */\n message: string\n /** Debug information of the error */\n debug?: GetThryveAuthorizationStatus404AllOfDebug\n}\n\nexport type GetThryveAuthorizationStatus404AllOfThreeStatusCode =\n (typeof GetThryveAuthorizationStatus404AllOfThreeStatusCode)[keyof typeof GetThryveAuthorizationStatus404AllOfThreeStatusCode]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus404AllOfThreeStatusCode = {\n NUMBER_404: 404,\n} as const\n\nexport type GetThryveAuthorizationStatus404AllOfThreeError =\n (typeof GetThryveAuthorizationStatus404AllOfThreeError)[keyof typeof GetThryveAuthorizationStatus404AllOfThreeError]\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const GetThryveAuthorizationStatus404AllOfThreeError = {\n 'not-found': 'not-found',\n} as const\n\nexport type GetThryveAuthorizationStatus404AllOfThree = {\n statusCode: GetThryveAuthorizationStatus404AllOfThreeStatusCode\n error: GetThryveAuthorizationStatus404AllOfThreeError\n}\n\n/**\n * Error when the resource is not found\n */\nexport type GetThryveAuthorizationStatus404 = GetThryveAuthorizationStatus404AllOf &\n GetThryveAuthorizationStatus404AllOfThree\n\nexport type postV2AuthLoginGlobalResponse200 = {\n data: void\n status: 200\n}\n\nexport type postV2AuthLoginGlobalResponseSuccess = postV2AuthLoginGlobalResponse200 & {\n headers: Headers\n}\nexport type postV2AuthLoginGlobalResponse = postV2AuthLoginGlobalResponseSuccess\n\nexport const getPostV2AuthLoginGlobalUrl = () => {\n return `/v2/auth/login/global`\n}\n\nexport const postV2AuthLoginGlobal = async (options?: RequestInit): Promise<postV2AuthLoginGlobalResponse> => {\n const res = await fetch(getPostV2AuthLoginGlobalUrl(), {\n ...options,\n method: 'POST',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: postV2AuthLoginGlobalResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postV2AuthLoginGlobalResponse\n}\n\n/**\n * Get a paginated list of documents\n */\nexport type listDocumentsResponse200 = {\n data: ListDocuments200\n status: 200\n}\n\nexport type listDocumentsResponse403 = {\n data: ListDocuments403\n status: 403\n}\n\nexport type listDocumentsResponse404 = {\n data: ListDocuments404\n status: 404\n}\n\nexport type listDocumentsResponseSuccess = listDocumentsResponse200 & {\n headers: Headers\n}\nexport type listDocumentsResponseError = (listDocumentsResponse403 | listDocumentsResponse404) & {\n headers: Headers\n}\n\nexport type listDocumentsResponse = listDocumentsResponseSuccess | listDocumentsResponseError\n\nexport const getListDocumentsUrl = (ecosystemName: string, projectName: string, params?: ListDocumentsParams) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`\n}\n\nexport const listDocuments = async (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentsParams,\n options?: RequestInit,\n): Promise<listDocumentsResponse> => {\n const res = await fetch(getListDocumentsUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: listDocumentsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as listDocumentsResponse\n}\n\n/**\n * Create a new document record\n */\nexport type createDocumentResponse200 = {\n data: CreateDocument200\n status: 200\n}\n\nexport type createDocumentResponse403 = {\n data: CreateDocument403\n status: 403\n}\n\nexport type createDocumentResponse404 = {\n data: CreateDocument404\n status: 404\n}\n\nexport type createDocumentResponseSuccess = createDocumentResponse200 & {\n headers: Headers\n}\nexport type createDocumentResponseError = (createDocumentResponse403 | createDocumentResponse404) & {\n headers: Headers\n}\n\nexport type createDocumentResponse = createDocumentResponseSuccess | createDocumentResponseError\n\nexport const getCreateDocumentUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/`\n}\n\nexport const createDocument = async (\n ecosystemName: string,\n projectName: string,\n createDocumentBody: CreateDocumentBody,\n options?: RequestInit,\n): Promise<createDocumentResponse> => {\n const res = await fetch(getCreateDocumentUrl(ecosystemName, projectName), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(createDocumentBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: createDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as createDocumentResponse\n}\n\n/**\n * Retrieve a specific document by ID\n */\nexport type getDocumentResponse200 = {\n data: GetDocument200\n status: 200\n}\n\nexport type getDocumentResponse403 = {\n data: GetDocument403\n status: 403\n}\n\nexport type getDocumentResponse404 = {\n data: GetDocument404\n status: 404\n}\n\nexport type getDocumentResponseSuccess = getDocumentResponse200 & {\n headers: Headers\n}\nexport type getDocumentResponseError = (getDocumentResponse403 | getDocumentResponse404) & {\n headers: Headers\n}\n\nexport type getDocumentResponse = getDocumentResponseSuccess | getDocumentResponseError\n\nexport const getGetDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`\n}\n\nexport const getDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<getDocumentResponse> => {\n const res = await fetch(getGetDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getDocumentResponse\n}\n\n/**\n * Update an existing document record\n */\nexport type updateDocumentResponse200 = {\n data: UpdateDocument200\n status: 200\n}\n\nexport type updateDocumentResponse403 = {\n data: UpdateDocument403\n status: 403\n}\n\nexport type updateDocumentResponse404 = {\n data: UpdateDocument404\n status: 404\n}\n\nexport type updateDocumentResponseSuccess = updateDocumentResponse200 & {\n headers: Headers\n}\nexport type updateDocumentResponseError = (updateDocumentResponse403 | updateDocumentResponse404) & {\n headers: Headers\n}\n\nexport type updateDocumentResponse = updateDocumentResponseSuccess | updateDocumentResponseError\n\nexport const getUpdateDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`\n}\n\nexport const updateDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n updateDocumentBody: UpdateDocumentBody,\n options?: RequestInit,\n): Promise<updateDocumentResponse> => {\n const res = await fetch(getUpdateDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateDocumentBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: updateDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as updateDocumentResponse\n}\n\n/**\n * Delete a document by its ID\n */\nexport type deleteDocumentResponse200 = {\n data: DeleteDocument200\n status: 200\n}\n\nexport type deleteDocumentResponse403 = {\n data: DeleteDocument403\n status: 403\n}\n\nexport type deleteDocumentResponse404 = {\n data: DeleteDocument404\n status: 404\n}\n\nexport type deleteDocumentResponseSuccess = deleteDocumentResponse200 & {\n headers: Headers\n}\nexport type deleteDocumentResponseError = (deleteDocumentResponse403 | deleteDocumentResponse404) & {\n headers: Headers\n}\n\nexport type deleteDocumentResponse = deleteDocumentResponseSuccess | deleteDocumentResponseError\n\nexport const getDeleteDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}`\n}\n\nexport const deleteDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<deleteDocumentResponse> => {\n const res = await fetch(getDeleteDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: deleteDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteDocumentResponse\n}\n\nexport type addCategoryToDocumentResponse200 = {\n data: AddCategoryToDocument200\n status: 200\n}\n\nexport type addCategoryToDocumentResponse403 = {\n data: AddCategoryToDocument403\n status: 403\n}\n\nexport type addCategoryToDocumentResponse404 = {\n data: AddCategoryToDocument404\n status: 404\n}\n\nexport type addCategoryToDocumentResponseSuccess = addCategoryToDocumentResponse200 & {\n headers: Headers\n}\nexport type addCategoryToDocumentResponseError = (\n | addCategoryToDocumentResponse403\n | addCategoryToDocumentResponse404\n) & {\n headers: Headers\n}\n\nexport type addCategoryToDocumentResponse = addCategoryToDocumentResponseSuccess | addCategoryToDocumentResponseError\n\nexport const getAddCategoryToDocumentUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${id}/categories`\n}\n\nexport const addCategoryToDocument = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n addCategoryToDocumentBody: AddCategoryToDocumentBody,\n options?: RequestInit,\n): Promise<addCategoryToDocumentResponse> => {\n const res = await fetch(getAddCategoryToDocumentUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(addCategoryToDocumentBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: addCategoryToDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as addCategoryToDocumentResponse\n}\n\nexport type removeCategoryFromDocumentResponse200 = {\n data: RemoveCategoryFromDocument200\n status: 200\n}\n\nexport type removeCategoryFromDocumentResponse403 = {\n data: RemoveCategoryFromDocument403\n status: 403\n}\n\nexport type removeCategoryFromDocumentResponse404 = {\n data: RemoveCategoryFromDocument404\n status: 404\n}\n\nexport type removeCategoryFromDocumentResponseSuccess = removeCategoryFromDocumentResponse200 & {\n headers: Headers\n}\nexport type removeCategoryFromDocumentResponseError = (\n | removeCategoryFromDocumentResponse403\n | removeCategoryFromDocumentResponse404\n) & {\n headers: Headers\n}\n\nexport type removeCategoryFromDocumentResponse =\n | removeCategoryFromDocumentResponseSuccess\n | removeCategoryFromDocumentResponseError\n\nexport const getRemoveCategoryFromDocumentUrl = (\n ecosystemName: string,\n projectName: string,\n documentId: number,\n categoryId: number,\n) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document/${documentId}/categories/${categoryId}`\n}\n\nexport const removeCategoryFromDocument = async (\n ecosystemName: string,\n projectName: string,\n documentId: number,\n categoryId: number,\n options?: RequestInit,\n): Promise<removeCategoryFromDocumentResponse> => {\n const res = await fetch(getRemoveCategoryFromDocumentUrl(ecosystemName, projectName, documentId, categoryId), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: removeCategoryFromDocumentResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as removeCategoryFromDocumentResponse\n}\n\n/**\n * A paginated list of document categories with the number of documents in each category\n */\nexport type listDocumentCategoriesResponse200 = {\n data: ListDocumentCategories200\n status: 200\n}\n\nexport type listDocumentCategoriesResponse403 = {\n data: ListDocumentCategories403\n status: 403\n}\n\nexport type listDocumentCategoriesResponse404 = {\n data: ListDocumentCategories404\n status: 404\n}\n\nexport type listDocumentCategoriesResponseSuccess = listDocumentCategoriesResponse200 & {\n headers: Headers\n}\nexport type listDocumentCategoriesResponseError = (\n | listDocumentCategoriesResponse403\n | listDocumentCategoriesResponse404\n) & {\n headers: Headers\n}\n\nexport type listDocumentCategoriesResponse = listDocumentCategoriesResponseSuccess | listDocumentCategoriesResponseError\n\nexport const getListDocumentCategoriesUrl = (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentCategoriesParams,\n) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`\n}\n\nexport const listDocumentCategories = async (\n ecosystemName: string,\n projectName: string,\n params?: ListDocumentCategoriesParams,\n options?: RequestInit,\n): Promise<listDocumentCategoriesResponse> => {\n const res = await fetch(getListDocumentCategoriesUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: listDocumentCategoriesResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as listDocumentCategoriesResponse\n}\n\n/**\n * Creates a document category with the provided data\n */\nexport type createDocumentCategoryResponse200 = {\n data: CreateDocumentCategory200\n status: 200\n}\n\nexport type createDocumentCategoryResponse403 = {\n data: CreateDocumentCategory403\n status: 403\n}\n\nexport type createDocumentCategoryResponse404 = {\n data: CreateDocumentCategory404\n status: 404\n}\n\nexport type createDocumentCategoryResponseSuccess = createDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type createDocumentCategoryResponseError = (\n | createDocumentCategoryResponse403\n | createDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type createDocumentCategoryResponse = createDocumentCategoryResponseSuccess | createDocumentCategoryResponseError\n\nexport const getCreateDocumentCategoryUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/`\n}\n\nexport const createDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n createDocumentCategoryBody: CreateDocumentCategoryBody,\n options?: RequestInit,\n): Promise<createDocumentCategoryResponse> => {\n const res = await fetch(getCreateDocumentCategoryUrl(ecosystemName, projectName), {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(createDocumentCategoryBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: createDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as createDocumentCategoryResponse\n}\n\n/**\n * Get the data of a document category\n */\nexport type getDocumentCategoryResponse200 = {\n data: GetDocumentCategory200\n status: 200\n}\n\nexport type getDocumentCategoryResponse403 = {\n data: GetDocumentCategory403\n status: 403\n}\n\nexport type getDocumentCategoryResponse404 = {\n data: GetDocumentCategory404\n status: 404\n}\n\nexport type getDocumentCategoryResponseSuccess = getDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type getDocumentCategoryResponseError = (getDocumentCategoryResponse403 | getDocumentCategoryResponse404) & {\n headers: Headers\n}\n\nexport type getDocumentCategoryResponse = getDocumentCategoryResponseSuccess | getDocumentCategoryResponseError\n\nexport const getGetDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const getDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<getDocumentCategoryResponse> => {\n const res = await fetch(getGetDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getDocumentCategoryResponse\n}\n\n/**\n * Updates (patch) a document category with the provided data\n */\nexport type updateDocumentCategoryResponse200 = {\n data: UpdateDocumentCategory200\n status: 200\n}\n\nexport type updateDocumentCategoryResponse403 = {\n data: UpdateDocumentCategory403\n status: 403\n}\n\nexport type updateDocumentCategoryResponse404 = {\n data: UpdateDocumentCategory404\n status: 404\n}\n\nexport type updateDocumentCategoryResponseSuccess = updateDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type updateDocumentCategoryResponseError = (\n | updateDocumentCategoryResponse403\n | updateDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type updateDocumentCategoryResponse = updateDocumentCategoryResponseSuccess | updateDocumentCategoryResponseError\n\nexport const getUpdateDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const updateDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n updateDocumentCategoryBody: UpdateDocumentCategoryBody,\n options?: RequestInit,\n): Promise<updateDocumentCategoryResponse> => {\n const res = await fetch(getUpdateDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateDocumentCategoryBody),\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: updateDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as updateDocumentCategoryResponse\n}\n\n/**\n * Deletes a document category with the provided ID\n */\nexport type deleteDocumentCategoryResponse200 = {\n data: DeleteDocumentCategory200\n status: 200\n}\n\nexport type deleteDocumentCategoryResponse403 = {\n data: DeleteDocumentCategory403\n status: 403\n}\n\nexport type deleteDocumentCategoryResponse404 = {\n data: DeleteDocumentCategory404\n status: 404\n}\n\nexport type deleteDocumentCategoryResponseSuccess = deleteDocumentCategoryResponse200 & {\n headers: Headers\n}\nexport type deleteDocumentCategoryResponseError = (\n | deleteDocumentCategoryResponse403\n | deleteDocumentCategoryResponse404\n) & {\n headers: Headers\n}\n\nexport type deleteDocumentCategoryResponse = deleteDocumentCategoryResponseSuccess | deleteDocumentCategoryResponseError\n\nexport const getDeleteDocumentCategoryUrl = (ecosystemName: string, projectName: string, id: number) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/document-category/${id}`\n}\n\nexport const deleteDocumentCategory = async (\n ecosystemName: string,\n projectName: string,\n id: number,\n options?: RequestInit,\n): Promise<deleteDocumentCategoryResponse> => {\n const res = await fetch(getDeleteDocumentCategoryUrl(ecosystemName, projectName, id), {\n ...options,\n method: 'DELETE',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: deleteDocumentCategoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteDocumentCategoryResponse\n}\n\n/**\n * Get forms data\n */\nexport type getFormsDataResponse200 = {\n data: GetFormsData200\n status: 200\n}\n\nexport type getFormsDataResponse403 = {\n data: GetFormsData403\n status: 403\n}\n\nexport type getFormsDataResponse404 = {\n data: GetFormsData404\n status: 404\n}\n\nexport type getFormsDataResponseSuccess = getFormsDataResponse200 & {\n headers: Headers\n}\nexport type getFormsDataResponseError = (getFormsDataResponse403 | getFormsDataResponse404) & {\n headers: Headers\n}\n\nexport type getFormsDataResponse = getFormsDataResponseSuccess | getFormsDataResponseError\n\nexport const getGetFormsDataUrl = (ecosystemName: string, projectName: string, params: GetFormsDataParams) => {\n const normalizedParams = new URLSearchParams()\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n })\n\n const stringifiedParams = normalizedParams.toString()\n\n return stringifiedParams.length > 0\n ? `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/?${stringifiedParams}`\n : `/v2/ecosystem/${ecosystemName}/project/${projectName}/forms-data/`\n}\n\nexport const getFormsData = async (\n ecosystemName: string,\n projectName: string,\n params: GetFormsDataParams,\n options?: RequestInit,\n): Promise<getFormsDataResponse> => {\n const res = await fetch(getGetFormsDataUrl(ecosystemName, projectName, params), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getFormsDataResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getFormsDataResponse\n}\n\n/**\n * Returns a short-lived URL to embed the Thryve connection widget in an iframe / WebView\n */\nexport type getThryveIframeUrlResponse200 = {\n data: GetThryveIframeUrl200\n status: 200\n}\n\nexport type getThryveIframeUrlResponse403 = {\n data: GetThryveIframeUrl403\n status: 403\n}\n\nexport type getThryveIframeUrlResponse404 = {\n data: GetThryveIframeUrl404\n status: 404\n}\n\nexport type getThryveIframeUrlResponseSuccess = getThryveIframeUrlResponse200 & {\n headers: Headers\n}\nexport type getThryveIframeUrlResponseError = (getThryveIframeUrlResponse403 | getThryveIframeUrlResponse404) & {\n headers: Headers\n}\n\nexport type getThryveIframeUrlResponse = getThryveIframeUrlResponseSuccess | getThryveIframeUrlResponseError\n\nexport const getGetThryveIframeUrlUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/iframe-url`\n}\n\nexport const getThryveIframeUrl = async (\n ecosystemName: string,\n projectName: string,\n options?: RequestInit,\n): Promise<getThryveIframeUrlResponse> => {\n const res = await fetch(getGetThryveIframeUrlUrl(ecosystemName, projectName), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getThryveIframeUrlResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getThryveIframeUrlResponse\n}\n\n/**\n * Returns whether the current user has at least one connected data source in the Thryve integration service.\n */\nexport type getThryveAuthorizationStatusResponse200 = {\n data: GetThryveAuthorizationStatus200\n status: 200\n}\n\nexport type getThryveAuthorizationStatusResponse403 = {\n data: GetThryveAuthorizationStatus403\n status: 403\n}\n\nexport type getThryveAuthorizationStatusResponse404 = {\n data: GetThryveAuthorizationStatus404\n status: 404\n}\n\nexport type getThryveAuthorizationStatusResponseSuccess = getThryveAuthorizationStatusResponse200 & {\n headers: Headers\n}\nexport type getThryveAuthorizationStatusResponseError = (\n | getThryveAuthorizationStatusResponse403\n | getThryveAuthorizationStatusResponse404\n) & {\n headers: Headers\n}\n\nexport type getThryveAuthorizationStatusResponse =\n | getThryveAuthorizationStatusResponseSuccess\n | getThryveAuthorizationStatusResponseError\n\nexport const getGetThryveAuthorizationStatusUrl = (ecosystemName: string, projectName: string) => {\n return `/v2/ecosystem/${ecosystemName}/project/${projectName}/thryve/sources`\n}\n\nexport const getThryveAuthorizationStatus = async (\n ecosystemName: string,\n projectName: string,\n options?: RequestInit,\n): Promise<getThryveAuthorizationStatusResponse> => {\n const res = await fetch(getGetThryveAuthorizationStatusUrl(ecosystemName, projectName), {\n ...options,\n method: 'GET',\n })\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text()\n\n const data: getThryveAuthorizationStatusResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getThryveAuthorizationStatusResponse\n}\n"],"names":[],"mappings":";;AAiGO,MAAM,uCAAuC;AAAA,EAClD,YAAY;AACd;AAMO,MAAM,kCAAkC;AAAA,EAC7C,mBAAmB;AACrB;AAgCO,MAAM,uCAAuC;AAAA,EAClD,YAAY;AACd;AAMO,MAAM,kCAAkC;AAAA,EAC7C,aAAa;AACf;AAqFO,MAAM,wCAAwC;AAAA,EACnD,YAAY;AACd;AAMO,MAAM,mCAAmC;AAAA,EAC9C,mBAAmB;AACrB;AAgCO,MAAM,wCAAwC;AAAA,EACnD,YAAY;AACd;AAMO,MAAM,mCAAmC;AAAA,EAC9C,aAAa;AACf;AAiEO,MAAM,qCAAqC;AAAA,EAChD,YAAY;AACd;AAMO,MAAM,gCAAgC;AAAA,EAC3C,mBAAmB;AACrB;AAgCO,MAAM,qCAAqC;AAAA,EAChD,YAAY;AACd;AAMO,MAAM,gCAAgC;AAAA,EAC3C,aAAa;AACf;AAqFO,MAAM,wCAAwC;AAAA,EACnD,YAAY;AACd;AAMO,MAAM,mCAAmC;AAAA,EAC9C,mBAAmB;AACrB;AAgCO,MAAM,wCAAwC;AAAA,EACnD,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