qanswer_sdk 3.1397.0__py3-none-any.whl → 3.1400.0__py3-none-any.whl

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.
qanswer_sdk/__init__.py CHANGED
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "3.1397.0"
17
+ __version__ = "3.1400.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from qanswer_sdk.api.admin_api import AdminApi
@@ -26,10 +26,13 @@ from qanswer_sdk.api.chatbot_api import ChatbotApi
26
26
  from qanswer_sdk.api.connector_audio_api import ConnectorAudioApi
27
27
  from qanswer_sdk.api.connector_document_api import ConnectorDocumentApi
28
28
  from qanswer_sdk.api.connector_e_consilium_api import ConnectorEConsiliumApi
29
+ from qanswer_sdk.api.connector_e_consilium_search_index_api_api import ConnectorEConsiliumSearchIndexAPIApi
29
30
  from qanswer_sdk.api.connector_google_drive_api import ConnectorGoogleDriveApi
31
+ from qanswer_sdk.api.connector_imapapi_api import ConnectorIMAPAPIApi
30
32
  from qanswer_sdk.api.connector_one_drive_api import ConnectorOneDriveApi
31
33
  from qanswer_sdk.api.connector_onenote_api import ConnectorOnenoteApi
32
34
  from qanswer_sdk.api.connector_pinecone_api import ConnectorPineconeApi
35
+ from qanswer_sdk.api.connector_publication_office_api_api import ConnectorPublicationOfficeAPIApi
33
36
  from qanswer_sdk.api.connector_qn_a_api import ConnectorQnAApi
34
37
  from qanswer_sdk.api.connector_rdf_api import ConnectorRDFApi
35
38
  from qanswer_sdk.api.connector_rdf_answer_api import ConnectorRDFAnswerApi
@@ -41,6 +44,7 @@ from qanswer_sdk.api.connectors_data_api import ConnectorsDataApi
41
44
  from qanswer_sdk.api.conversation_logs_api import ConversationLogsApi
42
45
  from qanswer_sdk.api.dataset_config_api import DatasetConfigApi
43
46
  from qanswer_sdk.api.debug_api import DebugApi
47
+ from qanswer_sdk.api.health_check_api_api import HealthCheckAPIApi
44
48
  from qanswer_sdk.api.llm_api import LlmApi
45
49
  from qanswer_sdk.api.payment_api import PaymentApi
46
50
  from qanswer_sdk.api.socket_api import SocketApi
@@ -62,9 +66,6 @@ from qanswer_sdk.api.unit_teams_api import UnitTeamsApi
62
66
  from qanswer_sdk.api.unit_user_api import UnitUserApi
63
67
  from qanswer_sdk.api.v1_chat_completion_api import V1ChatCompletionApi
64
68
  from qanswer_sdk.api.v1_embeddings_api import V1EmbeddingsApi
65
- from qanswer_sdk.api.connector_e_consilium_search_index_connector_api import ConnectorEConsiliumSearchIndexConnectorApi
66
- from qanswer_sdk.api.connector_imap_connector_api import ConnectorImapConnectorApi
67
- from qanswer_sdk.api.connector_publication_office_controller_api import ConnectorPublicationOfficeControllerApi
68
69
 
69
70
  # import ApiClient
70
71
  from qanswer_sdk.api_response import ApiResponse
@@ -352,6 +353,7 @@ from qanswer_sdk.models.search_task_settings import SearchTaskSettings
352
353
  from qanswer_sdk.models.search_task_settings_update_payload import SearchTaskSettingsUpdatePayload
353
354
  from qanswer_sdk.models.search_task_update import SearchTaskUpdate
354
355
  from qanswer_sdk.models.set_logo2_request import SetLogo2Request
356
+ from qanswer_sdk.models.share_point_connector_settings import SharePointConnectorSettings
355
357
  from qanswer_sdk.models.share_point_download_by_ids import SharePointDownloadByIds
356
358
  from qanswer_sdk.models.share_point_download_request import SharePointDownloadRequest
357
359
  from qanswer_sdk.models.shared_organization_access import SharedOrganizationAccess
@@ -10,10 +10,13 @@ from qanswer_sdk.api.chatbot_api import ChatbotApi
10
10
  from qanswer_sdk.api.connector_audio_api import ConnectorAudioApi
11
11
  from qanswer_sdk.api.connector_document_api import ConnectorDocumentApi
12
12
  from qanswer_sdk.api.connector_e_consilium_api import ConnectorEConsiliumApi
13
+ from qanswer_sdk.api.connector_e_consilium_search_index_api_api import ConnectorEConsiliumSearchIndexAPIApi
13
14
  from qanswer_sdk.api.connector_google_drive_api import ConnectorGoogleDriveApi
15
+ from qanswer_sdk.api.connector_imapapi_api import ConnectorIMAPAPIApi
14
16
  from qanswer_sdk.api.connector_one_drive_api import ConnectorOneDriveApi
15
17
  from qanswer_sdk.api.connector_onenote_api import ConnectorOnenoteApi
16
18
  from qanswer_sdk.api.connector_pinecone_api import ConnectorPineconeApi
19
+ from qanswer_sdk.api.connector_publication_office_api_api import ConnectorPublicationOfficeAPIApi
17
20
  from qanswer_sdk.api.connector_qn_a_api import ConnectorQnAApi
18
21
  from qanswer_sdk.api.connector_rdf_api import ConnectorRDFApi
19
22
  from qanswer_sdk.api.connector_rdf_answer_api import ConnectorRDFAnswerApi
@@ -25,6 +28,7 @@ from qanswer_sdk.api.connectors_data_api import ConnectorsDataApi
25
28
  from qanswer_sdk.api.conversation_logs_api import ConversationLogsApi
26
29
  from qanswer_sdk.api.dataset_config_api import DatasetConfigApi
27
30
  from qanswer_sdk.api.debug_api import DebugApi
31
+ from qanswer_sdk.api.health_check_api_api import HealthCheckAPIApi
28
32
  from qanswer_sdk.api.llm_api import LlmApi
29
33
  from qanswer_sdk.api.payment_api import PaymentApi
30
34
  from qanswer_sdk.api.socket_api import SocketApi
@@ -46,7 +50,4 @@ from qanswer_sdk.api.unit_teams_api import UnitTeamsApi
46
50
  from qanswer_sdk.api.unit_user_api import UnitUserApi
47
51
  from qanswer_sdk.api.v1_chat_completion_api import V1ChatCompletionApi
48
52
  from qanswer_sdk.api.v1_embeddings_api import V1EmbeddingsApi
49
- from qanswer_sdk.api.connector_e_consilium_search_index_connector_api import ConnectorEConsiliumSearchIndexConnectorApi
50
- from qanswer_sdk.api.connector_imap_connector_api import ConnectorImapConnectorApi
51
- from qanswer_sdk.api.connector_publication_office_controller_api import ConnectorPublicationOfficeControllerApi
52
53
 
@@ -31,7 +31,7 @@ from qanswer_sdk.api_response import ApiResponse
31
31
  from qanswer_sdk.rest import RESTResponseType
32
32
 
33
33
 
34
- class ConnectorEConsiliumSearchIndexConnectorApi:
34
+ class ConnectorEConsiliumSearchIndexAPIApi:
35
35
  """NOTE: This class is auto generated by OpenAPI Generator
36
36
  Ref: https://openapi-generator.tech
37
37
 
@@ -33,7 +33,7 @@ from qanswer_sdk.api_response import ApiResponse
33
33
  from qanswer_sdk.rest import RESTResponseType
34
34
 
35
35
 
36
- class ConnectorImapConnectorApi:
36
+ class ConnectorIMAPAPIApi:
37
37
  """NOTE: This class is auto generated by OpenAPI Generator
