ignos-internal-api-client 20240926.0.10449__py3-none-any.whl → 20250905.0.12525__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.
Files changed (26) hide show
  1. ignos/internal/api/client/__init__.py +9 -3
  2. ignos/internal/api/client/_client.py +2 -2
  3. ignos/internal/api/client/_configuration.py +1 -2
  4. ignos/internal/api/client/_patch.py +7 -6
  5. ignos/internal/api/client/_utils/__init__.py +6 -0
  6. ignos/internal/api/client/{_serialization.py → _utils/serialization.py} +70 -155
  7. ignos/internal/api/client/_version.py +1 -1
  8. ignos/internal/api/client/aio/__init__.py +9 -3
  9. ignos/internal/api/client/aio/_client.py +2 -2
  10. ignos/internal/api/client/aio/_configuration.py +1 -2
  11. ignos/internal/api/client/aio/_patch.py +7 -6
  12. ignos/internal/api/client/aio/operations/__init__.py +21 -15
  13. ignos/internal/api/client/aio/operations/_operations.py +191 -181
  14. ignos/internal/api/client/aio/operations/_patch.py +7 -6
  15. ignos/internal/api/client/models/__init__.py +58 -47
  16. ignos/internal/api/client/models/_models.py +38 -11
  17. ignos/internal/api/client/models/_patch.py +7 -6
  18. ignos/internal/api/client/operations/__init__.py +21 -15
  19. ignos/internal/api/client/operations/_operations.py +191 -174
  20. ignos/internal/api/client/operations/_patch.py +7 -6
  21. ignos_internal_api_client-20250905.0.12525.dist-info/METADATA +17 -0
  22. ignos_internal_api_client-20250905.0.12525.dist-info/RECORD +29 -0
  23. {ignos_internal_api_client-20240926.0.10449.dist-info → ignos_internal_api_client-20250905.0.12525.dist-info}/WHEEL +1 -1
  24. ignos_internal_api_client-20240926.0.10449.dist-info/METADATA +0 -13
  25. ignos_internal_api_client-20240926.0.10449.dist-info/RECORD +0 -28
  26. {ignos_internal_api_client-20240926.0.10449.dist-info → ignos_internal_api_client-20250905.0.12525.dist-info}/top_level.txt +0 -0
@@ -1,14 +1,15 @@
1
- # ------------------------------------
2
- # Copyright (c) Microsoft Corporation.
3
- # Licensed under the MIT License.
4
- # ------------------------------------
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # --------------------------------------------------------------------------
5
6
  """Customize generated code here.
6
7
 
7
8
  Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
8
9
  """
9
- from typing import List
10
10
 
11
- __all__: List[str] = [] # Add all objects you want publicly available to users at this package level
11
+
12
+ __all__: list[str] = [] # Add all objects you want publicly available to users at this package level
12
13
 
13
14
 
14
15
  def patch_sdk():
@@ -5,55 +5,66 @@
5
5
  # Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  # --------------------------------------------------------------------------
8
+ # pylint: disable=wrong-import-position
8
9
 
9
- from ._models import AddIntegrationCredentialTypeRequest
10
- from ._models import AppDto
11
- from ._models import AzureRegionDto
12
- from ._models import CdfClusterDto
13
- from ._models import CdfConfigDto
14
- from ._models import CdfDetailsDto
15
- from ._models import ComponentSettingsDto
16
- from ._models import ContactPersonDto
17
- from ._models import ContactPersonRequest
18
- from ._models import CountryDto
19
- from ._models import CreateApp
20
- from ._models import CreateCdfCluster
21
- from ._models import CreateIgnosCustomer
22
- from ._models import CreatePowerRegion
23
- from ._models import CreateTenantRequest
24
- from ._models import CustomerAppDto
25
- from ._models import DataSyncOrchestrationConfig
26
- from ._models import DataSyncOrchestrationInstance
27
- from ._models import DataSyncOrchestrationTriggerResponse
28
- from ._models import ErpSyncErrorDto
29
- from ._models import ErpSyncErrorMessage
30
- from ._models import IgnosCustomerDto
31
- from ._models import InitFactoryTemplateFerroAmpRequest
32
- from ._models import InitFactoryTemplateRequest
33
- from ._models import InitFerroAmpRequest
34
- from ._models import PowerRegionDto
35
- from ._models import RewindInstance
36
- from ._models import SaveComponentSettingsRequest
37
- from ._models import StartFullSync
38
- from ._models import SyncSingleWorkOrder
39
- from ._models import TenantDetailDto
40
- from ._models import TenantDto
41
- from ._models import TenantIntegrationCredentialTypeDto
42
- from ._models import TenantKeyDto
43
- from ._models import TerminateInstance
44
- from ._models import UpdateAppRequest
45
- from ._models import UpdateCdfClusterRequest
46
- from ._models import UpdateCustomerRequest
47
- from ._models import UpdateTenantCdfConfigRequest
48
- from ._models import UpdateTenantRequest
49
- from ._models import UserDetailsDto
10
+ from typing import TYPE_CHECKING
50
11
 
