@zinn-digital/sdk 0.1.1978 → 0.1.1980

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.
@@ -1586,6 +1586,26 @@ export interface paths {
1586
1586
  patch?: never;
1587
1587
  trace?: never;
1588
1588
  };
1589
+ "/v1/admin/activity": {
1590
+ parameters: {
1591
+ query?: never;
1592
+ header?: never;
1593
+ path?: never;
1594
+ cookie?: never;
1595
+ };
1596
+ /**
1597
+ * Activity — what customers are doing in the app, newest first, with counts per kind.
1598
+ * @description Owner 2026-11-22. Servers ordered/built/failed/deleted/resized/moved, panels enrolled or failed, sites added/deleted/moved to a server, migrations in (started/finished/failed), sign-ups, trials (started/converted/expired/cancelled), first payments, domains registered or transferred, plan changes and cancellations, bans and flags. Read from the event ledger, the audit trail and the import jobs; our own and test organisations are excluded. Each item carries the org id, plan, trial yes/no, product line and an admin link — ids only. The same reader feeds the hourly owner e-mail. Requires staff + `customer.view`.
1599
+ */
1600
+ get: operations["getAdminActivity"];
1601
+ put?: never;
1602
+ post?: never;
1603
+ delete?: never;
1604
+ options?: never;
1605
+ head?: never;
1606
+ patch?: never;
1607
+ trace?: never;
1608
+ };
1589
1609
  "/v1/admin/actors": {
1590
1610
  parameters: {
1591
1611
  query?: never;
@@ -14056,6 +14076,271 @@ export interface paths {
14056
14076
  patch?: never;
14057
14077
  trace?: never;
14058
14078
  };
14079
+ "/v1/admin/seo-clients": {
14080
+ parameters: {
14081
+ query?: never;
14082
+ header?: never;
14083
+ path?: never;
14084
+ cookie?: never;
14085
+ };
14086
+ /**
14087
+ * Every client of the staff SEO desk.
14088
+ * @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`).
14089
+ */
14090
+ get: operations["listSeoClients"];
14091
+ put?: never;
14092
+ /**
14093
+ * Take a manual order — the client, month 1's payment request and the baseline.
14094
+ * @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.
14095
+ */
14096
+ post: operations["createSeoClientOrder"];
14097
+ delete?: never;
14098
+ options?: never;
14099
+ head?: never;
14100
+ patch?: never;
14101
+ trace?: never;
14102
+ };
14103
+ "/v1/admin/seo-clients/{engagementId}": {
14104
+ parameters: {
14105
+ query?: never;
14106
+ header?: never;
14107
+ path: {
14108
+ engagementId: components["parameters"]["SeoClientEngagementId"];
14109
+ };
14110
+ cookie?: never;
14111
+ };
14112
+ /**
14113
+ * One client — months, reminders, pause state, baseline and reports.
14114
+ * @description **Staff only** (`seo.clients.manage`).
14115
+ */
14116
+ get: operations["getSeoClient"];
14117
+ put?: never;
14118
+ post?: never;
14119
+ delete?: never;
14120
+ options?: never;
14121
+ head?: never;
14122
+ patch?: never;
14123
+ trace?: never;
14124
+ };
14125
+ "/v1/admin/seo-clients/{engagementId}/baseline": {
14126
+ parameters: {
14127
+ query?: never;
14128
+ header?: never;
14129
+ path: {
14130
+ engagementId: components["parameters"]["SeoClientEngagementId"];
14131
+ };
14132
+ cookie?: never;
14133
+ };
14134
+ get?: never;
14135
+ put?: never;
14136
+ /**
14137
+ * Queue the one-off month-one baseline (no-op once taken).
14138
+ * @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`.
14139
+ */
14140
+ post: operations["queueSeoClientBaseline"];
14141
+ delete?: never;
14142
+ options?: never;
14143
+ head?: never;
14144
+ patch?: never;
14145
+ trace?: never;
14146
+ };
14147
+ "/v1/admin/seo-clients/{engagementId}/pause": {
14148
+ parameters: {
14149
+ query?: never;
14150
+ header?: never;
14151
+ path: {
14152
+ engagementId: components["parameters"]["SeoClientEngagementId"];
14153
+ };
14154
+ cookie?: never;
14155
+ };
14156
+ get?: never;
14157
+ put?: never;
14158
+ /**
14159
+ * Pause or resume a client by hand.
14160
+ * @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.
14161
+ */
14162
+ post: operations["setSeoClientPause"];
14163
+ delete?: never;
14164
+ options?: never;
14165
+ head?: never;
14166
+ patch?: never;
14167
+ trace?: never;
14168
+ };
14169
+ "/v1/admin/seo-clients/{engagementId}/periods/{monthNo}": {
14170
+ parameters: {
14171
+ query?: never;
14172
+ header?: never;
14173
+ path: {
14174
+ engagementId: components["parameters"]["SeoClientEngagementId"];
14175
+ monthNo: number;
14176
+ };
14177
+ cookie?: never;
14178
+ };
14179
+ get?: never;
14180
+ put?: never;
14181
+ /**
14182
+ * Mark one month paid or not paid, with what was received.
14183
+ * @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`.
14184
+ */
14185
+ post: operations["markSeoClientPeriod"];
14186
+ delete?: never;
14187
+ options?: never;
14188
+ head?: never;
14189
+ patch?: never;
14190
+ trace?: never;
14191
+ };
14192
+ "/v1/admin/seo-clients/{engagementId}/reports": {
14193
+ parameters: {
14194
+ query?: never;
14195
+ header?: never;
14196
+ path: {
14197
+ engagementId: components["parameters"]["SeoClientEngagementId"];
14198
+ };
14199
+ cookie?: never;
14200
+ };
14201
+ get?: never;
14202
+ put?: never;
14203
+ /**
14204
+ * Build a monthly report. Builds only; never sends.
14205
+ * @description **Staff only** (`seo.clients.manage`). A paused client gets no report. Sending is the owner's own click, recorded with `recordSeoClientReportDelivery`.
14206
+ */
14207
+ post: operations["buildSeoClientReport"];
14208
+ delete?: never;
14209
+ options?: never;
14210
+ head?: never;
14211
+ patch?: never;
14212
+ trace?: never;
14213
+ };
14214
+ "/v1/admin/seo-clients/receipts": {
14215
+ parameters: {
14216
+ query?: never;
14217
+ header?: never;
14218
+ path?: never;
14219
+ cookie?: never;
14220
+ };
14221
+ /**
14222
+ * Hand-entered direct-wallet receipts, oldest first.
14223
+ * @description **Staff only** (`seo.clients.manage`). Recorded in the desk and analytics only; NEVER posted to Xero or the OSS/VAT feeds.
14224
+ */
14225
+ get: operations["listSeoClientWalletReceipts"];
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/receipts.csv": {
14235
+ parameters: {
14236
+ query?: never;
14237
+ header?: never;
14238
+ path?: never;
14239
+ cookie?: never;
14240
+ };
14241
+ /**
14242
+ * Hand-entered direct-wallet receipts as CSV.
14243
+ * @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.
14244
+ */
14245
+ get: operations["downloadSeoClientWalletReceipts"];
14246
+ put?: never;
14247
+ post?: never;
14248
+ delete?: never;
14249
+ options?: never;
14250
+ head?: never;
14251
+ patch?: never;
14252
+ trace?: never;
14253
+ };
14254
+ "/v1/admin/seo-clients/reports/{reportId}/deliveries": {
14255
+ parameters: {
14256
+ query?: never;
14257
+ header?: never;
14258
+ path: {
14259
+ reportId: components["parameters"]["SeoClientReportId"];
14260
+ };
14261
+ cookie?: never;
14262
+ };
14263
+ get?: never;
14264
+ put?: never;
14265
+ /**
14266
+ * Record that staff sent a report, and how. Sends nothing.
14267
+ * @description **Staff only** (`seo.clients.manage`). A report is only ever sent by the owner's own click; this records the channel he used.
14268
+ */
14269
+ post: operations["recordSeoClientReportDelivery"];
14270
+ delete?: never;
14271
+ options?: never;
14272
+ head?: never;
14273
+ patch?: never;
14274
+ trace?: never;
14275
+ };
14276
+ "/v1/admin/seo-clients/reports/{reportId}/pdf": {
14277
+ parameters: {
14278
+ query?: never;
14279
+ header?: never;
14280
+ path: {
14281
+ reportId: components["parameters"]["SeoClientReportId"];
14282
+ };
14283
+ cookie?: never;
14284
+ };
14285
+ /**
14286
+ * One monthly report as a PDF.
14287
+ * @description **Staff only** (`seo.clients.manage`). Downloading never sends: the owner sends a report himself and records it with `recordSeoClientReportDelivery`.
14288
+ */
14289
+ get: operations["downloadSeoClientReportPdf"];
14290
+ put?: never;
14291
+ post?: never;
14292
+ delete?: never;
14293
+ options?: never;
14294
+ head?: never;
14295
+ patch?: never;
14296
+ trace?: never;
14297
+ };
14298
+ "/v1/admin/seo-clients/settings": {
14299
+ parameters: {
14300
+ query?: never;
14301
+ header?: never;
14302
+ path?: never;
14303
+ cookie?: never;
14304
+ };
14305
+ /**
14306
+ * The desk's saved receiving wallets, one per coin/network.
14307
+ * @description **Staff only** (`seo.clients.manage`). The addresses the desk shows a client for a direct-wallet payment.
14308
+ */
14309
+ get: operations["getSeoClientDeskSettings"];
14310
+ /**
14311
+ * Replace the desk's saved receiving wallets.
14312
+ * @description **Staff only** (`seo.clients.manage`). Audit-logged as `seo_client.wallets_saved`.
14313
+ */
14314
+ put: operations["updateSeoClientDeskSettings"];
14315
+ post?: never;
14316
+ delete?: never;
14317
+ options?: never;
14318
+ head?: never;
14319
+ patch?: never;
14320
+ trace?: never;
14321
+ };
14322
+ "/v1/admin/seo-clients/tasks/{taskId}/done": {
14323
+ parameters: {
14324
+ query?: never;
14325
+ header?: never;
14326
+ path: {
14327
+ taskId: string;
14328
+ };
14329
+ cookie?: never;
14330
+ };
14331
+ get?: never;
14332
+ put?: never;
14333
+ /**
14334
+ * Tick off one desk reminder.
14335
+ * @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`.
14336
+ */
14337
+ post: operations["completeSeoClientTask"];
14338
+ delete?: never;
14339
+ options?: never;
14340
+ head?: never;
14341
+ patch?: never;
14342
+ trace?: never;
14343
+ };
14059
14344
  "/v1/admin/seo-connections": {
14060
14345
  parameters: {
14061
14346
  query?: never;
@@ -63191,6 +63476,42 @@ export interface components {
63191
63476
  data: components["schemas"]["AdminAbuseMatch"][];
63192
63477
  page: components["schemas"]["PageMeta"];
63193
63478
  };
63479
+ AdminActivity: {
63480
+ counts: {
63481
+ count: number;
63482
+ group: string;
63483
+ kind: string;
63484
+ }[];
63485
+ /**
63486
+ * Format: date-time
63487
+ * @description Send back as `since` on the next poll.
63488
+ */
63489
+ cursor: string;
63490
+ groups: string[];
63491
+ items: components["schemas"]["AdminActivityItem"][];
63492
+ kinds: {
63493
+ group: string;
63494
+ kind: string;
63495
+ }[];
63496
+ poll_seconds: number;
63497
+ };
63498
+ AdminActivityItem: {
63499
+ admin_link: string;
63500
+ /** Format: date-time */
63501
+ at: string;
63502
+ group: string;
63503
+ id: string;
63504
+ kind: string;
63505
+ /** Format: uuid */
63506
+ org_id: string | null;
63507
+ plan: string;
63508
+ product_line: string;
63509
+ /** @description The subject's id, e.g. `server:<uuid>`. */
63510
+ ref: string;
63511
+ trial: boolean;
63512
+ /** @description Already alerted instantly (bans, flags, abuse). */
63513
+ urgent: boolean;
63514
+ };
63194
63515
  /** @description One accountable-actor reference, resolved. `kind` is the field that carries the distinction the screen needs and `label` alone cannot: `user`, `apikey` and `org` mean the reference resolved and `label` names it; `system` means the value was never an id (`workflow`, `system`) and `label` repeats it verbatim; `unknown` means it IS an id and no row matches it — a deleted colleague, a revoked key, an id from another environment. An unresolvable reference is returned as an `unknown` ROW and is never omitted, because a screen that renders nothing where an actor exists reads as "nobody did this". */
63195
63516
  AdminActor: {
63196
63517
  /** @enum {string} */
@@ -107176,6 +107497,185 @@ export interface components {
107176
107497
  price: components["schemas"]["ZinnCdnPrice"];
107177
107498
  zone: components["schemas"]["ZinnCdnZone"] | null;
107178
107499
  };
107500
+ SeoClientDeliveryInput: {
107501
+ /** @enum {string} */
107502
+ channel: "email" | "telegram" | "other";
107503
+ note?: string;
107504
+ };
107505
+ SeoClientDeskSettings: {
107506
+ /** @description Keyword-type bands over 0-100, derived from the one engine function. */
107507
+ readonly difficulty_bands?: {
107508
+ from: number;
107509
+ to: number;
107510
+ /** @enum {string} */
107511
+ type: "easy" | "medium" | "hard";
107512
+ }[];
107513
+ /** @description {coin/network: receiving address} */
107514
+ wallets: {
107515
+ [key: string]: string;
107516
+ };
107517
+ };
107518
+ SeoClientDetail: components["schemas"]["SeoClientSummary"] & {
107519
+ baseline: {
107520
+ [key: string]: unknown;
107521
+ };
107522
+ /** @enum {string} */
107523
+ contact_method?: "email" | "telegram" | "";
107524
+ email?: string;
107525
+ keyword_allowance?: number | null;
107526
+ keyword_types: {
107527
+ [key: string]: number;
107528
+ };
107529
+ keywords: components["schemas"]["SeoClientKeyword"][];
107530
+ locale?: string;
107531
+ /** Format: date-time */
107532
+ onboarding_completed_at?: string | null;
107533
+ /** Format: date-time */
107534
+ paused_at?: string | null;
107535
+ periods: components["schemas"]["SeoClientPeriod"][];
107536
+ reports: components["schemas"]["SeoClientReportRow"][];
107537
+ /** @enum {string} */
107538
+ search_console?: "not_given" | "granted" | "declined" | "";
107539
+ tasks: {
107540
+ /** Format: date */
107541
+ due_on: string;
107542
+ /** Format: uuid */
107543
+ id: string;
107544
+ key: string;
107545
+ kind: string;
107546
+ }[];
107547
+ telegram_username?: string;
107548
+ vat_number?: string;
107549
+ vat_status?: string;
107550
+ wallet_network?: string;
107551
+ };
107552
+ /** @description One keyword with its target URL and staff-entered difficulty score/type. */
107553
+ SeoClientKeyword: {
107554
+ became_harder?: boolean;
107555
+ difficulty?: number | null;
107556
+ /** Format: date */
107557
+ difficulty_on?: string;
107558
+ /** @enum {string} */
107559
+ difficulty_type?: "easy" | "medium" | "hard" | "";
107560
+ language?: string;
107561
+ location?: string;
107562
+ phrase: string;
107563
+ target_page?: string;
107564
+ };
107565
+ SeoClientList: {
107566
+ results: components["schemas"]["SeoClientSummary"][];
107567
+ };
107568
+ SeoClientOrderInput: {
107569
+ allowance_override?: boolean;
107570
+ country?: string;
107571
+ currency: string;
107572
+ email?: string;
107573
+ /** @description Monthly fee in minor units: a JSON integer above 0, never a string or a fraction. */
107574
+ fee_minor: number;
107575
+ keyword_allowance?: number | null;
107576
+ keywords?: components["schemas"]["SeoClientKeyword"][];
107577
+ locale?: string;
107578
+ name: string;
107579
+ /** @enum {string} */
107580
+ payment_method: "manual" | "card" | "paypal" | "wallet_address" | "nowpayments" | "other";
107581
+ search_engines?: string[];
107582
+ /**
107583
+ * Format: date
107584
+ * @description Month 1's due date.
107585
+ */
107586
+ start_date: string;
107587
+ telegram_username?: string;
107588
+ vat_number?: string;
107589
+ wallet_network?: string;
107590
+ website: string;
107591
+ };
107592
+ SeoClientPauseInput: {
107593
+ /** @enum {string} */
107594
+ action: "pause" | "resume";
107595
+ reason?: string;
107596
+ };
107597
+ SeoClientPeriod: {
107598
+ amount_minor: number;
107599
+ currency: string;
107600
+ /** Format: date */
107601
+ due_on: string;
107602
+ entered_by_hand?: boolean;
107603
+ marked_by?: string;
107604
+ month_no: number;
107605
+ overdue: boolean;
107606
+ paid_amount_minor?: number | null;
107607
+ paid_method?: string;
107608
+ /** Format: date */
107609
+ paid_on?: string | null;
107610
+ /** @enum {string} */
107611
+ status: "unpaid" | "paid";
107612
+ };
107613
+ SeoClientPeriodInput: {
107614
+ /** @description What was received, in minor units. Omit for the month's amount. */
107615
+ amount_minor?: number | null;
107616
+ /**
107617
+ * @description Omit to use the client's payment method.
107618
+ * @enum {string}
107619
+ */
107620
+ method?: "manual" | "card" | "paypal" | "wallet_address" | "nowpayments" | "other";
107621
+ network?: string;
107622
+ note?: string;
107623
+ paid: boolean;
107624
+ /** Format: date */
107625
+ paid_on?: string | null;
107626
+ tx_reference?: string;
107627
+ };
107628
+ SeoClientReportRow: {
107629
+ /** Format: date-time */
107630
+ built_at?: string | null;
107631
+ deliveries: {
107632
+ /** @enum {string} */
107633
+ channel?: "email" | "telegram" | "other";
107634
+ /** Format: date-time */
107635
+ delivered_at?: string;
107636
+ delivered_by?: string;
107637
+ }[];
107638
+ error?: string;
107639
+ /** Format: uuid */
107640
+ id: string;
107641
+ month_no: number;
107642
+ /** @enum {string} */
107643
+ status: "building" | "ready" | "failed";
107644
+ };
107645
+ SeoClientSummary: {
107646
+ /** Format: date-time */
107647
+ baseline_taken_at?: string | null;
107648
+ country?: string;
107649
+ /** Format: date-time */
107650
+ created_at?: string;
107651
+ currency: string;
107652
+ /** @description Monthly fee in minor units. */
107653
+ fee_minor: number;
107654
+ /** Format: uuid */
107655
+ id: string;
107656
+ keyword_count: number;
107657
+ name: string;
107658
+ /** @enum {string} */
107659
+ payment_method?: "manual" | "card" | "paypal" | "wallet_address" | "nowpayments" | "other";
107660
+ /** Format: date */
107661
+ start_date: string;
107662
+ /** @enum {string} */
107663
+ state: "active" | "paused";
107664
+ website: string;
107665
+ };
107666
+ SeoClientWalletReceipt: {
107667
+ amount_minor?: number | null;
107668
+ client: string;
107669
+ currency: string;
107670
+ /** Format: uuid */
107671
+ engagement_id: string;
107672
+ flag?: string;
107673
+ marked_by?: string;
107674
+ month_no: number;
107675
+ network?: string;
107676
+ paid_on: string;
107677
+ tx_reference?: string;
107678
+ };
107179
107679
  SeoConnectAnswer: {
107180
107680
  /** Format: uuid */
107181
107681
  org_id?: string;
@@ -123424,6 +123924,8 @@ export interface components {
123424
123924
  RefundAdjustmentId: string;
123425
123925
  /** @description The refund request's id. */
123426
123926
  RefundRequestId: components["schemas"]["Uuid"];
123927
+ SeoClientEngagementId: string;
123928
+ SeoClientReportId: string;
123427
123929
  /** @description The SEO data source. */
123428
123930
  SeoDataSource: "ahrefs_free" | "ahrefs" | "majestic" | "moz" | "semrush" | "se_ranking" | "openpagerank" | "zinn_authority";
123429
123931
  /** @description The credit tool (`listSeoProducts`). */
@@ -126079,6 +126581,40 @@ export interface operations {
126079
126581
  422: components["responses"]["UnprocessableEntity"];
126080
126582
  };
126081
126583
  };
126584
+ getAdminActivity: {
126585
+ parameters: {
126586
+ query?: {
126587
+ /** @description One of the response's `groups`. */
126588
+ group?: string;
126589
+ hours?: "1" | "24" | "168";
126590
+ /** @description One of the response's `kinds[].kind`. */
126591
+ kind?: string;
126592
+ org?: string;
126593
+ /** @description The previous response's cursor. */
126594
+ since?: string;
126595
+ };
126596
+ header?: never;
126597
+ path?: never;
126598
+ cookie?: never;
126599
+ };
126600
+ requestBody?: never;
126601
+ responses: {
126602
+ /** @description Counts and items. */
126603
+ 200: {
126604
+ headers: {
126605
+ [name: string]: unknown;
126606
+ };
126607
+ content: {
126608
+ "application/json": {
126609
+ data: components["schemas"]["AdminActivity"];
126610
+ };
126611
+ };
126612
+ };
126613
+ 401: components["responses"]["Unauthorized"];
126614
+ 403: components["responses"]["Forbidden"];
126615
+ 422: components["responses"]["UnprocessableEntity"];
126616
+ };
126617
+ };
126082
126618
  resolveAdminActors: {
126083
126619
  parameters: {
126084
126620
  query?: {
@@ -145793,6 +146329,379 @@ export interface operations {
145793
146329
  429: components["responses"]["TooManyRequests"];
145794
146330
  };
145795
146331
  };
146332
+ listSeoClients: {
146333
+ parameters: {
146334
+ query?: never;
146335
+ header?: never;
146336
+ path?: never;
146337
+ cookie?: never;
146338
+ };
146339
+ requestBody?: never;
146340
+ responses: {
146341
+ /** @description The desk's clients. */
146342
+ 200: {
146343
+ headers: {
146344
+ [name: string]: unknown;
146345
+ };
146346
+ content: {
146347
+ "application/json": components["schemas"]["SeoClientList"];
146348
+ };
146349
+ };
146350
+ 401: components["responses"]["Unauthorized"];
146351
+ 403: components["responses"]["Forbidden"];
146352
+ };
146353
+ };
146354
+ createSeoClientOrder: {
146355
+ parameters: {
146356
+ query?: never;
146357
+ header?: never;
146358
+ path?: never;
146359
+ cookie?: never;
146360
+ };
146361
+ requestBody: {
146362
+ content: {
146363
+ "application/json": components["schemas"]["SeoClientOrderInput"];
146364
+ };
146365
+ };
146366
+ responses: {
146367
+ /** @description The new client. */
146368
+ 201: {
146369
+ headers: {
146370
+ [name: string]: unknown;
146371
+ };
146372
+ content: {
146373
+ "application/json": components["schemas"]["SeoClientDetail"];
146374
+ };
146375
+ };
146376
+ 401: components["responses"]["Unauthorized"];
146377
+ 403: components["responses"]["Forbidden"];
146378
+ 422: components["responses"]["UnprocessableEntity"];
146379
+ };
146380
+ };
146381
+ getSeoClient: {
146382
+ parameters: {
146383
+ query?: never;
146384
+ header?: never;
146385
+ path: {
146386
+ engagementId: components["parameters"]["SeoClientEngagementId"];
146387
+ };
146388
+ cookie?: never;
146389
+ };
146390
+ requestBody?: never;
146391
+ responses: {
146392
+ /** @description The client. */
146393
+ 200: {
146394
+ headers: {
146395
+ [name: string]: unknown;
146396
+ };
146397
+ content: {
146398
+ "application/json": components["schemas"]["SeoClientDetail"];
146399
+ };
146400
+ };
146401
+ 401: components["responses"]["Unauthorized"];
146402
+ 403: components["responses"]["Forbidden"];
146403
+ 404: components["responses"]["NotFound"];
146404
+ };
146405
+ };
146406
+ queueSeoClientBaseline: {
146407
+ parameters: {
146408
+ query?: never;
146409
+ header?: never;
146410
+ path: {
146411
+ engagementId: components["parameters"]["SeoClientEngagementId"];
146412
+ };
146413
+ cookie?: never;
146414
+ };
146415
+ requestBody?: never;
146416
+ responses: {
146417
+ /** @description Whether a baseline was queued. */
146418
+ 202: {
146419
+ headers: {
146420
+ [name: string]: unknown;
146421
+ };
146422
+ content: {
146423
+ "application/json": {
146424
+ queued: boolean;
146425
+ };
146426
+ };
146427
+ };
146428
+ 401: components["responses"]["Unauthorized"];
146429
+ 403: components["responses"]["Forbidden"];
146430
+ 404: components["responses"]["NotFound"];
146431
+ };
146432
+ };
146433
+ setSeoClientPause: {
146434
+ parameters: {
146435
+ query?: never;
146436
+ header?: never;
146437
+ path: {
146438
+ engagementId: components["parameters"]["SeoClientEngagementId"];
146439
+ };
146440
+ cookie?: never;
146441
+ };
146442
+ requestBody: {
146443
+ content: {
146444
+ "application/json": components["schemas"]["SeoClientPauseInput"];
146445
+ };
146446
+ };
146447
+ responses: {
146448
+ /** @description The client. */
146449
+ 200: {
146450
+ headers: {
146451
+ [name: string]: unknown;
146452
+ };
146453
+ content: {
146454
+ "application/json": components["schemas"]["SeoClientDetail"];
146455
+ };
146456
+ };
146457
+ 401: components["responses"]["Unauthorized"];
146458
+ 403: components["responses"]["Forbidden"];
146459
+ 404: components["responses"]["NotFound"];
146460
+ 422: components["responses"]["UnprocessableEntity"];
146461
+ };
146462
+ };
146463
+ markSeoClientPeriod: {
146464
+ parameters: {
146465
+ query?: never;
146466
+ header?: never;
146467
+ path: {
146468
+ engagementId: components["parameters"]["SeoClientEngagementId"];
146469
+ monthNo: number;
146470
+ };
146471
+ cookie?: never;
146472
+ };
146473
+ requestBody: {
146474
+ content: {
146475
+ "application/json": components["schemas"]["SeoClientPeriodInput"];
146476
+ };
146477
+ };
146478
+ responses: {
146479
+ /** @description The client. */
146480
+ 200: {
146481
+ headers: {
146482
+ [name: string]: unknown;
146483
+ };
146484
+ content: {
146485
+ "application/json": components["schemas"]["SeoClientDetail"];
146486
+ };
146487
+ };
146488
+ 401: components["responses"]["Unauthorized"];
146489
+ 403: components["responses"]["Forbidden"];
146490
+ 404: components["responses"]["NotFound"];
146491
+ 422: components["responses"]["UnprocessableEntity"];
146492
+ };
146493
+ };
146494
+ buildSeoClientReport: {
146495
+ parameters: {
146496
+ query?: never;
146497
+ header?: never;
146498
+ path: {
146499
+ engagementId: components["parameters"]["SeoClientEngagementId"];
146500
+ };
146501
+ cookie?: never;
146502
+ };
146503
+ requestBody?: {
146504
+ content: {
146505
+ "application/json": {
146506
+ month_no?: number;
146507
+ };
146508
+ };
146509
+ };
146510
+ responses: {
146511
+ /** @description The report being built. */
146512
+ 202: {
146513
+ headers: {
146514
+ [name: string]: unknown;
146515
+ };
146516
+ content: {
146517
+ "application/json": {
146518
+ /** Format: uuid */
146519
+ id: string;
146520
+ /** @enum {string} */
146521
+ status: "building" | "ready" | "failed";
146522
+ };
146523
+ };
146524
+ };
146525
+ 401: components["responses"]["Unauthorized"];
146526
+ 403: components["responses"]["Forbidden"];
146527
+ 404: components["responses"]["NotFound"];
146528
+ 422: components["responses"]["UnprocessableEntity"];
146529
+ };
146530
+ };
146531
+ listSeoClientWalletReceipts: {
146532
+ parameters: {
146533
+ query?: never;
146534
+ header?: never;
146535
+ path?: never;
146536
+ cookie?: never;
146537
+ };
146538
+ requestBody?: never;
146539
+ responses: {
146540
+ /** @description The receipts. */
146541
+ 200: {
146542
+ headers: {
146543
+ [name: string]: unknown;
146544
+ };
146545
+ content: {
146546
+ "application/json": {
146547
+ results: components["schemas"]["SeoClientWalletReceipt"][];
146548
+ };
146549
+ };
146550
+ };
146551
+ 401: components["responses"]["Unauthorized"];
146552
+ 403: components["responses"]["Forbidden"];
146553
+ };
146554
+ };
146555
+ downloadSeoClientWalletReceipts: {
146556
+ parameters: {
146557
+ query?: never;
146558
+ header?: never;
146559
+ path?: never;
146560
+ cookie?: never;
146561
+ };
146562
+ requestBody?: never;
146563
+ responses: {
146564
+ /** @description One row per receipt. */
146565
+ 200: {
146566
+ headers: {
146567
+ [name: string]: unknown;
146568
+ };
146569
+ content: {
146570
+ "text/csv": string;
146571
+ };
146572
+ };
146573
+ 401: components["responses"]["Unauthorized"];
146574
+ 403: components["responses"]["Forbidden"];
146575
+ };
146576
+ };
146577
+ recordSeoClientReportDelivery: {
146578
+ parameters: {
146579
+ query?: never;
146580
+ header?: never;
146581
+ path: {
146582
+ reportId: components["parameters"]["SeoClientReportId"];
146583
+ };
146584
+ cookie?: never;
146585
+ };
146586
+ requestBody: {
146587
+ content: {
146588
+ "application/json": components["schemas"]["SeoClientDeliveryInput"];
146589
+ };
146590
+ };
146591
+ responses: {
146592
+ /** @description The client, with the delivery recorded. */
146593
+ 200: {
146594
+ headers: {
146595
+ [name: string]: unknown;
146596
+ };
146597
+ content: {
146598
+ "application/json": components["schemas"]["SeoClientDetail"];
146599
+ };
146600
+ };
146601
+ 401: components["responses"]["Unauthorized"];
146602
+ 403: components["responses"]["Forbidden"];
146603
+ 404: components["responses"]["NotFound"];
146604
+ 422: components["responses"]["UnprocessableEntity"];
146605
+ };
146606
+ };
146607
+ downloadSeoClientReportPdf: {
146608
+ parameters: {
146609
+ query?: never;
146610
+ header?: never;
146611
+ path: {
146612
+ reportId: components["parameters"]["SeoClientReportId"];
146613
+ };
146614
+ cookie?: never;
146615
+ };
146616
+ requestBody?: never;
146617
+ responses: {
146618
+ /** @description The PDF. */
146619
+ 200: {
146620
+ headers: {
146621
+ [name: string]: unknown;
146622
+ };
146623
+ content: {
146624
+ "application/pdf": string;
146625
+ };
146626
+ };
146627
+ 401: components["responses"]["Unauthorized"];
146628
+ 403: components["responses"]["Forbidden"];
146629
+ 404: components["responses"]["NotFound"];
146630
+ 422: components["responses"]["UnprocessableEntity"];
146631
+ };
146632
+ };
146633
+ getSeoClientDeskSettings: {
146634
+ parameters: {
146635
+ query?: never;
146636
+ header?: never;
146637
+ path?: never;
146638
+ cookie?: never;
146639
+ };
146640
+ requestBody?: never;
146641
+ responses: {
146642
+ /** @description The saved wallets. */
146643
+ 200: {
146644
+ headers: {
146645
+ [name: string]: unknown;
146646
+ };
146647
+ content: {
146648
+ "application/json": components["schemas"]["SeoClientDeskSettings"];
146649
+ };
146650
+ };
146651
+ 401: components["responses"]["Unauthorized"];
146652
+ 403: components["responses"]["Forbidden"];
146653
+ };
146654
+ };
146655
+ updateSeoClientDeskSettings: {
146656
+ parameters: {
146657
+ query?: never;
146658
+ header?: never;
146659
+ path?: never;
146660
+ cookie?: never;
146661
+ };
146662
+ requestBody: {
146663
+ content: {
146664
+ "application/json": components["schemas"]["SeoClientDeskSettings"];
146665
+ };
146666
+ };
146667
+ responses: {
146668
+ /** @description The saved wallets. */
146669
+ 200: {
146670
+ headers: {
146671
+ [name: string]: unknown;
146672
+ };
146673
+ content: {
146674
+ "application/json": components["schemas"]["SeoClientDeskSettings"];
146675
+ };
146676
+ };
146677
+ 401: components["responses"]["Unauthorized"];
146678
+ 403: components["responses"]["Forbidden"];
146679
+ 422: components["responses"]["UnprocessableEntity"];
146680
+ };
146681
+ };
146682
+ completeSeoClientTask: {
146683
+ parameters: {
146684
+ query?: never;
146685
+ header?: never;
146686
+ path: {
146687
+ taskId: string;
146688
+ };
146689
+ cookie?: never;
146690
+ };
146691
+ requestBody?: never;
146692
+ responses: {
146693
+ /** @description Done. */
146694
+ 204: {
146695
+ headers: {
146696
+ [name: string]: unknown;
146697
+ };
146698
+ content?: never;
146699
+ };
146700
+ 401: components["responses"]["Unauthorized"];
146701
+ 403: components["responses"]["Forbidden"];
146702
+ 404: components["responses"]["NotFound"];
146703
+ };
146704
+ };
145796
146705
  adminListSeoConnections: {
145797
146706
  parameters: {
145798
146707
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1978",
3
+ "version": "0.1.1980",
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>",