38
38
  Ref: https://openapi-generator.tech
39
39
 
@@ -31,7 +31,7 @@ from qanswer_sdk.api_response import ApiResponse
31
31
  from qanswer_sdk.rest import RESTResponseType
32
32
 
33
33
 
34
- class ConnectorPublicationOfficeControllerApi:
34
+ class ConnectorPublicationOfficeAPIApi:
35
35
  """NOTE: This class is auto generated by OpenAPI Generator
36
36
  Ref: https://openapi-generator.tech
37
37
 
@@ -23,6 +23,7 @@ from qanswer_sdk.models.create_connector_response import CreateConnectorResponse
23
23
  from qanswer_sdk.models.create_sharepoint_connector_from_certificate_request import CreateSharepointConnectorFromCertificateRequest
24
24
  from qanswer_sdk.models.create_sharepoint_connector_request import CreateSharepointConnectorRequest
25
25
  from qanswer_sdk.models.list_files_connector_response import ListFilesConnectorResponse
26
+ from qanswer_sdk.models.share_point_connector_settings import SharePointConnectorSettings
26
27
  from qanswer_sdk.models.share_point_download_request import SharePointDownloadRequest
27
28
  from qanswer_sdk.models.status_response import StatusResponse
28
29
 
@@ -346,6 +347,316 @@ class ConnectorSharepointApi:
346
347
 
347
348
 
348
349
 
350
+ @validate_call
351
+ def get_settings(
352
+ self,
353
+ username: StrictStr,
354
+ dataset: StrictStr,
355
+ connector_id: StrictInt,
356
+ q_answer_api_key: Optional[StrictStr] = None,
357
+ _request_timeout: Union[
358
+ None,
359
+ Annotated[StrictFloat, Field(gt=0)],
360
+ Tuple[
361
+ Annotated[StrictFloat, Field(gt=0)],
362
+ Annotated[StrictFloat, Field(gt=0)]
363
+ ]
364
+ ] = None,
365
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
366
+ _content_type: Optional[StrictStr] = None,
367
+ _headers: Optional[Dict[StrictStr, Any]] = None,
368
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
369
+ ) -> SharePointConnectorSettings:
370
+ """get_settings
371
+
372
+
373
+ :param username: (required)
374
+ :type username: str
375
+ :param dataset: (required)
376
+ :type dataset: str
377
+ :param connector_id: (required)
378
+ :type connector_id: int
379
+ :param q_answer_api_key:
380
+ :type q_answer_api_key: str
381
+ :param _request_timeout: timeout setting for this request. If one
382
+ number provided, it will be total request
383
+ timeout. It can also be a pair (tuple) of
384
+ (connection, read) timeouts.
385
+ :type _request_timeout: int, tuple(int, int), optional
386
+ :param _request_auth: set to override the auth_settings for an a single
387
+ request; this effectively ignores the
388
+ authentication in the spec for a single request.
389
+ :type _request_auth: dict, optional
390
+ :param _content_type: force content-type for the request.
391
+ :type _content_type: str, Optional
392
+ :param _headers: set to override the headers for a single
393
+ request; this effectively ignores the headers
394
+ in the spec for a single request.
395
+ :type _headers: dict, optional
396
+ :param _host_index: set to override the host_index for a single
397
+ request; this effectively ignores the host_index
398
+ in the spec for a single request.
399
+ :type _host_index: int, optional
400
+ :return: Returns the result object.
401
+ """ # noqa: E501
402
+
403
+ _param = self._get_settings_serialize(
404
+ username=username,
405
+ dataset=dataset,
406
+ connector_id=connector_id,
407
+ q_answer_api_key=q_answer_api_key,
408
+ _request_auth=_request_auth,
409
+ _content_type=_content_type,
410
+ _headers=_headers,
411
+ _host_index=_host_index
412
+ )
413
+
414
+ _response_types_map: Dict[str, Optional[str]] = {
415
+ '200': "SharePointConnectorSettings",
416
+ }
417
+ response_data = self.api_client.call_api(
418
+ *_param,
419
+ _request_timeout=_request_timeout
420
+ )
421
+ response_data.read()
422
+ return self.api_client.response_deserialize(
423
+ response_data=response_data,
424
+ response_types_map=_response_types_map,
425
+ ).data
426
+
427
+
428
+ @validate_call
429
+ def get_settings_with_http_info(
430
+ self,
431
+ username: StrictStr,
432
+ dataset: StrictStr,
433
+ connector_id: StrictInt,
434
+ q_answer_api_key: Optional[StrictStr] = None,
435
+ _request_timeout: Union[
436
+ None,
437
+ Annotated[StrictFloat, Field(gt=0)],
438
+ Tuple[
439
+ Annotated[StrictFloat, Field(gt=0)],
440
+ Annotated[StrictFloat, Field(gt=0)]
441
+ ]
442
+ ] = None,
443
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
444
+ _content_type: Optional[StrictStr] = None,
445
+ _headers: Optional[Dict[StrictStr, Any]] = None,
446
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
447
+ ) -> ApiResponse[SharePointConnectorSettings]:
448
+ """get_settings
449
+
450
+
451
+ :param username: (required)
452
+ :type username: str
453
+ :param dataset: (required)
454
+ :type dataset: str
455
+ :param connector_id: (required)
456
+ :type connector_id: int
457
+ :param q_answer_api_key:
458
+ :type q_answer_api_key: str
459
+ :param _request_timeout: timeout setting for this request. If one
460
+ number provided, it will be total request
461
+ timeout. It can also be a pair (tuple) of
462
+ (connection, read) timeouts.
463
+ :type _request_timeout: int, tuple(int, int), optional
464
+ :param _request_auth: set to override the auth_settings for an a single
465
+ request; this effectively ignores the
466
+ authentication in the spec for a single request.
467
+ :type _request_auth: dict, optional
468
+ :param _content_type: force content-type for the request.
469
+ :type _content_type: str, Optional
470
+ :param _headers: set to override the headers for a single
471
+ request; this effectively ignores the headers
472
+ in the spec for a single request.
473
+ :type _headers: dict, optional
474
+ :param _host_index: set to override the host_index for a single
475
+ request; this effectively ignores the host_index
476
+ in the spec for a single request.
477
+ :type _host_index: int, optional
478
+ :return: Returns the result object.
479
+ """ # noqa: E501
480
+
481
+ _param = self._get_settings_serialize(
482
+ username=username,
483
+ dataset=dataset,
484
+ connector_id=connector_id,
485
+ q_answer_api_key=q_answer_api_key,
486
+ _request_auth=_request_auth,
487
+ _content_type=_content_type,
488
+ _headers=_headers,
489
+ _host_index=_host_index
490
+ )
491
+
492
+ _response_types_map: Dict[str, Optional[str]] = {
493
+ '200': "SharePointConnectorSettings",
494
+ }
495
+ response_data = self.api_client.call_api(
496
+ *_param,
497
+ _request_timeout=_request_timeout
498
+ )
499
+ response_data.read()
500
+ return self.api_client.response_deserialize(
501
+ response_data=response_data,
502
+ response_types_map=_response_types_map,
503
+ )
504
+
505
+
506
+ @validate_call
507
+ def get_settings_without_preload_content(
508
+ self,
509
+ username: StrictStr,
510
+ dataset: StrictStr,
511
+ connector_id: StrictInt,
512
+ q_answer_api_key: Optional[StrictStr] = None,
513
+ _request_timeout: Union[
514
+ None,
515
+ Annotated[StrictFloat, Field(gt=0)],
516
+ Tuple[
517
+ Annotated[StrictFloat, Field(gt=0)],
518
+ Annotated[StrictFloat, Field(gt=0)]
519
+ ]
520
+ ] = None,
521
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
522
+ _content_type: Optional[StrictStr] = None,
523
+ _headers: Optional[Dict[StrictStr, Any]] = None,
524
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
525
+ ) -> RESTResponseType:
526
+ """get_settings
527
+
528
+
529
+ :param username: (required)
530
+ :type username: str
531
+ :param dataset: (required)
532
+ :type dataset: str
533
+ :param connector_id: (required)
534
+ :type connector_id: int
535
+ :param q_answer_api_key:
536
+ :type q_answer_api_key: str
537
+ :param _request_timeout: timeout setting for this request. If one
538
+ number provided, it will be total request
539
+ timeout. It can also be a pair (tuple) of
540
+ (connection, read) timeouts.
541
+ :type _request_timeout: int, tuple(int, int), optional
542
+ :param _request_auth: set to override the auth_settings for an a single
543
+ request; this effectively ignores the
544
+ authentication in the spec for a single request.
545
+ :type _request_auth: dict, optional
546
+ :param _content_type: force content-type for the request.
547
+ :type _content_type: str, Optional
548
+ :param _headers: set to override the headers for a single
549
+ request; this effectively ignores the headers
550
+ in the spec for a single request.
551
+ :type _headers: dict, optional
552
+ :param _host_index: set to override the host_index for a single
553
+ request; this effectively ignores the host_index
554
+ in the spec for a single request.
555
+ :type _host_index: int, optional
556
+ :return: Returns the result object.
557
+ """ # noqa: E501
558
+
559
+ _param = self._get_settings_serialize(
560
+ username=username,
561
+ dataset=dataset,
562
+ connector_id=connector_id,
563
+ q_answer_api_key=q_answer_api_key,
564
+ _request_auth=_request_auth,
565
+ _content_type=_content_type,
566
+ _headers=_headers,
567
+ _host_index=_host_index
568
+ )
569
+
570
+ _response_types_map: Dict[str, Optional[str]] = {
571
+ '200': "SharePointConnectorSettings",
572
+ }
573
+ response_data = self.api_client.call_api(
574
+ *_param,
575
+ _request_timeout=_request_timeout
576
+ )
577
+ return response_data.response
578
+
579
+
580
+ def _get_settings_serialize(
581
+ self,
582
+ username,
583
+ dataset,
584
+ connector_id,
585
+ q_answer_api_key,
586
+ _request_auth,
587
+ _content_type,
588
+ _headers,
589
+ _host_index,
590
+ ) -> RequestSerialized:
591
+
592
+ _host = None
593
+
594
+ _collection_formats: Dict[str, str] = {
595
+ }
596
+
597
+ _path_params: Dict[str, str] = {}
598
+ _query_params: List[Tuple[str, str]] = []
599
+ _header_params: Dict[str, Optional[str]] = _headers or {}
600
+ _form_params: List[Tuple[str, str]] = []
601
+ _files: Dict[
602
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
603
+ ] = {}
604
+ _body_params: Optional[bytes] = None
605
+
606
+ # process the path parameters
607
+ # process the query parameters
608
+ if username is not None:
609
+
610
+ _query_params.append(('username', username))
611
+
612
+ if dataset is not None:
613
+
614
+ _query_params.append(('dataset', dataset))
615
+
616
+ if connector_id is not None:
617
+
618
+ _query_params.append(('connectorId', connector_id))
619
+
620
+ # process the header parameters
621
+ if q_answer_api_key is not None:
622
+ _header_params['QAnswer-Api-Key'] = q_answer_api_key
623
+ # process the form parameters
624
+ # process the body parameter
625
+
626
+
627
+ # set the HTTP header `Accept`
628
+ if 'Accept' not in _header_params:
629
+ _header_params['Accept'] = self.api_client.select_header_accept(
630
+ [
631
+ '*/*'
632
+ ]
633
+ )
634
+
635
+
636
+ # authentication setting
637
+ _auth_settings: List[str] = [
638
+ 'QAnswer-Api-Key',
639
+ 'Bearer'
640
+ ]
641
+
642
+ return self.api_client.param_serialize(
643
+ method='GET',
644
+ resource_path='/api/connectors/sharepoint/settings',
645
+ path_params=_path_params,
646
+ query_params=_query_params,
647
+ header_params=_header_params,
648
+ body=_body_params,
649
+ post_params=_form_params,
650
+ files=_files,
651
+ auth_settings=_auth_settings,
652
+ collection_formats=_collection_formats,
653
+ _host=_host,
654
+ _request_auth=_request_auth
655
+ )
656
+
657
+
658
+
659
+
349
660
  @validate_call
350
661
  def refresh_sharepoint(
351
662
  self,
@@ -2582,3 +2893,290 @@ class ConnectorSharepointApi:
2582
2893
  )
2583
2894
 
2584
2895
 
2896
+
2897
+
2898
+ @validate_call
2899
+ def update_settings(
2900
+ self,
2901
+ share_point_connector_settings: SharePointConnectorSettings,
2902
+ q_answer_api_key: Optional[StrictStr] = None,
2903
+ _request_timeout: Union[
2904
+ None,
2905
+ Annotated[StrictFloat, Field(gt=0)],
2906
+ Tuple[
2907
+ Annotated[StrictFloat, Field(gt=0)],
2908
+ Annotated[StrictFloat, Field(gt=0)]
2909
+ ]
2910
+ ] = None,
2911
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2912
+ _content_type: Optional[StrictStr] = None,
2913
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2914
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2915
+ ) -> SharePointConnectorSettings:
2916
+ """update_settings
2917
+
2918
+
2919
+ :param share_point_connector_settings: (required)
2920
+ :type share_point_connector_settings: SharePointConnectorSettings
2921
+ :param q_answer_api_key:
2922
+ :type q_answer_api_key: str
2923
+ :param _request_timeout: timeout setting for this request. If one
2924
+ number provided, it will be total request
2925
+ timeout. It can also be a pair (tuple) of
2926
+ (connection, read) timeouts.
2927
+ :type _request_timeout: int, tuple(int, int), optional
2928
+ :param _request_auth: set to override the auth_settings for an a single
2929
+ request; this effectively ignores the
2930
+ authentication in the spec for a single request.
2931
+ :type _request_auth: dict, optional
2932
+ :param _content_type: force content-type for the request.
2933
+ :type _content_type: str, Optional
2934
+ :param _headers: set to override the headers for a single
2935
+ request; this effectively ignores the headers
2936
+ in the spec for a single request.
2937
+ :type _headers: dict, optional
2938
+ :param _host_index: set to override the host_index for a single
2939
+ request; this effectively ignores the host_index
2940
+ in the spec for a single request.
2941
+ :type _host_index: int, optional
2942
+ :return: Returns the result object.
2943
+ """ # noqa: E501
2944
+
2945
+ _param = self._update_settings_serialize(
2946
+ share_point_connector_settings=share_point_connector_settings,
2947
+ q_answer_api_key=q_answer_api_key,
2948
+ _request_auth=_request_auth,
2949
+ _content_type=_content_type,
2950
+ _headers=_headers,
2951
+ _host_index=_host_index
2952
+ )
2953
+
2954
+ _response_types_map: Dict[str, Optional[str]] = {
2955
+ '200': "SharePointConnectorSettings",
2956
+ }
2957
+ response_data = self.api_client.call_api(
2958
+ *_param,
2959
+ _request_timeout=_request_timeout
2960
+ )
2961
+ response_data.read()
2962
+ return self.api_client.response_deserialize(
2963
+ response_data=response_data,
2964
+ response_types_map=_response_types_map,
2965
+ ).data
2966
+
2967
+
2968
+ @validate_call
2969
+ def update_settings_with_http_info(
2970
+ self,
2971
+ share_point_connector_settings: SharePointConnectorSettings,
2972
+ q_answer_api_key: Optional[StrictStr] = None,
2973
+ _request_timeout: Union[
2974
+ None,
2975
+ Annotated[StrictFloat, Field(gt=0)],
2976
+ Tuple[
2977
+ Annotated[StrictFloat, Field(gt=0)],
2978
+ Annotated[StrictFloat, Field(gt=0)]
2979
+ ]
2980
+ ] = None,
2981
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2982
+ _content_type: Optional[StrictStr] = None,
2983
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2984
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2985
+ ) -> ApiResponse[SharePointConnectorSettings]:
2986
+ """update_settings
2987
+
2988
+
2989
+ :param share_point_connector_settings: (required)
2990
+ :type share_point_connector_settings: SharePointConnectorSettings
2991
+ :param q_answer_api_key:
2992
+ :type q_answer_api_key: str
2993
+ :param _request_timeout: timeout setting for this request. If one
2994
+ number provided, it will be total request
2995
+ timeout. It can also be a pair (tuple) of
2996
+ (connection, read) timeouts.
2997
+ :type _request_timeout: int, tuple(int, int), optional
2998
+ :param _request_auth: set to override the auth_settings for an a single
2999
+ request; this effectively ignores the
3000
+ authentication in the spec for a single request.
3001
+ :type _request_auth: dict, optional
3002
+ :param _content_type: force content-type for the request.
3003
+ :type _content_type: str, Optional
3004
+ :param _headers: set to override the headers for a single
3005
+ request; this effectively ignores the headers
3006
+ in the spec for a single request.
3007
+ :type _headers: dict, optional
3008
+ :param _host_index: set to override the host_index for a single
3009
+ request; this effectively ignores the host_index
3010
+ in the spec for a single request.
3011
+ :type _host_index: int, optional
3012
+ :return: Returns the result object.
3013
+ """ # noqa: E501
3014
+
3015
+ _param = self._update_settings_serialize(
3016
+ share_point_connector_settings=share_point_connector_settings,
3017
+ q_answer_api_key=q_answer_api_key,
3018
+ _request_auth=_request_auth,
3019
+ _content_type=_content_type,
3020
+ _headers=_headers,
3021
+ _host_index=_host_index
3022
+ )
3023
+
3024
+ _response_types_map: Dict[str, Optional[str]] = {
3025
+ '200': "SharePointConnectorSettings",
3026
+ }
3027
+ response_data = self.api_client.call_api(
3028
+ *_param,
3029
+ _request_timeout=_request_timeout
3030
+ )
3031
+ response_data.read()
3032
+ return self.api_client.response_deserialize(
3033
+ response_data=response_data,
3034
+ response_types_map=_response_types_map,
3035
+ )
3036
+
3037
+
3038
+ @validate_call
3039
+ def update_settings_without_preload_content(
3040
+ self,
3041
+ share_point_connector_settings: SharePointConnectorSettings,
3042
+ q_answer_api_key: Optional[StrictStr] = None,
3043
+ _request_timeout: Union[
3044
+ None,
3045
+ Annotated[StrictFloat, Field(gt=0)],
3046
+ Tuple[
3047
+ Annotated[StrictFloat, Field(gt=0)],
3048
+ Annotated[StrictFloat, Field(gt=0)]
3049
+ ]
3050
+ ] = None,
3051
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3052
+ _content_type: Optional[StrictStr] = None,
3053
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3054
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3055
+ ) -> RESTResponseType:
3056
+ """update_settings
3057
+
3058
+
3059
+ :param share_point_connector_settings: (required)
3060
+ :type share_point_connector_settings: SharePointConnectorSettings
3061
+ :param q_answer_api_key:
3062
+ :type q_answer_api_key: str
3063
+ :param _request_timeout: timeout setting for this request. If one
3064
+ number provided, it will be total request
3065
+ timeout. It can also be a pair (tuple) of
3066
+ (connection, read) timeouts.
3067
+ :type _request_timeout: int, tuple(int, int), optional
3068
+ :param _request_auth: set to override the auth_settings for an a single
3069
+ request; this effectively ignores the
3070
+ authentication in the spec for a single request.
3071
+ :type _request_auth: dict, optional
3072
+ :param _content_type: force content-type for the request.
3073
+ :type _content_type: str, Optional
3074
+ :param _headers: set to override the headers for a single
3075
+ request; this effectively ignores the headers
3076
+ in the spec for a single request.
3077
+ :type _headers: dict, optional
3078
+ :param _host_index: set to override the host_index for a single
3079
+ request; this effectively ignores the host_index
3080
+ in the spec for a single request.
3081
+ :type _host_index: int, optional
3082
+ :return: Returns the result object.
3083
+ """ # noqa: E501
3084
+
3085
+ _param = self._update_settings_serialize(
3086
+ share_point_connector_settings=share_point_connector_settings,
3087
+ q_answer_api_key=q_answer_api_key,
3088
+ _request_auth=_request_auth,
3089
+ _content_type=_content_type,
3090
+ _headers=_headers,
3091
+ _host_index=_host_index
3092
+ )
3093
+
3094
+ _response_types_map: Dict[str, Optional[str]] = {
3095
+ '200': "SharePointConnectorSettings",
3096
+ }
3097
+ response_data = self.api_client.call_api(
3098
+ *_param,
3099
+ _request_timeout=_request_timeout
3100
+ )
3101
+ return response_data.response
3102
+
3103
+
3104
+ def _update_settings_serialize(
3105
+ self,
3106
+ share_point_connector_settings,
3107
+ q_answer_api_key,
3108
+ _request_auth,
3109
+ _content_type,
3110
+ _headers,
3111
+ _host_index,
3112
+ ) -> RequestSerialized:
3113
+
3114
+ _host = None
3115
+
3116
+ _collection_formats: Dict[str, str] = {
3117
+ }
3118
+
3119
+ _path_params: Dict[str, str] = {}
3120
+ _query_params: List[Tuple[str, str]] = []
3121
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3122
+ _form_params: List[Tuple[str, str]] = []
3123
+ _files: Dict[
3124
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3125
+ ] = {}
3126
+ _body_params: Optional[bytes] = None
3127
+
3128
+ # process the path parameters
3129
+ # process the query parameters
3130
+ # process the header parameters
3131
+ if q_answer_api_key is not None:
3132
+ _header_params['QAnswer-Api-Key'] = q_answer_api_key
3133
+ # process the form parameters
3134
+ # process the body parameter
3135
+ if share_point_connector_settings is not None:
3136
+ _body_params = share_point_connector_settings
3137
+
3138
+
3139
+ # set the HTTP header `Accept`
3140
+ if 'Accept' not in _header_params:
3141
+ _header_params['Accept'] = self.api_client.select_header_accept(
3142
+ [
3143
+ '*/*'
3144
+ ]
3145
+ )
3146
+
3147
+ # set the HTTP header `Content-Type`
3148
+ if _content_type:
3149
+ _header_params['Content-Type'] = _content_type
3150
+ else:
3151
+ _default_content_type = (
3152
+ self.api_client.select_header_content_type(
3153
+ [
3154
+ 'application/json'
3155
+ ]
3156
+ )
3157
+ )
3158
+ if _default_content_type is not None:
3159
+ _header_params['Content-Type'] = _default_content_type
3160
+
3161
+ # authentication setting
3162
+ _auth_settings: List[str] = [
3163
+ 'QAnswer-Api-Key',
3164
+ 'Bearer'
3165
+ ]
3166
+
3167
+ return self.api_client.param_serialize(
3168
+ method='POST',
3169
+ resource_path='/api/connectors/sharepoint/settings',
3170
+ path_params=_path_params,
3171
+ query_params=_query_params,
3172
+ header_params=_header_params,
3173
+ body=_body_params,
3174
+ post_params=_form_params,
3175
+ files=_files,
3176
+ auth_settings=_auth_settings,
3177
+ collection_formats=_collection_formats,
3178
+ _host=_host,
3179
+ _request_auth=_request_auth
3180
+ )
3181
+
3182
+
@@ -0,0 +1,280 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ QAnswer: Api Documentation
5
+
6
+ APIs provided by QAnswer
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ import warnings
15
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
+ from typing import Any, Dict, List, Optional, Tuple, Union
17
+ from typing_extensions import Annotated
18
+
19
+ from typing import Any, Dict
20
+
21
+ from qanswer_sdk.api_client import ApiClient, RequestSerialized
22
+ from qanswer_sdk.api_response import ApiResponse
23
+ from qanswer_sdk.rest import RESTResponseType
24
+
25
+
26
+ class HealthCheckAPIApi:
27
+ """NOTE: This class is auto generated by OpenAPI Generator
28
+ Ref: https://openapi-generator.tech
29
+
30
+ Do not edit the class manually.
31
+ """
32
+
33
+ def __init__(self, api_client=None) -> None:
34
+ if api_client is None:
35
+ api_client = ApiClient.get_default()
36
+ self.api_client = api_client
37
+
38
+
39
+ @validate_call
40
+ def get_method_name(
41
+ self,
42
+ _request_timeout: Union[
43
+ None,
44
+ Annotated[StrictFloat, Field(gt=0)],
45
+ Tuple[
46
+ Annotated[StrictFloat, Field(gt=0)],
47
+ Annotated[StrictFloat, Field(gt=0)]
48
+ ]
49
+ ] = None,
50
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
51
+ _content_type: Optional[StrictStr] = None,
52
+ _headers: Optional[Dict[StrictStr, Any]] = None,
53
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
54
+ ) -> object:
55
+ """get_method_name
56
+
57
+
58
+ :param _request_timeout: timeout setting for this request. If one
59
+ number provided, it will be total request
60
+ timeout. It can also be a pair (tuple) of
61
+ (connection, read) timeouts.
62
+ :type _request_timeout: int, tuple(int, int), optional
63
+ :param _request_auth: set to override the auth_settings for an a single
64
+ request; this effectively ignores the
65
+ authentication in the spec for a single request.
66
+ :type _request_auth: dict, optional
67
+ :param _content_type: force content-type for the request.
68
+ :type _content_type: str, Optional
69
+ :param _headers: set to override the headers for a single
70
+ request; this effectively ignores the headers
71
+ in the spec for a single request.
72
+ :type _headers: dict, optional
73
+ :param _host_index: set to override the host_index for a single
74
+ request; this effectively ignores the host_index
75
+ in the spec for a single request.
76
+ :type _host_index: int, optional
77
+ :return: Returns the result object.
78
+ """ # noqa: E501
79
+
80
+ _param = self._get_method_name_serialize(
81
+ _request_auth=_request_auth,
82
+ _content_type=_content_type,
83
+ _headers=_headers,
84
+ _host_index=_host_index
85
+ )
86
+
87
+ _response_types_map: Dict[str, Optional[str]] = {
88
+ '200': "object",
89
+ }
90
+ response_data = self.api_client.call_api(
91
+ *_param,
92
+ _request_timeout=_request_timeout
93
+ )
94
+ response_data.read()
95
+ return self.api_client.response_deserialize(
96
+ response_data=response_data,
97
+ response_types_map=_response_types_map,
98
+ ).data
99
+
100
+
101
+ @validate_call
102
+ def get_method_name_with_http_info(
103
+ self,
104
+ _request_timeout: Union[
105
+ None,
106
+ Annotated[StrictFloat, Field(gt=0)],
107
+ Tuple[
108
+ Annotated[StrictFloat, Field(gt=0)],
109
+ Annotated[StrictFloat, Field(gt=0)]
110
+ ]
111
+ ] = None,
112
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
113
+ _content_type: Optional[StrictStr] = None,
114
+ _headers: Optional[Dict[StrictStr, Any]] = None,
115
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
116
+ ) -> ApiResponse[object]:
117
+ """get_method_name
118
+
119
+
120
+ :param _request_timeout: timeout setting for this request. If one
121
+ number provided, it will be total request
122
+ timeout. It can also be a pair (tuple) of
123
+ (connection, read) timeouts.
124
+ :type _request_timeout: int, tuple(int, int), optional
125
+ :param _request_auth: set to override the auth_settings for an a single
126
+ request; this effectively ignores the
127
+ authentication in the spec for a single request.
128
+ :type _request_auth: dict, optional
129
+ :param _content_type: force content-type for the request.
130
+ :type _content_type: str, Optional
131
+ :param _headers: set to override the headers for a single
132
+ request; this effectively ignores the headers
133
+ in the spec for a single request.
134
+ :type _headers: dict, optional
135
+ :param _host_index: set to override the host_index for a single
136
+ request; this effectively ignores the host_index
137
+ in the spec for a single request.
138
+ :type _host_index: int, optional
139
+ :return: Returns the result object.
140
+ """ # noqa: E501
141
+
142
+ _param = self._get_method_name_serialize(
143
+ _request_auth=_request_auth,
144
+ _content_type=_content_type,
145
+ _headers=_headers,
146
+ _host_index=_host_index
147
+ )
148
+
149
+ _response_types_map: Dict[str, Optional[str]] = {
150
+ '200': "object",
151
+ }
152
+ response_data = self.api_client.call_api(
153
+ *_param,
154
+ _request_timeout=_request_timeout
155
+ )
156
+ response_data.read()
157
+ return self.api_client.response_deserialize(
158
+ response_data=response_data,
159
+ response_types_map=_response_types_map,
160
+ )
161
+
162
+
163
+ @validate_call
164
+ def get_method_name_without_preload_content(
165
+ self,
166
+ _request_timeout: Union[
167
+ None,
168
+ Annotated[StrictFloat, Field(gt=0)],
169
+ Tuple[
170
+ Annotated[StrictFloat, Field(gt=0)],
171
+ Annotated[StrictFloat, Field(gt=0)]
172
+ ]
173
+ ] = None,
174
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
175
+ _content_type: Optional[StrictStr] = None,
176
+ _headers: Optional[Dict[StrictStr, Any]] = None,
177
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
178
+ ) -> RESTResponseType:
179
+ """get_method_name
180
+
181
+
182
+ :param _request_timeout: timeout setting for this request. If one
183
+ number provided, it will be total request
184
+ timeout. It can also be a pair (tuple) of
185
+ (connection, read) timeouts.
186
+ :type _request_timeout: int, tuple(int, int), optional
187
+ :param _request_auth: set to override the auth_settings for an a single
188
+ request; this effectively ignores the
189
+ authentication in the spec for a single request.
190
+ :type _request_auth: dict, optional
191
+ :param _content_type: force content-type for the request.
192
+ :type _content_type: str, Optional
193
+ :param _headers: set to override the headers for a single
194
+ request; this effectively ignores the headers
195
+ in the spec for a single request.
196
+ :type _headers: dict, optional
197
+ :param _host_index: set to override the host_index for a single
198
+ request; this effectively ignores the host_index
199
+ in the spec for a single request.
200
+ :type _host_index: int, optional
201
+ :return: Returns the result object.
202
+ """ # noqa: E501
203
+
204
+ _param = self._get_method_name_serialize(
205
+ _request_auth=_request_auth,
206
+ _content_type=_content_type,
207
+ _headers=_headers,
208
+ _host_index=_host_index
209
+ )
210
+
211
+ _response_types_map: Dict[str, Optional[str]] = {
212
+ '200': "object",
213
+ }
214
+ response_data = self.api_client.call_api(
215
+ *_param,
216
+ _request_timeout=_request_timeout
217
+ )
218
+ return response_data.response
219
+
220
+
221
+ def _get_method_name_serialize(
222
+ self,
223
+ _request_auth,
224
+ _content_type,
225
+ _headers,
226
+ _host_index,
227
+ ) -> RequestSerialized:
228
+
229
+ _host = None
230
+
231
+ _collection_formats: Dict[str, str] = {
232
+ }
233
+
234
+ _path_params: Dict[str, str] = {}
235
+ _query_params: List[Tuple[str, str]] = []
236
+ _header_params: Dict[str, Optional[str]] = _headers or {}
237
+ _form_params: List[Tuple[str, str]] = []
238
+ _files: Dict[
239
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
240
+ ] = {}
241
+ _body_params: Optional[bytes] = None
242
+
243
+ # process the path parameters
244
+ # process the query parameters
245
+ # process the header parameters
246
+ # process the form parameters
247
+ # process the body parameter
248
+
249
+
250
+ # set the HTTP header `Accept`
251
+ if 'Accept' not in _header_params:
252
+ _header_params['Accept'] = self.api_client.select_header_accept(
253
+ [
254
+ '*/*'
255
+ ]
256
+ )
257
+
258
+
259
+ # authentication setting
260
+ _auth_settings: List[str] = [
261
+ 'QAnswer-Api-Key',
262
+ 'Bearer'
263
+ ]
264
+
265
+ return self.api_client.param_serialize(
266
+ method='GET',
267
+ resource_path='/api/health/check',
268
+ path_params=_path_params,
269
+ query_params=_query_params,
270
+ header_params=_header_params,
271
+ body=_body_params,
272
+ post_params=_form_params,
273
+ files=_files,
274
+ auth_settings=_auth_settings,
275
+ collection_formats=_collection_formats,
276
+ _host=_host,
277
+ _request_auth=_request_auth
278
+ )
279
+
280
+
qanswer_sdk/api_client.py CHANGED
@@ -90,7 +90,7 @@ class ApiClient:
90
90
  self.default_headers[header_name] = header_value
91
91
  self.cookie = cookie
92
92
  # Set default User-Agent.
93
- self.user_agent = 'OpenAPI-Generator/3.1397.0/python'
93
+ self.user_agent = 'OpenAPI-Generator/3.1400.0/python'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  def __enter__(self):
@@ -421,7 +421,7 @@ conf = qanswer_sdk.Configuration(
421
421
  "OS: {env}\n"\
422
422
  "Python Version: {pyversion}\n"\
423
423
  "Version of the API: 1.0\n"\
424
- "SDK Package Version: 3.1397.0".\
424
+ "SDK Package Version: 3.1400.0".\
425
425
  format(env=sys.platform, pyversion=sys.version)
426
426
 
427
427
  def get_host_settings(self):
@@ -288,6 +288,7 @@ from qanswer_sdk.models.search_task_settings import SearchTaskSettings
288
288
  from qanswer_sdk.models.search_task_settings_update_payload import SearchTaskSettingsUpdatePayload
289
289
  from qanswer_sdk.models.search_task_update import SearchTaskUpdate
290
290
  from qanswer_sdk.models.set_logo2_request import SetLogo2Request
291
+ from qanswer_sdk.models.share_point_connector_settings import SharePointConnectorSettings
291
292
  from qanswer_sdk.models.share_point_download_by_ids import SharePointDownloadByIds
292
293
  from qanswer_sdk.models.share_point_download_request import SharePointDownloadRequest
293
294
  from qanswer_sdk.models.shared_organization_access import SharedOrganizationAccess
@@ -39,8 +39,9 @@ class FileFolderModel(BaseModel):
39
39
  notebook_id: Optional[StrictStr] = Field(default=None, description="Notebook ID")
40
40
  section_id: Optional[StrictStr] = Field(default=None, description="Section ID")
41
41
  type: Optional[StrictStr] = Field(default=None, description="Type of file/folder")
42
+ is_published: Optional[StrictBool] = Field(default=None, description="Publication status for SharePoint pages")
42
43
  is_shared: Optional[StrictBool] = Field(default=None, description="Whether the file is shared or not")
43
- __properties: ClassVar[List[str]] = ["id", "name", "original_file_name", "size", "created", "modified", "downloadUrl", "source", "drive_id", "site_id", "notebook_id", "section_id", "type", "is_shared"]
44
+ __properties: ClassVar[List[str]] = ["id", "name", "original_file_name", "size", "created", "modified", "downloadUrl", "source", "drive_id", "site_id", "notebook_id", "section_id", "type", "is_published", "is_shared"]
44
45
 
45
46
  model_config = ConfigDict(
46
47
  populate_by_name=True,
@@ -106,6 +107,7 @@ class FileFolderModel(BaseModel):
106
107
  "notebook_id": obj.get("notebook_id"),
107
108
  "section_id": obj.get("section_id"),
108
109
  "type": obj.get("type"),
110
+ "is_published": obj.get("is_published"),
109
111
  "is_shared": obj.get("is_shared")
110
112
  })
111
113
  return _obj
@@ -0,0 +1,94 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ QAnswer: Api Documentation
5
+
6
+ APIs provided by QAnswer
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing_extensions import Annotated
23
+ from typing import Optional, Set
24
+ from typing_extensions import Self
25
+
26
+ class SharePointConnectorSettings(BaseModel):
27
+ """
28
+ SharePointConnectorSettings
29
+ """ # noqa: E501
30
+ username: StrictStr = Field(description="Username owning the connector")
31
+ dataset: StrictStr = Field(description="Dataset name")
32
+ connector_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="Connector ID")
33
+ include_unpublished_pages: Optional[StrictBool] = Field(default=None, description="Whether to include unpublished SharePoint pages when listing or indexing.")
34
+ __properties: ClassVar[List[str]] = ["username", "dataset", "connector_id", "include_unpublished_pages"]
35
+
36
+ model_config = ConfigDict(
37
+ populate_by_name=True,
38
+ validate_assignment=True,
39
+ protected_namespaces=(),
40
+ )
41
+
42
+
43
+ def to_str(self) -> str:
44
+ """Returns the string representation of the model using alias"""
45
+ return pprint.pformat(self.model_dump(by_alias=True))
46
+
47
+ def to_json(self) -> str:
48
+ """Returns the JSON representation of the model using alias"""
49
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
50
+ return json.dumps(self.to_dict())
51
+
52
+ @classmethod
53
+ def from_json(cls, json_str: str) -> Optional[Self]:
54
+ """Create an instance of SharePointConnectorSettings from a JSON string"""
55
+ return cls.from_dict(json.loads(json_str))
56
+
57
+ def to_dict(self) -> Dict[str, Any]:
58
+ """Return the dictionary representation of the model using alias.
59
+
60
+ This has the following differences from calling pydantic's
61
+ `self.model_dump(by_alias=True)`:
62
+
63
+ * `None` is only added to the output dict for nullable fields that
64
+ were set at model initialization. Other fields with value `None`
65
+ are ignored.
66
+ """
67
+ excluded_fields: Set[str] = set([
68
+ ])
69
+
70
+ _dict = self.model_dump(
71
+ by_alias=True,
72
+ exclude=excluded_fields,
73
+ exclude_none=True,
74
+ )
75
+ return _dict
76
+
77
+ @classmethod
78
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
79
+ """Create an instance of SharePointConnectorSettings from a dict"""
80
+ if obj is None:
81
+ return None
82
+
83
+ if not isinstance(obj, dict):
84
+ return cls.model_validate(obj)
85
+
86
+ _obj = cls.model_validate({
87
+ "username": obj.get("username"),
88
+ "dataset": obj.get("dataset"),
89
+ "connector_id": obj.get("connector_id"),
90
+ "include_unpublished_pages": obj.get("include_unpublished_pages")
91
+ })
92
+ return _obj
93
+
94
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qanswer_sdk
3
- Version: 3.1397.0
3
+ Version: 3.1400.0
4
4
  Summary: QAnswer: Api Documentation
5
5
  Home-page: https://github.com/GIT_USER_ID/GIT_REPO_ID
6
6
  License: NoLicense
@@ -228,7 +228,7 @@ print(response.answer)
228
228
  ## 📌 Versioning
229
229
 
230
230
  This SDK follows the version of the QAnswer API.
231
- The current version is: `3.1397.0 (branch: main)`
231
+ The current version is: `3.1400.0 (branch: main)`
232
232
 
233
233
  ---
234
234
 
@@ -1,5 +1,5 @@
1
- qanswer_sdk/__init__.py,sha256=uyLGbQ9ZzZBVEPWg68ONQDTuc7KkNnYRA0IXBJ5_oPc,29880
2
- qanswer_sdk/api/__init__.py,sha256=13Qym_35DtxeHthgwDbebjEb0uTqmT1fdi5B_o9B8DM,3290
1
+ qanswer_sdk/__init__.py,sha256=8LRNggwkt0qaT9o1I0mJvRagvCaYGz7W60Vu_UKa5Z8,29998
2
+ qanswer_sdk/api/__init__.py,sha256=qOjbgvAjL3-0FN477a04p1ZfED9fdwOrNJbpAJ78VDM,3318
3
3
  qanswer_sdk/api/admin_api.py,sha256=mInmqz3poGNoQJ4RDO4hDNXvAYwHpteg0CeK01O0-iw,196215
4
4
  qanswer_sdk/api/ai_assistant_access_rights_api.py,sha256=doVSEXNV8Um-W56e5Pf0TZWuXWwXDuWlRg5zNA8-vl8,198574
5
5
  qanswer_sdk/api/ai_assistant_api.py,sha256=aD5hlyMdwGfD9MYxtr7AMUwl_Q4rFs7FF7AcbRuM96I,207231
@@ -9,17 +9,17 @@ qanswer_sdk/api/chatbot_api.py,sha256=nq66sd-2K68tSwvfa4f39pdKJzgjOGOxVN-Z3c885n
9
9
  qanswer_sdk/api/connector_audio_api.py,sha256=HnLEDTnG-fOpIYFyftOhK9P0fLKTB1AMyUFxREM5juE,121356
10
10
  qanswer_sdk/api/connector_document_api.py,sha256=LMGfMS--89NuYcpvU1hZ_3zoiQIKd10R2R9jJIwyHgs,68753
11
11
  qanswer_sdk/api/connector_e_consilium_api.py,sha256=lrlUdGiv8y_Pv2MY7casq8KvtSLjRzvdLhuyZ0yTMZc,12493
12
- qanswer_sdk/api/connector_e_consilium_search_index_connector_api.py,sha256=3G5UK0G1k4Gxq94lVeoa6I3-r-jF5z0-vtEzA8xfDEM,47788
12
+ qanswer_sdk/api/connector_e_consilium_search_index_api_api.py,sha256=vF2ohElY1Jmhn5CpRyqVuGieeBWWVBNk7AaGD4Wjcb4,47782
13
13
  qanswer_sdk/api/connector_google_drive_api.py,sha256=9kVHg-uMAIWZ5UAqkKkeuaCaJseHx2GNKkDLQtcM3yY,70104
14
- qanswer_sdk/api/connector_imap_connector_api.py,sha256=jKj3bf5Tfh3tXnY5LqhyvjmnWgHh-zBnDbbRTZDRaos,69774
14
+ qanswer_sdk/api/connector_imapapi_api.py,sha256=zrC_QY6AvEv8EZ-8Y3uZCZUiwLLQA65G60EpCJnRAN8,69768
15
15
  qanswer_sdk/api/connector_one_drive_api.py,sha256=TUZlJ24ClO0Fp-nIbZQwZ45hE4mwNM5mPOc2kPspwOE,58809
16
16
  qanswer_sdk/api/connector_onenote_api.py,sha256=FgVn5sQKt-4XNdcobsLg3-JdfxCAvufCuyPonyOkIfA,59326
17
17
  qanswer_sdk/api/connector_pinecone_api.py,sha256=JGwxJi2XSuf93BZg2fYj4tuw3oW9TmCayJ7kvD2FcHM,35030
18
- qanswer_sdk/api/connector_publication_office_controller_api.py,sha256=tAMyA5IsUpwnLbCS9E4qxZCC6v2_qs0fR0vkZ15RLl0,47233
18
+ qanswer_sdk/api/connector_publication_office_api_api.py,sha256=ajIJk434l0GRqrabrZPE-2W8XJtfsF19Ds93KQ7Ij14,47226
19
19
  qanswer_sdk/api/connector_qn_a_api.py,sha256=V7xUFmDvM67o1kVCp-3tlRD-uZge1L2vC72OxdzAXG0,58772
20
20
  qanswer_sdk/api/connector_rdf_answer_api.py,sha256=4PWolSmlZzuQAW49dnPl-OY9-jgA-3nb4IGrikdaKHw,51655
21
21
  qanswer_sdk/api/connector_rdf_api.py,sha256=tBvKgWiOGKisem_evKaQgnmdfZqEKgGsmWv4FU2bZr0,198858
22
- qanswer_sdk/api/connector_sharepoint_api.py,sha256=r1CqL9Ax6ZdkD_DElZmA0d4afuZ-FJ0AcuMIdJPlvPs,97396
22
+ qanswer_sdk/api/connector_sharepoint_api.py,sha256=EDoxOnGEyY1yj3nQSZF9tAQGZe2BmH1fCkGNKa2UepQ,120270
23
23
  qanswer_sdk/api/connector_websearch_api.py,sha256=c8Gxiei3o0PFcVGO5RCdW-sWAxP5KETmhfLNbPwsjeM,12471
24
24
  qanswer_sdk/api/connector_website_api.py,sha256=saEOFX5fb1TU_Hq-2ks-eZF1fLmNWnoQFdb8CAytVro,80998
25
25
  qanswer_sdk/api/connectors_api.py,sha256=cUM4Mszu3YzmpV3vCiN7vaqfZ2aixhkAMkyfsNingHA,57468
@@ -27,6 +27,7 @@ qanswer_sdk/api/connectors_data_api.py,sha256=jFG1p05p1I2f0FHI9qsHVDZr1F6R-8gJUN
27
27
  qanswer_sdk/api/conversation_logs_api.py,sha256=Hc-h4sOO2R-xci424lC3zQYRjQ04g31Qq1hrHrbiSiY,250289
28
28
  qanswer_sdk/api/dataset_config_api.py,sha256=2uhwkSEvQfH1eNtLCTLC5TfnqegA_SwZ_pRwQFrn7rI,88685
29
29
  qanswer_sdk/api/debug_api.py,sha256=wVzdh5ZJE52PXfA_SCT67vXGM8XCobDGQ4jnkMi6A-w,10337
30
+ qanswer_sdk/api/health_check_api_api.py,sha256=bMjw2j-ul-l2S0sn18bG2oWm4hkO6So48Ncj2uZZF1s,10099
30
31
  qanswer_sdk/api/llm_api.py,sha256=DAQGQTRhL1lpG2pMv9DTD6XC7Hoxb4jiKSlEirDOvGY,20797
31
32
  qanswer_sdk/api/payment_api.py,sha256=Xa2-bHk1vKlZgrLQ5o5EnX3PUi38QRKx95mUhDLFtB0,58124
32
33
  qanswer_sdk/api/socket_api.py,sha256=as9TBz2Ja_PKTqLW5EjyWM6oJPzhMBfe9JfZJuko9uk,114696
@@ -48,11 +49,11 @@ qanswer_sdk/api/unit_teams_api.py,sha256=Soc3QkvulKcEUUkz_JIh08qGhO15pMFhTxy8Y0X
48
49
  qanswer_sdk/api/unit_user_api.py,sha256=0Bs5CC8mGziJEbB4fF_hJzqXFf8TvmSTpLZ1KCzinr8,349567
49
50
  qanswer_sdk/api/v1_chat_completion_api.py,sha256=dZb24eHPCa-bG_6K4B2DTuTTqrWLuoKgYFWhAarjB1c,11575
50
51
  qanswer_sdk/api/v1_embeddings_api.py,sha256=Oal0PnTuL3AZACXsPhofY6BuOKoM24ne0HuXhReK_SA,11769
51
- qanswer_sdk/api_client.py,sha256=KmK5hIjenD4yhS8wRgNbWzY-dr_5LsbhAK_uRCESH4o,27387
52
+ qanswer_sdk/api_client.py,sha256=OohdS8SeqtlEugqI79Q6lnqA_FEyLWk6rsnwvjNH8y0,27387
52
53
  qanswer_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
53
- qanswer_sdk/configuration.py,sha256=bwYDwvuUZQ9auTaqU2HzCu5ykGPnlkO_lY8vV2pi8IA,16184
54
+ qanswer_sdk/configuration.py,sha256=VJLQnC718gqUWmU_I5m4mTUMY36IaicXcrJb296eHd4,16184
54
55
  qanswer_sdk/exceptions.py,sha256=BCaz7REoUyrBq8zuVBNTmEHGvJfM1YyLSyOnkB1XQLU,5907
55
- qanswer_sdk/models/__init__.py,sha256=KAGK8ybPq4hZCNDZO9FpsRcSlpKnvG04-D6JsJepSiQ,26118
56
+ qanswer_sdk/models/__init__.py,sha256=yEotRhUIMY1UlvW1rVI7ryeu9fApdz173_ez-1kZmXg,26208
56
57
  qanswer_sdk/models/access_pdf_payload_model.py,sha256=0oamrJeAIZdpjmcWby_PFmz-GrXD0ObDU3ecRpf7nRI,3626
57
58
  qanswer_sdk/models/add_qn_a_request.py,sha256=vfpsHZE5zc58RyL1DCXI6va4Z57LH0nIrXXaOgZvbVM,3488
58
59
  qanswer_sdk/models/add_synonyms.py,sha256=3xptC_wnrAtjrVwDot2vkQnIZHGRkcfvScubrm0xobk,3008
@@ -177,7 +178,7 @@ qanswer_sdk/models/fact.py,sha256=OORQ1EG8dq2dBLmNd0IHhMMSmEUGZAKYSuoqcx6msJ8,30
177
178
  qanswer_sdk/models/feedback_model.py,sha256=bwIrVZiLung57vGvtm2vLUOSSEVPuu3FSyM8F-U8DzU,4107
178
179
  qanswer_sdk/models/feedback_update.py,sha256=9syRIFSM9g4HUqJiYz2vyme7DORblw6YaliOqBPIlDg,3257
179
180
  qanswer_sdk/models/file_es_meta_data.py,sha256=cxYxL6k_TBzzAoqIOd6IV9FRA-T260DzvAlAowg0SuQ,2541
180
- qanswer_sdk/models/file_folder_model.py,sha256=vjjEmlld8ye3S2Iw9FFslEuY8wJeJ74TlCwI7OuOCuY,4357
181
+ qanswer_sdk/models/file_folder_model.py,sha256=a7NeZkZ4Yh0UFyYIRo5mJ2-pyfI_Gah3NO2Igem-O1M,4542
181
182
  qanswer_sdk/models/file_model.py,sha256=nF-Bscm4JelKOJlh-SzPrzBo42IO91ID11O6JvlLlLU,4756
182
183
  qanswer_sdk/models/files_by_connector_model.py,sha256=tG6NDI3tPIePQoThgQkMw1R1O_IsO9Fph5yJ9sOSahU,2569
183
184
  qanswer_sdk/models/format_return.py,sha256=Z62a9uZpQzCz47EtWVKJQ-eWwrRBlImQ8vezo7-ImpA,2430
@@ -327,6 +328,7 @@ qanswer_sdk/models/search_task_settings.py,sha256=oQC0-FxYC50CwF88XEXdZ8M2uy3fj4
327
328
  qanswer_sdk/models/search_task_settings_update_payload.py,sha256=fnSnTo_L7thFFohRsm6wF3-XQOH-42R8XmRAZ0Jb8Uc,2952
328
329
  qanswer_sdk/models/search_task_update.py,sha256=wS6X8CPjo3pLb6D357b1t7wc4I_xgo7aX28i2pPdGg8,5581
329
330
  qanswer_sdk/models/set_logo2_request.py,sha256=fkulAA8ld4tN6uUqPvJI_4GNZFSJHu_qnxREhh8ZDtg,2489
331
+ qanswer_sdk/models/share_point_connector_settings.py,sha256=PFG9A5og4TR3EcjM4X7whEJhg48xYYW6Ap5bcCVfHUk,3145
330
332
  qanswer_sdk/models/share_point_download_by_ids.py,sha256=JWlSA48ZD3A1m6QTjJoCuzBqGgeQ_0WW_t58fg16ths,3060
331
333
  qanswer_sdk/models/share_point_download_request.py,sha256=QwhE_uCX707w0VXdtPzM6pOf7gfhy_qN_TwhAWynLZ8,3287
332
334
  qanswer_sdk/models/shared_organization_access.py,sha256=rVOB2UNmRm6Y7J2SPeTm9rAiK3nmX4I6_M-5qWdwsdc,4032
@@ -405,6 +407,6 @@ qanswer_sdk/models/website_connector_settings.py,sha256=mlKuTG7Nsmv4XyEDUpVlg8ZO
405
407
  qanswer_sdk/models/widget_configs.py,sha256=H38KJ4wCup7MXD-PeTHaF0xnR1VZmCTSIxNNmQzIPVc,3703
406
408
  qanswer_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
407
409
  qanswer_sdk/rest.py,sha256=9cpA9eEQsfuHcThVnF2c7CEK0HCJYGyGZnWqmfkQpT8,9344
408
- qanswer_sdk-3.1397.0.dist-info/METADATA,sha256=eU_CZgcXQhLg4Be0eUxsBgIftStWFseqCboqQH1LcbM,6532
409
- qanswer_sdk-3.1397.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
410
- qanswer_sdk-3.1397.0.dist-info/RECORD,,
410
+ qanswer_sdk-3.1400.0.dist-info/METADATA,sha256=Uo8_72WhJj99lsQaRRUBAaEJAp-CN0iBLKg66xhwdIc,6532
411
+ qanswer_sdk-3.1400.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
412
+ qanswer_sdk-3.1400.0.dist-info/RECORD,,