51
- from ._enums import CredentialTypeDto
52
- from ._enums import CustomerStatusDto
53
- from ._enums import TenantEnvironment
54
- from ._enums import TenantInfrastructureStatus
12
+ if TYPE_CHECKING:
13
+ from ._patch import * # pylint: disable=unused-wildcard-import
14
+
15
+
16
+ from ._models import ( # type: ignore
17
+ AddIntegrationCredentialTypeRequest,
18
+ AppDto,
19
+ AzureRegionDto,
20
+ CdfClusterDto,
21
+ CdfConfigDto,
22
+ CdfDetailsDto,
23
+ ComponentSettingsDto,
24
+ ContactPersonDto,
25
+ ContactPersonRequest,
26
+ CountryDto,
27
+ CreateApp,
28
+ CreateCdfCluster,
29
+ CreateIgnosCustomer,
30
+ CreatePowerRegion,
31
+ CreateTenantRequest,
32
+ CustomerAppDto,
33
+ DataSyncOrchestrationConfig,
34
+ DataSyncOrchestrationInstance,
35
+ DataSyncOrchestrationTriggerResponse,
36
+ ErpSyncErrorDto,
37
+ ErpSyncErrorMessage,
38
+ IgnosCustomerDto,
39
+ InitFactoryTemplateFerroAmpRequest,
40
+ InitFactoryTemplateRequest,
41
+ InitFerroAmpRequest,
42
+ PowerRegionDto,
43
+ RewindInstance,
44
+ SaveComponentSettingsRequest,
45
+ StartFullSync,
46
+ SyncSingleWorkOrder,
47
+ TenantDetailDto,
48
+ TenantDto,
49
+ TenantIntegrationCredentialTypeDto,
50
+ TenantKeyDto,
51
+ TerminateInstance,
52
+ UpdateAppRequest,
53
+ UpdateCdfClusterRequest,
54
+ UpdateCustomerRequest,
55
+ UpdateTenantCdfConfigRequest,
56
+ UpdateTenantRequest,
57
+ UserDetailsDto,
58
+ )
59
+
60
+ from ._enums import ( # type: ignore
61
+ CredentialTypeDto,
62
+ CustomerStatusDto,
63
+ TenantEnvironment,
64
+ TenantInfrastructureStatus,
65
+ )
55
66
  from ._patch import __all__ as _patch_all
56
- from ._patch import * # pylint: disable=unused-wildcard-import
67
+ from ._patch import *
57
68
  from ._patch import patch_sdk as _patch_sdk
58
69
 
59
70
  __all__ = [
@@ -103,5 +114,5 @@ __all__ = [
103
114
  "TenantEnvironment",
104
115
  "TenantInfrastructureStatus",
105
116
  ]
106
- __all__.extend([p for p in _patch_all if p not in __all__])
117
+ __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
107
118
  _patch_sdk()
@@ -1,5 +1,5 @@
1
- # coding=utf-8
2
1
  # pylint: disable=too-many-lines
2
+ # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
5
5
  # Licensed under the MIT License. See License.txt in the project root for license information.
@@ -8,12 +8,11 @@
8
8
  # --------------------------------------------------------------------------
9
9
 
10
10
  import datetime
11
- from typing import Any, List, Optional, TYPE_CHECKING, Union
11
+ from typing import Any, Optional, TYPE_CHECKING, Union
12
12
 
13
- from .. import _serialization
13
+ from .._utils import serialization as _serialization
14
14
 
15
15
  if TYPE_CHECKING:
16
- # pylint: disable=unused-import,ungrouped-imports
17
16
  from .. import models as _models
18
17
 
19
18
 
@@ -393,7 +392,7 @@ class ComponentSettingsDto(_serialization.Model):
393
392
  "disabled_fields": {"key": "disabledFields", "type": "[str]"},
394
393
  }
