cacholong-cloud-cli 1.13.0__tar.gz → 1.13.2__tar.gz

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 (52) hide show
  1. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/PKG-INFO +1 -1
  2. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/dns_zones.py +0 -24
  3. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/mail_address_aliases.py +0 -16
  4. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/mail_addresses.py +0 -16
  5. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/products.py +0 -7
  6. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/api_schema.py +0 -9
  7. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/pyproject.toml +1 -1
  8. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/README.md +0 -0
  9. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/AsyncTyper.py +0 -0
  10. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/__init__.py +0 -0
  11. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/cli.py +0 -0
  12. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/accounts.py +0 -0
  13. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/addresses.py +0 -0
  14. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/companies.py +0 -0
  15. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/dns_records.py +0 -0
  16. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/dns_templates.py +0 -0
  17. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/dns_zone_restore_points.py +0 -0
  18. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/mail_domains.py +0 -0
  19. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/mail_forwards.py +0 -0
  20. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/purchases.py +0 -0
  21. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/commands/users.py +0 -0
  22. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/common.py +0 -0
  23. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_cli/connection.py +0 -0
  24. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/__init__.py +0 -0
  25. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/accounts.py +0 -0
  26. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/addresses.py +0 -0
  27. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/common.py +0 -0
  28. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/companies.py +0 -0
  29. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/connection.py +0 -0
  30. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/dns_records.py +0 -0
  31. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/dns_templates.py +0 -0
  32. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/dns_zone_restore_points.py +0 -0
  33. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/dns_zones.py +0 -0
  34. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/exception.py +0 -0
  35. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/mail_address_aliases.py +0 -0
  36. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/mail_addresses.py +0 -0
  37. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/mail_domains.py +0 -0
  38. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/mail_forwards.py +0 -0
  39. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/products.py +0 -0
  40. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/purchases.py +0 -0
  41. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/service_mails.py +0 -0
  42. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/user_roles.py +0 -0
  43. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/cacholong_sdk/users.py +0 -0
  44. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/__init__.py +0 -0
  45. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/common.py +0 -0
  46. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/document.py +0 -0
  47. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/exceptions.py +0 -0
  48. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/filter.py +0 -0
  49. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/objects.py +0 -0
  50. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/relationships.py +0 -0
  51. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/resourceobject.py +0 -0
  52. {cacholong_cloud_cli-1.13.0 → cacholong_cloud_cli-1.13.2}/jsonapi-client/src/jsonapi_client/session.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cacholong-cloud-cli
3
- Version: 1.13.0
3
+ Version: 1.13.2
4
4
  Summary: Cacholong CLI, manage cloud environments at Cacholong!
5
5
  License: MIT
6
6
  Author: Matthijs Möhlmann
@@ -41,10 +41,6 @@ async def list(
41
41
  help="Processing status (pending, processing, verifying, retrying, failed, success)"
42
42
  ),
43
43
  ] = None,
