@zinn-digital/sdk 0.1.1974 → 0.1.1979
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.
- package/dist/generated/schema.d.ts +1005 -4
- package/package.json +1 -1
|
@@ -3555,6 +3555,29 @@ export interface paths {
|
|
|
3555
3555
|
patch?: never;
|
|
3556
3556
|
trace?: never;
|
|
3557
3557
|
};
|
|
3558
|
+
"/v1/admin/certificate-orders/{orderId}/release": {
|
|
3559
|
+
parameters: {
|
|
3560
|
+
query?: never;
|
|
3561
|
+
header?: never;
|
|
3562
|
+
path: {
|
|
3563
|
+
/** @description The order's id, as `listCertificateOrders` reports it. Ours (UUIDv7). */
|
|
3564
|
+
orderId: components["parameters"]["CertificateOrderId"];
|
|
3565
|
+
};
|
|
3566
|
+
cookie?: never;
|
|
3567
|
+
};
|
|
3568
|
+
get?: never;
|
|
3569
|
+
put?: never;
|
|
3570
|
+
/**
|
|
3571
|
+
* Release ONE held certificate order (staff).
|
|
3572
|
+
* @description ⚖️ A paid certificate the authority did not confirm (or whose account lapsed before it was bought) is `held`, never refunded or cancelled automatically. Staff settle it here. `attach` records the authority's order reference (the authority DOES hold the order; `vendor_ref` required) and moves it to `awaiting_validation`; `reopen` clears the claim and returns the order to `pending`, so the customer's paid order can be submitted once more (staff confirmed the authority holds none). ⛔ Moves no money: a refund stays the admin order refund, as Zinn® credit. Acts in the row's own org scope and is audit-logged (`certificates.held_order.released`). `409` when the order is not held, `422` for a bad body. Requires staff + `billing.refund`.
|
|
3573
|
+
*/
|
|
3574
|
+
post: operations["releaseAdminCertificateOrder"];
|
|
3575
|
+
delete?: never;
|
|
3576
|
+
options?: never;
|
|
3577
|
+
head?: never;
|
|
3578
|
+
patch?: never;
|
|
3579
|
+
trace?: never;
|
|
3580
|
+
};
|
|
3558
3581
|
"/v1/admin/ci-fleet/health": {
|
|
3559
3582
|
parameters: {
|
|
3560
3583
|
query?: never;
|
|
@@ -4015,6 +4038,29 @@ export interface paths {
|
|
|
4015
4038
|
patch?: never;
|
|
4016
4039
|
trace?: never;
|
|
4017
4040
|
};
|
|
4041
|
+
"/v1/admin/compute/servers/{serverId}/panel-retry": {
|
|
4042
|
+
parameters: {
|
|
4043
|
+
query?: never;
|
|
4044
|
+
header?: never;
|
|
4045
|
+
path: {
|
|
4046
|
+
/** @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. */
|
|
4047
|
+
serverId: components["parameters"]["ComputeServerId"];
|
|
4048
|
+
};
|
|
4049
|
+
cookie?: never;
|
|
4050
|
+
};
|
|
4051
|
+
get?: never;
|
|
4052
|
+
put?: never;
|
|
4053
|
+
/**
|
|
4054
|
+
* Staff re-run a cloud server's failed Zinn® panel set-up.
|
|
4055
|
+
* @description P3-023 (admin Unit H). Starts the same panel set-up the build starts (`compute.panel_enrol.start_enrolment`: the stack the server's paid licence runs, one workflow id per server). Staff-only on `fleet.manage`; audit-logged (`compute.server.panel_retry`, with the actor, the server, the org, the reason and the error it failed with) BEFORE the start. Buys nothing. Idempotent: a set-up already running answers `202` and starts nothing. ⛔ `422` on a bare server or a set-up that has not failed (`refusal.compute.panelRetryNothingToRerun`) and on a machine that is not `active` (`refusal.compute.changedWaitFinishTry`); `503` when the workflow engine cannot be reached (`refusal.compute.panelRetryUnavailable`).
|
|
4056
|
+
*/
|
|
4057
|
+
post: operations["adminRetryComputeServerPanel"];
|
|
4058
|
+
delete?: never;
|
|
4059
|
+
options?: never;
|
|
4060
|
+
head?: never;
|
|
4061
|
+
patch?: never;
|
|
4062
|
+
trace?: never;
|
|
4063
|
+
};
|
|
4018
4064
|
"/v1/admin/compute/servers/{serverId}/suspend": {
|
|
4019
4065
|
parameters: {
|
|
4020
4066
|
query?: never;
|
|
@@ -14010,6 +14056,271 @@ export interface paths {
|
|
|
14010
14056
|
patch?: never;
|
|
14011
14057
|
trace?: never;
|
|
14012
14058
|
};
|
|
14059
|
+
"/v1/admin/seo-clients": {
|
|
14060
|
+
parameters: {
|
|
14061
|
+
query?: never;
|
|
14062
|
+
header?: never;
|
|
14063
|
+
path?: never;
|
|
14064
|
+
cookie?: never;
|
|
14065
|
+
};
|
|
14066
|
+
/**
|
|
14067
|
+
* Every client of the staff SEO desk.
|
|
14068
|
+
* @description **Staff only** (`seo.clients.manage`). The desk's clients, newest first. The rows belong to the platform staff org the caller acts as (`docs/1198`).
|
|
14069
|
+
*/
|
|
14070
|
+
get: operations["listSeoClients"];
|
|
14071
|
+
put?: never;
|
|
14072
|
+
/**
|
|
14073
|
+
* Take a manual order — the client, month 1's payment request and the baseline.
|
|
14074
|
+
* @description **Staff only** (`seo.clients.manage`). Creates the engagement and month 1 atomically and queues the one-off baseline. Records the order; moves no money and calls no paid supplier. Over the keyword allowance is refused unless `allowance_override` is set.
|
|
14075
|
+
*/
|
|
14076
|
+
post: operations["createSeoClientOrder"];
|
|
14077
|
+
delete?: never;
|
|
14078
|
+
options?: never;
|
|
14079
|
+
head?: never;
|
|
14080
|
+
patch?: never;
|
|
14081
|
+
trace?: never;
|
|
14082
|
+
};
|
|
14083
|
+
"/v1/admin/seo-clients/{engagementId}": {
|
|
14084
|
+
parameters: {
|
|
14085
|
+
query?: never;
|
|
14086
|
+
header?: never;
|
|
14087
|
+
path: {
|
|
14088
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
14089
|
+
};
|
|
14090
|
+
cookie?: never;
|
|
14091
|
+
};
|
|
14092
|
+
/**
|
|
14093
|
+
* One client — months, reminders, pause state, baseline and reports.
|
|
14094
|
+
* @description **Staff only** (`seo.clients.manage`).
|
|
14095
|
+
*/
|
|
14096
|
+
get: operations["getSeoClient"];
|
|
14097
|
+
put?: never;
|
|
14098
|
+
post?: never;
|
|
14099
|
+
delete?: never;
|
|
14100
|
+
options?: never;
|
|
14101
|
+
head?: never;
|
|
14102
|
+
patch?: never;
|
|
14103
|
+
trace?: never;
|
|
14104
|
+
};
|
|
14105
|
+
"/v1/admin/seo-clients/{engagementId}/baseline": {
|
|
14106
|
+
parameters: {
|
|
14107
|
+
query?: never;
|
|
14108
|
+
header?: never;
|
|
14109
|
+
path: {
|
|
14110
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
14111
|
+
};
|
|
14112
|
+
cookie?: never;
|
|
14113
|
+
};
|
|
14114
|
+
get?: never;
|
|
14115
|
+
put?: never;
|
|
14116
|
+
/**
|
|
14117
|
+
* Queue the one-off month-one baseline (no-op once taken).
|
|
14118
|
+
* @description **Staff only** (`seo.clients.manage`). The baseline is taken once and only for a client in good standing. Audit-logged as `seo_client.baseline_requested`.
|
|
14119
|
+
*/
|
|
14120
|
+
post: operations["queueSeoClientBaseline"];
|
|
14121
|
+
delete?: never;
|
|
14122
|
+
options?: never;
|
|
14123
|
+
head?: never;
|
|
14124
|
+
patch?: never;
|
|
14125
|
+
trace?: never;
|
|
14126
|
+
};
|
|
14127
|
+
"/v1/admin/seo-clients/{engagementId}/pause": {
|
|
14128
|
+
parameters: {
|
|
14129
|
+
query?: never;
|
|
14130
|
+
header?: never;
|
|
14131
|
+
path: {
|
|
14132
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
14133
|
+
};
|
|
14134
|
+
cookie?: never;
|
|
14135
|
+
};
|
|
14136
|
+
get?: never;
|
|
14137
|
+
put?: never;
|
|
14138
|
+
/**
|
|
14139
|
+
* Pause or resume a client by hand.
|
|
14140
|
+
* @description **Staff only** (`seo.clients.manage`). A client unpaid 7 days after a due date is also paused by the sweep by itself; paying and resuming restores the monthly routine.
|
|
14141
|
+
*/
|
|
14142
|
+
post: operations["setSeoClientPause"];
|
|
14143
|
+
delete?: never;
|
|
14144
|
+
options?: never;
|
|
14145
|
+
head?: never;
|
|
14146
|
+
patch?: never;
|
|
14147
|
+
trace?: never;
|
|
14148
|
+
};
|
|
14149
|
+
"/v1/admin/seo-clients/{engagementId}/periods/{monthNo}": {
|
|
14150
|
+
parameters: {
|
|
14151
|
+
query?: never;
|
|
14152
|
+
header?: never;
|
|
14153
|
+
path: {
|
|
14154
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
14155
|
+
monthNo: number;
|
|
14156
|
+
};
|
|
14157
|
+
cookie?: never;
|
|
14158
|
+
};
|
|
14159
|
+
get?: never;
|
|
14160
|
+
put?: never;
|
|
14161
|
+
/**
|
|
14162
|
+
* Mark one month paid or not paid, with what was received.
|
|
14163
|
+
* @description **Staff only** (`seo.clients.manage`). Records a payment; moves no money. A direct-wallet receipt never reaches Xero or the OSS/VAT feeds. Strict input, refused with 422 otherwise: `paid` is a JSON boolean (never the string "false"), `amount_minor` a JSON integer above 0 (never truncated from 12.7, never `true`, never a string) and `method` one of the payment-method choices. Audit-logged as `seo_client.period_marked`.
|
|
14164
|
+
*/
|
|
14165
|
+
post: operations["markSeoClientPeriod"];
|
|
14166
|
+
delete?: never;
|
|
14167
|
+
options?: never;
|
|
14168
|
+
head?: never;
|
|
14169
|
+
patch?: never;
|
|
14170
|
+
trace?: never;
|
|
14171
|
+
};
|
|
14172
|
+
"/v1/admin/seo-clients/{engagementId}/reports": {
|
|
14173
|
+
parameters: {
|
|
14174
|
+
query?: never;
|
|
14175
|
+
header?: never;
|
|
14176
|
+
path: {
|
|
14177
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
14178
|
+
};
|
|
14179
|
+
cookie?: never;
|
|
14180
|
+
};
|
|
14181
|
+
get?: never;
|
|
14182
|
+
put?: never;
|
|
14183
|
+
/**
|
|
14184
|
+
* Build a monthly report. Builds only; never sends.
|
|
14185
|
+
* @description **Staff only** (`seo.clients.manage`). A paused client gets no report. Sending is the owner's own click, recorded with `recordSeoClientReportDelivery`.
|
|
14186
|
+
*/
|
|
14187
|
+
post: operations["buildSeoClientReport"];
|
|
14188
|
+
delete?: never;
|
|
14189
|
+
options?: never;
|
|
14190
|
+
head?: never;
|
|
14191
|
+
patch?: never;
|
|
14192
|
+
trace?: never;
|
|
14193
|
+
};
|
|
14194
|
+
"/v1/admin/seo-clients/receipts": {
|
|
14195
|
+
parameters: {
|
|
14196
|
+
query?: never;
|
|
14197
|
+
header?: never;
|
|
14198
|
+
path?: never;
|
|
14199
|
+
cookie?: never;
|
|
14200
|
+
};
|
|
14201
|
+
/**
|
|
14202
|
+
* Hand-entered direct-wallet receipts, oldest first.
|
|
14203
|
+
* @description **Staff only** (`seo.clients.manage`). Recorded in the desk and analytics only; NEVER posted to Xero or the OSS/VAT feeds.
|
|
14204
|
+
*/
|
|
14205
|
+
get: operations["listSeoClientWalletReceipts"];
|
|
14206
|
+
put?: never;
|
|
14207
|
+
post?: never;
|
|
14208
|
+
delete?: never;
|
|
14209
|
+
options?: never;
|
|
14210
|
+
head?: never;
|
|
14211
|
+
patch?: never;
|
|
14212
|
+
trace?: never;
|
|
14213
|
+
};
|
|
14214
|
+
"/v1/admin/seo-clients/receipts.csv": {
|
|
14215
|
+
parameters: {
|
|
14216
|
+
query?: never;
|
|
14217
|
+
header?: never;
|
|
14218
|
+
path?: never;
|
|
14219
|
+
cookie?: never;
|
|
14220
|
+
};
|
|
14221
|
+
/**
|
|
14222
|
+
* Hand-entered direct-wallet receipts as CSV.
|
|
14223
|
+
* @description **Staff only** (`seo.clients.manage`). Direct-wallet receipts are recorded in the desk and analytics only and are NEVER posted to Xero or the OSS/VAT feeds.
|
|
14224
|
+
*/
|
|
14225
|
+
get: operations["downloadSeoClientWalletReceipts"];
|
|
14226
|
+
put?: never;
|
|
14227
|
+
post?: never;
|
|
14228
|
+
delete?: never;
|
|
14229
|
+
options?: never;
|
|
14230
|
+
head?: never;
|
|
14231
|
+
patch?: never;
|
|
14232
|
+
trace?: never;
|
|
14233
|
+
};
|
|
14234
|
+
"/v1/admin/seo-clients/reports/{reportId}/deliveries": {
|
|
14235
|
+
parameters: {
|
|
14236
|
+
query?: never;
|
|
14237
|
+
header?: never;
|
|
14238
|
+
path: {
|
|
14239
|
+
reportId: components["parameters"]["SeoClientReportId"];
|
|
14240
|
+
};
|
|
14241
|
+
cookie?: never;
|
|
14242
|
+
};
|
|
14243
|
+
get?: never;
|
|
14244
|
+
put?: never;
|
|
14245
|
+
/**
|
|
14246
|
+
* Record that staff sent a report, and how. Sends nothing.
|
|
14247
|
+
* @description **Staff only** (`seo.clients.manage`). A report is only ever sent by the owner's own click; this records the channel he used.
|
|
14248
|
+
*/
|
|
14249
|
+
post: operations["recordSeoClientReportDelivery"];
|
|
14250
|
+
delete?: never;
|
|
14251
|
+
options?: never;
|
|
14252
|
+
head?: never;
|
|
14253
|
+
patch?: never;
|
|
14254
|
+
trace?: never;
|
|
14255
|
+
};
|
|
14256
|
+
"/v1/admin/seo-clients/reports/{reportId}/pdf": {
|
|
14257
|
+
parameters: {
|
|
14258
|
+
query?: never;
|
|
14259
|
+
header?: never;
|
|
14260
|
+
path: {
|
|
14261
|
+
reportId: components["parameters"]["SeoClientReportId"];
|
|
14262
|
+
};
|
|
14263
|
+
cookie?: never;
|
|
14264
|
+
};
|
|
14265
|
+
/**
|
|
14266
|
+
* One monthly report as a PDF.
|
|
14267
|
+
* @description **Staff only** (`seo.clients.manage`). Downloading never sends: the owner sends a report himself and records it with `recordSeoClientReportDelivery`.
|
|
14268
|
+
*/
|
|
14269
|
+
get: operations["downloadSeoClientReportPdf"];
|
|
14270
|
+
put?: never;
|
|
14271
|
+
post?: never;
|
|
14272
|
+
delete?: never;
|
|
14273
|
+
options?: never;
|
|
14274
|
+
head?: never;
|
|
14275
|
+
patch?: never;
|
|
14276
|
+
trace?: never;
|
|
14277
|
+
};
|
|
14278
|
+
"/v1/admin/seo-clients/settings": {
|
|
14279
|
+
parameters: {
|
|
14280
|
+
query?: never;
|
|
14281
|
+
header?: never;
|
|
14282
|
+
path?: never;
|
|
14283
|
+
cookie?: never;
|
|
14284
|
+
};
|
|
14285
|
+
/**
|
|
14286
|
+
* The desk's saved receiving wallets, one per coin/network.
|
|
14287
|
+
* @description **Staff only** (`seo.clients.manage`). The addresses the desk shows a client for a direct-wallet payment.
|
|
14288
|
+
*/
|
|
14289
|
+
get: operations["getSeoClientDeskSettings"];
|
|
14290
|
+
/**
|
|
14291
|
+
* Replace the desk's saved receiving wallets.
|
|
14292
|
+
* @description **Staff only** (`seo.clients.manage`). Audit-logged as `seo_client.wallets_saved`.
|
|
14293
|
+
*/
|
|
14294
|
+
put: operations["updateSeoClientDeskSettings"];
|
|
14295
|
+
post?: never;
|
|
14296
|
+
delete?: never;
|
|
14297
|
+
options?: never;
|
|
14298
|
+
head?: never;
|
|
14299
|
+
patch?: never;
|
|
14300
|
+
trace?: never;
|
|
14301
|
+
};
|
|
14302
|
+
"/v1/admin/seo-clients/tasks/{taskId}/done": {
|
|
14303
|
+
parameters: {
|
|
14304
|
+
query?: never;
|
|
14305
|
+
header?: never;
|
|
14306
|
+
path: {
|
|
14307
|
+
taskId: string;
|
|
14308
|
+
};
|
|
14309
|
+
cookie?: never;
|
|
14310
|
+
};
|
|
14311
|
+
get?: never;
|
|
14312
|
+
put?: never;
|
|
14313
|
+
/**
|
|
14314
|
+
* Tick off one desk reminder.
|
|
14315
|
+
* @description **Staff only** (`seo.clients.manage`). Reminders are made by the hourly sweep (3 days after the due date, then every 7) and exist once each. Audit-logged as `seo_client.task_done`.
|
|
14316
|
+
*/
|
|
14317
|
+
post: operations["completeSeoClientTask"];
|
|
14318
|
+
delete?: never;
|
|
14319
|
+
options?: never;
|
|
14320
|
+
head?: never;
|
|
14321
|
+
patch?: never;
|
|
14322
|
+
trace?: never;
|
|
14323
|
+
};
|
|
14013
14324
|
"/v1/admin/seo-connections": {
|
|
14014
14325
|
parameters: {
|
|
14015
14326
|
query?: never;
|
|
@@ -29146,7 +29457,9 @@ export interface paths {
|
|
|
29146
29457
|
post?: never;
|
|
29147
29458
|
/**
|
|
29148
29459
|
* Cancel an order inside the authority's refund window.
|
|
29149
|
-
* @description ⛔⛔ Answers `503` and leaves the order **unchanged** if the authority cannot be reached. Reporting a cancellation we did not achieve would remove the order from every screen while the charge stands.
|
|
29460
|
+
* @description ⛔⛔ Answers `503` and leaves the order **unchanged** if the authority cannot be reached. Reporting a cancellation we did not achieve would remove the order from every screen while the charge stands.
|
|
29461
|
+
*
|
|
29462
|
+
* ⛔⛔ **A paid order is never cancelled here.** An order whose checkout order is paid, whose purchase has been claimed, or which is `held` for staff answers `409` with `refusal.certificates.cancelPaid` and changes nothing (refunds are Zinn® credit, by staff). An unpaid order cancels its unpaid checkout order too; while a payment for it is still confirming the answer is `409` with `refusal.commerce.orderPaymentConfirmingCancel`. Requires `billing.payment.manage`.
|
|
29150
29463
|
*/
|
|
29151
29464
|
delete: operations["cancelCertificateOrder"];
|
|
29152
29465
|
options?: never;
|
|
@@ -29222,7 +29535,11 @@ export interface paths {
|
|
|
29222
29535
|
*
|
|
29223
29536
|
* ⛔⛔ **The CSR is required and is checked three times** — here, in the service and in the driver. That is not belt-and-braces: the authority accepts an order **without** one, charges for it, and issues nothing. Two such orders were created against our own account on 2026-08-29 by a probe reading validation errors, and the giveaway is how unlike a purchase they look — no common name, no issue date (`docs/272` §9).
|
|
29224
29537
|
*
|
|
29225
|
-
* ⭐ A customer-generated CSR is the better path and the one to encourage: the private key then never leaves their machine. Answers `503` when the authority could not be reached — in which case the order is recorded and reconciled rather than lost.
|
|
29538
|
+
* ⭐ A customer-generated CSR is the better path and the one to encourage: the private key then never leaves their machine. Answers `503` when the authority could not be reached — in which case the order is recorded and reconciled rather than lost.
|
|
29539
|
+
*
|
|
29540
|
+
* ⛔⛔ **Paid first (F22).** Answers `422` with `refusal.certificates.payFirst` until the order in `payment_order` is paid (captured or settled; a zero-total order counts). ⛔⛔ **Never buys twice.** The order is claimed before the authority is asked and the claim is never released, so a re-submit after an unconfirmed attempt (a timeout, a double click) answers `503` and asks the authority nothing.
|
|
29541
|
+
*
|
|
29542
|
+
* ⛔⛔ **A paid order that cannot be bought is HELD, never failed, cancelled or refunded.** A supplier error after the claim (a timeout, a refusal, an unknown product), or an account no longer in good standing, moves the order to `held`, raises ONE staff alert and asks the authority nothing more; staff settle it with `releaseAdminCertificateOrder`. Requires `billing.payment.manage`.
|
|
29226
29543
|
*/
|
|
29227
29544
|
post: operations["submitCertificateOrder"];
|
|
29228
29545
|
delete?: never;
|
|
@@ -64017,7 +64334,7 @@ export interface components {
|
|
|
64017
64334
|
price_minor: number;
|
|
64018
64335
|
product_code: string;
|
|
64019
64336
|
/** @enum {string} */
|
|
64020
|
-
state: "pending" | "awaiting_validation" | "issued" | "cancelled" | "failed" | "expired";
|
|
64337
|
+
state: "pending" | "awaiting_validation" | "held" | "issued" | "cancelled" | "failed" | "expired";
|
|
64021
64338
|
};
|
|
64022
64339
|
/** @description Unpaginated. Same `scanned` caveat as `AdminPanelLicenceList`. */
|
|
64023
64340
|
AdminCertificateOrderList: {
|
|
@@ -64029,6 +64346,8 @@ export interface components {
|
|
|
64029
64346
|
awaiting_validation: number;
|
|
64030
64347
|
expired: number;
|
|
64031
64348
|
failed: number;
|
|
64349
|
+
/** @description ⛔⛔ **Paid and held for staff**: the authority did not confirm the purchase, or the account lapsed before it. One staff alert each; release with `releaseAdminCertificateOrder`. */
|
|
64350
|
+
held: number;
|
|
64032
64351
|
issued: number;
|
|
64033
64352
|
/** @description ⛔⛔ Rows the query actually returned. Read this before the counts below. */
|
|
64034
64353
|
scanned: number;
|
|
@@ -64162,13 +64481,41 @@ export interface components {
|
|
|
64162
64481
|
comp_reason?: string | null;
|
|
64163
64482
|
deploy_target: string;
|
|
64164
64483
|
id: components["schemas"]["Uuid"];
|
|
64484
|
+
/**
|
|
64485
|
+
* @description P3-023 — how the machine is run, chosen at order (`engine.compute.panel_enrol`).
|
|
64486
|
+
* @enum {string}
|
|
64487
|
+
*/
|
|
64488
|
+
management?: "panel" | "bare";
|
|
64489
|
+
/** @description P3-023 — the last panel set-up error (blank unless `failed`). */
|
|
64490
|
+
management_message?: string;
|
|
64165
64491
|
/**
|
|
64166
64492
|
* @description SERVERCARE-r1: who looks after this machine (`engine.compute.care`). `zinn_managed_paused` = care add-on held while the account is not in good standing (§2.46). SERVERWATCH: `zinn_watch` / `zinn_watch_paused` = Server Watch held, paid / not in good standing.
|
|
64167
64493
|
* @enum {string}
|
|
64168
64494
|
*/
|
|
64169
64495
|
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
64496
|
+
/**
|
|
64497
|
+
* @description P3-023 — the panel set-up's state; `""` on a bare server.
|
|
64498
|
+
* @enum {string}
|
|
64499
|
+
*/
|
|
64500
|
+
management_state?: "" | "enrolling" | "managed" | "failed";
|
|
64170
64501
|
name: string;
|
|
64171
64502
|
org_id: components["schemas"]["Uuid"];
|
|
64503
|
+
/** @description P3-023 — the fleet box a panel server became (list only; null on a bare server or before the set-up made its box). Read in one query per page. */
|
|
64504
|
+
panel_box?: {
|
|
64505
|
+
accepts_deploys?: boolean;
|
|
64506
|
+
capacity?: number;
|
|
64507
|
+
hostname?: string;
|
|
64508
|
+
/** @description What the last converge did: ok, failed or a short reason. */
|
|
64509
|
+
last_converge_note?: string;
|
|
64510
|
+
/** Format: date-time */
|
|
64511
|
+
last_converged_at?: string | null;
|
|
64512
|
+
/** Format: date-time */
|
|
64513
|
+
last_heartbeat_at?: string | null;
|
|
64514
|
+
placed_sites?: number;
|
|
64515
|
+
/** @description The box's web server (e.g. openlitespeed, litespeed). */
|
|
64516
|
+
stack?: string;
|
|
64517
|
+
status?: string;
|
|
64518
|
+
} | null;
|
|
64172
64519
|
plan_code: string;
|
|
64173
64520
|
power_state: string;
|
|
64174
64521
|
/** @description Our provider id for the machine, as stored on the row. List only. With `vendor_server_id` it names the machine at the supplier — the brand does not: "Zinn® Cloud" and "Zinn® Private Cloud" are two suppliers. */
|
|
@@ -81908,6 +82255,8 @@ export interface components {
|
|
|
81908
82255
|
message: string;
|
|
81909
82256
|
/** Format: date-time */
|
|
81910
82257
|
ordered_at: string | null;
|
|
82258
|
+
/** @description The order this certificate is paid through (F22). Ordering or renewing a certificate creates it, taxed, in `pending_payment` (a zero-total order is created `paid`); a client pays it through the shared payment dialog by `id`. ⛔⛔ The signing-request submit, which buys the certificate from the authority, is refused with `refusal.certificates.payFirst` until this order is paid (captured or settled, never merely authorised). `null` on an order made before certificates were paid through checkout; such an order is refused at submit too. */
|
|
82259
|
+
payment_order: components["schemas"]["CertificatePaymentOrder"] | null;
|
|
81911
82260
|
period_years: number;
|
|
81912
82261
|
/**
|
|
81913
82262
|
* Format: int64
|
|
@@ -81930,10 +82279,25 @@ export interface components {
|
|
|
81930
82279
|
* @description ⛔⛔ **`awaiting_validation` means PAID AND NOT ISSUED.** The authority charges at order time and then waits for the customer to prove they control the domain. It is deliberately not folded into `pending`, which would read as "we are working on it" — an order in this state resolves only when a **human acts**, so a client must surface it and show `validation_instructions` rather than spin on it.
|
|
81931
82280
|
* @enum {string}
|
|
81932
82281
|
*/
|
|
81933
|
-
state: "pending" | "awaiting_validation" | "issued" | "cancelled" | "failed" | "expired";
|
|
82282
|
+
state: "pending" | "awaiting_validation" | "held" | "issued" | "cancelled" | "failed" | "expired";
|
|
81934
82283
|
/** @description What the customer must still do, in the authority's own words. ⭐ Carried as text rather than parsed: every authority words it differently, and a half-parsed instruction is worse than none. */
|
|
81935
82284
|
validation_instructions: string;
|
|
81936
82285
|
};
|
|
82286
|
+
/** @description The commerce order a certificate is paid through. */
|
|
82287
|
+
CertificatePaymentOrder: {
|
|
82288
|
+
/** @description ISO 4217 code. */
|
|
82289
|
+
currency: string;
|
|
82290
|
+
/** @description The order reference the customer sees on the payment dialog and invoice. */
|
|
82291
|
+
human_ref: string;
|
|
82292
|
+
id: components["schemas"]["Uuid"];
|
|
82293
|
+
/** @description The order status. `pending_payment` and `payment_failed` are still payable; `paid`, `fulfilling`, `completed` and `partially_fulfilled` mean the certificate is paid for and its signing request may be sent; any other status (a cancelled or refunded order) is neither. */
|
|
82294
|
+
status: string;
|
|
82295
|
+
/**
|
|
82296
|
+
* Format: int64
|
|
82297
|
+
* @description Total including tax, in the currency's minor units.
|
|
82298
|
+
*/
|
|
82299
|
+
total_minor: number;
|
|
82300
|
+
};
|
|
81937
82301
|
/** @description One certificate a customer can buy. ⛔ **There is deliberately no cost field** — what the authority charges us lives on the catalogue row for the admin margin ledger, and rendered beside the sell price it is a margin leak. */
|
|
81938
82302
|
CertificateProduct: {
|
|
81939
82303
|
/** @description The certificate authority — `Sectigo`. */
|
|
@@ -85588,6 +85952,11 @@ export interface components {
|
|
|
85588
85952
|
currency: string;
|
|
85589
85953
|
/** @description Additional names. ⛔ Capped by the product's `included_domains` — what the **price** covers — not by what the authority would technically allow, because it bills names beyond the included count separately. */
|
|
85590
85954
|
domains?: string[];
|
|
85955
|
+
/**
|
|
85956
|
+
* Format: uuid
|
|
85957
|
+
* @description The org that buys the certificate. Optional for a caller in one org (or an API key, which acts in its own org); a caller in several names it here or in the `X-Zinn-Org` header, otherwise the order is a `422` `refusal.agencyboard.orgIdRequired`. Naming an org where the caller does not hold `billing.payment.manage` is a `403`.
|
|
85958
|
+
*/
|
|
85959
|
+
org_id?: string;
|
|
85591
85960
|
/** @default 1 */
|
|
85592
85961
|
period_years: number;
|
|
85593
85962
|
product_code: string;
|
|
@@ -107072,6 +107441,185 @@ export interface components {
|
|
|
107072
107441
|
price: components["schemas"]["ZinnCdnPrice"];
|
|
107073
107442
|
zone: components["schemas"]["ZinnCdnZone"] | null;
|
|
107074
107443
|
};
|
|
107444
|
+
SeoClientDeliveryInput: {
|
|
107445
|
+
/** @enum {string} */
|
|
107446
|
+
channel: "email" | "telegram" | "other";
|
|
107447
|
+
note?: string;
|
|
107448
|
+
};
|
|
107449
|
+
SeoClientDeskSettings: {
|
|
107450
|
+
/** @description Keyword-type bands over 0-100, derived from the one engine function. */
|
|
107451
|
+
readonly difficulty_bands?: {
|
|
107452
|
+
from: number;
|
|
107453
|
+
to: number;
|
|
107454
|
+
/** @enum {string} */
|
|
107455
|
+
type: "easy" | "medium" | "hard";
|
|
107456
|
+
}[];
|
|
107457
|
+
/** @description {coin/network: receiving address} */
|
|
107458
|
+
wallets: {
|
|
107459
|
+
[key: string]: string;
|
|
107460
|
+
};
|
|
107461
|
+
};
|
|
107462
|
+
SeoClientDetail: components["schemas"]["SeoClientSummary"] & {
|
|
107463
|
+
baseline: {
|
|
107464
|
+
[key: string]: unknown;
|
|
107465
|
+
};
|
|
107466
|
+
/** @enum {string} */
|
|
107467
|
+
contact_method?: "email" | "telegram" | "";
|
|
107468
|
+
email?: string;
|
|
107469
|
+
keyword_allowance?: number | null;
|
|
107470
|
+
keyword_types: {
|
|
107471
|
+
[key: string]: number;
|
|
107472
|
+
};
|
|
107473
|
+
keywords: components["schemas"]["SeoClientKeyword"][];
|
|
107474
|
+
locale?: string;
|
|
107475
|
+
/** Format: date-time */
|
|
107476
|
+
onboarding_completed_at?: string | null;
|
|
107477
|
+
/** Format: date-time */
|
|
107478
|
+
paused_at?: string | null;
|
|
107479
|
+
periods: components["schemas"]["SeoClientPeriod"][];
|
|
107480
|
+
reports: components["schemas"]["SeoClientReportRow"][];
|
|
107481
|
+
/** @enum {string} */
|
|
107482
|
+
search_console?: "not_given" | "granted" | "declined" | "";
|
|
107483
|
+
tasks: {
|
|
107484
|
+
/** Format: date */
|
|
107485
|
+
due_on: string;
|
|
107486
|
+
/** Format: uuid */
|
|
107487
|
+
id: string;
|
|
107488
|
+
key: string;
|
|
107489
|
+
kind: string;
|
|
107490
|
+
}[];
|
|
107491
|
+
telegram_username?: string;
|
|
107492
|
+
vat_number?: string;
|
|
107493
|
+
vat_status?: string;
|
|
107494
|
+
wallet_network?: string;
|
|
107495
|
+
};
|
|
107496
|
+
/** @description One keyword with its target URL and staff-entered difficulty score/type. */
|
|
107497
|
+
SeoClientKeyword: {
|
|
107498
|
+
became_harder?: boolean;
|
|
107499
|
+
difficulty?: number | null;
|
|
107500
|
+
/** Format: date */
|
|
107501
|
+
difficulty_on?: string;
|
|
107502
|
+
/** @enum {string} */
|
|
107503
|
+
difficulty_type?: "easy" | "medium" | "hard" | "";
|
|
107504
|
+
language?: string;
|
|
107505
|
+
location?: string;
|
|
107506
|
+
phrase: string;
|
|
107507
|
+
target_page?: string;
|
|
107508
|
+
};
|
|
107509
|
+
SeoClientList: {
|
|
107510
|
+
results: components["schemas"]["SeoClientSummary"][];
|
|
107511
|
+
};
|
|
107512
|
+
SeoClientOrderInput: {
|
|
107513
|
+
allowance_override?: boolean;
|
|
107514
|
+
country?: string;
|
|
107515
|
+
currency: string;
|
|
107516
|
+
email?: string;
|
|
107517
|
+
/** @description Monthly fee in minor units: a JSON integer above 0, never a string or a fraction. */
|
|
107518
|
+
fee_minor: number;
|
|
107519
|
+
keyword_allowance?: number | null;
|
|
107520
|
+
keywords?: components["schemas"]["SeoClientKeyword"][];
|
|
107521
|
+
locale?: string;
|
|
107522
|
+
name: string;
|
|
107523
|
+
/** @enum {string} */
|
|
107524
|
+
payment_method: "manual" | "card" | "paypal" | "wallet_address" | "nowpayments" | "other";
|
|
107525
|
+
search_engines?: string[];
|
|
107526
|
+
/**
|
|
107527
|
+
* Format: date
|
|
107528
|
+
* @description Month 1's due date.
|
|
107529
|
+
*/
|
|
107530
|
+
start_date: string;
|
|
107531
|
+
telegram_username?: string;
|
|
107532
|
+
vat_number?: string;
|
|
107533
|
+
wallet_network?: string;
|
|
107534
|
+
website: string;
|
|
107535
|
+
};
|
|
107536
|
+
SeoClientPauseInput: {
|
|
107537
|
+
/** @enum {string} */
|
|
107538
|
+
action: "pause" | "resume";
|
|
107539
|
+
reason?: string;
|
|
107540
|
+
};
|
|
107541
|
+
SeoClientPeriod: {
|
|
107542
|
+
amount_minor: number;
|
|
107543
|
+
currency: string;
|
|
107544
|
+
/** Format: date */
|
|
107545
|
+
due_on: string;
|
|
107546
|
+
entered_by_hand?: boolean;
|
|
107547
|
+
marked_by?: string;
|
|
107548
|
+
month_no: number;
|
|
107549
|
+
overdue: boolean;
|
|
107550
|
+
paid_amount_minor?: number | null;
|
|
107551
|
+
paid_method?: string;
|
|
107552
|
+
/** Format: date */
|
|
107553
|
+
paid_on?: string | null;
|
|
107554
|
+
/** @enum {string} */
|
|
107555
|
+
status: "unpaid" | "paid";
|
|
107556
|
+
};
|
|
107557
|
+
SeoClientPeriodInput: {
|
|
107558
|
+
/** @description What was received, in minor units. Omit for the month's amount. */
|
|
107559
|
+
amount_minor?: number | null;
|
|
107560
|
+
/**
|
|
107561
|
+
* @description Omit to use the client's payment method.
|
|
107562
|
+
* @enum {string}
|
|
107563
|
+
*/
|
|
107564
|
+
method?: "manual" | "card" | "paypal" | "wallet_address" | "nowpayments" | "other";
|
|
107565
|
+
network?: string;
|
|
107566
|
+
note?: string;
|
|
107567
|
+
paid: boolean;
|
|
107568
|
+
/** Format: date */
|
|
107569
|
+
paid_on?: string | null;
|
|
107570
|
+
tx_reference?: string;
|
|
107571
|
+
};
|
|
107572
|
+
SeoClientReportRow: {
|
|
107573
|
+
/** Format: date-time */
|
|
107574
|
+
built_at?: string | null;
|
|
107575
|
+
deliveries: {
|
|
107576
|
+
/** @enum {string} */
|
|
107577
|
+
channel?: "email" | "telegram" | "other";
|
|
107578
|
+
/** Format: date-time */
|
|
107579
|
+
delivered_at?: string;
|
|
107580
|
+
delivered_by?: string;
|
|
107581
|
+
}[];
|
|
107582
|
+
error?: string;
|
|
107583
|
+
/** Format: uuid */
|
|
107584
|
+
id: string;
|
|
107585
|
+
month_no: number;
|
|
107586
|
+
/** @enum {string} */
|
|
107587
|
+
status: "building" | "ready" | "failed";
|
|
107588
|
+
};
|
|
107589
|
+
SeoClientSummary: {
|
|
107590
|
+
/** Format: date-time */
|
|
107591
|
+
baseline_taken_at?: string | null;
|
|
107592
|
+
country?: string;
|
|
107593
|
+
/** Format: date-time */
|
|
107594
|
+
created_at?: string;
|
|
107595
|
+
currency: string;
|
|
107596
|
+
/** @description Monthly fee in minor units. */
|
|
107597
|
+
fee_minor: number;
|
|
107598
|
+
/** Format: uuid */
|
|
107599
|
+
id: string;
|
|
107600
|
+
keyword_count: number;
|
|
107601
|
+
name: string;
|
|
107602
|
+
/** @enum {string} */
|
|
107603
|
+
payment_method?: "manual" | "card" | "paypal" | "wallet_address" | "nowpayments" | "other";
|
|
107604
|
+
/** Format: date */
|
|
107605
|
+
start_date: string;
|
|
107606
|
+
/** @enum {string} */
|
|
107607
|
+
state: "active" | "paused";
|
|
107608
|
+
website: string;
|
|
107609
|
+
};
|
|
107610
|
+
SeoClientWalletReceipt: {
|
|
107611
|
+
amount_minor?: number | null;
|
|
107612
|
+
client: string;
|
|
107613
|
+
currency: string;
|
|
107614
|
+
/** Format: uuid */
|
|
107615
|
+
engagement_id: string;
|
|
107616
|
+
flag?: string;
|
|
107617
|
+
marked_by?: string;
|
|
107618
|
+
month_no: number;
|
|
107619
|
+
network?: string;
|
|
107620
|
+
paid_on: string;
|
|
107621
|
+
tx_reference?: string;
|
|
107622
|
+
};
|
|
107075
107623
|
SeoConnectAnswer: {
|
|
107076
107624
|
/** Format: uuid */
|
|
107077
107625
|
org_id?: string;
|
|
@@ -123320,6 +123868,8 @@ export interface components {
|
|
|
123320
123868
|
RefundAdjustmentId: string;
|
|
123321
123869
|
/** @description The refund request's id. */
|
|
123322
123870
|
RefundRequestId: components["schemas"]["Uuid"];
|
|
123871
|
+
SeoClientEngagementId: string;
|
|
123872
|
+
SeoClientReportId: string;
|
|
123323
123873
|
/** @description The SEO data source. */
|
|
123324
123874
|
SeoDataSource: "ahrefs_free" | "ahrefs" | "majestic" | "moz" | "semrush" | "se_ranking" | "openpagerank" | "zinn_authority";
|
|
123325
123875
|
/** @description The credit tool (`listSeoProducts`). */
|
|
@@ -128976,6 +129526,44 @@ export interface operations {
|
|
|
128976
129526
|
429: components["responses"]["TooManyRequests"];
|
|
128977
129527
|
};
|
|
128978
129528
|
};
|
|
129529
|
+
releaseAdminCertificateOrder: {
|
|
129530
|
+
parameters: {
|
|
129531
|
+
query?: never;
|
|
129532
|
+
header?: never;
|
|
129533
|
+
path: {
|
|
129534
|
+
/** @description The order's id, as `listCertificateOrders` reports it. Ours (UUIDv7). */
|
|
129535
|
+
orderId: components["parameters"]["CertificateOrderId"];
|
|
129536
|
+
};
|
|
129537
|
+
cookie?: never;
|
|
129538
|
+
};
|
|
129539
|
+
requestBody: {
|
|
129540
|
+
content: {
|
|
129541
|
+
"application/json": {
|
|
129542
|
+
/** @enum {string} */
|
|
129543
|
+
outcome: "attach" | "reopen";
|
|
129544
|
+
/** @description The authority's order reference; required for `attach`. */
|
|
129545
|
+
vendor_ref?: string;
|
|
129546
|
+
};
|
|
129547
|
+
};
|
|
129548
|
+
};
|
|
129549
|
+
responses: {
|
|
129550
|
+
/** @description The released order. */
|
|
129551
|
+
200: {
|
|
129552
|
+
headers: {
|
|
129553
|
+
[name: string]: unknown;
|
|
129554
|
+
};
|
|
129555
|
+
content: {
|
|
129556
|
+
"application/json": components["schemas"]["AdminCertificateOrder"];
|
|
129557
|
+
};
|
|
129558
|
+
};
|
|
129559
|
+
401: components["responses"]["Unauthorized"];
|
|
129560
|
+
403: components["responses"]["Forbidden"];
|
|
129561
|
+
404: components["responses"]["NotFound"];
|
|
129562
|
+
409: components["responses"]["Conflict"];
|
|
129563
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
129564
|
+
429: components["responses"]["TooManyRequests"];
|
|
129565
|
+
};
|
|
129566
|
+
};
|
|
128979
129567
|
adminGetCiFleetHealth: {
|
|
128980
129568
|
parameters: {
|
|
128981
129569
|
query?: never;
|
|
@@ -129584,6 +130172,8 @@ export interface operations {
|
|
|
129584
130172
|
deploy_target?: string;
|
|
129585
130173
|
/** @description Maximum items to return (page size). */
|
|
129586
130174
|
limit?: components["parameters"]["Limit"];
|
|
130175
|
+
/** @description P3-023 (admin Unit H): `panel` returns the servers run with the Zinn® panel, `bare` the rest. Anything else is `422 refusal.acquisition.choice`. */
|
|
130176
|
+
management?: "panel" | "bare";
|
|
129587
130177
|
/** @description SERVERCARE-r1 — the care roster: `zinn_managed` and `zinn_managed_paused` both return machines holding the care add-on (the row's `management_mode` says which), and `self_managed` the rest. SERVERWATCH: `zinn_watch` and `zinn_watch_paused` return the machines holding Server Watch the same way. Anything else is `422 refusal.compute.unknownManagementMode`. */
|
|
129588
130178
|
management_mode?: "self_managed" | "zinn_managed" | "zinn_managed_paused" | "zinn_watch" | "zinn_watch_paused";
|
|
129589
130179
|
/** @description Narrow to one customer — the usual path in from an abuse report. */
|
|
@@ -129652,6 +130242,43 @@ export interface operations {
|
|
|
129652
130242
|
503: components["responses"]["ServiceUnavailable"];
|
|
129653
130243
|
};
|
|
129654
130244
|
};
|
|
130245
|
+
adminRetryComputeServerPanel: {
|
|
130246
|
+
parameters: {
|
|
130247
|
+
query?: never;
|
|
130248
|
+
header?: never;
|
|
130249
|
+
path: {
|
|
130250
|
+
/** @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. */
|
|
130251
|
+
serverId: components["parameters"]["ComputeServerId"];
|
|
130252
|
+
};
|
|
130253
|
+
cookie?: never;
|
|
130254
|
+
};
|
|
130255
|
+
requestBody: {
|
|
130256
|
+
content: {
|
|
130257
|
+
"application/json": {
|
|
130258
|
+
/** @description Why staff re-ran the set-up (stored in the audit row). */
|
|
130259
|
+
reason: string;
|
|
130260
|
+
};
|
|
130261
|
+
};
|
|
130262
|
+
};
|
|
130263
|
+
responses: {
|
|
130264
|
+
/** @description The server's admin row, now `enrolling`; the set-up runs in the background. */
|
|
130265
|
+
202: {
|
|
130266
|
+
headers: {
|
|
130267
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
130268
|
+
[name: string]: unknown;
|
|
130269
|
+
};
|
|
130270
|
+
content: {
|
|
130271
|
+
"application/json": components["schemas"]["AdminComputeServerEnvelope"];
|
|
130272
|
+
};
|
|
130273
|
+
};
|
|
130274
|
+
401: components["responses"]["Unauthorized"];
|
|
130275
|
+
403: components["responses"]["Forbidden"];
|
|
130276
|
+
404: components["responses"]["NotFound"];
|
|
130277
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
130278
|
+
429: components["responses"]["TooManyRequests"];
|
|
130279
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
130280
|
+
};
|
|
130281
|
+
};
|
|
129655
130282
|
suspendAdminComputeServer: {
|
|
129656
130283
|
parameters: {
|
|
129657
130284
|
query?: never;
|
|
@@ -145612,6 +146239,379 @@ export interface operations {
|
|
|
145612
146239
|
429: components["responses"]["TooManyRequests"];
|
|
145613
146240
|
};
|
|
145614
146241
|
};
|
|
146242
|
+
listSeoClients: {
|
|
146243
|
+
parameters: {
|
|
146244
|
+
query?: never;
|
|
146245
|
+
header?: never;
|
|
146246
|
+
path?: never;
|
|
146247
|
+
cookie?: never;
|
|
146248
|
+
};
|
|
146249
|
+
requestBody?: never;
|
|
146250
|
+
responses: {
|
|
146251
|
+
/** @description The desk's clients. */
|
|
146252
|
+
200: {
|
|
146253
|
+
headers: {
|
|
146254
|
+
[name: string]: unknown;
|
|
146255
|
+
};
|
|
146256
|
+
content: {
|
|
146257
|
+
"application/json": components["schemas"]["SeoClientList"];
|
|
146258
|
+
};
|
|
146259
|
+
};
|
|
146260
|
+
401: components["responses"]["Unauthorized"];
|
|
146261
|
+
403: components["responses"]["Forbidden"];
|
|
146262
|
+
};
|
|
146263
|
+
};
|
|
146264
|
+
createSeoClientOrder: {
|
|
146265
|
+
parameters: {
|
|
146266
|
+
query?: never;
|
|
146267
|
+
header?: never;
|
|
146268
|
+
path?: never;
|
|
146269
|
+
cookie?: never;
|
|
146270
|
+
};
|
|
146271
|
+
requestBody: {
|
|
146272
|
+
content: {
|
|
146273
|
+
"application/json": components["schemas"]["SeoClientOrderInput"];
|
|
146274
|
+
};
|
|
146275
|
+
};
|
|
146276
|
+
responses: {
|
|
146277
|
+
/** @description The new client. */
|
|
146278
|
+
201: {
|
|
146279
|
+
headers: {
|
|
146280
|
+
[name: string]: unknown;
|
|
146281
|
+
};
|
|
146282
|
+
content: {
|
|
146283
|
+
"application/json": components["schemas"]["SeoClientDetail"];
|
|
146284
|
+
};
|
|
146285
|
+
};
|
|
146286
|
+
401: components["responses"]["Unauthorized"];
|
|
146287
|
+
403: components["responses"]["Forbidden"];
|
|
146288
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146289
|
+
};
|
|
146290
|
+
};
|
|
146291
|
+
getSeoClient: {
|
|
146292
|
+
parameters: {
|
|
146293
|
+
query?: never;
|
|
146294
|
+
header?: never;
|
|
146295
|
+
path: {
|
|
146296
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
146297
|
+
};
|
|
146298
|
+
cookie?: never;
|
|
146299
|
+
};
|
|
146300
|
+
requestBody?: never;
|
|
146301
|
+
responses: {
|
|
146302
|
+
/** @description The client. */
|
|
146303
|
+
200: {
|
|
146304
|
+
headers: {
|
|
146305
|
+
[name: string]: unknown;
|
|
146306
|
+
};
|
|
146307
|
+
content: {
|
|
146308
|
+
"application/json": components["schemas"]["SeoClientDetail"];
|
|
146309
|
+
};
|
|
146310
|
+
};
|
|
146311
|
+
401: components["responses"]["Unauthorized"];
|
|
146312
|
+
403: components["responses"]["Forbidden"];
|
|
146313
|
+
404: components["responses"]["NotFound"];
|
|
146314
|
+
};
|
|
146315
|
+
};
|
|
146316
|
+
queueSeoClientBaseline: {
|
|
146317
|
+
parameters: {
|
|
146318
|
+
query?: never;
|
|
146319
|
+
header?: never;
|
|
146320
|
+
path: {
|
|
146321
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
146322
|
+
};
|
|
146323
|
+
cookie?: never;
|
|
146324
|
+
};
|
|
146325
|
+
requestBody?: never;
|
|
146326
|
+
responses: {
|
|
146327
|
+
/** @description Whether a baseline was queued. */
|
|
146328
|
+
202: {
|
|
146329
|
+
headers: {
|
|
146330
|
+
[name: string]: unknown;
|
|
146331
|
+
};
|
|
146332
|
+
content: {
|
|
146333
|
+
"application/json": {
|
|
146334
|
+
queued: boolean;
|
|
146335
|
+
};
|
|
146336
|
+
};
|
|
146337
|
+
};
|
|
146338
|
+
401: components["responses"]["Unauthorized"];
|
|
146339
|
+
403: components["responses"]["Forbidden"];
|
|
146340
|
+
404: components["responses"]["NotFound"];
|
|
146341
|
+
};
|
|
146342
|
+
};
|
|
146343
|
+
setSeoClientPause: {
|
|
146344
|
+
parameters: {
|
|
146345
|
+
query?: never;
|
|
146346
|
+
header?: never;
|
|
146347
|
+
path: {
|
|
146348
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
146349
|
+
};
|
|
146350
|
+
cookie?: never;
|
|
146351
|
+
};
|
|
146352
|
+
requestBody: {
|
|
146353
|
+
content: {
|
|
146354
|
+
"application/json": components["schemas"]["SeoClientPauseInput"];
|
|
146355
|
+
};
|
|
146356
|
+
};
|
|
146357
|
+
responses: {
|
|
146358
|
+
/** @description The client. */
|
|
146359
|
+
200: {
|
|
146360
|
+
headers: {
|
|
146361
|
+
[name: string]: unknown;
|
|
146362
|
+
};
|
|
146363
|
+
content: {
|
|
146364
|
+
"application/json": components["schemas"]["SeoClientDetail"];
|
|
146365
|
+
};
|
|
146366
|
+
};
|
|
146367
|
+
401: components["responses"]["Unauthorized"];
|
|
146368
|
+
403: components["responses"]["Forbidden"];
|
|
146369
|
+
404: components["responses"]["NotFound"];
|
|
146370
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146371
|
+
};
|
|
146372
|
+
};
|
|
146373
|
+
markSeoClientPeriod: {
|
|
146374
|
+
parameters: {
|
|
146375
|
+
query?: never;
|
|
146376
|
+
header?: never;
|
|
146377
|
+
path: {
|
|
146378
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
146379
|
+
monthNo: number;
|
|
146380
|
+
};
|
|
146381
|
+
cookie?: never;
|
|
146382
|
+
};
|
|
146383
|
+
requestBody: {
|
|
146384
|
+
content: {
|
|
146385
|
+
"application/json": components["schemas"]["SeoClientPeriodInput"];
|
|
146386
|
+
};
|
|
146387
|
+
};
|
|
146388
|
+
responses: {
|
|
146389
|
+
/** @description The client. */
|
|
146390
|
+
200: {
|
|
146391
|
+
headers: {
|
|
146392
|
+
[name: string]: unknown;
|
|
146393
|
+
};
|
|
146394
|
+
content: {
|
|
146395
|
+
"application/json": components["schemas"]["SeoClientDetail"];
|
|
146396
|
+
};
|
|
146397
|
+
};
|
|
146398
|
+
401: components["responses"]["Unauthorized"];
|
|
146399
|
+
403: components["responses"]["Forbidden"];
|
|
146400
|
+
404: components["responses"]["NotFound"];
|
|
146401
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146402
|
+
};
|
|
146403
|
+
};
|
|
146404
|
+
buildSeoClientReport: {
|
|
146405
|
+
parameters: {
|
|
146406
|
+
query?: never;
|
|
146407
|
+
header?: never;
|
|
146408
|
+
path: {
|
|
146409
|
+
engagementId: components["parameters"]["SeoClientEngagementId"];
|
|
146410
|
+
};
|
|
146411
|
+
cookie?: never;
|
|
146412
|
+
};
|
|
146413
|
+
requestBody?: {
|
|
146414
|
+
content: {
|
|
146415
|
+
"application/json": {
|
|
146416
|
+
month_no?: number;
|
|
146417
|
+
};
|
|
146418
|
+
};
|
|
146419
|
+
};
|
|
146420
|
+
responses: {
|
|
146421
|
+
/** @description The report being built. */
|
|
146422
|
+
202: {
|
|
146423
|
+
headers: {
|
|
146424
|
+
[name: string]: unknown;
|
|
146425
|
+
};
|
|
146426
|
+
content: {
|
|
146427
|
+
"application/json": {
|
|
146428
|
+
/** Format: uuid */
|
|
146429
|
+
id: string;
|
|
146430
|
+
/** @enum {string} */
|
|
146431
|
+
status: "building" | "ready" | "failed";
|
|
146432
|
+
};
|
|
146433
|
+
};
|
|
146434
|
+
};
|
|
146435
|
+
401: components["responses"]["Unauthorized"];
|
|
146436
|
+
403: components["responses"]["Forbidden"];
|
|
146437
|
+
404: components["responses"]["NotFound"];
|
|
146438
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146439
|
+
};
|
|
146440
|
+
};
|
|
146441
|
+
listSeoClientWalletReceipts: {
|
|
146442
|
+
parameters: {
|
|
146443
|
+
query?: never;
|
|
146444
|
+
header?: never;
|
|
146445
|
+
path?: never;
|
|
146446
|
+
cookie?: never;
|
|
146447
|
+
};
|
|
146448
|
+
requestBody?: never;
|
|
146449
|
+
responses: {
|
|
146450
|
+
/** @description The receipts. */
|
|
146451
|
+
200: {
|
|
146452
|
+
headers: {
|
|
146453
|
+
[name: string]: unknown;
|
|
146454
|
+
};
|
|
146455
|
+
content: {
|
|
146456
|
+
"application/json": {
|
|
146457
|
+
results: components["schemas"]["SeoClientWalletReceipt"][];
|
|
146458
|
+
};
|
|
146459
|
+
};
|
|
146460
|
+
};
|
|
146461
|
+
401: components["responses"]["Unauthorized"];
|
|
146462
|
+
403: components["responses"]["Forbidden"];
|
|
146463
|
+
};
|
|
146464
|
+
};
|
|
146465
|
+
downloadSeoClientWalletReceipts: {
|
|
146466
|
+
parameters: {
|
|
146467
|
+
query?: never;
|
|
146468
|
+
header?: never;
|
|
146469
|
+
path?: never;
|
|
146470
|
+
cookie?: never;
|
|
146471
|
+
};
|
|
146472
|
+
requestBody?: never;
|
|
146473
|
+
responses: {
|
|
146474
|
+
/** @description One row per receipt. */
|
|
146475
|
+
200: {
|
|
146476
|
+
headers: {
|
|
146477
|
+
[name: string]: unknown;
|
|
146478
|
+
};
|
|
146479
|
+
content: {
|
|
146480
|
+
"text/csv": string;
|
|
146481
|
+
};
|
|
146482
|
+
};
|
|
146483
|
+
401: components["responses"]["Unauthorized"];
|
|
146484
|
+
403: components["responses"]["Forbidden"];
|
|
146485
|
+
};
|
|
146486
|
+
};
|
|
146487
|
+
recordSeoClientReportDelivery: {
|
|
146488
|
+
parameters: {
|
|
146489
|
+
query?: never;
|
|
146490
|
+
header?: never;
|
|
146491
|
+
path: {
|
|
146492
|
+
reportId: components["parameters"]["SeoClientReportId"];
|
|
146493
|
+
};
|
|
146494
|
+
cookie?: never;
|
|
146495
|
+
};
|
|
146496
|
+
requestBody: {
|
|
146497
|
+
content: {
|
|
146498
|
+
"application/json": components["schemas"]["SeoClientDeliveryInput"];
|
|
146499
|
+
};
|
|
146500
|
+
};
|
|
146501
|
+
responses: {
|
|
146502
|
+
/** @description The client, with the delivery recorded. */
|
|
146503
|
+
200: {
|
|
146504
|
+
headers: {
|
|
146505
|
+
[name: string]: unknown;
|
|
146506
|
+
};
|
|
146507
|
+
content: {
|
|
146508
|
+
"application/json": components["schemas"]["SeoClientDetail"];
|
|
146509
|
+
};
|
|
146510
|
+
};
|
|
146511
|
+
401: components["responses"]["Unauthorized"];
|
|
146512
|
+
403: components["responses"]["Forbidden"];
|
|
146513
|
+
404: components["responses"]["NotFound"];
|
|
146514
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146515
|
+
};
|
|
146516
|
+
};
|
|
146517
|
+
downloadSeoClientReportPdf: {
|
|
146518
|
+
parameters: {
|
|
146519
|
+
query?: never;
|
|
146520
|
+
header?: never;
|
|
146521
|
+
path: {
|
|
146522
|
+
reportId: components["parameters"]["SeoClientReportId"];
|
|
146523
|
+
};
|
|
146524
|
+
cookie?: never;
|
|
146525
|
+
};
|
|
146526
|
+
requestBody?: never;
|
|
146527
|
+
responses: {
|
|
146528
|
+
/** @description The PDF. */
|
|
146529
|
+
200: {
|
|
146530
|
+
headers: {
|
|
146531
|
+
[name: string]: unknown;
|
|
146532
|
+
};
|
|
146533
|
+
content: {
|
|
146534
|
+
"application/pdf": string;
|
|
146535
|
+
};
|
|
146536
|
+
};
|
|
146537
|
+
401: components["responses"]["Unauthorized"];
|
|
146538
|
+
403: components["responses"]["Forbidden"];
|
|
146539
|
+
404: components["responses"]["NotFound"];
|
|
146540
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146541
|
+
};
|
|
146542
|
+
};
|
|
146543
|
+
getSeoClientDeskSettings: {
|
|
146544
|
+
parameters: {
|
|
146545
|
+
query?: never;
|
|
146546
|
+
header?: never;
|
|
146547
|
+
path?: never;
|
|
146548
|
+
cookie?: never;
|
|
146549
|
+
};
|
|
146550
|
+
requestBody?: never;
|
|
146551
|
+
responses: {
|
|
146552
|
+
/** @description The saved wallets. */
|
|
146553
|
+
200: {
|
|
146554
|
+
headers: {
|
|
146555
|
+
[name: string]: unknown;
|
|
146556
|
+
};
|
|
146557
|
+
content: {
|
|
146558
|
+
"application/json": components["schemas"]["SeoClientDeskSettings"];
|
|
146559
|
+
};
|
|
146560
|
+
};
|
|
146561
|
+
401: components["responses"]["Unauthorized"];
|
|
146562
|
+
403: components["responses"]["Forbidden"];
|
|
146563
|
+
};
|
|
146564
|
+
};
|
|
146565
|
+
updateSeoClientDeskSettings: {
|
|
146566
|
+
parameters: {
|
|
146567
|
+
query?: never;
|
|
146568
|
+
header?: never;
|
|
146569
|
+
path?: never;
|
|
146570
|
+
cookie?: never;
|
|
146571
|
+
};
|
|
146572
|
+
requestBody: {
|
|
146573
|
+
content: {
|
|
146574
|
+
"application/json": components["schemas"]["SeoClientDeskSettings"];
|
|
146575
|
+
};
|
|
146576
|
+
};
|
|
146577
|
+
responses: {
|
|
146578
|
+
/** @description The saved wallets. */
|
|
146579
|
+
200: {
|
|
146580
|
+
headers: {
|
|
146581
|
+
[name: string]: unknown;
|
|
146582
|
+
};
|
|
146583
|
+
content: {
|
|
146584
|
+
"application/json": components["schemas"]["SeoClientDeskSettings"];
|
|
146585
|
+
};
|
|
146586
|
+
};
|
|
146587
|
+
401: components["responses"]["Unauthorized"];
|
|
146588
|
+
403: components["responses"]["Forbidden"];
|
|
146589
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
146590
|
+
};
|
|
146591
|
+
};
|
|
146592
|
+
completeSeoClientTask: {
|
|
146593
|
+
parameters: {
|
|
146594
|
+
query?: never;
|
|
146595
|
+
header?: never;
|
|
146596
|
+
path: {
|
|
146597
|
+
taskId: string;
|
|
146598
|
+
};
|
|
146599
|
+
cookie?: never;
|
|
146600
|
+
};
|
|
146601
|
+
requestBody?: never;
|
|
146602
|
+
responses: {
|
|
146603
|
+
/** @description Done. */
|
|
146604
|
+
204: {
|
|
146605
|
+
headers: {
|
|
146606
|
+
[name: string]: unknown;
|
|
146607
|
+
};
|
|
146608
|
+
content?: never;
|
|
146609
|
+
};
|
|
146610
|
+
401: components["responses"]["Unauthorized"];
|
|
146611
|
+
403: components["responses"]["Forbidden"];
|
|
146612
|
+
404: components["responses"]["NotFound"];
|
|
146613
|
+
};
|
|
146614
|
+
};
|
|
145615
146615
|
adminListSeoConnections: {
|
|
145616
146616
|
parameters: {
|
|
145617
146617
|
query?: {
|
|
@@ -172349,6 +173349,7 @@ export interface operations {
|
|
|
172349
173349
|
401: components["responses"]["Unauthorized"];
|
|
172350
173350
|
403: components["responses"]["Forbidden"];
|
|
172351
173351
|
404: components["responses"]["NotFound"];
|
|
173352
|
+
409: components["responses"]["Conflict"];
|
|
172352
173353
|
429: components["responses"]["TooManyRequests"];
|
|
172353
173354
|
503: components["responses"]["ServiceUnavailable"];
|
|
172354
173355
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1979",
|
|
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>",
|