395
394
 
396
- def __init__(self, *, component_id: str, disabled_fields: List[str], **kwargs: Any) -> None:
395
+ def __init__(self, *, component_id: str, disabled_fields: list[str], **kwargs: Any) -> None:
397
396
  """
398
397
  :keyword component_id: Required.
399
398
  :paramtype component_id: str
@@ -623,7 +622,7 @@ class CreateCdfCluster(_serialization.Model):
623
622
  self.scope = scope
624
623
 
625
624
 
626
- class CreateIgnosCustomer(_serialization.Model): # pylint: disable=too-many-instance-attributes
625
+ class CreateIgnosCustomer(_serialization.Model):
627
626
  """CreateIgnosCustomer.
628
627
 
629
628
  All required parameters must be populated in order to send to server.
@@ -810,6 +809,8 @@ class CreateTenantRequest(_serialization.Model):
810
809
  :vartype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
811
810
  :ivar environment: Required. Known values are: "Prod", "QA", "Test", and "Dev".
812
811
  :vartype environment: str or ~ignos.internal.api.client.models.TenantEnvironment
812
+ :ivar cdf_entra_id:
813
+ :vartype cdf_entra_id: str
813
814
  :ivar cdf_tenant:
814
815
  :vartype cdf_tenant: str
815
816
  :ivar cdf_cluster_id:
@@ -830,6 +831,7 @@ class CreateTenantRequest(_serialization.Model):
830
831
  "azure_region_id": {"key": "azureRegionId", "type": "str"},
831
832
  "contact_person": {"key": "contactPerson", "type": "ContactPersonRequest"},
832
833
  "environment": {"key": "environment", "type": "str"},
834
+ "cdf_entra_id": {"key": "cdfEntraId", "type": "str"},
833
835
  "cdf_tenant": {"key": "cdfTenant", "type": "str"},
834
836
  "cdf_cluster_id": {"key": "cdfClusterId", "type": "str"},
835
837
  "collaboration_company_id_to_migrate": {"key": "collaborationCompanyIdToMigrate", "type": "str"},
@@ -843,6 +845,7 @@ class CreateTenantRequest(_serialization.Model):
843
845
  environment: Union[str, "_models.TenantEnvironment"],
844
846
  description: Optional[str] = None,
845
847
  contact_person: Optional["_models.ContactPersonRequest"] = None,
848
+ cdf_entra_id: Optional[str] = None,
846
849
  cdf_tenant: Optional[str] = None,
847
850
  cdf_cluster_id: Optional[str] = None,
848
851
  collaboration_company_id_to_migrate: Optional[str] = None,
@@ -858,6 +861,8 @@ class CreateTenantRequest(_serialization.Model):
858
861
  :paramtype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
859
862
  :keyword environment: Required. Known values are: "Prod", "QA", "Test", and "Dev".
860
863
  :paramtype environment: str or ~ignos.internal.api.client.models.TenantEnvironment
864
+ :keyword cdf_entra_id:
865
+ :paramtype cdf_entra_id: str
861
866
  :keyword cdf_tenant:
862
867
  :paramtype cdf_tenant: str
863
868
  :keyword cdf_cluster_id:
@@ -872,6 +877,7 @@ class CreateTenantRequest(_serialization.Model):
872
877
  self.azure_region_id = azure_region_id
873
878
  self.contact_person = contact_person
874
879
  self.environment = environment
880
+ self.cdf_entra_id = cdf_entra_id
875
881
  self.cdf_tenant = cdf_tenant
876
882
  self.cdf_cluster_id = cdf_cluster_id
877
883
  self.collaboration_company_id_to_migrate = collaboration_company_id_to_migrate
@@ -1230,7 +1236,7 @@ class ErpSyncErrorMessage(_serialization.Model):
1230
1236
  self.stack_trace = stack_trace
1231
1237
 
1232
1238
 
1233
- class IgnosCustomerDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
1239
+ class IgnosCustomerDto(_serialization.Model):
1234
1240
  """IgnosCustomerDto.
1235
1241
 
1236
1242
  All required parameters must be populated in order to send to server.
@@ -1578,7 +1584,7 @@ class SaveComponentSettingsRequest(_serialization.Model):
1578
1584
  "disabled_fields": {"key": "disabledFields", "type": "[str]"},
1579
1585
  }
1580
1586
 
1581
- def __init__(self, *, disabled_fields: List[str], **kwargs: Any) -> None:
1587
+ def __init__(self, *, disabled_fields: list[str], **kwargs: Any) -> None:
1582
1588
  """