44
- administratively_disabled: Annotated[
45
- Optional[str],
46
- typer.Option(help="Administrative disable status (overrides active setting)"),
47
- ] = None,
48
44
  dnssec_status: Annotated[
49
45
  Optional[str],
50
46
  typer.Option(help="DNSSEC status (active, pending, or null if disabled)"),
@@ -138,14 +134,6 @@ async def list(
138
134
  if status is not None:
139
135
  modifier.append(Filter(status=status))
140
136
 
141
- if administratively_disabled is not None:
142
- modifier.append(
143
- Filter(
144
- query_str="filter[administratively_disabled]="
145
- + str(administratively_disabled)
146
- )
147
- )
148
-
149
137
  if dnssec_status is not None:
150
138
  modifier.append(Filter(query_str="filter[dnssec_status]=" + str(dnssec_status)))
151
139
 
@@ -327,10 +315,6 @@ async def create(
327
315
  Optional[bool],
328
316
  typer.Option(help="Enable or disable active DNS resolution for this zone"),
329
317
  ] = None,
330
- dnssec: Annotated[
331
- Optional[bool],
332
- typer.Option(help="Enable DNSSEC cryptographic signing for this zone"),
333
- ] = None,
334
318
  service_bundle: Annotated[
335
319
  Optional[UUID],
336
320
  typer.Option(
@@ -345,8 +329,6 @@ async def create(
345
329
  model["domain"] = domain
346
330
  if active is not None:
347
331
  model["active"] = active
348
- if dnssec is not None:
349
- model["dnssec"] = dnssec
350
332
 
351
333
  model["account"] = ResourceTuple(account, "accounts")
352
334
  model["product"] = ResourceTuple(product, "products")
@@ -371,10 +353,6 @@ async def update(
371
353
  Optional[bool],
372
354
  typer.Option(help="Enable or disable active DNS resolution for this zone"),
373
355
  ] = None,
374
- dnssec: Annotated[
375
- Optional[bool],
376
- typer.Option(help="Enable DNSSEC cryptographic signing for this zone"),
377
- ] = None,
378
356
  ):
379
357
  async with Connection() as conn:
380
358
  ctrl = DnsZone(conn, api_schema)
@@ -384,8 +362,6 @@ async def update(
384
362
  model["domain"] = domain
385
363
  if active is not None:
386
364
  model["active"] = active
387
- if dnssec is not None:
388
- model["dnssec"] = dnssec
389
365
 
390
366
  await ctrl.update(model)
391
367
 
@@ -34,9 +34,6 @@ async def list(
34
34
  enabled: Annotated[
35
35
  Optional[str], typer.Option(help="Is mail address alias enabled or not?")
36
36
  ] = None,
37
- hidden: Annotated[
38
- Optional[str], typer.Option(help="Is mail address alias hidden or not?")
39
- ] = None,
40
37
  mail_address: Annotated[
41
38
  Optional[UUID],
42
39
  typer.Option(help="The mail address associated with this alias."),
@@ -115,9 +112,6 @@ async def list(
115
112
  if enabled is not None:
116
113
  modifier.append(Filter(enabled=enabled))
117
114
 
118
- if hidden is not None:
119
- modifier.append(Filter(hidden=hidden))
120
-
121
115
  if mail_address is not None:
122
116
  modifier.append(Filter(query_str="filter[mail-address]=" + str(mail_address)))
123
117
 
@@ -261,9 +255,6 @@ async def create(
261
255
  mail_address: Annotated[
262
256
  UUID, typer.Option(help="The mail address to associate with this alias.")
263
257
  ],
264
- hidden: Annotated[
265
- Optional[bool], typer.Option(help="Is mail address alias hidden or not?")
266
- ] = None,
267
258
  ):
268
259
  async with Connection() as conn:
269
260
  ctrl = MailAddressAlias(conn, api_schema)
@@ -271,8 +262,6 @@ async def create(
271
262
 
272
263
  model["alias"] = alias
273
264
  model["enabled"] = enabled
274
- if hidden is not None:
275
- model["hidden"] = hidden
276
265
 
277
266
  model["mail-address"] = ResourceTuple(mail_address, "mail-addresses")
278
267
 
@@ -293,9 +282,6 @@ async def update(
293
282
  enabled: Annotated[
294
283
  Optional[bool], typer.Option(help="Is mail address alias enabled or not?")
295
284
  ] = None,
296
- hidden: Annotated[
297
- Optional[bool], typer.Option(help="Is mail address alias hidden or not?")
298
- ] = None,
299
285
  ):
300
286
  async with Connection() as conn:
301
287
  ctrl = MailAddressAlias(conn, api_schema)
@@ -305,8 +291,6 @@ async def update(
305
291
  model["alias"] = alias
306
292
  if enabled is not None:
307
293
  model["enabled"] = enabled
308
- if hidden is not None:
309
- model["hidden"] = hidden
310
294
 
311
295
  await ctrl.update(model)
312
296
 
@@ -309,9 +309,6 @@ async def create(
309
309
  enabled: Annotated[
310
310
  Optional[bool], typer.Option(help="Is mail address enabled or not?")
311
311
  ] = None,
312
- catchall: Annotated[
313
- Optional[bool], typer.Option(help="Is mail address a catch-all filter?")
314
- ] = None,
315
312
  ):
316
313
  async with Connection() as conn:
317
314
  ctrl = MailAddress(conn, api_schema)
@@ -322,8 +319,6 @@ async def create(
322
319
  model["password_confirmation"] = password_confirmation
323
320
  if enabled is not None:
324
321
  model["enabled"] = enabled
325
- if catchall is not None:
326
- model["catchall"] = catchall
327
322
  model["allow_sending"] = allow_sending
328
323
  model["allow_receiving"] = allow_receiving
329
324
  model["keep_mail_on_forward"] = keep_mail_on_forward
@@ -351,9 +346,6 @@ async def update(
351
346
  enabled: Annotated[
352
347
  Optional[bool], typer.Option(help="Is mail address enabled or not?")
353
348
  ] = None,
354
- catchall: Annotated[
355
- Optional[bool], typer.Option(help="Is mail address a catch-all filter?")
356
- ] = None,
357
349
  allow_sending: Annotated[
358
350
  Optional[bool], typer.Option(help="Is mail address allowed to send email?")
359
351
  ] = None,
@@ -377,8 +369,6 @@ async def update(
377
369
  model["password_confirmation"] = password_confirmation
378
370
  if enabled is not None:
379
371
  model["enabled"] = enabled
380
- if catchall is not None:
381
- model["catchall"] = catchall
382
372
  if allow_sending is not None:
383
373
  model["allow_sending"] = allow_sending
384
374
  if allow_receiving is not None:
@@ -452,9 +442,6 @@ async def list_aliases(
452
442
  enabled: Annotated[
453
443
  Optional[str], typer.Option(help="Is mail address alias enabled or not?")
454
444
  ] = None,
455
- hidden: Annotated[
456
- Optional[str], typer.Option(help="Is mail address alias hidden or not?")
457
- ] = None,
458
445
  mail_address: Annotated[
459
446
  Optional[UUID],
460
447
  typer.Option(help="The mail address associated with this alias."),
@@ -538,9 +525,6 @@ async def list_aliases(
538
525
  if enabled is not None:
539
526
  modifier.append(Filter(enabled=enabled))
540
527
 
541
- if hidden is not None:
542
- modifier.append(Filter(hidden=hidden))
543
-
544
528
  if mail_address is not None:
545
529
  modifier.append(
546
530
  Filter(query_str="filter[mail-address]=" + str(mail_address))
@@ -40,10 +40,6 @@ async def list(
40
40
  options: Annotated[
41
41
  Optional[str], typer.Option(help="Product options in JSON format")
42
42
  ] = None,
43
- billable: Annotated[
44
- Optional[str],
45
- typer.Option(help="Whether delivered services are invoiced (superadmin only)"),
46
- ] = None,
47
43
  account: Annotated[
48
44
  Optional[UUID],
49
45
  typer.Option(
@@ -157,9 +153,6 @@ async def list(
157
153
  if options is not None:
158
154
  modifier.append(Filter(options=options))
159
155
 
160
- if billable is not None:
161
- modifier.append(Filter(billable=billable))
162
-
163
156
  if account is not None:
164
157
  modifier.append(Filter(account=str(account)))
165
158
 
@@ -274,7 +274,6 @@ api_schema = {
274
274
  "active": {"type": ["boolean", "null"]},
275
275
  "dnssec": {"type": ["boolean", "null"]},
276
276
  "status": {"type": ["string", "null"]},
277
- "administratively_disabled": {"type": ["boolean", "null"]},
278
277
  "dnssec_status": {"type": ["string", "null"]},
279
278
  "dnssec_flags": {"type": ["number", "null"]},
280
279
  "dnssec_algorithm": {"type": ["number", "null"]},
@@ -325,7 +324,6 @@ api_schema = {
325
324
  "active": {"type": ["boolean", "null"]},
326
325
  "dnssec": {"type": ["boolean", "null"]},
327
326
  "status": {"type": ["string", "null"]},
328
- "administratively_disabled": {"type": ["boolean", "null"]},
329
327
  "dnssec_status": {"type": ["string", "null"]},
330
328
  "dnssec_flags": {"type": ["number", "null"]},
331
329
  "dnssec_algorithm": {"type": ["number", "null"]},
@@ -601,7 +599,6 @@ api_schema = {
601
599
  "status": {"type": ["string", "null"]},
602
600
  "alias": {"type": ["string"]},
603
601
  "enabled": {"type": ["boolean"]},
604
- "hidden": {"type": ["boolean", "null"]},
605
602
  "created_at": {"type": ["string", "null"]},
606
603
  "updated_at": {"type": ["string", "null"]},
607
604
  "mail-address": {"relation": "to-one", "resource": "mail-addresses"},
@@ -612,7 +609,6 @@ api_schema = {
612
609
  "status": {"type": ["string", "null"]},
613
610
  "alias": {"type": ["string"]},
614
611
  "enabled": {"type": ["boolean"]},
615
- "hidden": {"type": ["boolean", "null"]},
616
612
  }
617
613
  },
618
614
  "mail-address-aliases:show": {
@@ -620,7 +616,6 @@ api_schema = {
620
616
  "status": {"type": ["string", "null"]},
621
617
  "alias": {"type": ["string"]},
622
618
  "enabled": {"type": ["boolean"]},
623
- "hidden": {"type": ["boolean", "null"]},
624
619
  "created_at": {"type": ["string", "null"]},
625
620
  "updated_at": {"type": ["string", "null"]},
626
621
  "mail-address": {"relation": "to-one", "resource": "mail-addresses"},
@@ -631,7 +626,6 @@ api_schema = {
631
626
  "status": {"type": ["string", "null"]},
632
627
  "alias": {"type": ["string"]},
633
628
  "enabled": {"type": ["boolean"]},
634
- "hidden": {"type": ["boolean", "null"]},
635
629
  "mail-address": {"relation": "to-one", "resource": "mail-addresses"},
636
630
  }
637
631
  },
@@ -640,7 +634,6 @@ api_schema = {
640
634
  "status": {"type": ["string", "null"]},
641
635
  "alias": {"type": ["string"]},
642
636
  "enabled": {"type": ["boolean"]},
643
- "hidden": {"type": ["boolean", "null"]},
644
637
  "mail-address": {"relation": "to-one", "resource": "mail-addresses"},
645
638
  }
646
639
  },
@@ -738,7 +731,6 @@ api_schema = {
738
731
  "publish_end": {"type": ["string", "null"]},
739
732
  "created_at": {"type": ["string", "null"]},
740
733
  "updated_at": {"type": ["string", "null"]},
741
- "billable": {"type": ["boolean", "null"]},
742
734
  "account": {"relation": "to-one", "resource": "accounts"},
743
735
  "parent": {"relation": "to-one", "resource": "products"},
744
736
  "children": {"relation": "to-many", "resource": "products"},
@@ -772,7 +764,6 @@ api_schema = {
772
764
  "publish_end": {"type": ["string", "null"]},
773
765
  "created_at": {"type": ["string", "null"]},
774
766
  "updated_at": {"type": ["string", "null"]},
775
- "billable": {"type": ["boolean", "null"]},
776
767
  "account": {"relation": "to-one", "resource": "accounts"},
777
768
  "parent": {"relation": "to-one", "resource": "products"},
778
769
  "children": {"relation": "to-many", "resource": "products"},
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cacholong-cloud-cli"
3
- version = "1.13.0"
3
+ version = "1.13.2"
4
4
  description = "Cacholong CLI, manage cloud environments at Cacholong!"
5
5
  authors = ["Matthijs Möhlmann <matthijs@cacholong.nl>"]
6
6
  readme = "README.md"