agilicus 1.289.0__py3-none-any.whl → 1.289.2__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.
@@ -77,7 +77,7 @@ class ApiClient(object):
77
77
  self.default_headers[header_name] = header_value
78
78
  self.cookie = cookie
79
79
  # Set default User-Agent.
80
- self.user_agent = 'OpenAPI-Generator/1.289.0/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.289.2/python'
81
81
 
82
82
  def __enter__(self):
83
83
  return self
@@ -387,7 +387,7 @@ class Configuration(object):
387
387
  "OS: {env}\n"\
388
388
  "Python Version: {pyversion}\n"\
389
389
  "Version of the API: 2025.05.01\n"\
390
- "SDK Package Version: 1.289.0".\
390
+ "SDK Package Version: 1.289.2".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -4,7 +4,7 @@ Agilicus is API-first. Modern software is controlled by other software, is open,
4
4
  The `agilicus_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: 2025.05.01
7
- - Package version: 1.289.0
7
+ - Package version: 1.289.2
8
8
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9
9
  For more information, please visit [https://www.agilicus.com/api](https://www.agilicus.com/api)
10
10
 
@@ -1,6 +1,8 @@
1
+ import os.path
1
2
  import sys
2
3
  import click
3
4
  import shutil
5
+ import zipfile
4
6
 
5
7
  from . import file_templates
6
8
  from . import public_file_org_links
@@ -159,13 +161,21 @@ def cli_command_delete_file_template(ctx, **kwargs):
159
161
  "--outfile", type=click.File("wb"), default=None, help="defaults to stdout"
160
162
  )
161
163
  @click.option("--org-id")
164
+ @click.option("--compressed", is_flag=True)
162
165
  @click.pass_context
163
- def cli_command_render_file_template(ctx, template_argument, outfile, **kwargs):
166
+ def cli_command_render_file_template(
167
+ ctx, template_argument, outfile, compressed, **kwargs
168
+ ):
164
169
  result = file_templates.render_file_template(
165
170
  ctx, template_arguments=template_argument, **kwargs
166
171
  )
167
172
  if outfile is None:
168
173
  outfile = sys.stdout.buffer
174
+ if compressed:
175
+ outfile = zipfile.ZipFile(outfile, "w", zipfile.ZIP_DEFLATED)
176
+ outfile.writestr(os.path.basename(result.name), result.read())
177
+ outfile.close()
178
+ return
169
179
 
170
180
  shutil.copyfileobj(result, outfile)
171
181
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.289.0
3
+ Version: 1.289.2
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=pF24FyUKUqoD4JvrMXmmco5Dwe9mPKR-Jo
71
71
  agilicus/agilicus_api/api/users_api_mock.py,sha256=aMSUc12JQAo1O9rp2YnyQldANFGlfi57fMnQyCIrJuE,17209
72
72
  agilicus/agilicus_api/api/whoami_api.py,sha256=fn61WBymSYKUxZ4n91tmmy35GTQnBtqpTutV04ZS9d0,7941
73
73
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
74
- agilicus/agilicus_api/api_client.py,sha256=I_AN98lbL5b2Gyq5djoV5ILRg0rWDyCdjcAnySApisE,38845
74
+ agilicus/agilicus_api/api_client.py,sha256=BW5j0LE_npxrDJQofZ7mCLS6Ndwetw5dhqVevQBSweY,38845
75
75
  agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
76
- agilicus/agilicus_api/configuration.py,sha256=3a3tIZqzizstu09KW8BUYAE5O8VCjLWO7Vx0zIz5CE0,18447
76
+ agilicus/agilicus_api/configuration.py,sha256=s5V1cLRkCSAj9JgCDJ1aat4d8iIL5gAYomW5ZJPCc0g,18447
77
77
  agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
78
78
  agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
79
79
  agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
@@ -2703,7 +2703,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=lF49UVoc0xACy1Fw
2703
2703
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=OvaFudK1yc1KOwf5nztHQd69Fd68gBkMJqqLHBShySw,2832
2704
2704
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=X1Cur2q2jPyfAZQfJdBOeejbrSzQDMfJxA1r7NkIaik,2846
2705
2705
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=CbAvHRh9LIl15O3bmg9fvRBQtQT7aznwB8dM8UAJhDQ,2746
2706
- agilicus/agilicus_api_README.md,sha256=nrTgzZ5Bx7dcOlC98qkMPA2Z_b16Zoqp9ixBhUUu3Dk,173709
2706
+ agilicus/agilicus_api_README.md,sha256=d_QsK8jDRCzA6LwxYQ25rDcR5I3fKhqkGd2-GqSlfCk,173709
2707
2707
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2708
2708
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2709
2709
  agilicus/apps.py,sha256=Mdc_pRXyfa-IvIFH7gNbx0Ob64gUHggZyeSyLUDpjMs,54048
@@ -2741,7 +2741,7 @@ agilicus/features/features_main.py,sha256=InvXz-Eka6ySQAUM-u6KBkRPEY5lviHuZXeow5
2741
2741
  agilicus/file_shares.py,sha256=ZwO3OwfRsDTZu6VwDcvqyC5OeHWnoA9hQ8vzygXGeE8,4326
2742
2742
  agilicus/files.py,sha256=JiVDiPHTpOE-4pPaqhP2Kj_S5KjxafEQESDlT_t1xkk,7271
2743
2743
  agilicus/files_pkg/file_templates.py,sha256=5YmbTCRBijmH3Q9Yqm8g2sfRLyTnZyksLQoT-bdTbZQ,7265
2744
- agilicus/files_pkg/files_main.py,sha256=oIj-H5qE6BAAqyfdLA_0vK5CbVyHYbS6UWfC_uipQkA,5879
2744
+ agilicus/files_pkg/files_main.py,sha256=l7qM4rsbyPgSiQzdywzs1QJ0wsZjD50fcJ5RjPoJn-o,6170
2745
2745
  agilicus/files_pkg/public_file_org_links.py,sha256=YFtf6a5dKwmn20Sk6QEP0lLXI2d8G1KoJNHYAIRgkAI,1810
2746
2746
  agilicus/forwarders.py,sha256=vbcNGHcICGEP3glhNCZgOmH4BKM2JAMJoATYryhwMCk,2882
2747
2747
  agilicus/garbage_collection.py,sha256=jE-BwFvyaa1FvUvhOGyhnONFLKv9fc_t3DJCsImq8HU,7090
@@ -2806,8 +2806,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2806
2806
  agilicus/users.py,sha256=bUFtVlTjUeEoQlzsQcfS8ChN0X9mbHs8v0xbkK-cldQ,41772
2807
2807
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2808
2808
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2809
- agilicus-1.289.0.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2810
- agilicus-1.289.0.dist-info/METADATA,sha256=W8aoNlmt3qMtjR_5uobt7Mm-TV-Qd9RYhqpdBCbkjeE,3878
2811
- agilicus-1.289.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
2812
- agilicus-1.289.0.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2813
- agilicus-1.289.0.dist-info/RECORD,,
2809
+ agilicus-1.289.2.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2810
+ agilicus-1.289.2.dist-info/METADATA,sha256=1h9vzT1G26l___wV3e2uBNC3FFQDpGf6nMiUGdwMybc,3878
2811
+ agilicus-1.289.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
2812
+ agilicus-1.289.2.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2813
+ agilicus-1.289.2.dist-info/RECORD,,