1583
1589
  :keyword disabled_fields: Required.
1584
1590
  :paramtype disabled_fields: list[str]
@@ -1718,7 +1724,7 @@ class TenantDetailDto(_serialization.Model):
1718
1724
  self,
1719
1725
  *,
1720
1726
  tenant_id: str,
1721
- apps: List["_models.CustomerAppDto"],
1727
+ apps: list["_models.CustomerAppDto"],
1722
1728
  cdf: Optional["_models.CdfDetailsDto"] = None,
1723
1729
  **kwargs: Any
1724
1730
  ) -> None:
@@ -1736,7 +1742,7 @@ class TenantDetailDto(_serialization.Model):
1736
1742
  self.cdf = cdf
1737
1743
 
1738
1744
 
1739
- class TenantDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
1745
+ class TenantDto(_serialization.Model):
1740
1746
  """TenantDto.
1741
1747
 
1742
1748
  All required parameters must be populated in order to send to server.
@@ -2316,8 +2322,14 @@ class UpdateTenantRequest(_serialization.Model):
2316
2322
  :vartype description: str
2317
2323
  :ivar contact_person:
2318
2324
  :vartype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
2325
+ :ivar cdf_entra_id:
2326
+ :vartype cdf_entra_id: str
2319
2327
  :ivar cdf_tenant:
2320
2328
  :vartype cdf_tenant: str
2329
+ :ivar cdf_cluster_id:
2330
+ :vartype cdf_cluster_id: str
2331
+ :ivar unset_cdf_cluster_id_please_fix_some_time:
2332
+ :vartype unset_cdf_cluster_id_please_fix_some_time: bool
2321
2333
  :ivar cognite_functions_in_customer_cdf_project:
2322
2334
  :vartype cognite_functions_in_customer_cdf_project: bool
2323
2335
  """
@@ -2325,7 +2337,10 @@ class UpdateTenantRequest(_serialization.Model):
2325
2337
  _attribute_map = {
2326
2338
  "description": {"key": "description", "type": "str"},
2327
2339
  "contact_person": {"key": "contactPerson", "type": "ContactPersonRequest"},
2340
+ "cdf_entra_id": {"key": "cdfEntraId", "type": "str"},
2328
2341
  "cdf_tenant": {"key": "cdfTenant", "type": "str"},
2342
+ "cdf_cluster_id": {"key": "cdfClusterId", "type": "str"},
2343
+ "unset_cdf_cluster_id_please_fix_some_time": {"key": "unsetCdfClusterId_PleaseFixSomeTime", "type": "bool"},
2329
2344
  "cognite_functions_in_customer_cdf_project": {"key": "cogniteFunctionsInCustomerCdfProject", "type": "bool"},
2330
2345
  }
2331
2346
 
@@ -2334,7 +2349,10 @@ class UpdateTenantRequest(_serialization.Model):
2334
2349
  *,
2335
2350
  description: Optional[str] = None,
2336
2351
  contact_person: Optional["_models.ContactPersonRequest"] = None,
2352
+ cdf_entra_id: Optional[str] = None,
2337
2353
  cdf_tenant: Optional[str] = None,
2354
+ cdf_cluster_id: Optional[str] = None,
2355
+ unset_cdf_cluster_id_please_fix_some_time: Optional[bool] = None,
2338
2356
  cognite_functions_in_customer_cdf_project: Optional[bool] = None,
2339
2357
  **kwargs: Any
2340
2358
  ) -> None:
@@ -2343,15 +2361,24 @@ class UpdateTenantRequest(_serialization.Model):
2343
2361
  :paramtype description: str
2344
2362
  :keyword contact_person:
2345
2363
  :paramtype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
2364
+ :keyword cdf_entra_id:
2365
+ :paramtype cdf_entra_id: str
2346
2366
  :keyword cdf_tenant:
2347
2367
  :paramtype cdf_tenant: str
2368
+ :keyword cdf_cluster_id:
2369
+ :paramtype cdf_cluster_id: str
2370
+ :keyword unset_cdf_cluster_id_please_fix_some_time:
2371
+ :paramtype unset_cdf_cluster_id_please_fix_some_time: bool
2348
2372
  :keyword cognite_functions_in_customer_cdf_project:
