@zinn-digital/sdk 0.1.2007 → 0.1.2009

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.
@@ -30709,6 +30709,72 @@ export interface paths {
30709
30709
  patch?: never;
30710
30710
  trace?: never;
30711
30711
  };
30712
+ "/v1/compute/connected-servers": {
30713
+ parameters: {
30714
+ query?: never;
30715
+ header?: never;
30716
+ path?: never;
30717
+ cookie?: never;
30718
+ };
30719
+ /**
30720
+ * The org's connected servers (connect your own server) and the next one's price.
30721
+ * @description PANEL-L2 (docs/1270). A server the customer runs elsewhere and links with one install line. The first connected server is free; each further one is billed monthly (`next.amount_minor`, integer minor units). `offered_os` and `offered_modes` are what the wizard may offer (only what is built). Needs `sites.view`.
30722
+ */
30723
+ get: operations["listConnectedServers"];
30724
+ put?: never;
30725
+ /**
30726
+ * Start connecting a server; returns the ONE install line (single use, 30 minutes).
30727
+ * @description Creates the machine in `awaiting_install` and returns `install_line` (a `curl … | sudo sh` line carrying a single-use token valid for 30 minutes; never shown again). Refused `422 {error.code}` with `unsupported_os`, `mode_not_offered`, or `not_in_good_standing` (a server that would not be free needs the account in good standing). Needs `billing.payment.manage`. Audited `compute.connected_server.create`.
30728
+ */
30729
+ post: operations["createConnectedServer"];
30730
+ delete?: never;
30731
+ options?: never;
30732
+ head?: never;
30733
+ patch?: never;
30734
+ trace?: never;
30735
+ };
30736
+ "/v1/compute/connected-servers/{serverId}": {
30737
+ parameters: {
30738
+ query?: never;
30739
+ header?: never;
30740
+ path: {
30741
+ serverId: string;
30742
+ };
30743
+ cookie?: never;
30744
+ };
30745
+ /** One connected server and its live checks (the wizard polls this). */
30746
+ get: operations["getConnectedServer"];
30747
+ put?: never;
30748
+ post?: never;
30749
+ /**
30750
+ * Disconnect a server; its monthly charge stops. Nothing on the machine is touched by us.
30751
+ * @description The agent's next report receives `410` and removes its own files only. Needs `billing.payment.manage`. Audited `compute.connected_server.remove`.
30752
+ */
30753
+ delete: operations["disconnectConnectedServer"];
30754
+ options?: never;
30755
+ head?: never;
30756
+ patch?: never;
30757
+ trace?: never;
30758
+ };
30759
+ "/v1/compute/connected-servers/{serverId}/line": {
30760
+ parameters: {
30761
+ query?: never;
30762
+ header?: never;
30763
+ path: {
30764
+ serverId: string;
30765
+ };
30766
+ cookie?: never;
30767
+ };
30768
+ get?: never;
30769
+ put?: never;
30770
+ /** A fresh install line for a machine not yet connected; every older line dies. */
30771
+ post: operations["renewConnectedServerLine"];
30772
+ delete?: never;
30773
+ options?: never;
30774
+ head?: never;
30775
+ patch?: never;
30776
+ trace?: never;
30777
+ };
30712
30778
  "/v1/compute/eligibility": {
30713
30779
  parameters: {
30714
30780
  query?: never;
@@ -32160,6 +32226,33 @@ export interface paths {
32160
32226
  patch?: never;
32161
32227
  trace?: never;
32162
32228
  };
32229
+ "/v1/compute/servers/{serverId}/site-moves": {
32230
+ parameters: {
32231
+ query?: never;
32232
+ header?: never;
32233
+ path: {
32234
+ /** @description The server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine. */
32235
+ serverId: components["parameters"]["ComputeServerId"];
32236
+ };
32237
+ cookie?: never;
32238
+ };
32239
+ /**
32240
+ * The websites you can move onto this server of yours.
32241
+ * @description Cloud panel P3-002 slice 2: the organisation's live Managed WordPress sites that sit on our shared servers, are not moving, and so can move onto this server, plus whether the server can take one now. `can_move` is false with a machine `refusal` code (`not_offered`, `not_managed`, `not_operable`, `disk_full`, `low_memory`, `capacity_unknown`, `not_in_good_standing`) the dashboard turns into words per locale. No money moves: the server is already the customer's. Requires `sites.view`; `404` for a server that is not the caller's.
32242
+ */
32243
+ get: operations["listComputeServerSiteMoveCandidates"];
32244
+ put?: never;
32245
+ /**
32246
+ * Move one of your websites onto this server of yours.
32247
+ * @description Starts the same parity-gated move a paid own-server move runs (reason `own_vps`): the site is copied onto this server, checked, cut over, and the old copy is kept for seven days, during which `rollbackSiteOwnVps` moves it back. Nothing is bought and the server is never removed by a move back. Refusals are `422` with a machine code in `details[0].code`: the candidate list's refusal codes plus `site_not_live`, `site_not_managed_wordpress`, `site_already_own_server`, `site_moving`. Audit-logged as `compute.server.site_move_started`. Requires `sites.create`; `404` for a server or a site that is not the caller's.
32248
+ */
32249
+ post: operations["moveSiteToComputeServer"];
32250
+ delete?: never;
32251
+ options?: never;
32252
+ head?: never;
32253
+ patch?: never;
32254
+ trace?: never;
32255
+ };
32163
32256
  "/v1/compute/servers/{serverId}/sites": {
32164
32257
  parameters: {
32165
32258
  query?: never;
@@ -32538,6 +32631,66 @@ export interface paths {
32538
32631
  patch?: never;
32539
32632
  trace?: never;
32540
32633
  };
32634
+ "/v1/connect/enrol": {
32635
+ parameters: {
32636
+ query?: never;
32637
+ header?: never;
32638
+ path?: never;
32639
+ cookie?: never;
32640
+ };
32641
+ get?: never;
32642
+ put?: never;
32643
+ /**
32644
+ * Redeem a single-use install token (machine-to-engine).
32645
+ * @description Called once by the install script. Checks the token (single use, 30 minutes) and the operating system (AlmaLinux 9/10, Rocky 9/10, Ubuntu 24.04/26.04); returns the agent token once (stored as a digest only). Refusal codes: `unknown_token` 401, `token_used` 409, `token_expired` 410, `wrong_org` 403, `unsupported_os` / `os_mismatch` 422. Throttled `connect-agent` 60/min.
32646
+ */
32647
+ post: operations["enrolConnectedServer"];
32648
+ delete?: never;
32649
+ options?: never;
32650
+ head?: never;
32651
+ patch?: never;
32652
+ trace?: never;
32653
+ };
32654
+ "/v1/connect/install.sh": {
32655
+ parameters: {
32656
+ query?: never;
32657
+ header?: never;
32658
+ path?: never;
32659
+ cookie?: never;
32660
+ };
32661
+ /**
32662
+ * The connect install script (machine-to-engine; plain POSIX sh).
32663
+ * @description Fetched by the install line on the customer's machine. The same script for everyone; the single-use token travels in the line's environment, never in this URL. Pull-only: it installs a 5-minute report timer and nothing that accepts a connection, adds no key and no user. Throttled `connect-agent` 60/min.
32664
+ */
32665
+ get: operations["getConnectInstallScript"];
32666
+ put?: never;
32667
+ post?: never;
32668
+ delete?: never;
32669
+ options?: never;
32670
+ head?: never;
32671
+ patch?: never;
32672
+ trace?: never;
32673
+ };
32674
+ "/v1/connect/report": {
32675
+ parameters: {
32676
+ query?: never;
32677
+ header?: never;
32678
+ path?: never;
32679
+ cookie?: never;
32680
+ };
32681
+ get?: never;
32682
+ put?: never;
32683
+ /**
32684
+ * A connected machine's 5-minute report (machine-to-engine).
32685
+ * @description `Authorization: Bearer <agent token>`. `managed` is false while management is paused for non-payment (the machine itself is never touched). `410 gone` once the customer disconnected it: the agent removes its own files. Throttled `connect-agent` 60/min.
32686
+ */
32687
+ post: operations["reportConnectedServer"];
32688
+ delete?: never;
32689
+ options?: never;
32690
+ head?: never;
32691
+ patch?: never;
32692
+ trace?: never;
32693
+ };
32541
32694
  "/v1/connections/{provider}": {
32542
32695
  parameters: {
32543
32696
  query?: never;
@@ -85480,6 +85633,32 @@ export interface components {
85480
85633
  php_version?: string;
85481
85634
  primary_domain: string;
85482
85635
  };
85636
+ /** @description The sites that can move onto one server, and whether it can take one now. */
85637
+ ComputeServerSiteMoveCandidates: {
85638
+ can_move: boolean;
85639
+ data: {
85640
+ /** Format: uuid */
85641
+ id: string;
85642
+ name: string;
85643
+ primary_domain: string;
85644
+ stack_type: string;
85645
+ }[];
85646
+ refusal: string | null;
85647
+ /** Format: uuid */
85648
+ server_id: string;
85649
+ };
85650
+ ComputeServerSiteMoveRequest: {
85651
+ /** Format: uuid */
85652
+ site_id: string;
85653
+ };
85654
+ ComputeServerSiteMoveStarted: {
85655
+ /** Format: uuid */
85656
+ server_id: string;
85657
+ /** Format: uuid */
85658
+ site_id: string;
85659
+ /** @description The move's run; the site's own-server card (`getSiteOwnVps`) shows its progress. */
85660
+ workflow_id: string;
85661
+ };
85483
85662
  /** @description The sites on one server plus whether a new one can be deployed there. */
85484
85663
  ComputeServerSites: {
85485
85664
  applications: string[];
@@ -85894,6 +86073,47 @@ export interface components {
85894
86073
  ConnectedDomain: components["schemas"]["Domain"] & {
85895
86074
  delegation: components["schemas"]["Delegation"];
85896
86075
  };
86076
+ /** @description A server the customer runs elsewhere, linked by the connect agent (PANEL-L2). */
86077
+ ConnectedServer: {
86078
+ checks?: {
86079
+ [key: string]: "ok" | "failed" | "pending";
86080
+ };
86081
+ /** Format: date-time */
86082
+ connected_at?: string | null;
86083
+ /** Format: date-time */
86084
+ created_at?: string;
86085
+ currency: string;
86086
+ free: boolean;
86087
+ hostname?: string;
86088
+ /** Format: uuid */
86089
+ id: string;
86090
+ kernel?: string;
86091
+ label: string;
86092
+ /** Format: date-time */
86093
+ last_report_at?: string | null;
86094
+ /** Format: date-time */
86095
+ line_expires_at?: string | null;
86096
+ /** @description Paused for non-payment; no charge accrues and the machine is never touched. */
86097
+ management_paused: boolean;
86098
+ /** @enum {string} */
86099
+ mode: "watch" | "panel";
86100
+ /** @enum {string} */
86101
+ os_family: "almalinux" | "rocky" | "ubuntu";
86102
+ os_name?: string;
86103
+ /** @description Monthly price in minor units; 0 when free. */
86104
+ price_minor: number;
86105
+ /** @description Machine code when refused (unsupported_os */
86106
+ reason?: string;
86107
+ /** @enum {string} */
86108
+ state: "awaiting_install" | "connected" | "refused" | "expired" | "removed";
86109
+ /** @description connected, not_reporting, or the state. */
86110
+ status: string;
86111
+ };
86112
+ ConnectedServerQuote: {
86113
+ amount_minor: number;
86114
+ currency: string;
86115
+ free: boolean;
86116
+ };
85897
86117
  ConnectExternalBackupRequest: {
85898
86118
  channel: components["schemas"]["ExternalBackupChannel"];
85899
86119
  /** @description `ssh` only. Extra folders to include in every backup: absolute paths, no `..`, never `/`. Omit it to keep the saved list. A folder the SSH user cannot read in full makes the backup fail with that folder named, never a backup that silently lacks it. */
@@ -86038,6 +86258,12 @@ export interface components {
86038
86258
  /** @default true */
86039
86259
  verify_tls: boolean;
86040
86260
  };
86261
+ ConnectRefusal: {
86262
+ error: {
86263
+ /** @description Lower-case machine code the dashboard translates. */
86264
+ code: string;
86265
+ };
86266
+ };
86041
86267
  /** @description Supply **either** `token` or `credentials`. ⛔ `token` is no longer required, because two of the six BYO DNS vendors have no single-token credential to put there: ClouDNS needs `auth_id` and `auth_password`, Azure needs five fields. Call `listConnectionProviders` for the exact field names a provider takes. */
86042
86268
  ConnectTokenRequest: {
86043
86269
  /**
@@ -176128,6 +176354,183 @@ export interface operations {
176128
176354
  503: components["responses"]["ServiceUnavailable"];
176129
176355
  };
176130
176356
  };
176357
+ listConnectedServers: {
176358
+ parameters: {
176359
+ query?: {
176360
+ org_id?: string;
176361
+ };
176362
+ header?: never;
176363
+ path?: never;
176364
+ cookie?: never;
176365
+ };
176366
+ requestBody?: never;
176367
+ responses: {
176368
+ /** @description The connected servers. */
176369
+ 200: {
176370
+ headers: {
176371
+ [name: string]: unknown;
176372
+ };
176373
+ content: {
176374
+ "application/json": {
176375
+ data: components["schemas"]["ConnectedServer"][];
176376
+ next: components["schemas"]["ConnectedServerQuote"];
176377
+ offered_modes: ("watch" | "panel")[];
176378
+ offered_os: ("almalinux" | "rocky" | "ubuntu")[];
176379
+ };
176380
+ };
176381
+ };
176382
+ 401: components["responses"]["Unauthorized"];
176383
+ 403: components["responses"]["Forbidden"];
176384
+ 422: components["responses"]["UnprocessableEntity"];
176385
+ 429: components["responses"]["TooManyRequests"];
176386
+ };
176387
+ };
176388
+ createConnectedServer: {
176389
+ parameters: {
176390
+ query?: never;
176391
+ header?: never;
176392
+ path?: never;
176393
+ cookie?: never;
176394
+ };
176395
+ requestBody: {
176396
+ content: {
176397
+ "application/json": {
176398
+ label: string;
176399
+ /**
176400
+ * @default watch
176401
+ * @enum {string}
176402
+ */
176403
+ mode?: "watch" | "panel";
176404
+ /** Format: uuid */
176405
+ org_id?: string;
176406
+ /** @enum {string} */
176407
+ os_family: "almalinux" | "rocky" | "ubuntu";
176408
+ };
176409
+ };
176410
+ };
176411
+ responses: {
176412
+ /** @description The machine, its install line and the price it will carry. */
176413
+ 201: {
176414
+ headers: {
176415
+ [name: string]: unknown;
176416
+ };
176417
+ content: {
176418
+ "application/json": {
176419
+ data: components["schemas"]["ConnectedServer"];
176420
+ install_line: string;
176421
+ /** Format: date-time */
176422
+ line_expires_at: string | null;
176423
+ quote: components["schemas"]["ConnectedServerQuote"];
176424
+ };
176425
+ };
176426
+ };
176427
+ 400: components["responses"]["UnprocessableEntity"];
176428
+ 401: components["responses"]["Unauthorized"];
176429
+ 403: components["responses"]["Forbidden"];
176430
+ /** @description Refused; `error.code` is the machine reason the dashboard translates. */
176431
+ 422: {
176432
+ headers: {
176433
+ [name: string]: unknown;
176434
+ };
176435
+ content: {
176436
+ "application/json": components["schemas"]["ConnectRefusal"];
176437
+ };
176438
+ };
176439
+ 429: components["responses"]["TooManyRequests"];
176440
+ };
176441
+ };
176442
+ getConnectedServer: {
176443
+ parameters: {
176444
+ query?: never;
176445
+ header?: never;
176446
+ path: {
176447
+ serverId: string;
176448
+ };
176449
+ cookie?: never;
176450
+ };
176451
+ requestBody?: never;
176452
+ responses: {
176453
+ /** @description The machine. */
176454
+ 200: {
176455
+ headers: {
176456
+ [name: string]: unknown;
176457
+ };
176458
+ content: {
176459
+ "application/json": {
176460
+ data: components["schemas"]["ConnectedServer"];
176461
+ };
176462
+ };
176463
+ };
176464
+ 401: components["responses"]["Unauthorized"];
176465
+ 403: components["responses"]["Forbidden"];
176466
+ 404: components["responses"]["NotFound"];
176467
+ 429: components["responses"]["TooManyRequests"];
176468
+ };
176469
+ };
176470
+ disconnectConnectedServer: {
176471
+ parameters: {
176472
+ query?: never;
176473
+ header?: never;
176474
+ path: {
176475
+ serverId: string;
176476
+ };
176477
+ cookie?: never;
176478
+ };
176479
+ requestBody?: never;
176480
+ responses: {
176481
+ /** @description Disconnected. */
176482
+ 204: {
176483
+ headers: {
176484
+ [name: string]: unknown;
176485
+ };
176486
+ content?: never;
176487
+ };
176488
+ 401: components["responses"]["Unauthorized"];
176489
+ 403: components["responses"]["Forbidden"];
176490
+ 404: components["responses"]["NotFound"];
176491
+ 429: components["responses"]["TooManyRequests"];
176492
+ };
176493
+ };
176494
+ renewConnectedServerLine: {
176495
+ parameters: {
176496
+ query?: never;
176497
+ header?: never;
176498
+ path: {
176499
+ serverId: string;
176500
+ };
176501
+ cookie?: never;
176502
+ };
176503
+ requestBody?: never;
176504
+ responses: {
176505
+ /** @description The machine and its new line. */
176506
+ 200: {
176507
+ headers: {
176508
+ [name: string]: unknown;
176509
+ };
176510
+ content: {
176511
+ "application/json": {
176512
+ data: components["schemas"]["ConnectedServer"];
176513
+ install_line: string;
176514
+ /** Format: date-time */
176515
+ line_expires_at: string | null;
176516
+ };
176517
+ };
176518
+ };
176519
+ 401: components["responses"]["Unauthorized"];
176520
+ 403: components["responses"]["Forbidden"];
176521
+ 404: components["responses"]["NotFound"];
176522
+ /** @description Already connected (`already_connected`). */
176523
+ 409: {
176524
+ headers: {
176525
+ [name: string]: unknown;
176526
+ };
176527
+ content: {
176528
+ "application/json": components["schemas"]["ConnectRefusal"];
176529
+ };
176530
+ };
176531
+ 429: components["responses"]["TooManyRequests"];
176532
+ };
176533
+ };
176131
176534
  getComputeEligibility: {
176132
176535
  parameters: {
176133
176536
  query?: {
@@ -178446,6 +178849,64 @@ export interface operations {
178446
178849
  503: components["responses"]["ServiceUnavailable"];
178447
178850
  };
178448
178851
  };
178852
+ listComputeServerSiteMoveCandidates: {
178853
+ parameters: {
178854
+ query?: never;
178855
+ header?: never;
178856
+ path: {
178857
+ /** @description The server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine. */
178858
+ serverId: components["parameters"]["ComputeServerId"];
178859
+ };
178860
+ cookie?: never;
178861
+ };
178862
+ requestBody?: never;
178863
+ responses: {
178864
+ /** @description The sites that can move here, and whether the server can take one. */
178865
+ 200: {
178866
+ headers: {
178867
+ [name: string]: unknown;
178868
+ };
178869
+ content: {
178870
+ "application/json": components["schemas"]["ComputeServerSiteMoveCandidates"];
178871
+ };
178872
+ };
178873
+ 401: components["responses"]["Unauthorized"];
178874
+ 403: components["responses"]["Forbidden"];
178875
+ 404: components["responses"]["NotFound"];
178876
+ };
178877
+ };
178878
+ moveSiteToComputeServer: {
178879
+ parameters: {
178880
+ query?: never;
178881
+ header?: never;
178882
+ path: {
178883
+ /** @description The server's id, as `listComputeServers` reports it. **Ours** (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine. */
178884
+ serverId: components["parameters"]["ComputeServerId"];
178885
+ };
178886
+ cookie?: never;
178887
+ };
178888
+ requestBody: {
178889
+ content: {
178890
+ "application/json": components["schemas"]["ComputeServerSiteMoveRequest"];
178891
+ };
178892
+ };
178893
+ responses: {
178894
+ /** @description The move has started; the site's own-server card follows it. */
178895
+ 202: {
178896
+ headers: {
178897
+ [name: string]: unknown;
178898
+ };
178899
+ content: {
178900
+ "application/json": components["schemas"]["ComputeServerSiteMoveStarted"];
178901
+ };
178902
+ };
178903
+ 401: components["responses"]["Unauthorized"];
178904
+ 403: components["responses"]["Forbidden"];
178905
+ 404: components["responses"]["NotFound"];
178906
+ 422: components["responses"]["UnprocessableEntity"];
178907
+ 503: components["responses"]["ServiceUnavailable"];
178908
+ };
178909
+ };
178449
178910
  listComputeServerSites: {
178450
178911
  parameters: {
178451
178912
  query?: never;
@@ -179130,6 +179591,182 @@ export interface operations {
179130
179591
  429: components["responses"]["TooManyRequests"];
179131
179592
  };
179132
179593
  };
179594
+ enrolConnectedServer: {
179595
+ parameters: {
179596
+ query?: never;
179597
+ header?: never;
179598
+ path?: never;
179599
+ cookie?: never;
179600
+ };
179601
+ requestBody: {
179602
+ content: {
179603
+ "application/json": {
179604
+ hostname?: string;
179605
+ kernel?: string;
179606
+ os_id: string;
179607
+ os_name?: string;
179608
+ os_version: string;
179609
+ token: string;
179610
+ };
179611
+ };
179612
+ };
179613
+ responses: {
179614
+ /** @description Enrolled. */
179615
+ 200: {
179616
+ headers: {
179617
+ [name: string]: unknown;
179618
+ };
179619
+ content: {
179620
+ "application/json": {
179621
+ data: {
179622
+ agent_token: string;
179623
+ /** @enum {string} */
179624
+ mode: "watch" | "panel";
179625
+ report_every_seconds: number;
179626
+ /** Format: uuid */
179627
+ server_id: string;
179628
+ };
179629
+ };
179630
+ };
179631
+ };
179632
+ /** @description Refused; `error.code` names why. */
179633
+ 400: {
179634
+ headers: {
179635
+ [name: string]: unknown;
179636
+ };
179637
+ content: {
179638
+ "application/json": components["schemas"]["ConnectRefusal"];
179639
+ };
179640
+ };
179641
+ /** @description Refused; `error.code` names why. */
179642
+ 401: {
179643
+ headers: {
179644
+ [name: string]: unknown;
179645
+ };
179646
+ content: {
179647
+ "application/json": components["schemas"]["ConnectRefusal"];
179648
+ };
179649
+ };
179650
+ /** @description Refused; `error.code` names why. */
179651
+ 403: {
179652
+ headers: {
179653
+ [name: string]: unknown;
179654
+ };
179655
+ content: {
179656
+ "application/json": components["schemas"]["ConnectRefusal"];
179657
+ };
179658
+ };
179659
+ /** @description Refused; `error.code` names why. */
179660
+ 409: {
179661
+ headers: {
179662
+ [name: string]: unknown;
179663
+ };
179664
+ content: {
179665
+ "application/json": components["schemas"]["ConnectRefusal"];
179666
+ };
179667
+ };
179668
+ /** @description Refused; `error.code` names why. */
179669
+ 410: {
179670
+ headers: {
179671
+ [name: string]: unknown;
179672
+ };
179673
+ content: {
179674
+ "application/json": components["schemas"]["ConnectRefusal"];
179675
+ };
179676
+ };
179677
+ /** @description Refused; `error.code` names why. */
179678
+ 422: {
179679
+ headers: {
179680
+ [name: string]: unknown;
179681
+ };
179682
+ content: {
179683
+ "application/json": components["schemas"]["ConnectRefusal"];
179684
+ };
179685
+ };
179686
+ 429: components["responses"]["TooManyRequests"];
179687
+ };
179688
+ };
179689
+ getConnectInstallScript: {
179690
+ parameters: {
179691
+ query?: never;
179692
+ header?: never;
179693
+ path?: never;
179694
+ cookie?: never;
179695
+ };
179696
+ requestBody?: never;
179697
+ responses: {
179698
+ /** @description The script. */
179699
+ 200: {
179700
+ headers: {
179701
+ [name: string]: unknown;
179702
+ };
179703
+ content: {
179704
+ "text/plain": string;
179705
+ };
179706
+ };
179707
+ 429: components["responses"]["TooManyRequests"];
179708
+ };
179709
+ };
179710
+ reportConnectedServer: {
179711
+ parameters: {
179712
+ query?: never;
179713
+ header?: never;
179714
+ path?: never;
179715
+ cookie?: never;
179716
+ };
179717
+ requestBody: {
179718
+ content: {
179719
+ "application/json": {
179720
+ kernel?: string;
179721
+ os_name?: string;
179722
+ };
179723
+ };
179724
+ };
179725
+ responses: {
179726
+ /** @description Recorded. */
179727
+ 200: {
179728
+ headers: {
179729
+ [name: string]: unknown;
179730
+ };
179731
+ content: {
179732
+ "application/json": {
179733
+ data: {
179734
+ managed: boolean;
179735
+ next_report_seconds: number;
179736
+ };
179737
+ };
179738
+ };
179739
+ };
179740
+ /** @description Invalid body. */
179741
+ 400: {
179742
+ headers: {
179743
+ [name: string]: unknown;
179744
+ };
179745
+ content: {
179746
+ "application/json": components["schemas"]["ConnectRefusal"];
179747
+ };
179748
+ };
179749
+ /** @description Unknown agent token. */
179750
+ 401: {
179751
+ headers: {
179752
+ [name: string]: unknown;
179753
+ };
179754
+ content: {
179755
+ "application/json": components["schemas"]["ConnectRefusal"];
179756
+ };
179757
+ };
179758
+ /** @description Disconnected; the agent removes itself. */
179759
+ 410: {
179760
+ headers: {
179761
+ [name: string]: unknown;
179762
+ };
179763
+ content: {
179764
+ "application/json": components["schemas"]["ConnectRefusal"];
179765
+ };
179766
+ };
179767
+ 429: components["responses"]["TooManyRequests"];
179768
+ };
179769
+ };
179133
179770
  listConnections: {
179134
179771
  parameters: {
179135
179772
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2007",
3
+ "version": "0.1.2009",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",