@axivoy/api 2.35.0 → 2.40.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.
@@ -13203,6 +13203,28 @@ export interface paths {
13203
13203
  patch?: never;
13204
13204
  trace?: never;
13205
13205
  };
13206
+ "/ops/recruiting.advertising.ads.copy": {
13207
+ parameters: {
13208
+ query?: never;
13209
+ header?: never;
13210
+ path?: never;
13211
+ cookie?: never;
13212
+ };
13213
+ get?: never;
13214
+ put?: never;
13215
+ /**
13216
+ * Run an ended ad again
13217
+ * @description Runs an ended ad again as a new ad in the same ad group, with the same text and media.
13218
+ *
13219
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13220
+ */
13221
+ post: operations["ops.recruiting.advertising.ads.copy"];
13222
+ delete?: never;
13223
+ options?: never;
13224
+ head?: never;
13225
+ patch?: never;
13226
+ trace?: never;
13227
+ };
13206
13228
  "/ops/recruiting.advertising.advertise.approve": {
13207
13229
  parameters: {
13208
13230
  query?: never;
@@ -13830,7 +13852,7 @@ export interface paths {
13830
13852
  put?: never;
13831
13853
  /**
13832
13854
  * Run an advertising test
13833
- * @description Starts a test on a campaign: rotating ads, a different budget or a different landing page.
13855
+ * @description Starts a test on a campaign: a different monthly budget for a few weeks, or a different job page.
13834
13856
  *
13835
13857
  * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13836
13858
  */
@@ -15887,6 +15909,72 @@ export interface paths {
15887
15909
  patch?: never;
15888
15910
  trace?: never;
15889
15911
  };
15912
+ "/ops/recruiting.traffic.outside_spend.imports.columns.update": {
15913
+ parameters: {
15914
+ query?: never;
15915
+ header?: never;
15916
+ path?: never;
15917
+ cookie?: never;
15918
+ };
15919
+ get?: never;
15920
+ put?: never;
15921
+ /**
15922
+ * Match a spend report's columns
15923
+ * @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.
15924
+ *
15925
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
15926
+ */
15927
+ post: operations["ops.recruiting.traffic.outside_spend.imports.columns.update"];
15928
+ delete?: never;
15929
+ options?: never;
15930
+ head?: never;
15931
+ patch?: never;
15932
+ trace?: never;
15933
+ };
15934
+ "/ops/recruiting.traffic.outside_spend.imports.create": {
15935
+ parameters: {
15936
+ query?: never;
15937
+ header?: never;
15938
+ path?: never;
15939
+ cookie?: never;
15940
+ };
15941
+ get?: never;
15942
+ put?: never;
15943
+ /**
15944
+ * Import a spend report
15945
+ * @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.
15946
+ *
15947
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
15948
+ */
15949
+ post: operations["ops.recruiting.traffic.outside_spend.imports.create"];
15950
+ delete?: never;
15951
+ options?: never;
15952
+ head?: never;
15953
+ patch?: never;
15954
+ trace?: never;
15955
+ };
15956
+ "/ops/recruiting.traffic.outside_spend.months.record": {
15957
+ parameters: {
15958
+ query?: never;
15959
+ header?: never;
15960
+ path?: never;
15961
+ cookie?: never;
15962
+ };
15963
+ get?: never;
15964
+ put?: never;
15965
+ /**
15966
+ * Enter what you paid a place for a month
15967
+ * @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.
15968
+ *
15969
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
15970
+ */
15971
+ post: operations["ops.recruiting.traffic.outside_spend.months.record"];
15972
+ delete?: never;
15973
+ options?: never;
15974
+ head?: never;
15975
+ patch?: never;
15976
+ trace?: never;
15977
+ };
15890
15978
  "/ops/reports.catalog": {
15891
15979
  parameters: {
15892
15980
  query?: never;
@@ -109732,6 +109820,7 @@ export interface operations {
109732
109820
  driver_compliance: boolean;
109733
109821
  operations_api_client: boolean;
109734
109822
  announcements: boolean;
109823
+ referrals: boolean;
109735
109824
  };
109736
109825
  app_update: {
109737
109826
  latest_version?: string | null;
@@ -119722,7 +119811,7 @@ export interface operations {
119722
119811
  };
119723
119812
  };
119724
119813
  };
119725
- "ops.recruiting.advertising.advertise.approve": {
119814
+ "ops.recruiting.advertising.ads.copy": {
119726
119815
  parameters: {
119727
119816
  query?: never;
119728
119817
  header?: {
@@ -119738,12 +119827,12 @@ export interface operations {
119738
119827
  content: {
119739
119828
  /**
119740
119829
  * @example {
119741
- * "run_id": 1
119830
+ * "ad_id": 2
119742
119831
  * }
119743
119832
  */
119744
119833
  "application/json": {
119745
- /** @description The campaign draft (composer run) */
119746
- run_id: number;
119834
+ /** @description The ended ad to run again */
119835
+ ad_id: number;
119747
119836
  };
119748
119837
  };
119749
119838
  };
@@ -119757,9 +119846,9 @@ export interface operations {
119757
119846
  /**
119758
119847
  * @example {
119759
119848
  * "result": {
119760
- * "message": "Approved — your ads are launching.",
119761
- * "run_id": 1,
119762
- * "campaign_id": 2
119849
+ * "message": "The ad is running again.",
119850
+ * "ad_id": 8,
119851
+ * "copied_from_ad_id": 2
119763
119852
  * }
119764
119853
  * }
119765
119854
  */
@@ -119767,10 +119856,10 @@ export interface operations {
119767
119856
  result: {
119768
119857
  /** @description What happened, in the operator's words */
119769
119858
  message: string;
119770
- /** @description The campaign draft */
119771
- run_id: number;
119772
- /** @description The launched campaign */
119773
- campaign_id?: number | null;
119859
+ /** @description The new ad */
119860
+ ad_id: number;
119861
+ /** @description The ended ad it copies */
119862
+ copied_from_ad_id: number;
119774
119863
  };
119775
119864
  };
119776
119865
  };
@@ -119841,7 +119930,7 @@ export interface operations {
119841
119930
  };
119842
119931
  };
119843
119932
  };
119844
- "ops.recruiting.advertising.advertise.create": {
119933
+ "ops.recruiting.advertising.advertise.approve": {
119845
119934
  parameters: {
119846
119935
  query?: never;
119847
119936
  header?: {
@@ -119857,36 +119946,12 @@ export interface operations {
119857
119946
  content: {
119858
119947
  /**
119859
119948
  * @example {
119860
- * "job_posting_id": 1,
119861
- * "amount": 600,
119862
- * "radius_miles": 50,
119863
- * "location_query": "Dallas, TX",
119864
- * "duration_days": 30
119949
+ * "run_id": 1
119865
119950
  * }
119866
119951
  */
119867
119952
  "application/json": {
119868
- /** @description The job posting to advertise */
119869
- job_posting_id: number | string | null;
119870
- /** @description Whole dollars a month (1 to 1,000,000) */
119871
- amount: number | string | null;
119872
- /** @description Miles around the location (1 to 500) */
119873
- radius_miles: number | string | null;
119874
- /** @description City, ZIP or address to center the ads on */
119875
- location_query: string | null;
119876
- /** @description 30, 60 or 90 days */
119877
- duration_days?: number | string | null;
119878
- /** @description Campaign name (140 characters at most) */
119879
- campaign_name?: string | null;
119880
- /** @description Where the ads run: meta_ads, tiktok_ads, both */
119881
- platforms?: string | null;
119882
- /** @description Kinds of ads: images, video, both */
119883
- ad_kinds?: string | null;
119884
- /** @description Photo ads per ad group */
119885
- photo_ads_per_group?: number | string | null;
119886
- /** @description Videos per ad group */
119887
- videos_per_group?: number | string | null;
119888
- /** @description Video length: 6, 10, 15, 20, 30 seconds */
119889
- video_length_seconds?: number | string | null;
119953
+ /** @description The campaign draft (composer run) */
119954
+ run_id: number;
119890
119955
  };
119891
119956
  };
119892
119957
  };
@@ -119900,8 +119965,9 @@ export interface operations {
119900
119965
  /**
119901
119966
  * @example {
119902
119967
  * "result": {
119903
- * "message": "Axivoy is drafting your ads.",
119904
- * "run_id": 2
119968
+ * "message": "Approved — your ads are launching.",
119969
+ * "run_id": 1,
119970
+ * "campaign_id": 2
119905
119971
  * }
119906
119972
  * }
119907
119973
  */
@@ -119911,6 +119977,8 @@ export interface operations {
119911
119977
  message: string;
119912
119978
  /** @description The campaign draft */
119913
119979
  run_id: number;
119980
+ /** @description The launched campaign */
119981
+ campaign_id?: number | null;
119914
119982
  };
119915
119983
  };
119916
119984
  };
@@ -119981,7 +120049,7 @@ export interface operations {
119981
120049
  };
119982
120050
  };
119983
120051
  };
119984
- "ops.recruiting.advertising.advertise.creatives.add_video": {
120052
+ "ops.recruiting.advertising.advertise.create": {
119985
120053
  parameters: {
119986
120054
  query?: never;
119987
120055
  header?: {
@@ -119995,11 +120063,40 @@ export interface operations {
119995
120063
  };
119996
120064
  requestBody?: {
119997
120065
  content: {
120066
+ /**
120067
+ * @example {
120068
+ * "job_posting_id": 1,
120069
+ * "amount": 600,
120070
+ * "radius_miles": 50,
120071
+ * "location_query": "Dallas, TX",
120072
+ * "duration_days": 30
120073
+ * }
120074
+ */
119998
120075
  "application/json": {
119999
- /** @description The campaign draft (composer run) */
120000
- run_id: number;
120001
- /** @description What the video should show, in plain words (500 characters at most); empty lets the writer pick the idea */
120002
- description?: string | null;
120076
+ /** @description The job posting to advertise */
120077
+ job_posting_id: number | string | null;
120078
+ /** @description Whole dollars a month (1 to 1,000,000) */
120079
+ amount: number | string | null;
120080
+ /** @description Miles around the location (1 to 500) */
120081
+ radius_miles: number | string | null;
120082
+ /** @description City, ZIP or address to center the ads on */
120083
+ location_query: string | null;
120084
+ /** @description 30, 60 or 90 days */
120085
+ duration_days?: number | string | null;
120086
+ /** @description Campaign name (140 characters at most) */
120087
+ campaign_name?: string | null;
120088
+ /** @description Where the ads run: meta_ads, tiktok_ads, both */
120089
+ platforms?: string | null;
120090
+ /** @description Kinds of ads: images, video, both */
120091
+ ad_kinds?: string | null;
120092
+ /** @description Photo ads per ad group */
120093
+ photo_ads_per_group?: number | string | null;
120094
+ /** @description Videos per ad group */
120095
+ videos_per_group?: number | string | null;
120096
+ /** @description Video length: 6, 10, 15, 20, 30 seconds */
120097
+ video_length_seconds?: number | string | null;
120098
+ /** @description An ended campaign whose ads to reuse instead of writing new ones */
120099
+ copy_ads_from_campaign_id?: number | string | null;
120003
120100
  };
120004
120101
  };
120005
120102
  };
@@ -120010,14 +120107,20 @@ export interface operations {
120010
120107
  [name: string]: unknown;
120011
120108
  };
120012
120109
  content: {
120110
+ /**
120111
+ * @example {
120112
+ * "result": {
120113
+ * "message": "Axivoy is drafting your ads.",
120114
+ * "run_id": 2
120115
+ * }
120116
+ * }
120117
+ */
120013
120118
  "application/json": {
120014
120119
  result: {
120015
120120
  /** @description What happened, in the operator's words */
120016
120121
  message: string;
120017
120122
  /** @description The campaign draft */
120018
120123
  run_id: number;
120019
- /** @description The new video draft */
120020
- creative_id?: number | null;
120021
120124
  };
120022
120125
  };
120023
120126
  };
@@ -120088,7 +120191,7 @@ export interface operations {
120088
120191
  };
120089
120192
  };
120090
120193
  };
120091
- "ops.recruiting.advertising.advertise.creatives.approve_script": {
120194
+ "ops.recruiting.advertising.advertise.creatives.add_video": {
120092
120195
  parameters: {
120093
120196
  query?: never;
120094
120197
  header?: {
@@ -120102,17 +120205,11 @@ export interface operations {
120102
120205
  };
120103
120206
  requestBody?: {
120104
120207
  content: {
120105
- /**
120106
- * @example {
120107
- * "run_id": 2,
120108
- * "creative_id": 8
120109
- * }
120110
- */
120111
120208
  "application/json": {
120112
120209
  /** @description The campaign draft (composer run) */
120113
120210
  run_id: number;
120114
- /** @description The draft ad */
120115
- creative_id: number;
120211
+ /** @description What the video should show, in plain words (500 characters at most); empty lets the writer pick the idea */
120212
+ description?: string | null;
120116
120213
  };
120117
120214
  };
120118
120215
  };
@@ -120123,23 +120220,14 @@ export interface operations {
120123
120220
  [name: string]: unknown;
120124
120221
  };
120125
120222
  content: {
120126
- /**
120127
- * @example {
120128
- * "result": {
120129
- * "message": "Making your video. This usually takes a few minutes.",
120130
- * "run_id": 2,
120131
- * "creative_id": 8
120132
- * }
120133
- * }
120134
- */
120135
120223
  "application/json": {
120136
120224
  result: {
120137
120225
  /** @description What happened, in the operator's words */
120138
120226
  message: string;
120139
120227
  /** @description The campaign draft */
120140
120228
  run_id: number;
120141
- /** @description The draft ad */
120142
- creative_id: number;
120229
+ /** @description The new video draft */
120230
+ creative_id?: number | null;
120143
120231
  };
120144
120232
  };
120145
120233
  };
@@ -120210,7 +120298,7 @@ export interface operations {
120210
120298
  };
120211
120299
  };
120212
120300
  };
120213
- "ops.recruiting.advertising.advertise.creatives.b_roll": {
120301
+ "ops.recruiting.advertising.advertise.creatives.approve_script": {
120214
120302
  parameters: {
120215
120303
  query?: never;
120216
120304
  header?: {
@@ -120227,9 +120315,7 @@ export interface operations {
120227
120315
  /**
120228
120316
  * @example {
120229
120317
  * "run_id": 2,
120230
- * "creative_id": 8,
120231
- * "part_index": 1,
120232
- * "choice": "generated"
120318
+ * "creative_id": 8
120233
120319
  * }
120234
120320
  */
120235
120321
  "application/json": {
@@ -120237,10 +120323,6 @@ export interface operations {
120237
120323
  run_id: number;
120238
120324
  /** @description The draft ad */
120239
120325
  creative_id: number;
120240
- /** @description The part, from 1 */
120241
- part_index: number | string | null;
120242
- /** @description own or generated */
120243
- choice: string | null;
120244
120326
  };
120245
120327
  };
120246
120328
  };
@@ -120254,7 +120336,7 @@ export interface operations {
120254
120336
  /**
120255
120337
  * @example {
120256
120338
  * "result": {
120257
- * "message": "Putting the generated shot back into part 1. This takes a minute.",
120339
+ * "message": "Making your video. This usually takes a few minutes.",
120258
120340
  * "run_id": 2,
120259
120341
  * "creative_id": 8
120260
120342
  * }
@@ -120338,7 +120420,7 @@ export interface operations {
120338
120420
  };
120339
120421
  };
120340
120422
  };
120341
- "ops.recruiting.advertising.advertise.creatives.choose_hook": {
120423
+ "ops.recruiting.advertising.advertise.creatives.b_roll": {
120342
120424
  parameters: {
120343
120425
  query?: never;
120344
120426
  header?: {
@@ -120356,7 +120438,8 @@ export interface operations {
120356
120438
  * @example {
120357
120439
  * "run_id": 2,
120358
120440
  * "creative_id": 8,
120359
- * "hook_index": 2
120441
+ * "part_index": 1,
120442
+ * "choice": "generated"
120360
120443
  * }
120361
120444
  */
120362
120445
  "application/json": {
@@ -120364,8 +120447,10 @@ export interface operations {
120364
120447
  run_id: number;
120365
120448
  /** @description The draft ad */
120366
120449
  creative_id: number;
120367
- /** @description Which suggested idea (0 to 11) */
120368
- hook_index: number | string | null;
120450
+ /** @description The part, from 1 */
120451
+ part_index: number | string | null;
120452
+ /** @description own or generated */
120453
+ choice: string | null;
120369
120454
  };
120370
120455
  };
120371
120456
  };
@@ -120379,7 +120464,7 @@ export interface operations {
120379
120464
  /**
120380
120465
  * @example {
120381
120466
  * "result": {
120382
- * "message": "Writing a new script with that opening.",
120467
+ * "message": "Putting the generated shot back into part 1. This takes a minute.",
120383
120468
  * "run_id": 2,
120384
120469
  * "creative_id": 8
120385
120470
  * }
@@ -120463,7 +120548,7 @@ export interface operations {
120463
120548
  };
120464
120549
  };
120465
120550
  };
120466
- "ops.recruiting.advertising.advertise.creatives.redo_part": {
120551
+ "ops.recruiting.advertising.advertise.creatives.choose_hook": {
120467
120552
  parameters: {
120468
120553
  query?: never;
120469
120554
  header?: {
@@ -120481,7 +120566,7 @@ export interface operations {
120481
120566
  * @example {
120482
120567
  * "run_id": 2,
120483
120568
  * "creative_id": 8,
120484
- * "part_index": 2
120569
+ * "hook_index": 2
120485
120570
  * }
120486
120571
  */
120487
120572
  "application/json": {
@@ -120489,8 +120574,8 @@ export interface operations {
120489
120574
  run_id: number;
120490
120575
  /** @description The draft ad */
120491
120576
  creative_id: number;
120492
- /** @description The part, from 1 */
120493
- part_index: number | string | null;
120577
+ /** @description Which suggested idea (0 to 11) */
120578
+ hook_index: number | string | null;
120494
120579
  };
120495
120580
  };
120496
120581
  };
@@ -120504,7 +120589,7 @@ export interface operations {
120504
120589
  /**
120505
120590
  * @example {
120506
120591
  * "result": {
120507
- * "message": "Redoing part 2. This usually takes a few minutes.",
120592
+ * "message": "Writing a new script with that opening.",
120508
120593
  * "run_id": 2,
120509
120594
  * "creative_id": 8
120510
120595
  * }
@@ -120588,7 +120673,7 @@ export interface operations {
120588
120673
  };
120589
120674
  };
120590
120675
  };
120591
- "ops.recruiting.advertising.advertise.creatives.regenerate": {
120676
+ "ops.recruiting.advertising.advertise.creatives.redo_part": {
120592
120677
  parameters: {
120593
120678
  query?: never;
120594
120679
  header?: {
@@ -120604,8 +120689,9 @@ export interface operations {
120604
120689
  content: {
120605
120690
  /**
120606
120691
  * @example {
120607
- * "run_id": 1,
120608
- * "creative_id": 5
120692
+ * "run_id": 2,
120693
+ * "creative_id": 8,
120694
+ * "part_index": 2
120609
120695
  * }
120610
120696
  */
120611
120697
  "application/json": {
@@ -120613,6 +120699,8 @@ export interface operations {
120613
120699
  run_id: number;
120614
120700
  /** @description The draft ad */
120615
120701
  creative_id: number;
120702
+ /** @description The part, from 1 */
120703
+ part_index: number | string | null;
120616
120704
  };
120617
120705
  };
120618
120706
  };
@@ -120626,9 +120714,9 @@ export interface operations {
120626
120714
  /**
120627
120715
  * @example {
120628
120716
  * "result": {
120629
- * "message": "Making a new photo for this ad.",
120630
- * "run_id": 1,
120631
- * "creative_id": 5
120717
+ * "message": "Redoing part 2. This usually takes a few minutes.",
120718
+ * "run_id": 2,
120719
+ * "creative_id": 8
120632
120720
  * }
120633
120721
  * }
120634
120722
  */
@@ -120710,7 +120798,7 @@ export interface operations {
120710
120798
  };
120711
120799
  };
120712
120800
  };
120713
- "ops.recruiting.advertising.advertise.creatives.remove": {
120801
+ "ops.recruiting.advertising.advertise.creatives.regenerate": {
120714
120802
  parameters: {
120715
120803
  query?: never;
120716
120804
  header?: {
@@ -120748,7 +120836,7 @@ export interface operations {
120748
120836
  /**
120749
120837
  * @example {
120750
120838
  * "result": {
120751
- * "message": "Ad removed — it will not launch.",
120839
+ * "message": "Making a new photo for this ad.",
120752
120840
  * "run_id": 1,
120753
120841
  * "creative_id": 5
120754
120842
  * }
@@ -120832,7 +120920,7 @@ export interface operations {
120832
120920
  };
120833
120921
  };
120834
120922
  };
120835
- "ops.recruiting.advertising.advertise.creatives.retry_render": {
120923
+ "ops.recruiting.advertising.advertise.creatives.remove": {
120836
120924
  parameters: {
120837
120925
  query?: never;
120838
120926
  header?: {
@@ -120848,8 +120936,8 @@ export interface operations {
120848
120936
  content: {
120849
120937
  /**
120850
120938
  * @example {
120851
- * "run_id": 2,
120852
- * "creative_id": 8
120939
+ * "run_id": 1,
120940
+ * "creative_id": 5
120853
120941
  * }
120854
120942
  */
120855
120943
  "application/json": {
@@ -120870,9 +120958,131 @@ export interface operations {
120870
120958
  /**
120871
120959
  * @example {
120872
120960
  * "result": {
120873
- * "message": "Making your video again. This usually takes a few minutes.",
120874
- * "run_id": 2,
120875
- * "creative_id": 8
120961
+ * "message": "Ad removed — it will not launch.",
120962
+ * "run_id": 1,
120963
+ * "creative_id": 5
120964
+ * }
120965
+ * }
120966
+ */
120967
+ "application/json": {
120968
+ result: {
120969
+ /** @description What happened, in the operator's words */
120970
+ message: string;
120971
+ /** @description The campaign draft */
120972
+ run_id: number;
120973
+ /** @description The draft ad */
120974
+ creative_id: number;
120975
+ };
120976
+ };
120977
+ };
120978
+ };
120979
+ 202: components["responses"]["Proposal"];
120980
+ /** @description Refused: credits_exhausted. */
120981
+ 402: {
120982
+ headers: {
120983
+ [name: string]: unknown;
120984
+ };
120985
+ content: {
120986
+ "application/json": components["schemas"]["OperationError"];
120987
+ };
120988
+ };
120989
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
120990
+ 403: {
120991
+ headers: {
120992
+ [name: string]: unknown;
120993
+ };
120994
+ content: {
120995
+ "application/json": components["schemas"]["OperationError"];
120996
+ };
120997
+ };
120998
+ /** @description Refused: not_found. */
120999
+ 404: {
121000
+ headers: {
121001
+ [name: string]: unknown;
121002
+ };
121003
+ content: {
121004
+ "application/json": components["schemas"]["OperationError"];
121005
+ };
121006
+ };
121007
+ /** @description Refused: idempotency_conflict, stale_state. */
121008
+ 409: {
121009
+ headers: {
121010
+ [name: string]: unknown;
121011
+ };
121012
+ content: {
121013
+ "application/json": components["schemas"]["OperationError"];
121014
+ };
121015
+ };
121016
+ /** @description Refused: operation_retired. */
121017
+ 410: {
121018
+ headers: {
121019
+ [name: string]: unknown;
121020
+ };
121021
+ content: {
121022
+ "application/json": components["schemas"]["OperationError"];
121023
+ };
121024
+ };
121025
+ /** @description Refused: invalid_input, domain_rule. */
121026
+ 422: {
121027
+ headers: {
121028
+ [name: string]: unknown;
121029
+ };
121030
+ content: {
121031
+ "application/json": components["schemas"]["OperationError"];
121032
+ };
121033
+ };
121034
+ /** @description Refused: rate_limited. */
121035
+ 429: {
121036
+ headers: {
121037
+ [name: string]: unknown;
121038
+ };
121039
+ content: {
121040
+ "application/json": components["schemas"]["OperationError"];
121041
+ };
121042
+ };
121043
+ };
121044
+ };
121045
+ "ops.recruiting.advertising.advertise.creatives.retry_render": {
121046
+ parameters: {
121047
+ query?: never;
121048
+ header?: {
121049
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121050
+ "Idempotency-Key"?: string;
121051
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121052
+ "Axivoy-Dry-Run"?: "true" | "false";
121053
+ };
121054
+ path?: never;
121055
+ cookie?: never;
121056
+ };
121057
+ requestBody?: {
121058
+ content: {
121059
+ /**
121060
+ * @example {
121061
+ * "run_id": 2,
121062
+ * "creative_id": 8
121063
+ * }
121064
+ */
121065
+ "application/json": {
121066
+ /** @description The campaign draft (composer run) */
121067
+ run_id: number;
121068
+ /** @description The draft ad */
121069
+ creative_id: number;
121070
+ };
121071
+ };
121072
+ };
121073
+ responses: {
121074
+ /** @description The operation ran. */
121075
+ 200: {
121076
+ headers: {
121077
+ [name: string]: unknown;
121078
+ };
121079
+ content: {
121080
+ /**
121081
+ * @example {
121082
+ * "result": {
121083
+ * "message": "Making your video again. This usually takes a few minutes.",
121084
+ * "run_id": 2,
121085
+ * "creative_id": 8
120876
121086
  * }
120877
121087
  * }
120878
121088
  */
@@ -123138,22 +123348,20 @@ export interface operations {
123138
123348
  /**
123139
123349
  * @example {
123140
123350
  * "campaign_id": 1,
123141
- * "kind": "creative_rotation",
123142
- * "ad_set_id": 2
123351
+ * "kind": "budget_structure",
123352
+ * "challenger_budget_cents": 600000
123143
123353
  * }
123144
123354
  */
123145
123355
  "application/json": {
123146
123356
  /** @description The advertised campaign */
123147
123357
  campaign_id: number;
123148
- /** @description One of creative_rotation, budget_structure, landing_page */
123358
+ /** @description One of budget_structure, landing_page */
123149
123359
  kind: string | null;
123150
123360
  /** @description What the test should answer (300 characters at most); left empty uses a plain default */
123151
123361
  hypothesis?: string | null;
123152
- /** @description The ad group to test in */
123153
- ad_set_id?: number | string | null;
123154
123362
  /** @description Budget test: the challenger's monthly budget in cents */
123155
123363
  challenger_budget_cents?: number | string | null;
123156
- /** @description Ad test: the ad versions that challenge the current ones */
123364
+ /** @description Job page test: the page versions that challenge the live one */
123157
123365
  challenger_version_ids?: (string | number | boolean | null)[] | null;
123158
123366
  /** @description Fewest days before deciding (1 to 90) */
123159
123367
  min_runtime_days?: number | string | null;
@@ -125449,16 +125657,16 @@ export interface operations {
125449
125657
  created_at?: string | null;
125450
125658
  /** @description The next automatic text or AI recruiter follow-up; null when the file is closed for good */
125451
125659
  next_contact?: {
125452
- /** @description scheduled, paused_for_reply, paused_hold, opted_out or none */
125660
+ /** @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
125661
  state: string;
125454
125662
  /**
125455
125663
  * Format: date-time
125456
- * @description When the next contact goes out (scheduled only)
125664
+ * @description When the next contact goes out (scheduled), or when the AI recruiter plans to check in (planned)
125457
125665
  */
125458
125666
  at?: string | null;
125459
125667
  /** @description text or ai_recruiter */
125460
125668
  route?: string | null;
125461
- /** @description reminder or keep_in_touch */
125669
+ /** @description reminder, keep_in_touch or check_in */
125462
125670
  purpose?: string | null;
125463
125671
  /** @description The open item the reminder is about */
125464
125672
  item?: string | null;
@@ -126154,16 +126362,16 @@ export interface operations {
126154
126362
  created_at?: string | null;
126155
126363
  /** @description The next automatic text or AI recruiter follow-up; null when the file is closed for good */
126156
126364
  next_contact?: {
126157
- /** @description scheduled, paused_for_reply, paused_hold, opted_out or none */
126365
+ /** @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
126366
  state: string;
126159
126367
  /**
126160
126368
  * Format: date-time
126161
- * @description When the next contact goes out (scheduled only)
126369
+ * @description When the next contact goes out (scheduled), or when the AI recruiter plans to check in (planned)
126162
126370
  */
126163
126371
  at?: string | null;
126164
126372
  /** @description text or ai_recruiter */
126165
126373
  route?: string | null;
126166
- /** @description reminder or keep_in_touch */
126374
+ /** @description reminder, keep_in_touch or check_in */
126167
126375
  purpose?: string | null;
126168
126376
  /** @description The open item the reminder is about */
126169
126377
  item?: string | null;
@@ -134413,13 +134621,19 @@ export interface operations {
134413
134621
  /** @description Where the job is */
134414
134622
  location?: string | null;
134415
134623
  }[];
134416
- /** @description People can text a code to the recruiting number */
134624
+ /** @description The company has a recruiting number, so texting a code can be turned on */
134417
134625
  texting_available: boolean;
134626
+ /** @description The live terms let people text a code to the recruiting number; it works only with a referral posting */
134627
+ text_codes: boolean;
134628
+ /** @description The recruiting number codes are texted to, in E.164 */
134629
+ texting_number?: string | null;
134418
134630
  /**
134419
134631
  * Format: date-time
134420
134632
  * @description When everyone was told about the live version
134421
134633
  */
134422
134634
  announced_at?: string | null;
134635
+ /** @description The announcement that told them (announcements.get) */
134636
+ announcement_id?: number | null;
134423
134637
  /** @description The company's own program rules */
134424
134638
  rules_text?: string | null;
134425
134639
  /** @description Every published version, newest first */
@@ -135521,6 +135735,434 @@ export interface operations {
135521
135735
  };
135522
135736
  };
135523
135737
  };
135738
+ "ops.recruiting.traffic.outside_spend.imports.columns.update": {
135739
+ parameters: {
135740
+ query?: never;
135741
+ header?: {
135742
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
135743
+ "Idempotency-Key"?: string;
135744
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
135745
+ "Axivoy-Dry-Run"?: "true" | "false";
135746
+ };
135747
+ path?: never;
135748
+ cookie?: never;
135749
+ };
135750
+ requestBody?: {
135751
+ content: {
135752
+ "application/json": {
135753
+ /** @description A spend report waiting for its columns, or recorded with the wrong ones */
135754
+ import_id: number;
135755
+ /** @description The report column that holds the day */
135756
+ day_column: string;
135757
+ /** @description The report column that holds the money spent that day */
135758
+ spend_column: string;
135759
+ /**
135760
+ * @description How the day column writes dates, when Axivoy cannot tell from the values
135761
+ * @enum {string|null}
135762
+ */
135763
+ date_order?: "ymd" | "mdy" | "dmy" | null;
135764
+ /** @description The column with impressions, if any */
135765
+ impressions_column?: string | null;
135766
+ /** @description The column with clicks, if any */
135767
+ clicks_column?: string | null;
135768
+ /** @description The column with apply starts (people sent on to apply), if any */
135769
+ apply_starts_column?: string | null;
135770
+ /** @description The column with applications the place counted, if any */
135771
+ applies_column?: string | null;
135772
+ /** @description The column naming a job or campaign when the report splits each day; Axivoy adds a day's rows together */
135773
+ line_column?: string | null;
135774
+ };
135775
+ };
135776
+ };
135777
+ responses: {
135778
+ /** @description The operation ran. */
135779
+ 200: {
135780
+ headers: {
135781
+ [name: string]: unknown;
135782
+ };
135783
+ content: {
135784
+ "application/json": {
135785
+ result: {
135786
+ /** @description What happened, in the operator's words */
135787
+ message: string;
135788
+ /** @description The spend report */
135789
+ import_id: number;
135790
+ /** @description applied, or needs_columns when Day or Spend could not be matched or the dates read two ways */
135791
+ status: string;
135792
+ /**
135793
+ * Format: date
135794
+ * @description The first day the report has
135795
+ */
135796
+ first_day?: string | null;
135797
+ /**
135798
+ * Format: date
135799
+ * @description The last day the report has
135800
+ */
135801
+ last_day?: string | null;
135802
+ /**
135803
+ * Format: date
135804
+ * @description The first date the report covers, from its file name when it has one
135805
+ */
135806
+ covered_from?: string | null;
135807
+ /**
135808
+ * Format: date
135809
+ * @description The last date the report covers
135810
+ */
135811
+ covered_to?: string | null;
135812
+ /** @description Days recorded for the first time */
135813
+ days_added: number;
135814
+ /** @description Days whose numbers changed */
135815
+ days_changed: number;
135816
+ /** @description Days already recorded with the same numbers */
135817
+ days_unchanged: number;
135818
+ /** @description Rows without a day or a spend Axivoy could read, such as a total row */
135819
+ rows_skipped: number;
135820
+ /** @description What the report says was spent, in US dollars */
135821
+ spend: string;
135822
+ /** @description Report columns Axivoy did not use */
135823
+ ignored_columns: {
135824
+ name: string;
135825
+ }[];
135826
+ /** @description What still needs a column, or date_order when the dates read two ways */
135827
+ missing_fields: {
135828
+ key: string;
135829
+ label: string;
135830
+ }[];
135831
+ };
135832
+ };
135833
+ };
135834
+ };
135835
+ 202: components["responses"]["Proposal"];
135836
+ /** @description Refused: credits_exhausted. */
135837
+ 402: {
135838
+ headers: {
135839
+ [name: string]: unknown;
135840
+ };
135841
+ content: {
135842
+ "application/json": components["schemas"]["OperationError"];
135843
+ };
135844
+ };
135845
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
135846
+ 403: {
135847
+ headers: {
135848
+ [name: string]: unknown;
135849
+ };
135850
+ content: {
135851
+ "application/json": components["schemas"]["OperationError"];
135852
+ };
135853
+ };
135854
+ /** @description Refused: not_found. */
135855
+ 404: {
135856
+ headers: {
135857
+ [name: string]: unknown;
135858
+ };
135859
+ content: {
135860
+ "application/json": components["schemas"]["OperationError"];
135861
+ };
135862
+ };
135863
+ /** @description Refused: idempotency_conflict, stale_state. */
135864
+ 409: {
135865
+ headers: {
135866
+ [name: string]: unknown;
135867
+ };
135868
+ content: {
135869
+ "application/json": components["schemas"]["OperationError"];
135870
+ };
135871
+ };
135872
+ /** @description Refused: operation_retired. */
135873
+ 410: {
135874
+ headers: {
135875
+ [name: string]: unknown;
135876
+ };
135877
+ content: {
135878
+ "application/json": components["schemas"]["OperationError"];
135879
+ };
135880
+ };
135881
+ /** @description Refused: invalid_input, domain_rule. */
135882
+ 422: {
135883
+ headers: {
135884
+ [name: string]: unknown;
135885
+ };
135886
+ content: {
135887
+ "application/json": components["schemas"]["OperationError"];
135888
+ };
135889
+ };
135890
+ /** @description Refused: rate_limited. */
135891
+ 429: {
135892
+ headers: {
135893
+ [name: string]: unknown;
135894
+ };
135895
+ content: {
135896
+ "application/json": components["schemas"]["OperationError"];
135897
+ };
135898
+ };
135899
+ };
135900
+ };
135901
+ "ops.recruiting.traffic.outside_spend.imports.create": {
135902
+ parameters: {
135903
+ query?: never;
135904
+ header?: {
135905
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
135906
+ "Idempotency-Key"?: string;
135907
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
135908
+ "Axivoy-Dry-Run"?: "true" | "false";
135909
+ };
135910
+ path?: never;
135911
+ cookie?: never;
135912
+ };
135913
+ requestBody?: {
135914
+ content: {
135915
+ "application/json": {
135916
+ /** @description The place you advertise that the report is for */
135917
+ channel_id: number;
135918
+ /** @description The report as a CSV or Excel file, up to 5 MB */
135919
+ report_file: string | null;
135920
+ };
135921
+ };
135922
+ };
135923
+ responses: {
135924
+ /** @description The operation ran. */
135925
+ 200: {
135926
+ headers: {
135927
+ [name: string]: unknown;
135928
+ };
135929
+ content: {
135930
+ "application/json": {
135931
+ result: {
135932
+ /** @description What happened, in the operator's words */
135933
+ message: string;
135934
+ /** @description The spend report */
135935
+ import_id: number;
135936
+ /** @description applied, or needs_columns when Day or Spend could not be matched or the dates read two ways */
135937
+ status: string;
135938
+ /**
135939
+ * Format: date
135940
+ * @description The first day the report has
135941
+ */
135942
+ first_day?: string | null;
135943
+ /**
135944
+ * Format: date
135945
+ * @description The last day the report has
135946
+ */
135947
+ last_day?: string | null;
135948
+ /**
135949
+ * Format: date
135950
+ * @description The first date the report covers, from its file name when it has one
135951
+ */
135952
+ covered_from?: string | null;
135953
+ /**
135954
+ * Format: date
135955
+ * @description The last date the report covers
135956
+ */
135957
+ covered_to?: string | null;
135958
+ /** @description Days recorded for the first time */
135959
+ days_added: number;
135960
+ /** @description Days whose numbers changed */
135961
+ days_changed: number;
135962
+ /** @description Days already recorded with the same numbers */
135963
+ days_unchanged: number;
135964
+ /** @description Rows without a day or a spend Axivoy could read, such as a total row */
135965
+ rows_skipped: number;
135966
+ /** @description What the report says was spent, in US dollars */
135967
+ spend: string;
135968
+ /** @description Report columns Axivoy did not use */
135969
+ ignored_columns: {
135970
+ name: string;
135971
+ }[];
135972
+ /** @description What still needs a column, or date_order when the dates read two ways */
135973
+ missing_fields: {
135974
+ key: string;
135975
+ label: string;
135976
+ }[];
135977
+ /** @description The report's columns, to match when it needs columns */
135978
+ headers: {
135979
+ name: string;
135980
+ /** @description The first few values in that column */
135981
+ samples: string;
135982
+ }[];
135983
+ };
135984
+ };
135985
+ };
135986
+ };
135987
+ 202: components["responses"]["Proposal"];
135988
+ /** @description Refused: credits_exhausted. */
135989
+ 402: {
135990
+ headers: {
135991
+ [name: string]: unknown;
135992
+ };
135993
+ content: {
135994
+ "application/json": components["schemas"]["OperationError"];
135995
+ };
135996
+ };
135997
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
135998
+ 403: {
135999
+ headers: {
136000
+ [name: string]: unknown;
136001
+ };
136002
+ content: {
136003
+ "application/json": components["schemas"]["OperationError"];
136004
+ };
136005
+ };
136006
+ /** @description Refused: not_found. */
136007
+ 404: {
136008
+ headers: {
136009
+ [name: string]: unknown;
136010
+ };
136011
+ content: {
136012
+ "application/json": components["schemas"]["OperationError"];
136013
+ };
136014
+ };
136015
+ /** @description Refused: idempotency_conflict, stale_state. */
136016
+ 409: {
136017
+ headers: {
136018
+ [name: string]: unknown;
136019
+ };
136020
+ content: {
136021
+ "application/json": components["schemas"]["OperationError"];
136022
+ };
136023
+ };
136024
+ /** @description Refused: operation_retired. */
136025
+ 410: {
136026
+ headers: {
136027
+ [name: string]: unknown;
136028
+ };
136029
+ content: {
136030
+ "application/json": components["schemas"]["OperationError"];
136031
+ };
136032
+ };
136033
+ /** @description Refused: invalid_input, domain_rule. */
136034
+ 422: {
136035
+ headers: {
136036
+ [name: string]: unknown;
136037
+ };
136038
+ content: {
136039
+ "application/json": components["schemas"]["OperationError"];
136040
+ };
136041
+ };
136042
+ /** @description Refused: rate_limited. */
136043
+ 429: {
136044
+ headers: {
136045
+ [name: string]: unknown;
136046
+ };
136047
+ content: {
136048
+ "application/json": components["schemas"]["OperationError"];
136049
+ };
136050
+ };
136051
+ };
136052
+ };
136053
+ "ops.recruiting.traffic.outside_spend.months.record": {
136054
+ parameters: {
136055
+ query?: never;
136056
+ header?: {
136057
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
136058
+ "Idempotency-Key"?: string;
136059
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
136060
+ "Axivoy-Dry-Run"?: "true" | "false";
136061
+ };
136062
+ path?: never;
136063
+ cookie?: never;
136064
+ };
136065
+ requestBody?: {
136066
+ content: {
136067
+ "application/json": {
136068
+ /** @description The place you advertise */
136069
+ channel_id: number;
136070
+ /** @description The month as YYYY-MM */
136071
+ month: string;
136072
+ /** @description What you paid that place for the month; empty clears it */
136073
+ amount?: string | null;
136074
+ };
136075
+ };
136076
+ };
136077
+ responses: {
136078
+ /** @description The operation ran. */
136079
+ 200: {
136080
+ headers: {
136081
+ [name: string]: unknown;
136082
+ };
136083
+ content: {
136084
+ "application/json": {
136085
+ result: {
136086
+ /** @description What happened, in the operator's words */
136087
+ message: string;
136088
+ /** @description The place */
136089
+ channel_id: number;
136090
+ /** @description The month as YYYY-MM */
136091
+ month: string;
136092
+ /** @description What you paid that place for the month, or null when cleared */
136093
+ amount?: string | null;
136094
+ /** @description Whether a daily report already reaches this place and month, so the amount is kept but not counted */
136095
+ replaced_by_report: boolean;
136096
+ };
136097
+ };
136098
+ };
136099
+ };
136100
+ 202: components["responses"]["Proposal"];
136101
+ /** @description Refused: credits_exhausted. */
136102
+ 402: {
136103
+ headers: {
136104
+ [name: string]: unknown;
136105
+ };
136106
+ content: {
136107
+ "application/json": components["schemas"]["OperationError"];
136108
+ };
136109
+ };
136110
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
136111
+ 403: {
136112
+ headers: {
136113
+ [name: string]: unknown;
136114
+ };
136115
+ content: {
136116
+ "application/json": components["schemas"]["OperationError"];
136117
+ };
136118
+ };
136119
+ /** @description Refused: not_found. */
136120
+ 404: {
136121
+ headers: {
136122
+ [name: string]: unknown;
136123
+ };
136124
+ content: {
136125
+ "application/json": components["schemas"]["OperationError"];
136126
+ };
136127
+ };
136128
+ /** @description Refused: idempotency_conflict, stale_state. */
136129
+ 409: {
136130
+ headers: {
136131
+ [name: string]: unknown;
136132
+ };
136133
+ content: {
136134
+ "application/json": components["schemas"]["OperationError"];
136135
+ };
136136
+ };
136137
+ /** @description Refused: operation_retired. */
136138
+ 410: {
136139
+ headers: {
136140
+ [name: string]: unknown;
136141
+ };
136142
+ content: {
136143
+ "application/json": components["schemas"]["OperationError"];
136144
+ };
136145
+ };
136146
+ /** @description Refused: invalid_input, domain_rule. */
136147
+ 422: {
136148
+ headers: {
136149
+ [name: string]: unknown;
136150
+ };
136151
+ content: {
136152
+ "application/json": components["schemas"]["OperationError"];
136153
+ };
136154
+ };
136155
+ /** @description Refused: rate_limited. */
136156
+ 429: {
136157
+ headers: {
136158
+ [name: string]: unknown;
136159
+ };
136160
+ content: {
136161
+ "application/json": components["schemas"]["OperationError"];
136162
+ };
136163
+ };
136164
+ };
136165
+ };
135524
136166
  "ops.reports.catalog": {
135525
136167
  parameters: {
135526
136168
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axivoy/api",
3
- "version": "2.35.0",
3
+ "version": "2.40.0",
4
4
  "description": "Typed client for the Axivoy API: operations, webhooks and errors.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://app.axivoy.ai/developers",