2349
2373
  :paramtype cognite_functions_in_customer_cdf_project: bool
2350
2374
  """
2351
2375
  super().__init__(**kwargs)
2352
2376
  self.description = description
2353
2377
  self.contact_person = contact_person
2378
+ self.cdf_entra_id = cdf_entra_id
2354
2379
  self.cdf_tenant = cdf_tenant
2380
+ self.cdf_cluster_id = cdf_cluster_id
2381
+ self.unset_cdf_cluster_id_please_fix_some_time = unset_cdf_cluster_id_please_fix_some_time
2355
2382
  self.cognite_functions_in_customer_cdf_project = cognite_functions_in_customer_cdf_project
2356
2383
 
2357
2384
 
@@ -2387,7 +2414,7 @@ class UserDetailsDto(_serialization.Model):
2387
2414
  id: Optional[str] = None, # pylint: disable=redefined-builtin
2388
2415
  full_name: Optional[str] = None,
2389
2416
  upn: Optional[str] = None,
2390
- roles: Optional[List[str]] = None,
2417
+ roles: Optional[list[str]] = None,
2391
2418
  given_name: Optional[str] = None,
2392
2419
  sur_name: Optional[str] = None,
2393
2420
  **kwargs: Any
@@ -1,14 +1,15 @@
1
- # ------------------------------------
2
- # Copyright (c) Microsoft Corporation.
3
- # Licensed under the MIT License.
4
- # ------------------------------------
1
+ # coding=utf-8
2
+ # --------------------------------------------------------------------------
3
+ # Copyright (c) Microsoft Corporation. All rights reserved.
4
+ # Licensed under the MIT License. See License.txt in the project root for license information.
5
+ # --------------------------------------------------------------------------
5
6
  """Customize generated code here.
6
7
 
7
8
  Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
8
9
  """
9
- from typing import List
10
10
 
11
- __all__: List[str] = [] # Add all objects you want publicly available to users at this package level
11
+
12
+ __all__: list[str] = [] # Add all objects you want publicly available to users at this package level
12
13
 
13
14
 
14
15
  def patch_sdk():
@@ -5,23 +5,29 @@
5
5
  # Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  # --------------------------------------------------------------------------
8
+ # pylint: disable=wrong-import-position
8
9
 
9
- from ._operations import AppsOperations
10
- from ._operations import AzureRegionsOperations
11
- from ._operations import CdfClustersOperations
12
- from ._operations import CountriesOperations
13
- from ._operations import CustomersOperations
14
- from ._operations import DatabasesOperations
15
- from ._operations import ErpSyncOperations
16
- from ._operations import PowerOperations
17
- from ._operations import PresentationOperations
18
- from ._operations import SustainabilitySetupOperations
19
- from ._operations import TenantCredentialsOperations
20
- from ._operations import TenantsOperations
21
- from ._operations import UserOperations
10
+ from typing import TYPE_CHECKING
11
+
12
+ if TYPE_CHECKING:
13
+ from ._patch import * # pylint: disable=unused-wildcard-import
14
+
15
+ from ._operations import AppsOperations # type: ignore
16
+ from ._operations import AzureRegionsOperations # type: ignore
17
+ from ._operations import CdfClustersOperations # type: ignore
18
+ from ._operations import CountriesOperations # type: ignore
19
+ from ._operations import CustomersOperations # type: ignore
20
+ from ._operations import DatabasesOperations # type: ignore
21
+ from ._operations import ErpSyncOperations # type: ignore
22
+ from ._operations import PowerOperations # type: ignore
23
+ from ._operations import PresentationOperations # type: ignore
24
+ from ._operations import SustainabilitySetupOperations # type: ignore
25
+ from ._operations import TenantCredentialsOperations # type: ignore
26
+ from ._operations import TenantsOperations # type: ignore
27
+ from ._operations import UserOperations # type: ignore
22
28
 
23
29
  from ._patch import __all__ as _patch_all
24
- from ._patch import * # pylint: disable=unused-wildcard-import
30
+ from ._patch import *
25
31
  from ._patch import patch_sdk as _patch_sdk
26
32
 
27
33
  __all__ = [
@@ -39,5 +45,5 @@ __all__ = [
39
45
  "TenantsOperations",
40
46
  "UserOperations",
41
47
  ]
42
- __all__.extend([p for p in _patch_all if p not in __all__])
48
+ __all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
43
49
  _patch_sdk()