@axivoy/api 2.35.0 → 2.38.0
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 +508 -7
- package/package.json +1 -1
|
@@ -15887,6 +15887,72 @@ export interface paths {
|
|
|
15887
15887
|
patch?: never;
|
|
15888
15888
|
trace?: never;
|
|
15889
15889
|
};
|
|
15890
|
+
"/ops/recruiting.traffic.outside_spend.imports.columns.update": {
|
|
15891
|
+
parameters: {
|
|
15892
|
+
query?: never;
|
|
15893
|
+
header?: never;
|
|
15894
|
+
path?: never;
|
|
15895
|
+
cookie?: never;
|
|
15896
|
+
};
|
|
15897
|
+
get?: never;
|
|
15898
|
+
put?: never;
|
|
15899
|
+
/**
|
|
15900
|
+
* Match a spend report's columns
|
|
15901
|
+
* @description Says which columns of a spend report hold the day, the spend and the optional counts, for a report waiting for its columns or one recorded with the wrong ones, then records it. Axivoy remembers the match for that place's reports with the same columns, records any others waiting with them, and when changing a recorded report's match records again every report of that place with those columns, oldest first.
|
|
15902
|
+
*
|
|
15903
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
15904
|
+
*/
|
|
15905
|
+
post: operations["ops.recruiting.traffic.outside_spend.imports.columns.update"];
|
|
15906
|
+
delete?: never;
|
|
15907
|
+
options?: never;
|
|
15908
|
+
head?: never;
|
|
15909
|
+
patch?: never;
|
|
15910
|
+
trace?: never;
|
|
15911
|
+
};
|
|
15912
|
+
"/ops/recruiting.traffic.outside_spend.imports.create": {
|
|
15913
|
+
parameters: {
|
|
15914
|
+
query?: never;
|
|
15915
|
+
header?: never;
|
|
15916
|
+
path?: never;
|
|
15917
|
+
cookie?: never;
|
|
15918
|
+
};
|
|
15919
|
+
get?: never;
|
|
15920
|
+
put?: never;
|
|
15921
|
+
/**
|
|
15922
|
+
* Import a spend report
|
|
15923
|
+
* @description Reads a daily spend report from a place you pay directly, such as Indeed, and records each day's spend for that place. Re-importing the same file changes nothing; a report that overlaps earlier ones updates only the days whose numbers changed. When Axivoy cannot tell which columns hold the day and the spend, the report waits for you to match them.
|
|
15924
|
+
*
|
|
15925
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
15926
|
+
*/
|
|
15927
|
+
post: operations["ops.recruiting.traffic.outside_spend.imports.create"];
|
|
15928
|
+
delete?: never;
|
|
15929
|
+
options?: never;
|
|
15930
|
+
head?: never;
|
|
15931
|
+
patch?: never;
|
|
15932
|
+
trace?: never;
|
|
15933
|
+
};
|
|
15934
|
+
"/ops/recruiting.traffic.outside_spend.months.record": {
|
|
15935
|
+
parameters: {
|
|
15936
|
+
query?: never;
|
|
15937
|
+
header?: never;
|
|
15938
|
+
path?: never;
|
|
15939
|
+
cookie?: never;
|
|
15940
|
+
};
|
|
15941
|
+
get?: never;
|
|
15942
|
+
put?: never;
|
|
15943
|
+
/**
|
|
15944
|
+
* Enter what you paid a place for a month
|
|
15945
|
+
* @description Records what you paid a place you advertise for one month, for places without a daily report. Imported daily spend for that place and month takes its place. An empty amount clears it.
|
|
15946
|
+
*
|
|
15947
|
+
* Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
|
|
15948
|
+
*/
|
|
15949
|
+
post: operations["ops.recruiting.traffic.outside_spend.months.record"];
|
|
15950
|
+
delete?: never;
|
|
15951
|
+
options?: never;
|
|
15952
|
+
head?: never;
|
|
15953
|
+
patch?: never;
|
|
15954
|
+
trace?: never;
|
|
15955
|
+
};
|
|
15890
15956
|
"/ops/reports.catalog": {
|
|
15891
15957
|
parameters: {
|
|
15892
15958
|
query?: never;
|
|
@@ -109732,6 +109798,7 @@ export interface operations {
|
|
|
109732
109798
|
driver_compliance: boolean;
|
|
109733
109799
|
operations_api_client: boolean;
|
|
109734
109800
|
announcements: boolean;
|
|
109801
|
+
referrals: boolean;
|
|
109735
109802
|
};
|
|
109736
109803
|
app_update: {
|
|
109737
109804
|
latest_version?: string | null;
|
|
@@ -125449,16 +125516,16 @@ export interface operations {
|
|
|
125449
125516
|
created_at?: string | null;
|
|
125450
125517
|
/** @description The next automatic text or AI recruiter follow-up; null when the file is closed for good */
|
|
125451
125518
|
next_contact?: {
|
|
125452
|
-
/** @description scheduled, paused_for_reply, paused_hold, opted_out or none */
|
|
125519
|
+
/** @description scheduled, planned (nothing owed; the AI recruiter plans to check in, and the plan can change), paused_for_reply, paused_hold, opted_out or none */
|
|
125453
125520
|
state: string;
|
|
125454
125521
|
/**
|
|
125455
125522
|
* Format: date-time
|
|
125456
|
-
* @description When the next contact goes out (scheduled
|
|
125523
|
+
* @description When the next contact goes out (scheduled), or when the AI recruiter plans to check in (planned)
|
|
125457
125524
|
*/
|
|
125458
125525
|
at?: string | null;
|
|
125459
125526
|
/** @description text or ai_recruiter */
|
|
125460
125527
|
route?: string | null;
|
|
125461
|
-
/** @description reminder or
|
|
125528
|
+
/** @description reminder, keep_in_touch or check_in */
|
|
125462
125529
|
purpose?: string | null;
|
|
125463
125530
|
/** @description The open item the reminder is about */
|
|
125464
125531
|
item?: string | null;
|
|
@@ -126154,16 +126221,16 @@ export interface operations {
|
|
|
126154
126221
|
created_at?: string | null;
|
|
126155
126222
|
/** @description The next automatic text or AI recruiter follow-up; null when the file is closed for good */
|
|
126156
126223
|
next_contact?: {
|
|
126157
|
-
/** @description scheduled, paused_for_reply, paused_hold, opted_out or none */
|
|
126224
|
+
/** @description scheduled, planned (nothing owed; the AI recruiter plans to check in, and the plan can change), paused_for_reply, paused_hold, opted_out or none */
|
|
126158
126225
|
state: string;
|
|
126159
126226
|
/**
|
|
126160
126227
|
* Format: date-time
|
|
126161
|
-
* @description When the next contact goes out (scheduled
|
|
126228
|
+
* @description When the next contact goes out (scheduled), or when the AI recruiter plans to check in (planned)
|
|
126162
126229
|
*/
|
|
126163
126230
|
at?: string | null;
|
|
126164
126231
|
/** @description text or ai_recruiter */
|
|
126165
126232
|
route?: string | null;
|
|
126166
|
-
/** @description reminder or
|
|
126233
|
+
/** @description reminder, keep_in_touch or check_in */
|
|
126167
126234
|
purpose?: string | null;
|
|
126168
126235
|
/** @description The open item the reminder is about */
|
|
126169
126236
|
item?: string | null;
|
|
@@ -134413,13 +134480,19 @@ export interface operations {
|
|
|
134413
134480
|
/** @description Where the job is */
|
|
134414
134481
|
location?: string | null;
|
|
134415
134482
|
}[];
|
|
134416
|
-
/** @description
|
|
134483
|
+
/** @description The company has a recruiting number, so texting a code can be turned on */
|
|
134417
134484
|
texting_available: boolean;
|
|
134485
|
+
/** @description The live terms let people text a code to the recruiting number; it works only with a referral posting */
|
|
134486
|
+
text_codes: boolean;
|
|
134487
|
+
/** @description The recruiting number codes are texted to, in E.164 */
|
|
134488
|
+
texting_number?: string | null;
|
|
134418
134489
|
/**
|
|
134419
134490
|
* Format: date-time
|
|
134420
134491
|
* @description When everyone was told about the live version
|
|
134421
134492
|
*/
|
|
134422
134493
|
announced_at?: string | null;
|
|
134494
|
+
/** @description The announcement that told them (announcements.get) */
|
|
134495
|
+
announcement_id?: number | null;
|
|
134423
134496
|
/** @description The company's own program rules */
|
|
134424
134497
|
rules_text?: string | null;
|
|
134425
134498
|
/** @description Every published version, newest first */
|
|
@@ -135521,6 +135594,434 @@ export interface operations {
|
|
|
135521
135594
|
};
|
|
135522
135595
|
};
|
|
135523
135596
|
};
|
|
135597
|
+
"ops.recruiting.traffic.outside_spend.imports.columns.update": {
|
|
135598
|
+
parameters: {
|
|
135599
|
+
query?: never;
|
|
135600
|
+
header?: {
|
|
135601
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
135602
|
+
"Idempotency-Key"?: string;
|
|
135603
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
135604
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
135605
|
+
};
|
|
135606
|
+
path?: never;
|
|
135607
|
+
cookie?: never;
|
|
135608
|
+
};
|
|
135609
|
+
requestBody?: {
|
|
135610
|
+
content: {
|
|
135611
|
+
"application/json": {
|
|
135612
|
+
/** @description A spend report waiting for its columns, or recorded with the wrong ones */
|
|
135613
|
+
import_id: number;
|
|
135614
|
+
/** @description The report column that holds the day */
|
|
135615
|
+
day_column: string;
|
|
135616
|
+
/** @description The report column that holds the money spent that day */
|
|
135617
|
+
spend_column: string;
|
|
135618
|
+
/**
|
|
135619
|
+
* @description How the day column writes dates, when Axivoy cannot tell from the values
|
|
135620
|
+
* @enum {string|null}
|
|
135621
|
+
*/
|
|
135622
|
+
date_order?: "ymd" | "mdy" | "dmy" | null;
|
|
135623
|
+
/** @description The column with impressions, if any */
|
|
135624
|
+
impressions_column?: string | null;
|
|
135625
|
+
/** @description The column with clicks, if any */
|
|
135626
|
+
clicks_column?: string | null;
|
|
135627
|
+
/** @description The column with apply starts (people sent on to apply), if any */
|
|
135628
|
+
apply_starts_column?: string | null;
|
|
135629
|
+
/** @description The column with applications the place counted, if any */
|
|
135630
|
+
applies_column?: string | null;
|
|
135631
|
+
/** @description The column naming a job or campaign when the report splits each day; Axivoy adds a day's rows together */
|
|
135632
|
+
line_column?: string | null;
|
|
135633
|
+
};
|
|
135634
|
+
};
|
|
135635
|
+
};
|
|
135636
|
+
responses: {
|
|
135637
|
+
/** @description The operation ran. */
|
|
135638
|
+
200: {
|
|
135639
|
+
headers: {
|
|
135640
|
+
[name: string]: unknown;
|
|
135641
|
+
};
|
|
135642
|
+
content: {
|
|
135643
|
+
"application/json": {
|
|
135644
|
+
result: {
|
|
135645
|
+
/** @description What happened, in the operator's words */
|
|
135646
|
+
message: string;
|
|
135647
|
+
/** @description The spend report */
|
|
135648
|
+
import_id: number;
|
|
135649
|
+
/** @description applied, or needs_columns when Day or Spend could not be matched or the dates read two ways */
|
|
135650
|
+
status: string;
|
|
135651
|
+
/**
|
|
135652
|
+
* Format: date
|
|
135653
|
+
* @description The first day the report has
|
|
135654
|
+
*/
|
|
135655
|
+
first_day?: string | null;
|
|
135656
|
+
/**
|
|
135657
|
+
* Format: date
|
|
135658
|
+
* @description The last day the report has
|
|
135659
|
+
*/
|
|
135660
|
+
last_day?: string | null;
|
|
135661
|
+
/**
|
|
135662
|
+
* Format: date
|
|
135663
|
+
* @description The first date the report covers, from its file name when it has one
|
|
135664
|
+
*/
|
|
135665
|
+
covered_from?: string | null;
|
|
135666
|
+
/**
|
|
135667
|
+
* Format: date
|
|
135668
|
+
* @description The last date the report covers
|
|
135669
|
+
*/
|
|
135670
|
+
covered_to?: string | null;
|
|
135671
|
+
/** @description Days recorded for the first time */
|
|
135672
|
+
days_added: number;
|
|
135673
|
+
/** @description Days whose numbers changed */
|
|
135674
|
+
days_changed: number;
|
|
135675
|
+
/** @description Days already recorded with the same numbers */
|
|
135676
|
+
days_unchanged: number;
|
|
135677
|
+
/** @description Rows without a day or a spend Axivoy could read, such as a total row */
|
|
135678
|
+
rows_skipped: number;
|
|
135679
|
+
/** @description What the report says was spent, in US dollars */
|
|
135680
|
+
spend: string;
|
|
135681
|
+
/** @description Report columns Axivoy did not use */
|
|
135682
|
+
ignored_columns: {
|
|
135683
|
+
name: string;
|
|
135684
|
+
}[];
|
|
135685
|
+
/** @description What still needs a column, or date_order when the dates read two ways */
|
|
135686
|
+
missing_fields: {
|
|
135687
|
+
key: string;
|
|
135688
|
+
label: string;
|
|
135689
|
+
}[];
|
|
135690
|
+
};
|
|
135691
|
+
};
|
|
135692
|
+
};
|
|
135693
|
+
};
|
|
135694
|
+
202: components["responses"]["Proposal"];
|
|
135695
|
+
/** @description Refused: credits_exhausted. */
|
|
135696
|
+
402: {
|
|
135697
|
+
headers: {
|
|
135698
|
+
[name: string]: unknown;
|
|
135699
|
+
};
|
|
135700
|
+
content: {
|
|
135701
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135702
|
+
};
|
|
135703
|
+
};
|
|
135704
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
135705
|
+
403: {
|
|
135706
|
+
headers: {
|
|
135707
|
+
[name: string]: unknown;
|
|
135708
|
+
};
|
|
135709
|
+
content: {
|
|
135710
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135711
|
+
};
|
|
135712
|
+
};
|
|
135713
|
+
/** @description Refused: not_found. */
|
|
135714
|
+
404: {
|
|
135715
|
+
headers: {
|
|
135716
|
+
[name: string]: unknown;
|
|
135717
|
+
};
|
|
135718
|
+
content: {
|
|
135719
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135720
|
+
};
|
|
135721
|
+
};
|
|
135722
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
135723
|
+
409: {
|
|
135724
|
+
headers: {
|
|
135725
|
+
[name: string]: unknown;
|
|
135726
|
+
};
|
|
135727
|
+
content: {
|
|
135728
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135729
|
+
};
|
|
135730
|
+
};
|
|
135731
|
+
/** @description Refused: operation_retired. */
|
|
135732
|
+
410: {
|
|
135733
|
+
headers: {
|
|
135734
|
+
[name: string]: unknown;
|
|
135735
|
+
};
|
|
135736
|
+
content: {
|
|
135737
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135738
|
+
};
|
|
135739
|
+
};
|
|
135740
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
135741
|
+
422: {
|
|
135742
|
+
headers: {
|
|
135743
|
+
[name: string]: unknown;
|
|
135744
|
+
};
|
|
135745
|
+
content: {
|
|
135746
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135747
|
+
};
|
|
135748
|
+
};
|
|
135749
|
+
/** @description Refused: rate_limited. */
|
|
135750
|
+
429: {
|
|
135751
|
+
headers: {
|
|
135752
|
+
[name: string]: unknown;
|
|
135753
|
+
};
|
|
135754
|
+
content: {
|
|
135755
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135756
|
+
};
|
|
135757
|
+
};
|
|
135758
|
+
};
|
|
135759
|
+
};
|
|
135760
|
+
"ops.recruiting.traffic.outside_spend.imports.create": {
|
|
135761
|
+
parameters: {
|
|
135762
|
+
query?: never;
|
|
135763
|
+
header?: {
|
|
135764
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
135765
|
+
"Idempotency-Key"?: string;
|
|
135766
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
135767
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
135768
|
+
};
|
|
135769
|
+
path?: never;
|
|
135770
|
+
cookie?: never;
|
|
135771
|
+
};
|
|
135772
|
+
requestBody?: {
|
|
135773
|
+
content: {
|
|
135774
|
+
"application/json": {
|
|
135775
|
+
/** @description The place you advertise that the report is for */
|
|
135776
|
+
channel_id: number;
|
|
135777
|
+
/** @description The report as a CSV or Excel file, up to 5 MB */
|
|
135778
|
+
report_file: string | null;
|
|
135779
|
+
};
|
|
135780
|
+
};
|
|
135781
|
+
};
|
|
135782
|
+
responses: {
|
|
135783
|
+
/** @description The operation ran. */
|
|
135784
|
+
200: {
|
|
135785
|
+
headers: {
|
|
135786
|
+
[name: string]: unknown;
|
|
135787
|
+
};
|
|
135788
|
+
content: {
|
|
135789
|
+
"application/json": {
|
|
135790
|
+
result: {
|
|
135791
|
+
/** @description What happened, in the operator's words */
|
|
135792
|
+
message: string;
|
|
135793
|
+
/** @description The spend report */
|
|
135794
|
+
import_id: number;
|
|
135795
|
+
/** @description applied, or needs_columns when Day or Spend could not be matched or the dates read two ways */
|
|
135796
|
+
status: string;
|
|
135797
|
+
/**
|
|
135798
|
+
* Format: date
|
|
135799
|
+
* @description The first day the report has
|
|
135800
|
+
*/
|
|
135801
|
+
first_day?: string | null;
|
|
135802
|
+
/**
|
|
135803
|
+
* Format: date
|
|
135804
|
+
* @description The last day the report has
|
|
135805
|
+
*/
|
|
135806
|
+
last_day?: string | null;
|
|
135807
|
+
/**
|
|
135808
|
+
* Format: date
|
|
135809
|
+
* @description The first date the report covers, from its file name when it has one
|
|
135810
|
+
*/
|
|
135811
|
+
covered_from?: string | null;
|
|
135812
|
+
/**
|
|
135813
|
+
* Format: date
|
|
135814
|
+
* @description The last date the report covers
|
|
135815
|
+
*/
|
|
135816
|
+
covered_to?: string | null;
|
|
135817
|
+
/** @description Days recorded for the first time */
|
|
135818
|
+
days_added: number;
|
|
135819
|
+
/** @description Days whose numbers changed */
|
|
135820
|
+
days_changed: number;
|
|
135821
|
+
/** @description Days already recorded with the same numbers */
|
|
135822
|
+
days_unchanged: number;
|
|
135823
|
+
/** @description Rows without a day or a spend Axivoy could read, such as a total row */
|
|
135824
|
+
rows_skipped: number;
|
|
135825
|
+
/** @description What the report says was spent, in US dollars */
|
|
135826
|
+
spend: string;
|
|
135827
|
+
/** @description Report columns Axivoy did not use */
|
|
135828
|
+
ignored_columns: {
|
|
135829
|
+
name: string;
|
|
135830
|
+
}[];
|
|
135831
|
+
/** @description What still needs a column, or date_order when the dates read two ways */
|
|
135832
|
+
missing_fields: {
|
|
135833
|
+
key: string;
|
|
135834
|
+
label: string;
|
|
135835
|
+
}[];
|
|
135836
|
+
/** @description The report's columns, to match when it needs columns */
|
|
135837
|
+
headers: {
|
|
135838
|
+
name: string;
|
|
135839
|
+
/** @description The first few values in that column */
|
|
135840
|
+
samples: string;
|
|
135841
|
+
}[];
|
|
135842
|
+
};
|
|
135843
|
+
};
|
|
135844
|
+
};
|
|
135845
|
+
};
|
|
135846
|
+
202: components["responses"]["Proposal"];
|
|
135847
|
+
/** @description Refused: credits_exhausted. */
|
|
135848
|
+
402: {
|
|
135849
|
+
headers: {
|
|
135850
|
+
[name: string]: unknown;
|
|
135851
|
+
};
|
|
135852
|
+
content: {
|
|
135853
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135854
|
+
};
|
|
135855
|
+
};
|
|
135856
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
135857
|
+
403: {
|
|
135858
|
+
headers: {
|
|
135859
|
+
[name: string]: unknown;
|
|
135860
|
+
};
|
|
135861
|
+
content: {
|
|
135862
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135863
|
+
};
|
|
135864
|
+
};
|
|
135865
|
+
/** @description Refused: not_found. */
|
|
135866
|
+
404: {
|
|
135867
|
+
headers: {
|
|
135868
|
+
[name: string]: unknown;
|
|
135869
|
+
};
|
|
135870
|
+
content: {
|
|
135871
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135872
|
+
};
|
|
135873
|
+
};
|
|
135874
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
135875
|
+
409: {
|
|
135876
|
+
headers: {
|
|
135877
|
+
[name: string]: unknown;
|
|
135878
|
+
};
|
|
135879
|
+
content: {
|
|
135880
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135881
|
+
};
|
|
135882
|
+
};
|
|
135883
|
+
/** @description Refused: operation_retired. */
|
|
135884
|
+
410: {
|
|
135885
|
+
headers: {
|
|
135886
|
+
[name: string]: unknown;
|
|
135887
|
+
};
|
|
135888
|
+
content: {
|
|
135889
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135890
|
+
};
|
|
135891
|
+
};
|
|
135892
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
135893
|
+
422: {
|
|
135894
|
+
headers: {
|
|
135895
|
+
[name: string]: unknown;
|
|
135896
|
+
};
|
|
135897
|
+
content: {
|
|
135898
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135899
|
+
};
|
|
135900
|
+
};
|
|
135901
|
+
/** @description Refused: rate_limited. */
|
|
135902
|
+
429: {
|
|
135903
|
+
headers: {
|
|
135904
|
+
[name: string]: unknown;
|
|
135905
|
+
};
|
|
135906
|
+
content: {
|
|
135907
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135908
|
+
};
|
|
135909
|
+
};
|
|
135910
|
+
};
|
|
135911
|
+
};
|
|
135912
|
+
"ops.recruiting.traffic.outside_spend.months.record": {
|
|
135913
|
+
parameters: {
|
|
135914
|
+
query?: never;
|
|
135915
|
+
header?: {
|
|
135916
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
135917
|
+
"Idempotency-Key"?: string;
|
|
135918
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
135919
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
135920
|
+
};
|
|
135921
|
+
path?: never;
|
|
135922
|
+
cookie?: never;
|
|
135923
|
+
};
|
|
135924
|
+
requestBody?: {
|
|
135925
|
+
content: {
|
|
135926
|
+
"application/json": {
|
|
135927
|
+
/** @description The place you advertise */
|
|
135928
|
+
channel_id: number;
|
|
135929
|
+
/** @description The month as YYYY-MM */
|
|
135930
|
+
month: string;
|
|
135931
|
+
/** @description What you paid that place for the month; empty clears it */
|
|
135932
|
+
amount?: string | null;
|
|
135933
|
+
};
|
|
135934
|
+
};
|
|
135935
|
+
};
|
|
135936
|
+
responses: {
|
|
135937
|
+
/** @description The operation ran. */
|
|
135938
|
+
200: {
|
|
135939
|
+
headers: {
|
|
135940
|
+
[name: string]: unknown;
|
|
135941
|
+
};
|
|
135942
|
+
content: {
|
|
135943
|
+
"application/json": {
|
|
135944
|
+
result: {
|
|
135945
|
+
/** @description What happened, in the operator's words */
|
|
135946
|
+
message: string;
|
|
135947
|
+
/** @description The place */
|
|
135948
|
+
channel_id: number;
|
|
135949
|
+
/** @description The month as YYYY-MM */
|
|
135950
|
+
month: string;
|
|
135951
|
+
/** @description What you paid that place for the month, or null when cleared */
|
|
135952
|
+
amount?: string | null;
|
|
135953
|
+
/** @description Whether a daily report already reaches this place and month, so the amount is kept but not counted */
|
|
135954
|
+
replaced_by_report: boolean;
|
|
135955
|
+
};
|
|
135956
|
+
};
|
|
135957
|
+
};
|
|
135958
|
+
};
|
|
135959
|
+
202: components["responses"]["Proposal"];
|
|
135960
|
+
/** @description Refused: credits_exhausted. */
|
|
135961
|
+
402: {
|
|
135962
|
+
headers: {
|
|
135963
|
+
[name: string]: unknown;
|
|
135964
|
+
};
|
|
135965
|
+
content: {
|
|
135966
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135967
|
+
};
|
|
135968
|
+
};
|
|
135969
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
135970
|
+
403: {
|
|
135971
|
+
headers: {
|
|
135972
|
+
[name: string]: unknown;
|
|
135973
|
+
};
|
|
135974
|
+
content: {
|
|
135975
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135976
|
+
};
|
|
135977
|
+
};
|
|
135978
|
+
/** @description Refused: not_found. */
|
|
135979
|
+
404: {
|
|
135980
|
+
headers: {
|
|
135981
|
+
[name: string]: unknown;
|
|
135982
|
+
};
|
|
135983
|
+
content: {
|
|
135984
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135985
|
+
};
|
|
135986
|
+
};
|
|
135987
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
135988
|
+
409: {
|
|
135989
|
+
headers: {
|
|
135990
|
+
[name: string]: unknown;
|
|
135991
|
+
};
|
|
135992
|
+
content: {
|
|
135993
|
+
"application/json": components["schemas"]["OperationError"];
|
|
135994
|
+
};
|
|
135995
|
+
};
|
|
135996
|
+
/** @description Refused: operation_retired. */
|
|
135997
|
+
410: {
|
|
135998
|
+
headers: {
|
|
135999
|
+
[name: string]: unknown;
|
|
136000
|
+
};
|
|
136001
|
+
content: {
|
|
136002
|
+
"application/json": components["schemas"]["OperationError"];
|
|
136003
|
+
};
|
|
136004
|
+
};
|
|
136005
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
136006
|
+
422: {
|
|
136007
|
+
headers: {
|
|
136008
|
+
[name: string]: unknown;
|
|
136009
|
+
};
|
|
136010
|
+
content: {
|
|
136011
|
+
"application/json": components["schemas"]["OperationError"];
|
|
136012
|
+
};
|
|
136013
|
+
};
|
|
136014
|
+
/** @description Refused: rate_limited. */
|
|
136015
|
+
429: {
|
|
136016
|
+
headers: {
|
|
136017
|
+
[name: string]: unknown;
|
|
136018
|
+
};
|
|
136019
|
+
content: {
|
|
136020
|
+
"application/json": components["schemas"]["OperationError"];
|
|
136021
|
+
};
|
|
136022
|
+
};
|
|
136023
|
+
};
|
|
136024
|
+
};
|
|
135524
136025
|
"ops.reports.catalog": {
|
|
135525
136026
|
parameters: {
|
|
135526
136027
|
query?: never;
|