@axivoy/api 2.47.0 → 2.51.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.
@@ -13137,6 +13137,94 @@ export interface paths {
13137
13137
  patch?: never;
13138
13138
  trace?: never;
13139
13139
  };
13140
+ "/ops/recruiting.advertising.ad_sets.ads.draft": {
13141
+ parameters: {
13142
+ query?: never;
13143
+ header?: never;
13144
+ path?: never;
13145
+ cookie?: never;
13146
+ };
13147
+ get?: never;
13148
+ put?: never;
13149
+ /**
13150
+ * Write new ads for a running ad group
13151
+ * @description Writes 1 to 3 new ads for a running ad group as drafts, optionally built on an ad that already works, for a person to check before they go live.
13152
+ *
13153
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13154
+ */
13155
+ post: operations["ops.recruiting.advertising.ad_sets.ads.draft"];
13156
+ delete?: never;
13157
+ options?: never;
13158
+ head?: never;
13159
+ patch?: never;
13160
+ trace?: never;
13161
+ };
13162
+ "/ops/recruiting.advertising.ad_sets.ads.launch": {
13163
+ parameters: {
13164
+ query?: never;
13165
+ header?: never;
13166
+ path?: never;
13167
+ cookie?: never;
13168
+ };
13169
+ get?: never;
13170
+ put?: never;
13171
+ /**
13172
+ * Put new ads live
13173
+ * @description Puts a running ad group's ready new ads live and pauses the ads named in the same change, so the group re-learns once.
13174
+ *
13175
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13176
+ */
13177
+ post: operations["ops.recruiting.advertising.ad_sets.ads.launch"];
13178
+ delete?: never;
13179
+ options?: never;
13180
+ head?: never;
13181
+ patch?: never;
13182
+ trace?: never;
13183
+ };
13184
+ "/ops/recruiting.advertising.ad_sets.area.estimate": {
13185
+ parameters: {
13186
+ query?: never;
13187
+ header?: never;
13188
+ path?: never;
13189
+ cookie?: never;
13190
+ };
13191
+ get?: never;
13192
+ put?: never;
13193
+ /**
13194
+ * Estimate who an area reaches
13195
+ * @description Estimates how many people an area would reach on each platform, against the ad group's area today, and says what each platform gets: the circles Facebook gets or the places TikTok gets.
13196
+ *
13197
+ * Kind: `read`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13198
+ */
13199
+ post: operations["ops.recruiting.advertising.ad_sets.area.estimate"];
13200
+ delete?: never;
13201
+ options?: never;
13202
+ head?: never;
13203
+ patch?: never;
13204
+ trace?: never;
13205
+ };
13206
+ "/ops/recruiting.advertising.ad_sets.area.update": {
13207
+ parameters: {
13208
+ query?: never;
13209
+ header?: never;
13210
+ path?: never;
13211
+ cookie?: never;
13212
+ };
13213
+ get?: never;
13214
+ put?: never;
13215
+ /**
13216
+ * Change where an ad group's ads show
13217
+ * @description Changes where one ad group's ads show: miles around places, whole states, or anywhere in the US.
13218
+ *
13219
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13220
+ */
13221
+ post: operations["ops.recruiting.advertising.ad_sets.area.update"];
13222
+ delete?: never;
13223
+ options?: never;
13224
+ head?: never;
13225
+ patch?: never;
13226
+ trace?: never;
13227
+ };
13140
13228
  "/ops/recruiting.advertising.ad_sets.budget": {
13141
13229
  parameters: {
13142
13230
  query?: never;
@@ -13599,6 +13687,28 @@ export interface paths {
13599
13687
  patch?: never;
13600
13688
  trace?: never;
13601
13689
  };
13690
+ "/ops/recruiting.advertising.campaigns.combine": {
13691
+ parameters: {
13692
+ query?: never;
13693
+ header?: never;
13694
+ path?: never;
13695
+ cookie?: never;
13696
+ };
13697
+ get?: never;
13698
+ put?: never;
13699
+ /**
13700
+ * Combine two campaigns
13701
+ * @description Combines two running campaigns of the same job on the same platform: copies the chosen ads into the kept campaign, pauses the other campaign, and can move its monthly budget over.
13702
+ *
13703
+ * Kind: `mutate`. Errors use the envelope `{error: {code, reason, message, fields}}`.
13704
+ */
13705
+ post: operations["ops.recruiting.advertising.campaigns.combine"];
13706
+ delete?: never;
13707
+ options?: never;
13708
+ head?: never;
13709
+ patch?: never;
13710
+ trace?: never;
13711
+ };
13602
13712
  "/ops/recruiting.advertising.campaigns.drift.adopt": {
13603
13713
  parameters: {
13604
13714
  query?: never;
@@ -119517,7 +119627,7 @@ export interface operations {
119517
119627
  };
119518
119628
  };
119519
119629
  };
119520
- "ops.recruiting.advertising.ad_sets.budget": {
119630
+ "ops.recruiting.advertising.ad_sets.ads.draft": {
119521
119631
  parameters: {
119522
119632
  query?: never;
119523
119633
  header?: {
@@ -119531,17 +119641,20 @@ export interface operations {
119531
119641
  };
119532
119642
  requestBody?: {
119533
119643
  content: {
119534
- /**
119535
- * @example {
119536
- * "ad_set_id": 1,
119537
- * "amount": 300
119538
- * }
119539
- */
119540
119644
  "application/json": {
119541
119645
  /** @description The ad group */
119542
119646
  ad_set_id: number;
119543
- /** @description Dollars a month (1 to 1,000,000); null shares the campaign budget again */
119544
- amount?: number | string | null;
119647
+ /** @description 1 to 3 ads (2 when left out) */
119648
+ count?: number;
119649
+ /**
119650
+ * @description photo, slideshow (TikTok only) or video; the kind of the ad built on when left out
119651
+ * @enum {string}
119652
+ */
119653
+ format?: "photo" | "slideshow" | "video";
119654
+ /** @description An ad of the same job in any campaign to build on */
119655
+ build_on_ad_id?: number;
119656
+ /** @description Up to 600 characters on what should be different */
119657
+ brief?: string;
119545
119658
  };
119546
119659
  };
119547
119660
  };
@@ -119552,15 +119665,6 @@ export interface operations {
119552
119665
  [name: string]: unknown;
119553
119666
  };
119554
119667
  content: {
119555
- /**
119556
- * @example {
119557
- * "result": {
119558
- * "message": "Ad group budget saved.",
119559
- * "ad_set_id": 1,
119560
- * "campaign_id": 1
119561
- * }
119562
- * }
119563
- */
119564
119668
  "application/json": {
119565
119669
  result: {
119566
119670
  /** @description What happened, in the operator's words */
@@ -119569,6 +119673,8 @@ export interface operations {
119569
119673
  ad_set_id: number;
119570
119674
  /** @description The campaign it belongs to */
119571
119675
  campaign_id: number;
119676
+ /** @description The new draft ads */
119677
+ ad_ids: unknown[];
119572
119678
  };
119573
119679
  };
119574
119680
  };
@@ -119639,7 +119745,7 @@ export interface operations {
119639
119745
  };
119640
119746
  };
119641
119747
  };
119642
- "ops.recruiting.advertising.ad_sets.pause": {
119748
+ "ops.recruiting.advertising.ad_sets.ads.launch": {
119643
119749
  parameters: {
119644
119750
  query?: never;
119645
119751
  header?: {
@@ -119653,14 +119759,13 @@ export interface operations {
119653
119759
  };
119654
119760
  requestBody?: {
119655
119761
  content: {
119656
- /**
119657
- * @example {
119658
- * "ad_set_id": 1
119659
- * }
119660
- */
119661
119762
  "application/json": {
119662
119763
  /** @description The ad group */
119663
119764
  ad_set_id: number;
119765
+ /** @description Ready new ads of the group to put live */
119766
+ ad_ids: number[];
119767
+ /** @description Live ads of the group to pause in the same change */
119768
+ pause_ad_ids?: number[];
119664
119769
  };
119665
119770
  };
119666
119771
  };
@@ -119671,15 +119776,6 @@ export interface operations {
119671
119776
  [name: string]: unknown;
119672
119777
  };
119673
119778
  content: {
119674
- /**
119675
- * @example {
119676
- * "result": {
119677
- * "message": "Ad group paused.",
119678
- * "ad_set_id": 1,
119679
- * "campaign_id": 1
119680
- * }
119681
- * }
119682
- */
119683
119779
  "application/json": {
119684
119780
  result: {
119685
119781
  /** @description What happened, in the operator's words */
@@ -119688,6 +119784,10 @@ export interface operations {
119688
119784
  ad_set_id: number;
119689
119785
  /** @description The campaign it belongs to */
119690
119786
  campaign_id: number;
119787
+ /** @description The ads put live */
119788
+ launched_ad_ids: unknown[];
119789
+ /** @description The ads paused to make room */
119790
+ paused_ad_ids: unknown[];
119691
119791
  };
119692
119792
  };
119693
119793
  };
@@ -119758,7 +119858,7 @@ export interface operations {
119758
119858
  };
119759
119859
  };
119760
119860
  };
119761
- "ops.recruiting.advertising.ad_sets.resume": {
119861
+ "ops.recruiting.advertising.ad_sets.area.estimate": {
119762
119862
  parameters: {
119763
119863
  query?: never;
119764
119864
  header?: {
@@ -119772,14 +119872,39 @@ export interface operations {
119772
119872
  };
119773
119873
  requestBody?: {
119774
119874
  content: {
119775
- /**
119776
- * @example {
119777
- * "ad_set_id": 1
119778
- * }
119779
- */
119780
119875
  "application/json": {
119781
- /** @description The ad group */
119782
- ad_set_id: number;
119876
+ /** @description Where the ads would show: places with miles around each, whole states, or country US alone */
119877
+ area: {
119878
+ /** @description Places with miles around each (up to 10) */
119879
+ places?: {
119880
+ /** @description Where a dropped pin is (with longitude) */
119881
+ latitude?: number;
119882
+ /** @description Where a dropped pin is (with latitude) */
119883
+ longitude?: number;
119884
+ /** @description A typed place, such as "Houston, TX"; with coordinates it is only the name */
119885
+ place_query?: string;
119886
+ /** @description Miles around the place, 15 to 250 in steps of 5 */
119887
+ radius_miles: number;
119888
+ }[];
119889
+ /** @description Whole US states by two-letter code ("TX") */
119890
+ states?: string[];
119891
+ /**
119892
+ * @description "US" for anywhere in the US, alone
119893
+ * @enum {string|null}
119894
+ */
119895
+ country?: "US" | null;
119896
+ };
119897
+ /** @description The ad group; required unless job_posting_id and platforms are given */
119898
+ ad_set_id?: number;
119899
+ /** @description With ad_set_id: also every other running group of the campaign */
119900
+ same_for_campaign?: boolean;
119901
+ /** @description Before any group exists (the wizard, settings): the job whose place to use */
119902
+ job_posting_id?: number;
119903
+ /**
119904
+ * @description With job_posting_id: meta_ads, tiktok_ads, both
119905
+ * @enum {string}
119906
+ */
119907
+ platforms?: "meta_ads" | "tiktok_ads" | "both";
119783
119908
  };
119784
119909
  };
119785
119910
  };
@@ -119790,23 +119915,72 @@ export interface operations {
119790
119915
  [name: string]: unknown;
119791
119916
  };
119792
119917
  content: {
119793
- /**
119794
- * @example {
119795
- * "result": {
119796
- * "message": "Ad group resumed.",
119797
- * "ad_set_id": 1,
119798
- * "campaign_id": 1
119799
- * }
119800
- * }
119801
- */
119802
119918
  "application/json": {
119803
119919
  result: {
119804
- /** @description What happened, in the operator's words */
119805
- message: string;
119806
- /** @description The ad group */
119807
- ad_set_id: number;
119808
- /** @description The campaign it belongs to */
119809
- campaign_id: number;
119920
+ /** @description The area in words */
119921
+ area_sentence: string;
119922
+ /** @description The places, each with its name */
119923
+ places: {
119924
+ /** @description The place's name */
119925
+ label: string;
119926
+ latitude: number;
119927
+ longitude: number;
119928
+ /** @description Miles around it */
119929
+ radius_miles: number;
119930
+ }[];
119931
+ /** @description Whole states, by two-letter code */
119932
+ states: unknown[];
119933
+ /** @description What each platform gets for the area */
119934
+ platform_areas: {
119935
+ /** @description meta_ads or tiktok_ads */
119936
+ provider: string;
119937
+ /** @description The platform's name */
119938
+ platform: string;
119939
+ /** @description What the platform gets, in words */
119940
+ areas: unknown[];
119941
+ }[];
119942
+ /** @description Per platform */
119943
+ platforms: {
119944
+ /** @description meta_ads or tiktok_ads */
119945
+ provider: string;
119946
+ /** @description The platform's name */
119947
+ platform: string;
119948
+ /** @description Fewest people the area reaches, by the platform's estimate */
119949
+ people_low?: number | null;
119950
+ /** @description Most people the area reaches */
119951
+ people_high?: number | null;
119952
+ /** @description The same for the group's area today */
119953
+ current_people_low?: number | null;
119954
+ current_people_high?: number | null;
119955
+ /** @description The circles the platform gets (Facebook's 50-mile circles) */
119956
+ platform_pins: {
119957
+ latitude: number;
119958
+ longitude: number;
119959
+ radius_miles: number;
119960
+ }[];
119961
+ /** @description What the platform gets, in words */
119962
+ platform_areas: unknown[];
119963
+ /** @description Why there is no estimate, in plain words */
119964
+ note?: string | null;
119965
+ /** @description True when the note is the platform refusing this area (it can't be saved as it is) */
119966
+ refused: boolean;
119967
+ }[];
119968
+ /** @description One-tap areas from the job's place */
119969
+ quick_picks: {
119970
+ /** @description The pick in words */
119971
+ label: string;
119972
+ /** @description The area to send back as `area` */
119973
+ area: {
119974
+ places: {
119975
+ label?: string | null;
119976
+ latitude: number;
119977
+ longitude: number;
119978
+ radius_miles: number;
119979
+ }[];
119980
+ states: unknown[];
119981
+ country?: string | null;
119982
+ };
119983
+ }[];
119810
119984
  };
119811
119985
  };
119812
119986
  };
@@ -119877,7 +120051,7 @@ export interface operations {
119877
120051
  };
119878
120052
  };
119879
120053
  };
119880
- "ops.recruiting.advertising.ads.copy": {
120054
+ "ops.recruiting.advertising.ad_sets.area.update": {
119881
120055
  parameters: {
119882
120056
  query?: never;
119883
120057
  header?: {
@@ -119891,14 +120065,32 @@ export interface operations {
119891
120065
  };
119892
120066
  requestBody?: {
119893
120067
  content: {
119894
- /**
119895
- * @example {
119896
- * "ad_id": 2
119897
- * }
119898
- */
119899
120068
  "application/json": {
119900
- /** @description The ended ad to run again */
119901
- ad_id: number;
120069
+ /** @description The ad group */
120070
+ ad_set_id: number;
120071
+ /** @description Where the ads show: places with miles around each, whole states, or country US alone */
120072
+ area: {
120073
+ /** @description Places with miles around each (up to 10) */
120074
+ places?: {
120075
+ /** @description Where a dropped pin is (with longitude) */
120076
+ latitude?: number;
120077
+ /** @description Where a dropped pin is (with latitude) */
120078
+ longitude?: number;
120079
+ /** @description A typed place, such as "Houston, TX"; with coordinates it is only the name */
120080
+ place_query?: string;
120081
+ /** @description Miles around the place, 15 to 250 in steps of 5 */
120082
+ radius_miles: number;
120083
+ }[];
120084
+ /** @description Whole US states by two-letter code ("TX") */
120085
+ states?: string[];
120086
+ /**
120087
+ * @description "US" for anywhere in the US, alone
120088
+ * @enum {string|null}
120089
+ */
120090
+ country?: "US" | null;
120091
+ };
120092
+ /** @description Also every other running group of the campaign, in one change */
120093
+ same_for_campaign?: boolean;
119902
120094
  };
119903
120095
  };
119904
120096
  };
@@ -119909,23 +120101,34 @@ export interface operations {
119909
120101
  [name: string]: unknown;
119910
120102
  };
119911
120103
  content: {
119912
- /**
119913
- * @example {
119914
- * "result": {
119915
- * "message": "The ad is running again.",
119916
- * "ad_id": 8,
119917
- * "copied_from_ad_id": 2
119918
- * }
119919
- * }
119920
- */
119921
120104
  "application/json": {
119922
120105
  result: {
119923
120106
  /** @description What happened, in the operator's words */
119924
120107
  message: string;
119925
- /** @description The new ad */
119926
- ad_id: number;
119927
- /** @description The ended ad it copies */
119928
- copied_from_ad_id: number;
120108
+ /** @description The area in words */
120109
+ area_sentence: string;
120110
+ /** @description The places, each with its name */
120111
+ places: {
120112
+ /** @description The place's name */
120113
+ label: string;
120114
+ latitude: number;
120115
+ longitude: number;
120116
+ /** @description Miles around it */
120117
+ radius_miles: number;
120118
+ }[];
120119
+ /** @description Whole states, by two-letter code */
120120
+ states: unknown[];
120121
+ /** @description What each platform gets for the area */
120122
+ platform_areas: {
120123
+ /** @description meta_ads or tiktok_ads */
120124
+ provider: string;
120125
+ /** @description The platform's name */
120126
+ platform: string;
120127
+ /** @description What the platform gets, in words */
120128
+ areas: unknown[];
120129
+ }[];
120130
+ /** @description The ad groups changed */
120131
+ ad_set_ids: unknown[];
119929
120132
  };
119930
120133
  };
119931
120134
  };
@@ -119996,7 +120199,7 @@ export interface operations {
119996
120199
  };
119997
120200
  };
119998
120201
  };
119999
- "ops.recruiting.advertising.advertise.approve": {
120202
+ "ops.recruiting.advertising.ad_sets.budget": {
120000
120203
  parameters: {
120001
120204
  query?: never;
120002
120205
  header?: {
@@ -120012,14 +120215,15 @@ export interface operations {
120012
120215
  content: {
120013
120216
  /**
120014
120217
  * @example {
120015
- * "run_id": 1
120218
+ * "ad_set_id": 1,
120219
+ * "amount": 300
120016
120220
  * }
120017
120221
  */
120018
120222
  "application/json": {
120019
- /** @description The campaign draft (composer run) */
120020
- run_id: number;
120021
- /** @description Put the campaign on the ad platforms paused: nothing is spent until it is resumed (default false) */
120022
- start_paused?: boolean;
120223
+ /** @description The ad group */
120224
+ ad_set_id: number;
120225
+ /** @description Dollars a month (1 to 1,000,000); null shares the campaign budget again */
120226
+ amount?: number | string | null;
120023
120227
  };
120024
120228
  };
120025
120229
  };
@@ -120033,9 +120237,9 @@ export interface operations {
120033
120237
  /**
120034
120238
  * @example {
120035
120239
  * "result": {
120036
- * "message": "Approved — your ads are launching.",
120037
- * "run_id": 1,
120038
- * "campaign_id": 2
120240
+ * "message": "Ad group budget saved.",
120241
+ * "ad_set_id": 1,
120242
+ * "campaign_id": 1
120039
120243
  * }
120040
120244
  * }
120041
120245
  */
@@ -120043,10 +120247,10 @@ export interface operations {
120043
120247
  result: {
120044
120248
  /** @description What happened, in the operator's words */
120045
120249
  message: string;
120046
- /** @description The campaign draft */
120047
- run_id: number;
120048
- /** @description The launched campaign */
120049
- campaign_id?: number | null;
120250
+ /** @description The ad group */
120251
+ ad_set_id: number;
120252
+ /** @description The campaign it belongs to */
120253
+ campaign_id: number;
120050
120254
  };
120051
120255
  };
120052
120256
  };
@@ -120117,7 +120321,7 @@ export interface operations {
120117
120321
  };
120118
120322
  };
120119
120323
  };
120120
- "ops.recruiting.advertising.advertise.create": {
120324
+ "ops.recruiting.advertising.ad_sets.pause": {
120121
120325
  parameters: {
120122
120326
  query?: never;
120123
120327
  header?: {
@@ -120133,38 +120337,12 @@ export interface operations {
120133
120337
  content: {
120134
120338
  /**
120135
120339
  * @example {
120136
- * "job_posting_id": 1,
120137
- * "amount": 600,
120138
- * "radius_miles": 50,
120139
- * "location_query": "Dallas, TX",
120140
- * "duration_days": 30
120340
+ * "ad_set_id": 1
120141
120341
  * }
120142
120342
  */
120143
120343
  "application/json": {
120144
- /** @description The job posting to advertise */
120145
- job_posting_id: number | string | null;
120146
- /** @description Whole dollars a month (1 to 1,000,000) */
120147
- amount: number | string | null;
120148
- /** @description Miles around the location (1 to 500) */
120149
- radius_miles: number | string | null;
120150
- /** @description City, ZIP or address to center the ads on */
120151
- location_query: string | null;
120152
- /** @description 30, 60 or 90 days */
120153
- duration_days?: number | string | null;
120154
- /** @description Campaign name (140 characters at most) */
120155
- campaign_name?: string | null;
120156
- /** @description Where the ads run: meta_ads, tiktok_ads, both */
120157
- platforms?: string | null;
120158
- /** @description Kinds of ads: images, video, both */
120159
- ad_kinds?: string | null;
120160
- /** @description Photo ads per ad group */
120161
- photo_ads_per_group?: number | string | null;
120162
- /** @description Videos per ad group */
120163
- videos_per_group?: number | string | null;
120164
- /** @description Video length: 6, 10, 15, 20, 30 seconds */
120165
- video_length_seconds?: number | string | null;
120166
- /** @description An ended campaign whose ads to reuse instead of writing new ones */
120167
- copy_ads_from_campaign_id?: number | string | null;
120344
+ /** @description The ad group */
120345
+ ad_set_id: number;
120168
120346
  };
120169
120347
  };
120170
120348
  };
@@ -120178,8 +120356,9 @@ export interface operations {
120178
120356
  /**
120179
120357
  * @example {
120180
120358
  * "result": {
120181
- * "message": "Axivoy is drafting your ads.",
120182
- * "run_id": 2
120359
+ * "message": "Ad group paused.",
120360
+ * "ad_set_id": 1,
120361
+ * "campaign_id": 1
120183
120362
  * }
120184
120363
  * }
120185
120364
  */
@@ -120187,8 +120366,10 @@ export interface operations {
120187
120366
  result: {
120188
120367
  /** @description What happened, in the operator's words */
120189
120368
  message: string;
120190
- /** @description The campaign draft */
120191
- run_id: number;
120369
+ /** @description The ad group */
120370
+ ad_set_id: number;
120371
+ /** @description The campaign it belongs to */
120372
+ campaign_id: number;
120192
120373
  };
120193
120374
  };
120194
120375
  };
@@ -120259,114 +120440,7 @@ export interface operations {
120259
120440
  };
120260
120441
  };
120261
120442
  };
120262
- "ops.recruiting.advertising.advertise.creatives.add_video": {
120263
- parameters: {
120264
- query?: never;
120265
- header?: {
120266
- /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
120267
- "Idempotency-Key"?: string;
120268
- /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
120269
- "Axivoy-Dry-Run"?: "true" | "false";
120270
- };
120271
- path?: never;
120272
- cookie?: never;
120273
- };
120274
- requestBody?: {
120275
- content: {
120276
- "application/json": {
120277
- /** @description The campaign draft (composer run) */
120278
- run_id: number;
120279
- /** @description What the video should show, in plain words (500 characters at most); empty lets the writer pick the idea */
120280
- description?: string | null;
120281
- };
120282
- };
120283
- };
120284
- responses: {
120285
- /** @description The operation ran. */
120286
- 200: {
120287
- headers: {
120288
- [name: string]: unknown;
120289
- };
120290
- content: {
120291
- "application/json": {
120292
- result: {
120293
- /** @description What happened, in the operator's words */
120294
- message: string;
120295
- /** @description The campaign draft */
120296
- run_id: number;
120297
- /** @description The new video draft */
120298
- creative_id?: number | null;
120299
- };
120300
- };
120301
- };
120302
- };
120303
- 202: components["responses"]["Proposal"];
120304
- /** @description Refused: credits_exhausted. */
120305
- 402: {
120306
- headers: {
120307
- [name: string]: unknown;
120308
- };
120309
- content: {
120310
- "application/json": components["schemas"]["OperationError"];
120311
- };
120312
- };
120313
- /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
120314
- 403: {
120315
- headers: {
120316
- [name: string]: unknown;
120317
- };
120318
- content: {
120319
- "application/json": components["schemas"]["OperationError"];
120320
- };
120321
- };
120322
- /** @description Refused: not_found. */
120323
- 404: {
120324
- headers: {
120325
- [name: string]: unknown;
120326
- };
120327
- content: {
120328
- "application/json": components["schemas"]["OperationError"];
120329
- };
120330
- };
120331
- /** @description Refused: idempotency_conflict, stale_state. */
120332
- 409: {
120333
- headers: {
120334
- [name: string]: unknown;
120335
- };
120336
- content: {
120337
- "application/json": components["schemas"]["OperationError"];
120338
- };
120339
- };
120340
- /** @description Refused: operation_retired. */
120341
- 410: {
120342
- headers: {
120343
- [name: string]: unknown;
120344
- };
120345
- content: {
120346
- "application/json": components["schemas"]["OperationError"];
120347
- };
120348
- };
120349
- /** @description Refused: invalid_input, domain_rule. */
120350
- 422: {
120351
- headers: {
120352
- [name: string]: unknown;
120353
- };
120354
- content: {
120355
- "application/json": components["schemas"]["OperationError"];
120356
- };
120357
- };
120358
- /** @description Refused: rate_limited. */
120359
- 429: {
120360
- headers: {
120361
- [name: string]: unknown;
120362
- };
120363
- content: {
120364
- "application/json": components["schemas"]["OperationError"];
120365
- };
120366
- };
120367
- };
120368
- };
120369
- "ops.recruiting.advertising.advertise.creatives.approve_script": {
120443
+ "ops.recruiting.advertising.ad_sets.resume": {
120370
120444
  parameters: {
120371
120445
  query?: never;
120372
120446
  header?: {
@@ -120382,15 +120456,12 @@ export interface operations {
120382
120456
  content: {
120383
120457
  /**
120384
120458
  * @example {
120385
- * "run_id": 2,
120386
- * "creative_id": 8
120459
+ * "ad_set_id": 1
120387
120460
  * }
120388
120461
  */
120389
120462
  "application/json": {
120390
- /** @description The campaign draft (composer run) */
120391
- run_id: number;
120392
- /** @description The draft ad */
120393
- creative_id: number;
120463
+ /** @description The ad group */
120464
+ ad_set_id: number;
120394
120465
  };
120395
120466
  };
120396
120467
  };
@@ -120404,9 +120475,9 @@ export interface operations {
120404
120475
  /**
120405
120476
  * @example {
120406
120477
  * "result": {
120407
- * "message": "Making your video. This usually takes a few minutes.",
120408
- * "run_id": 2,
120409
- * "creative_id": 8
120478
+ * "message": "Ad group resumed.",
120479
+ * "ad_set_id": 1,
120480
+ * "campaign_id": 1
120410
120481
  * }
120411
120482
  * }
120412
120483
  */
@@ -120414,10 +120485,10 @@ export interface operations {
120414
120485
  result: {
120415
120486
  /** @description What happened, in the operator's words */
120416
120487
  message: string;
120417
- /** @description The campaign draft */
120418
- run_id: number;
120419
- /** @description The draft ad */
120420
- creative_id: number;
120488
+ /** @description The ad group */
120489
+ ad_set_id: number;
120490
+ /** @description The campaign it belongs to */
120491
+ campaign_id: number;
120421
120492
  };
120422
120493
  };
120423
120494
  };
@@ -120488,7 +120559,7 @@ export interface operations {
120488
120559
  };
120489
120560
  };
120490
120561
  };
120491
- "ops.recruiting.advertising.advertise.creatives.b_roll": {
120562
+ "ops.recruiting.advertising.ads.copy": {
120492
120563
  parameters: {
120493
120564
  query?: never;
120494
120565
  header?: {
@@ -120504,21 +120575,12 @@ export interface operations {
120504
120575
  content: {
120505
120576
  /**
120506
120577
  * @example {
120507
- * "run_id": 2,
120508
- * "creative_id": 8,
120509
- * "part_index": 1,
120510
- * "choice": "generated"
120578
+ * "ad_id": 2
120511
120579
  * }
120512
120580
  */
120513
120581
  "application/json": {
120514
- /** @description The campaign draft (composer run) */
120515
- run_id: number;
120516
- /** @description The draft ad */
120517
- creative_id: number;
120518
- /** @description The part, from 1 */
120519
- part_index: number | string | null;
120520
- /** @description own or generated */
120521
- choice: string | null;
120582
+ /** @description The ended ad to run again */
120583
+ ad_id: number;
120522
120584
  };
120523
120585
  };
120524
120586
  };
@@ -120532,9 +120594,9 @@ export interface operations {
120532
120594
  /**
120533
120595
  * @example {
120534
120596
  * "result": {
120535
- * "message": "Putting the generated shot back into part 1. This takes a minute.",
120536
- * "run_id": 2,
120537
- * "creative_id": 8
120597
+ * "message": "The ad is running again.",
120598
+ * "ad_id": 8,
120599
+ * "copied_from_ad_id": 2
120538
120600
  * }
120539
120601
  * }
120540
120602
  */
@@ -120542,10 +120604,10 @@ export interface operations {
120542
120604
  result: {
120543
120605
  /** @description What happened, in the operator's words */
120544
120606
  message: string;
120545
- /** @description The campaign draft */
120546
- run_id: number;
120547
- /** @description The draft ad */
120548
- creative_id: number;
120607
+ /** @description The new ad */
120608
+ ad_id: number;
120609
+ /** @description The ended ad it copies */
120610
+ copied_from_ad_id: number;
120549
120611
  };
120550
120612
  };
120551
120613
  };
@@ -120616,7 +120678,7 @@ export interface operations {
120616
120678
  };
120617
120679
  };
120618
120680
  };
120619
- "ops.recruiting.advertising.advertise.creatives.choose_hook": {
120681
+ "ops.recruiting.advertising.advertise.approve": {
120620
120682
  parameters: {
120621
120683
  query?: never;
120622
120684
  header?: {
@@ -120632,18 +120694,14 @@ export interface operations {
120632
120694
  content: {
120633
120695
  /**
120634
120696
  * @example {
120635
- * "run_id": 2,
120636
- * "creative_id": 8,
120637
- * "hook_index": 2
120697
+ * "run_id": 1
120638
120698
  * }
120639
120699
  */
120640
120700
  "application/json": {
120641
120701
  /** @description The campaign draft (composer run) */
120642
120702
  run_id: number;
120643
- /** @description The draft ad */
120644
- creative_id: number;
120645
- /** @description Which suggested idea (0 to 11) */
120646
- hook_index: number | string | null;
120703
+ /** @description Put the campaign on the ad platforms paused: nothing is spent until it is resumed (default false) */
120704
+ start_paused?: boolean;
120647
120705
  };
120648
120706
  };
120649
120707
  };
@@ -120657,9 +120715,9 @@ export interface operations {
120657
120715
  /**
120658
120716
  * @example {
120659
120717
  * "result": {
120660
- * "message": "Writing a new script with that opening.",
120661
- * "run_id": 2,
120662
- * "creative_id": 8
120718
+ * "message": "Approved — your ads are launching.",
120719
+ * "run_id": 1,
120720
+ * "campaign_id": 2
120663
120721
  * }
120664
120722
  * }
120665
120723
  */
@@ -120669,8 +120727,8 @@ export interface operations {
120669
120727
  message: string;
120670
120728
  /** @description The campaign draft */
120671
120729
  run_id: number;
120672
- /** @description The draft ad */
120673
- creative_id: number;
120730
+ /** @description The launched campaign */
120731
+ campaign_id?: number | null;
120674
120732
  };
120675
120733
  };
120676
120734
  };
@@ -120741,7 +120799,7 @@ export interface operations {
120741
120799
  };
120742
120800
  };
120743
120801
  };
120744
- "ops.recruiting.advertising.advertise.creatives.redo_part": {
120802
+ "ops.recruiting.advertising.advertise.create": {
120745
120803
  parameters: {
120746
120804
  query?: never;
120747
120805
  header?: {
@@ -120757,18 +120815,59 @@ export interface operations {
120757
120815
  content: {
120758
120816
  /**
120759
120817
  * @example {
120760
- * "run_id": 2,
120761
- * "creative_id": 8,
120762
- * "part_index": 2
120818
+ * "job_posting_id": 1,
120819
+ * "amount": 600,
120820
+ * "radius_miles": 50,
120821
+ * "location_query": "Dallas, TX",
120822
+ * "duration_days": 30
120763
120823
  * }
120764
120824
  */
120765
120825
  "application/json": {
120766
- /** @description The campaign draft (composer run) */
120767
- run_id: number;
120768
- /** @description The draft ad */
120769
- creative_id: number;
120770
- /** @description The part, from 1 */
120771
- part_index: number | string | null;
120826
+ /** @description The job posting to advertise */
120827
+ job_posting_id: number | string | null;
120828
+ /** @description Whole dollars a month (1 to 1,000,000) */
120829
+ amount: number | string | null;
120830
+ /** @description Miles around the location (1 to 500); needed without area */
120831
+ radius_miles?: number | string | null;
120832
+ /** @description City, ZIP or address to center the ads on; needed without area */
120833
+ location_query?: string | null;
120834
+ /** @description Where the ads show: places with miles, whole states, or country US alone; wins over radius_miles and location_query */
120835
+ area?: {
120836
+ /** @description Places with miles around each (up to 10) */
120837
+ places?: {
120838
+ /** @description Where a dropped pin is (with longitude) */
120839
+ latitude?: number;
120840
+ /** @description Where a dropped pin is (with latitude) */
120841
+ longitude?: number;
120842
+ /** @description A typed place, such as "Houston, TX"; with coordinates it is only the name */
120843
+ place_query?: string;
120844
+ /** @description Miles around the place, 15 to 250 in steps of 5 */
120845
+ radius_miles: number;
120846
+ }[];
120847
+ /** @description Whole US states by two-letter code ("TX") */
120848
+ states?: string[];
120849
+ /**
120850
+ * @description "US" for anywhere in the US, alone
120851
+ * @enum {string|null}
120852
+ */
120853
+ country?: "US" | null;
120854
+ } | null;
120855
+ /** @description 30, 60 or 90 days */
120856
+ duration_days?: number | string | null;
120857
+ /** @description Campaign name (140 characters at most) */
120858
+ campaign_name?: string | null;
120859
+ /** @description Where the ads run: meta_ads, tiktok_ads, both */
120860
+ platforms?: string | null;
120861
+ /** @description Kinds of ads: images, video, both */
120862
+ ad_kinds?: string | null;
120863
+ /** @description Photo ads per ad group */
120864
+ photo_ads_per_group?: number | string | null;
120865
+ /** @description Videos per ad group */
120866
+ videos_per_group?: number | string | null;
120867
+ /** @description Video length: 6, 10, 15, 20, 30 seconds */
120868
+ video_length_seconds?: number | string | null;
120869
+ /** @description An ended campaign whose ads to reuse instead of writing new ones */
120870
+ copy_ads_from_campaign_id?: number | string | null;
120772
120871
  };
120773
120872
  };
120774
120873
  };
@@ -120782,9 +120881,8 @@ export interface operations {
120782
120881
  /**
120783
120882
  * @example {
120784
120883
  * "result": {
120785
- * "message": "Redoing part 2. This usually takes a few minutes.",
120786
- * "run_id": 2,
120787
- * "creative_id": 8
120884
+ * "message": "Axivoy is drafting your ads.",
120885
+ * "run_id": 2
120788
120886
  * }
120789
120887
  * }
120790
120888
  */
@@ -120794,8 +120892,6 @@ export interface operations {
120794
120892
  message: string;
120795
120893
  /** @description The campaign draft */
120796
120894
  run_id: number;
120797
- /** @description The draft ad */
120798
- creative_id: number;
120799
120895
  };
120800
120896
  };
120801
120897
  };
@@ -120866,7 +120962,7 @@ export interface operations {
120866
120962
  };
120867
120963
  };
120868
120964
  };
120869
- "ops.recruiting.advertising.advertise.creatives.regenerate": {
120965
+ "ops.recruiting.advertising.advertise.creatives.add_video": {
120870
120966
  parameters: {
120871
120967
  query?: never;
120872
120968
  header?: {
@@ -120880,17 +120976,11 @@ export interface operations {
120880
120976
  };
120881
120977
  requestBody?: {
120882
120978
  content: {
120883
- /**
120884
- * @example {
120885
- * "run_id": 1,
120886
- * "creative_id": 5
120887
- * }
120888
- */
120889
120979
  "application/json": {
120890
120980
  /** @description The campaign draft (composer run) */
120891
120981
  run_id: number;
120892
- /** @description The draft ad */
120893
- creative_id: number;
120982
+ /** @description What the video should show, in plain words (500 characters at most); empty lets the writer pick the idea */
120983
+ description?: string | null;
120894
120984
  };
120895
120985
  };
120896
120986
  };
@@ -120901,23 +120991,640 @@ export interface operations {
120901
120991
  [name: string]: unknown;
120902
120992
  };
120903
120993
  content: {
120904
- /**
120905
- * @example {
120906
- * "result": {
120907
- * "message": "Making a new photo for this ad.",
120908
- * "run_id": 1,
120909
- * "creative_id": 5
120910
- * }
120911
- * }
120912
- */
120913
120994
  "application/json": {
120914
120995
  result: {
120915
120996
  /** @description What happened, in the operator's words */
120916
120997
  message: string;
120917
120998
  /** @description The campaign draft */
120918
120999
  run_id: number;
120919
- /** @description The draft ad */
120920
- creative_id: number;
121000
+ /** @description The new video draft */
121001
+ creative_id?: number | null;
121002
+ };
121003
+ };
121004
+ };
121005
+ };
121006
+ 202: components["responses"]["Proposal"];
121007
+ /** @description Refused: credits_exhausted. */
121008
+ 402: {
121009
+ headers: {
121010
+ [name: string]: unknown;
121011
+ };
121012
+ content: {
121013
+ "application/json": components["schemas"]["OperationError"];
121014
+ };
121015
+ };
121016
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
121017
+ 403: {
121018
+ headers: {
121019
+ [name: string]: unknown;
121020
+ };
121021
+ content: {
121022
+ "application/json": components["schemas"]["OperationError"];
121023
+ };
121024
+ };
121025
+ /** @description Refused: not_found. */
121026
+ 404: {
121027
+ headers: {
121028
+ [name: string]: unknown;
121029
+ };
121030
+ content: {
121031
+ "application/json": components["schemas"]["OperationError"];
121032
+ };
121033
+ };
121034
+ /** @description Refused: idempotency_conflict, stale_state. */
121035
+ 409: {
121036
+ headers: {
121037
+ [name: string]: unknown;
121038
+ };
121039
+ content: {
121040
+ "application/json": components["schemas"]["OperationError"];
121041
+ };
121042
+ };
121043
+ /** @description Refused: operation_retired. */
121044
+ 410: {
121045
+ headers: {
121046
+ [name: string]: unknown;
121047
+ };
121048
+ content: {
121049
+ "application/json": components["schemas"]["OperationError"];
121050
+ };
121051
+ };
121052
+ /** @description Refused: invalid_input, domain_rule. */
121053
+ 422: {
121054
+ headers: {
121055
+ [name: string]: unknown;
121056
+ };
121057
+ content: {
121058
+ "application/json": components["schemas"]["OperationError"];
121059
+ };
121060
+ };
121061
+ /** @description Refused: rate_limited. */
121062
+ 429: {
121063
+ headers: {
121064
+ [name: string]: unknown;
121065
+ };
121066
+ content: {
121067
+ "application/json": components["schemas"]["OperationError"];
121068
+ };
121069
+ };
121070
+ };
121071
+ };
121072
+ "ops.recruiting.advertising.advertise.creatives.approve_script": {
121073
+ parameters: {
121074
+ query?: never;
121075
+ header?: {
121076
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121077
+ "Idempotency-Key"?: string;
121078
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121079
+ "Axivoy-Dry-Run"?: "true" | "false";
121080
+ };
121081
+ path?: never;
121082
+ cookie?: never;
121083
+ };
121084
+ requestBody?: {
121085
+ content: {
121086
+ /**
121087
+ * @example {
121088
+ * "run_id": 2,
121089
+ * "creative_id": 8
121090
+ * }
121091
+ */
121092
+ "application/json": {
121093
+ /** @description The campaign draft (composer run) */
121094
+ run_id: number;
121095
+ /** @description The draft ad */
121096
+ creative_id: number;
121097
+ };
121098
+ };
121099
+ };
121100
+ responses: {
121101
+ /** @description The operation ran. */
121102
+ 200: {
121103
+ headers: {
121104
+ [name: string]: unknown;
121105
+ };
121106
+ content: {
121107
+ /**
121108
+ * @example {
121109
+ * "result": {
121110
+ * "message": "Making your video. This usually takes a few minutes.",
121111
+ * "run_id": 2,
121112
+ * "creative_id": 8
121113
+ * }
121114
+ * }
121115
+ */
121116
+ "application/json": {
121117
+ result: {
121118
+ /** @description What happened, in the operator's words */
121119
+ message: string;
121120
+ /** @description The campaign draft */
121121
+ run_id: number;
121122
+ /** @description The draft ad */
121123
+ creative_id: number;
121124
+ };
121125
+ };
121126
+ };
121127
+ };
121128
+ 202: components["responses"]["Proposal"];
121129
+ /** @description Refused: credits_exhausted. */
121130
+ 402: {
121131
+ headers: {
121132
+ [name: string]: unknown;
121133
+ };
121134
+ content: {
121135
+ "application/json": components["schemas"]["OperationError"];
121136
+ };
121137
+ };
121138
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
121139
+ 403: {
121140
+ headers: {
121141
+ [name: string]: unknown;
121142
+ };
121143
+ content: {
121144
+ "application/json": components["schemas"]["OperationError"];
121145
+ };
121146
+ };
121147
+ /** @description Refused: not_found. */
121148
+ 404: {
121149
+ headers: {
121150
+ [name: string]: unknown;
121151
+ };
121152
+ content: {
121153
+ "application/json": components["schemas"]["OperationError"];
121154
+ };
121155
+ };
121156
+ /** @description Refused: idempotency_conflict, stale_state. */
121157
+ 409: {
121158
+ headers: {
121159
+ [name: string]: unknown;
121160
+ };
121161
+ content: {
121162
+ "application/json": components["schemas"]["OperationError"];
121163
+ };
121164
+ };
121165
+ /** @description Refused: operation_retired. */
121166
+ 410: {
121167
+ headers: {
121168
+ [name: string]: unknown;
121169
+ };
121170
+ content: {
121171
+ "application/json": components["schemas"]["OperationError"];
121172
+ };
121173
+ };
121174
+ /** @description Refused: invalid_input, domain_rule. */
121175
+ 422: {
121176
+ headers: {
121177
+ [name: string]: unknown;
121178
+ };
121179
+ content: {
121180
+ "application/json": components["schemas"]["OperationError"];
121181
+ };
121182
+ };
121183
+ /** @description Refused: rate_limited. */
121184
+ 429: {
121185
+ headers: {
121186
+ [name: string]: unknown;
121187
+ };
121188
+ content: {
121189
+ "application/json": components["schemas"]["OperationError"];
121190
+ };
121191
+ };
121192
+ };
121193
+ };
121194
+ "ops.recruiting.advertising.advertise.creatives.b_roll": {
121195
+ parameters: {
121196
+ query?: never;
121197
+ header?: {
121198
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121199
+ "Idempotency-Key"?: string;
121200
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121201
+ "Axivoy-Dry-Run"?: "true" | "false";
121202
+ };
121203
+ path?: never;
121204
+ cookie?: never;
121205
+ };
121206
+ requestBody?: {
121207
+ content: {
121208
+ /**
121209
+ * @example {
121210
+ * "run_id": 2,
121211
+ * "creative_id": 8,
121212
+ * "part_index": 1,
121213
+ * "choice": "generated"
121214
+ * }
121215
+ */
121216
+ "application/json": {
121217
+ /** @description The campaign draft (composer run) */
121218
+ run_id: number;
121219
+ /** @description The draft ad */
121220
+ creative_id: number;
121221
+ /** @description The part, from 1 */
121222
+ part_index: number | string | null;
121223
+ /** @description own or generated */
121224
+ choice: string | null;
121225
+ };
121226
+ };
121227
+ };
121228
+ responses: {
121229
+ /** @description The operation ran. */
121230
+ 200: {
121231
+ headers: {
121232
+ [name: string]: unknown;
121233
+ };
121234
+ content: {
121235
+ /**
121236
+ * @example {
121237
+ * "result": {
121238
+ * "message": "Putting the generated shot back into part 1. This takes a minute.",
121239
+ * "run_id": 2,
121240
+ * "creative_id": 8
121241
+ * }
121242
+ * }
121243
+ */
121244
+ "application/json": {
121245
+ result: {
121246
+ /** @description What happened, in the operator's words */
121247
+ message: string;
121248
+ /** @description The campaign draft */
121249
+ run_id: number;
121250
+ /** @description The draft ad */
121251
+ creative_id: number;
121252
+ };
121253
+ };
121254
+ };
121255
+ };
121256
+ 202: components["responses"]["Proposal"];
121257
+ /** @description Refused: credits_exhausted. */
121258
+ 402: {
121259
+ headers: {
121260
+ [name: string]: unknown;
121261
+ };
121262
+ content: {
121263
+ "application/json": components["schemas"]["OperationError"];
121264
+ };
121265
+ };
121266
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
121267
+ 403: {
121268
+ headers: {
121269
+ [name: string]: unknown;
121270
+ };
121271
+ content: {
121272
+ "application/json": components["schemas"]["OperationError"];
121273
+ };
121274
+ };
121275
+ /** @description Refused: not_found. */
121276
+ 404: {
121277
+ headers: {
121278
+ [name: string]: unknown;
121279
+ };
121280
+ content: {
121281
+ "application/json": components["schemas"]["OperationError"];
121282
+ };
121283
+ };
121284
+ /** @description Refused: idempotency_conflict, stale_state. */
121285
+ 409: {
121286
+ headers: {
121287
+ [name: string]: unknown;
121288
+ };
121289
+ content: {
121290
+ "application/json": components["schemas"]["OperationError"];
121291
+ };
121292
+ };
121293
+ /** @description Refused: operation_retired. */
121294
+ 410: {
121295
+ headers: {
121296
+ [name: string]: unknown;
121297
+ };
121298
+ content: {
121299
+ "application/json": components["schemas"]["OperationError"];
121300
+ };
121301
+ };
121302
+ /** @description Refused: invalid_input, domain_rule. */
121303
+ 422: {
121304
+ headers: {
121305
+ [name: string]: unknown;
121306
+ };
121307
+ content: {
121308
+ "application/json": components["schemas"]["OperationError"];
121309
+ };
121310
+ };
121311
+ /** @description Refused: rate_limited. */
121312
+ 429: {
121313
+ headers: {
121314
+ [name: string]: unknown;
121315
+ };
121316
+ content: {
121317
+ "application/json": components["schemas"]["OperationError"];
121318
+ };
121319
+ };
121320
+ };
121321
+ };
121322
+ "ops.recruiting.advertising.advertise.creatives.choose_hook": {
121323
+ parameters: {
121324
+ query?: never;
121325
+ header?: {
121326
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121327
+ "Idempotency-Key"?: string;
121328
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121329
+ "Axivoy-Dry-Run"?: "true" | "false";
121330
+ };
121331
+ path?: never;
121332
+ cookie?: never;
121333
+ };
121334
+ requestBody?: {
121335
+ content: {
121336
+ /**
121337
+ * @example {
121338
+ * "run_id": 2,
121339
+ * "creative_id": 8,
121340
+ * "hook_index": 2
121341
+ * }
121342
+ */
121343
+ "application/json": {
121344
+ /** @description The campaign draft (composer run) */
121345
+ run_id: number;
121346
+ /** @description The draft ad */
121347
+ creative_id: number;
121348
+ /** @description Which suggested idea (0 to 11) */
121349
+ hook_index: number | string | null;
121350
+ };
121351
+ };
121352
+ };
121353
+ responses: {
121354
+ /** @description The operation ran. */
121355
+ 200: {
121356
+ headers: {
121357
+ [name: string]: unknown;
121358
+ };
121359
+ content: {
121360
+ /**
121361
+ * @example {
121362
+ * "result": {
121363
+ * "message": "Writing a new script with that opening.",
121364
+ * "run_id": 2,
121365
+ * "creative_id": 8
121366
+ * }
121367
+ * }
121368
+ */
121369
+ "application/json": {
121370
+ result: {
121371
+ /** @description What happened, in the operator's words */
121372
+ message: string;
121373
+ /** @description The campaign draft */
121374
+ run_id: number;
121375
+ /** @description The draft ad */
121376
+ creative_id: number;
121377
+ };
121378
+ };
121379
+ };
121380
+ };
121381
+ 202: components["responses"]["Proposal"];
121382
+ /** @description Refused: credits_exhausted. */
121383
+ 402: {
121384
+ headers: {
121385
+ [name: string]: unknown;
121386
+ };
121387
+ content: {
121388
+ "application/json": components["schemas"]["OperationError"];
121389
+ };
121390
+ };
121391
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
121392
+ 403: {
121393
+ headers: {
121394
+ [name: string]: unknown;
121395
+ };
121396
+ content: {
121397
+ "application/json": components["schemas"]["OperationError"];
121398
+ };
121399
+ };
121400
+ /** @description Refused: not_found. */
121401
+ 404: {
121402
+ headers: {
121403
+ [name: string]: unknown;
121404
+ };
121405
+ content: {
121406
+ "application/json": components["schemas"]["OperationError"];
121407
+ };
121408
+ };
121409
+ /** @description Refused: idempotency_conflict, stale_state. */
121410
+ 409: {
121411
+ headers: {
121412
+ [name: string]: unknown;
121413
+ };
121414
+ content: {
121415
+ "application/json": components["schemas"]["OperationError"];
121416
+ };
121417
+ };
121418
+ /** @description Refused: operation_retired. */
121419
+ 410: {
121420
+ headers: {
121421
+ [name: string]: unknown;
121422
+ };
121423
+ content: {
121424
+ "application/json": components["schemas"]["OperationError"];
121425
+ };
121426
+ };
121427
+ /** @description Refused: invalid_input, domain_rule. */
121428
+ 422: {
121429
+ headers: {
121430
+ [name: string]: unknown;
121431
+ };
121432
+ content: {
121433
+ "application/json": components["schemas"]["OperationError"];
121434
+ };
121435
+ };
121436
+ /** @description Refused: rate_limited. */
121437
+ 429: {
121438
+ headers: {
121439
+ [name: string]: unknown;
121440
+ };
121441
+ content: {
121442
+ "application/json": components["schemas"]["OperationError"];
121443
+ };
121444
+ };
121445
+ };
121446
+ };
121447
+ "ops.recruiting.advertising.advertise.creatives.redo_part": {
121448
+ parameters: {
121449
+ query?: never;
121450
+ header?: {
121451
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121452
+ "Idempotency-Key"?: string;
121453
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121454
+ "Axivoy-Dry-Run"?: "true" | "false";
121455
+ };
121456
+ path?: never;
121457
+ cookie?: never;
121458
+ };
121459
+ requestBody?: {
121460
+ content: {
121461
+ /**
121462
+ * @example {
121463
+ * "run_id": 2,
121464
+ * "creative_id": 8,
121465
+ * "part_index": 2
121466
+ * }
121467
+ */
121468
+ "application/json": {
121469
+ /** @description The campaign draft (composer run) */
121470
+ run_id: number;
121471
+ /** @description The draft ad */
121472
+ creative_id: number;
121473
+ /** @description The part, from 1 */
121474
+ part_index: number | string | null;
121475
+ };
121476
+ };
121477
+ };
121478
+ responses: {
121479
+ /** @description The operation ran. */
121480
+ 200: {
121481
+ headers: {
121482
+ [name: string]: unknown;
121483
+ };
121484
+ content: {
121485
+ /**
121486
+ * @example {
121487
+ * "result": {
121488
+ * "message": "Redoing part 2. This usually takes a few minutes.",
121489
+ * "run_id": 2,
121490
+ * "creative_id": 8
121491
+ * }
121492
+ * }
121493
+ */
121494
+ "application/json": {
121495
+ result: {
121496
+ /** @description What happened, in the operator's words */
121497
+ message: string;
121498
+ /** @description The campaign draft */
121499
+ run_id: number;
121500
+ /** @description The draft ad */
121501
+ creative_id: number;
121502
+ };
121503
+ };
121504
+ };
121505
+ };
121506
+ 202: components["responses"]["Proposal"];
121507
+ /** @description Refused: credits_exhausted. */
121508
+ 402: {
121509
+ headers: {
121510
+ [name: string]: unknown;
121511
+ };
121512
+ content: {
121513
+ "application/json": components["schemas"]["OperationError"];
121514
+ };
121515
+ };
121516
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
121517
+ 403: {
121518
+ headers: {
121519
+ [name: string]: unknown;
121520
+ };
121521
+ content: {
121522
+ "application/json": components["schemas"]["OperationError"];
121523
+ };
121524
+ };
121525
+ /** @description Refused: not_found. */
121526
+ 404: {
121527
+ headers: {
121528
+ [name: string]: unknown;
121529
+ };
121530
+ content: {
121531
+ "application/json": components["schemas"]["OperationError"];
121532
+ };
121533
+ };
121534
+ /** @description Refused: idempotency_conflict, stale_state. */
121535
+ 409: {
121536
+ headers: {
121537
+ [name: string]: unknown;
121538
+ };
121539
+ content: {
121540
+ "application/json": components["schemas"]["OperationError"];
121541
+ };
121542
+ };
121543
+ /** @description Refused: operation_retired. */
121544
+ 410: {
121545
+ headers: {
121546
+ [name: string]: unknown;
121547
+ };
121548
+ content: {
121549
+ "application/json": components["schemas"]["OperationError"];
121550
+ };
121551
+ };
121552
+ /** @description Refused: invalid_input, domain_rule. */
121553
+ 422: {
121554
+ headers: {
121555
+ [name: string]: unknown;
121556
+ };
121557
+ content: {
121558
+ "application/json": components["schemas"]["OperationError"];
121559
+ };
121560
+ };
121561
+ /** @description Refused: rate_limited. */
121562
+ 429: {
121563
+ headers: {
121564
+ [name: string]: unknown;
121565
+ };
121566
+ content: {
121567
+ "application/json": components["schemas"]["OperationError"];
121568
+ };
121569
+ };
121570
+ };
121571
+ };
121572
+ "ops.recruiting.advertising.advertise.creatives.regenerate": {
121573
+ parameters: {
121574
+ query?: never;
121575
+ header?: {
121576
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121577
+ "Idempotency-Key"?: string;
121578
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121579
+ "Axivoy-Dry-Run"?: "true" | "false";
121580
+ };
121581
+ path?: never;
121582
+ cookie?: never;
121583
+ };
121584
+ requestBody?: {
121585
+ content: {
121586
+ /**
121587
+ * @example {
121588
+ * "run_id": 1,
121589
+ * "creative_id": 5
121590
+ * }
121591
+ */
121592
+ "application/json": {
121593
+ /** @description The campaign draft (composer run) */
121594
+ run_id?: number;
121595
+ /** @description The ad group, for a new ad on a running campaign (instead of run_id) */
121596
+ ad_set_id?: number;
121597
+ /** @description The draft ad */
121598
+ creative_id: number;
121599
+ };
121600
+ };
121601
+ };
121602
+ responses: {
121603
+ /** @description The operation ran. */
121604
+ 200: {
121605
+ headers: {
121606
+ [name: string]: unknown;
121607
+ };
121608
+ content: {
121609
+ /**
121610
+ * @example {
121611
+ * "result": {
121612
+ * "message": "Making a new photo for this ad.",
121613
+ * "run_id": 1,
121614
+ * "creative_id": 5
121615
+ * }
121616
+ * }
121617
+ */
121618
+ "application/json": {
121619
+ result: {
121620
+ /** @description What happened, in the operator's words */
121621
+ message: string;
121622
+ /** @description The campaign draft; 0 for a new ad on a running campaign */
121623
+ run_id: number;
121624
+ /** @description The draft ad */
121625
+ creative_id: number;
121626
+ /** @description The ad group, when the ad is a new ad on a running campaign */
121627
+ ad_set_id?: number | null;
120921
121628
  };
120922
121629
  };
120923
121630
  };
@@ -121010,7 +121717,9 @@ export interface operations {
121010
121717
  */
121011
121718
  "application/json": {
121012
121719
  /** @description The campaign draft (composer run) */
121013
- run_id: number;
121720
+ run_id?: number;
121721
+ /** @description The ad group, for a new ad on a running campaign (instead of run_id) */
121722
+ ad_set_id?: number;
121014
121723
  /** @description The draft ad */
121015
121724
  creative_id: number;
121016
121725
  };
@@ -121036,10 +121745,12 @@ export interface operations {
121036
121745
  result: {
121037
121746
  /** @description What happened, in the operator's words */
121038
121747
  message: string;
121039
- /** @description The campaign draft */
121748
+ /** @description The campaign draft; 0 for a new ad on a running campaign */
121040
121749
  run_id: number;
121041
121750
  /** @description The draft ad */
121042
121751
  creative_id: number;
121752
+ /** @description The ad group, when the ad is a new ad on a running campaign */
121753
+ ad_set_id?: number | null;
121043
121754
  };
121044
121755
  };
121045
121756
  };
@@ -121232,7 +121943,259 @@ export interface operations {
121232
121943
  };
121233
121944
  };
121234
121945
  };
121235
- "ops.recruiting.advertising.advertise.creatives.retry_script": {
121946
+ "ops.recruiting.advertising.advertise.creatives.retry_script": {
121947
+ parameters: {
121948
+ query?: never;
121949
+ header?: {
121950
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121951
+ "Idempotency-Key"?: string;
121952
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121953
+ "Axivoy-Dry-Run"?: "true" | "false";
121954
+ };
121955
+ path?: never;
121956
+ cookie?: never;
121957
+ };
121958
+ requestBody?: {
121959
+ content: {
121960
+ /**
121961
+ * @example {
121962
+ * "run_id": 2,
121963
+ * "creative_id": 8
121964
+ * }
121965
+ */
121966
+ "application/json": {
121967
+ /** @description The campaign draft (composer run) */
121968
+ run_id: number;
121969
+ /** @description The draft ad */
121970
+ creative_id: number;
121971
+ };
121972
+ };
121973
+ };
121974
+ responses: {
121975
+ /** @description The operation ran. */
121976
+ 200: {
121977
+ headers: {
121978
+ [name: string]: unknown;
121979
+ };
121980
+ content: {
121981
+ /**
121982
+ * @example {
121983
+ * "result": {
121984
+ * "message": "Writing the script again. This usually takes a few minutes.",
121985
+ * "run_id": 2,
121986
+ * "creative_id": 8
121987
+ * }
121988
+ * }
121989
+ */
121990
+ "application/json": {
121991
+ result: {
121992
+ /** @description What happened, in the operator's words */
121993
+ message: string;
121994
+ /** @description The campaign draft */
121995
+ run_id: number;
121996
+ /** @description The draft ad */
121997
+ creative_id: number;
121998
+ };
121999
+ };
122000
+ };
122001
+ };
122002
+ 202: components["responses"]["Proposal"];
122003
+ /** @description Refused: credits_exhausted. */
122004
+ 402: {
122005
+ headers: {
122006
+ [name: string]: unknown;
122007
+ };
122008
+ content: {
122009
+ "application/json": components["schemas"]["OperationError"];
122010
+ };
122011
+ };
122012
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
122013
+ 403: {
122014
+ headers: {
122015
+ [name: string]: unknown;
122016
+ };
122017
+ content: {
122018
+ "application/json": components["schemas"]["OperationError"];
122019
+ };
122020
+ };
122021
+ /** @description Refused: not_found. */
122022
+ 404: {
122023
+ headers: {
122024
+ [name: string]: unknown;
122025
+ };
122026
+ content: {
122027
+ "application/json": components["schemas"]["OperationError"];
122028
+ };
122029
+ };
122030
+ /** @description Refused: idempotency_conflict, stale_state. */
122031
+ 409: {
122032
+ headers: {
122033
+ [name: string]: unknown;
122034
+ };
122035
+ content: {
122036
+ "application/json": components["schemas"]["OperationError"];
122037
+ };
122038
+ };
122039
+ /** @description Refused: operation_retired. */
122040
+ 410: {
122041
+ headers: {
122042
+ [name: string]: unknown;
122043
+ };
122044
+ content: {
122045
+ "application/json": components["schemas"]["OperationError"];
122046
+ };
122047
+ };
122048
+ /** @description Refused: invalid_input, domain_rule. */
122049
+ 422: {
122050
+ headers: {
122051
+ [name: string]: unknown;
122052
+ };
122053
+ content: {
122054
+ "application/json": components["schemas"]["OperationError"];
122055
+ };
122056
+ };
122057
+ /** @description Refused: rate_limited. */
122058
+ 429: {
122059
+ headers: {
122060
+ [name: string]: unknown;
122061
+ };
122062
+ content: {
122063
+ "application/json": components["schemas"]["OperationError"];
122064
+ };
122065
+ };
122066
+ };
122067
+ };
122068
+ "ops.recruiting.advertising.advertise.creatives.storyboard": {
122069
+ parameters: {
122070
+ query?: never;
122071
+ header?: {
122072
+ /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
122073
+ "Idempotency-Key"?: string;
122074
+ /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
122075
+ "Axivoy-Dry-Run"?: "true" | "false";
122076
+ };
122077
+ path?: never;
122078
+ cookie?: never;
122079
+ };
122080
+ requestBody?: {
122081
+ content: {
122082
+ /**
122083
+ * @example {
122084
+ * "run_id": 2,
122085
+ * "creative_id": 8,
122086
+ * "index": 2,
122087
+ * "on_screen_text": "Home every weekend."
122088
+ * }
122089
+ */
122090
+ "application/json": {
122091
+ /** @description The campaign draft (composer run) */
122092
+ run_id: number;
122093
+ /** @description The draft ad */
122094
+ creative_id: number;
122095
+ /** @description The part, or the moment in a one-take video, from 1 */
122096
+ index: number | string | null;
122097
+ /** @description Words on screen (60 characters at most); left out keeps them */
122098
+ on_screen_text?: string | null;
122099
+ /** @description The scene, in plain words (200 characters at most); left out keeps it */
122100
+ scene_note?: string | null;
122101
+ };
122102
+ };
122103
+ };
122104
+ responses: {
122105
+ /** @description The operation ran. */
122106
+ 200: {
122107
+ headers: {
122108
+ [name: string]: unknown;
122109
+ };
122110
+ content: {
122111
+ /**
122112
+ * @example {
122113
+ * "result": {
122114
+ * "message": "Script saved.",
122115
+ * "run_id": 2,
122116
+ * "creative_id": 8
122117
+ * }
122118
+ * }
122119
+ */
122120
+ "application/json": {
122121
+ result: {
122122
+ /** @description What happened, in the operator's words */
122123
+ message: string;
122124
+ /** @description The campaign draft */
122125
+ run_id: number;
122126
+ /** @description The draft ad */
122127
+ creative_id: number;
122128
+ };
122129
+ };
122130
+ };
122131
+ };
122132
+ 202: components["responses"]["Proposal"];
122133
+ /** @description Refused: credits_exhausted. */
122134
+ 402: {
122135
+ headers: {
122136
+ [name: string]: unknown;
122137
+ };
122138
+ content: {
122139
+ "application/json": components["schemas"]["OperationError"];
122140
+ };
122141
+ };
122142
+ /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
122143
+ 403: {
122144
+ headers: {
122145
+ [name: string]: unknown;
122146
+ };
122147
+ content: {
122148
+ "application/json": components["schemas"]["OperationError"];
122149
+ };
122150
+ };
122151
+ /** @description Refused: not_found. */
122152
+ 404: {
122153
+ headers: {
122154
+ [name: string]: unknown;
122155
+ };
122156
+ content: {
122157
+ "application/json": components["schemas"]["OperationError"];
122158
+ };
122159
+ };
122160
+ /** @description Refused: idempotency_conflict, stale_state. */
122161
+ 409: {
122162
+ headers: {
122163
+ [name: string]: unknown;
122164
+ };
122165
+ content: {
122166
+ "application/json": components["schemas"]["OperationError"];
122167
+ };
122168
+ };
122169
+ /** @description Refused: operation_retired. */
122170
+ 410: {
122171
+ headers: {
122172
+ [name: string]: unknown;
122173
+ };
122174
+ content: {
122175
+ "application/json": components["schemas"]["OperationError"];
122176
+ };
122177
+ };
122178
+ /** @description Refused: invalid_input, domain_rule. */
122179
+ 422: {
122180
+ headers: {
122181
+ [name: string]: unknown;
122182
+ };
122183
+ content: {
122184
+ "application/json": components["schemas"]["OperationError"];
122185
+ };
122186
+ };
122187
+ /** @description Refused: rate_limited. */
122188
+ 429: {
122189
+ headers: {
122190
+ [name: string]: unknown;
122191
+ };
122192
+ content: {
122193
+ "application/json": components["schemas"]["OperationError"];
122194
+ };
122195
+ };
122196
+ };
122197
+ };
122198
+ "ops.recruiting.advertising.advertise.creatives.update": {
121236
122199
  parameters: {
121237
122200
  query?: never;
121238
122201
  header?: {
@@ -121248,15 +122211,26 @@ export interface operations {
121248
122211
  content: {
121249
122212
  /**
121250
122213
  * @example {
121251
- * "run_id": 2,
121252
- * "creative_id": 8
122214
+ * "run_id": 1,
122215
+ * "creative_id": 5,
122216
+ * "headline": "Steady regional miles",
122217
+ * "primary_text": "Run regional lanes out of Dallas with weekly home time and no-touch freight.",
122218
+ * "description": "Apply in minutes"
121253
122219
  * }
121254
122220
  */
121255
122221
  "application/json": {
121256
122222
  /** @description The campaign draft (composer run) */
121257
- run_id: number;
122223
+ run_id?: number;
122224
+ /** @description The ad group, for a new ad on a running campaign (instead of run_id) */
122225
+ ad_set_id?: number;
121258
122226
  /** @description The draft ad */
121259
122227
  creative_id: number;
122228
+ /** @description Headline (40 characters at most) */
122229
+ headline: string | null;
122230
+ /** @description Main text (500 characters at most) */
122231
+ primary_text: string | null;
122232
+ /** @description Description (30 characters at most) */
122233
+ description?: string | null;
121260
122234
  };
121261
122235
  };
121262
122236
  };
@@ -121270,9 +122244,9 @@ export interface operations {
121270
122244
  /**
121271
122245
  * @example {
121272
122246
  * "result": {
121273
- * "message": "Writing the script again. This usually takes a few minutes.",
121274
- * "run_id": 2,
121275
- * "creative_id": 8
122247
+ * "message": "Ad wording saved.",
122248
+ * "run_id": 1,
122249
+ * "creative_id": 5
121276
122250
  * }
121277
122251
  * }
121278
122252
  */
@@ -121280,10 +122254,12 @@ export interface operations {
121280
122254
  result: {
121281
122255
  /** @description What happened, in the operator's words */
121282
122256
  message: string;
121283
- /** @description The campaign draft */
122257
+ /** @description The campaign draft; 0 for a new ad on a running campaign */
121284
122258
  run_id: number;
121285
122259
  /** @description The draft ad */
121286
122260
  creative_id: number;
122261
+ /** @description The ad group, when the ad is a new ad on a running campaign */
122262
+ ad_set_id?: number | null;
121287
122263
  };
121288
122264
  };
121289
122265
  };
@@ -121354,7 +122330,7 @@ export interface operations {
121354
122330
  };
121355
122331
  };
121356
122332
  };
121357
- "ops.recruiting.advertising.advertise.creatives.storyboard": {
122333
+ "ops.recruiting.advertising.advertise.estimate": {
121358
122334
  parameters: {
121359
122335
  query?: never;
121360
122336
  header?: {
@@ -121370,23 +122346,14 @@ export interface operations {
121370
122346
  content: {
121371
122347
  /**
121372
122348
  * @example {
121373
- * "run_id": 2,
121374
- * "creative_id": 8,
121375
- * "index": 2,
121376
- * "on_screen_text": "Home every weekend."
122349
+ * "amount": 600
121377
122350
  * }
121378
122351
  */
121379
122352
  "application/json": {
121380
- /** @description The campaign draft (composer run) */
121381
- run_id: number;
121382
- /** @description The draft ad */
121383
- creative_id: number;
121384
- /** @description The part, or the moment in a one-take video, from 1 */
121385
- index: number | string | null;
121386
- /** @description Words on screen (60 characters at most); left out keeps them */
121387
- on_screen_text?: string | null;
121388
- /** @description The scene, in plain words (200 characters at most); left out keeps it */
121389
- scene_note?: string | null;
122353
+ /** @description Whole dollars a month (1 to 1,000,000) */
122354
+ amount: number | string | null;
122355
+ /** @description Where the ads run: meta_ads, tiktok_ads, both */
122356
+ platforms?: string | null;
121390
122357
  };
121391
122358
  };
121392
122359
  };
@@ -121400,20 +122367,28 @@ export interface operations {
121400
122367
  /**
121401
122368
  * @example {
121402
122369
  * "result": {
121403
- * "message": "Script saved.",
121404
- * "run_id": 2,
121405
- * "creative_id": 8
122370
+ * "estimate_label": "We'll show an estimate once your first ads have run.",
122371
+ * "headroom_label": "That leaves $800 of your $2,000-a-month advertising budget.",
122372
+ * "verdict": {
122373
+ * "allowed": true,
122374
+ * "reason": null
122375
+ * }
121406
122376
  * }
121407
122377
  * }
121408
122378
  */
121409
122379
  "application/json": {
121410
122380
  result: {
121411
- /** @description What happened, in the operator's words */
121412
- message: string;
121413
- /** @description The campaign draft */
121414
- run_id: number;
121415
- /** @description The draft ad */
121416
- creative_id: number;
122381
+ /** @description Roughly how many applicants a month */
122382
+ estimate_label: string;
122383
+ /** @description What the budget leaves of the total advertising budget */
122384
+ headroom_label?: string | null;
122385
+ /** @description The spend policy check for this budget */
122386
+ verdict: {
122387
+ /** @description Whether the spend limits allow this budget */
122388
+ allowed: boolean;
122389
+ /** @description Why not, in plain words */
122390
+ reason?: string | null;
122391
+ };
121417
122392
  };
121418
122393
  };
121419
122394
  };
@@ -121484,7 +122459,7 @@ export interface operations {
121484
122459
  };
121485
122460
  };
121486
122461
  };
121487
- "ops.recruiting.advertising.advertise.creatives.update": {
122462
+ "ops.recruiting.advertising.advertise.reject": {
121488
122463
  parameters: {
121489
122464
  query?: never;
121490
122465
  header?: {
@@ -121501,23 +122476,14 @@ export interface operations {
121501
122476
  /**
121502
122477
  * @example {
121503
122478
  * "run_id": 1,
121504
- * "creative_id": 5,
121505
- * "headline": "Steady regional miles",
121506
- * "primary_text": "Run regional lanes out of Dallas with weekly home time and no-touch freight.",
121507
- * "description": "Apply in minutes"
122479
+ * "notes": "Not this month."
121508
122480
  * }
121509
122481
  */
121510
122482
  "application/json": {
121511
122483
  /** @description The campaign draft (composer run) */
121512
122484
  run_id: number;
121513
- /** @description The draft ad */
121514
- creative_id: number;
121515
- /** @description Headline (40 characters at most) */
121516
- headline: string | null;
121517
- /** @description Main text (500 characters at most) */
121518
- primary_text: string | null;
121519
- /** @description Description (30 characters at most) */
121520
- description?: string | null;
122485
+ /** @description Why (500 characters at most) */
122486
+ notes?: string | null;
121521
122487
  };
121522
122488
  };
121523
122489
  };
@@ -121531,9 +122497,8 @@ export interface operations {
121531
122497
  /**
121532
122498
  * @example {
121533
122499
  * "result": {
121534
- * "message": "Ad wording saved.",
121535
- * "run_id": 1,
121536
- * "creative_id": 5
122500
+ * "message": "Proposal declined — nothing will launch.",
122501
+ * "run_id": 1
121537
122502
  * }
121538
122503
  * }
121539
122504
  */
@@ -121543,8 +122508,6 @@ export interface operations {
121543
122508
  message: string;
121544
122509
  /** @description The campaign draft */
121545
122510
  run_id: number;
121546
- /** @description The draft ad */
121547
- creative_id: number;
121548
122511
  };
121549
122512
  };
121550
122513
  };
@@ -121615,136 +122578,7 @@ export interface operations {
121615
122578
  };
121616
122579
  };
121617
122580
  };
121618
- "ops.recruiting.advertising.advertise.estimate": {
121619
- parameters: {
121620
- query?: never;
121621
- header?: {
121622
- /** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
121623
- "Idempotency-Key"?: string;
121624
- /** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
121625
- "Axivoy-Dry-Run"?: "true" | "false";
121626
- };
121627
- path?: never;
121628
- cookie?: never;
121629
- };
121630
- requestBody?: {
121631
- content: {
121632
- /**
121633
- * @example {
121634
- * "amount": 600
121635
- * }
121636
- */
121637
- "application/json": {
121638
- /** @description Whole dollars a month (1 to 1,000,000) */
121639
- amount: number | string | null;
121640
- /** @description Where the ads run: meta_ads, tiktok_ads, both */
121641
- platforms?: string | null;
121642
- };
121643
- };
121644
- };
121645
- responses: {
121646
- /** @description The operation ran. */
121647
- 200: {
121648
- headers: {
121649
- [name: string]: unknown;
121650
- };
121651
- content: {
121652
- /**
121653
- * @example {
121654
- * "result": {
121655
- * "estimate_label": "We'll show an estimate once your first ads have run.",
121656
- * "headroom_label": "That leaves $800 of your $2,000-a-month advertising budget.",
121657
- * "verdict": {
121658
- * "allowed": true,
121659
- * "reason": null
121660
- * }
121661
- * }
121662
- * }
121663
- */
121664
- "application/json": {
121665
- result: {
121666
- /** @description Roughly how many applicants a month */
121667
- estimate_label: string;
121668
- /** @description What the budget leaves of the total advertising budget */
121669
- headroom_label?: string | null;
121670
- /** @description The spend policy check for this budget */
121671
- verdict: {
121672
- /** @description Whether the spend limits allow this budget */
121673
- allowed: boolean;
121674
- /** @description Why not, in plain words */
121675
- reason?: string | null;
121676
- };
121677
- };
121678
- };
121679
- };
121680
- };
121681
- 202: components["responses"]["Proposal"];
121682
- /** @description Refused: credits_exhausted. */
121683
- 402: {
121684
- headers: {
121685
- [name: string]: unknown;
121686
- };
121687
- content: {
121688
- "application/json": components["schemas"]["OperationError"];
121689
- };
121690
- };
121691
- /** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
121692
- 403: {
121693
- headers: {
121694
- [name: string]: unknown;
121695
- };
121696
- content: {
121697
- "application/json": components["schemas"]["OperationError"];
121698
- };
121699
- };
121700
- /** @description Refused: not_found. */
121701
- 404: {
121702
- headers: {
121703
- [name: string]: unknown;
121704
- };
121705
- content: {
121706
- "application/json": components["schemas"]["OperationError"];
121707
- };
121708
- };
121709
- /** @description Refused: idempotency_conflict, stale_state. */
121710
- 409: {
121711
- headers: {
121712
- [name: string]: unknown;
121713
- };
121714
- content: {
121715
- "application/json": components["schemas"]["OperationError"];
121716
- };
121717
- };
121718
- /** @description Refused: operation_retired. */
121719
- 410: {
121720
- headers: {
121721
- [name: string]: unknown;
121722
- };
121723
- content: {
121724
- "application/json": components["schemas"]["OperationError"];
121725
- };
121726
- };
121727
- /** @description Refused: invalid_input, domain_rule. */
121728
- 422: {
121729
- headers: {
121730
- [name: string]: unknown;
121731
- };
121732
- content: {
121733
- "application/json": components["schemas"]["OperationError"];
121734
- };
121735
- };
121736
- /** @description Refused: rate_limited. */
121737
- 429: {
121738
- headers: {
121739
- [name: string]: unknown;
121740
- };
121741
- content: {
121742
- "application/json": components["schemas"]["OperationError"];
121743
- };
121744
- };
121745
- };
121746
- };
121747
- "ops.recruiting.advertising.advertise.reject": {
122581
+ "ops.recruiting.advertising.budget.total": {
121748
122582
  parameters: {
121749
122583
  query?: never;
121750
122584
  header?: {
@@ -121760,15 +122594,12 @@ export interface operations {
121760
122594
  content: {
121761
122595
  /**
121762
122596
  * @example {
121763
- * "run_id": 1,
121764
- * "notes": "Not this month."
122597
+ * "amount": 5000
121765
122598
  * }
121766
122599
  */
121767
122600
  "application/json": {
121768
- /** @description The campaign draft (composer run) */
121769
- run_id: number;
121770
- /** @description Why (500 characters at most) */
121771
- notes?: string | null;
122601
+ /** @description Whole dollars a month (1 to 1,000,000); null removes the total */
122602
+ amount?: number | string | null;
121772
122603
  };
121773
122604
  };
121774
122605
  };
@@ -121782,8 +122613,8 @@ export interface operations {
121782
122613
  /**
121783
122614
  * @example {
121784
122615
  * "result": {
121785
- * "message": "Proposal declined — nothing will launch.",
121786
- * "run_id": 1
122616
+ * "message": "Total advertising budget saved.",
122617
+ * "total_budget_cents": 500000
121787
122618
  * }
121788
122619
  * }
121789
122620
  */
@@ -121791,8 +122622,8 @@ export interface operations {
121791
122622
  result: {
121792
122623
  /** @description What happened, in the operator's words */
121793
122624
  message: string;
121794
- /** @description The campaign draft */
121795
- run_id: number;
122625
+ /** @description The total monthly budget in cents, or null when removed */
122626
+ total_budget_cents?: number | null;
121796
122627
  };
121797
122628
  };
121798
122629
  };
@@ -121863,7 +122694,7 @@ export interface operations {
121863
122694
  };
121864
122695
  };
121865
122696
  };
121866
- "ops.recruiting.advertising.budget.total": {
122697
+ "ops.recruiting.advertising.campaigns.budget": {
121867
122698
  parameters: {
121868
122699
  query?: never;
121869
122700
  header?: {
@@ -121879,11 +122710,14 @@ export interface operations {
121879
122710
  content: {
121880
122711
  /**
121881
122712
  * @example {
121882
- * "amount": 5000
122713
+ * "campaign_id": 1,
122714
+ * "amount": 650.5
121883
122715
  * }
121884
122716
  */
121885
122717
  "application/json": {
121886
- /** @description Whole dollars a month (1 to 1,000,000); null removes the total */
122718
+ /** @description The advertised campaign */
122719
+ campaign_id: number;
122720
+ /** @description Dollars a month (1 to 1,000,000); null removes the budget */
121887
122721
  amount?: number | string | null;
121888
122722
  };
121889
122723
  };
@@ -121898,8 +122732,8 @@ export interface operations {
121898
122732
  /**
121899
122733
  * @example {
121900
122734
  * "result": {
121901
- * "message": "Total advertising budget saved.",
121902
- * "total_budget_cents": 500000
122735
+ * "message": "Campaign budget saved.",
122736
+ * "campaign_id": 1
121903
122737
  * }
121904
122738
  * }
121905
122739
  */
@@ -121907,8 +122741,8 @@ export interface operations {
121907
122741
  result: {
121908
122742
  /** @description What happened, in the operator's words */
121909
122743
  message: string;
121910
- /** @description The total monthly budget in cents, or null when removed */
121911
- total_budget_cents?: number | null;
122744
+ /** @description The campaign */
122745
+ campaign_id: number;
121912
122746
  };
121913
122747
  };
121914
122748
  };
@@ -121979,7 +122813,7 @@ export interface operations {
121979
122813
  };
121980
122814
  };
121981
122815
  };
121982
- "ops.recruiting.advertising.campaigns.budget": {
122816
+ "ops.recruiting.advertising.campaigns.combine": {
121983
122817
  parameters: {
121984
122818
  query?: never;
121985
122819
  header?: {
@@ -121993,17 +122827,17 @@ export interface operations {
121993
122827
  };
121994
122828
  requestBody?: {
121995
122829
  content: {
121996
- /**
121997
- * @example {
121998
- * "campaign_id": 1,
121999
- * "amount": 650.5
122000
- * }
122001
- */
122002
122830
  "application/json": {
122003
- /** @description The advertised campaign */
122831
+ /** @description The campaign to keep */
122004
122832
  campaign_id: number;
122005
- /** @description Dollars a month (1 to 1,000,000); null removes the budget */
122006
- amount?: number | string | null;
122833
+ /** @description A running campaign of the same job with a group on the same platform */
122834
+ from_campaign_id: number;
122835
+ /** @description Ads of the other campaign to bring, not rejected */
122836
+ ad_ids: number[];
122837
+ /** @description Ads of the kept group to pause */
122838
+ pause_ad_ids?: number[];
122839
+ /** @description Add the other campaign's monthly budget to the kept one */
122840
+ move_budget?: boolean | string | number | null;
122007
122841
  };
122008
122842
  };
122009
122843
  };
@@ -122014,20 +122848,18 @@ export interface operations {
122014
122848
  [name: string]: unknown;
122015
122849
  };
122016
122850
  content: {
122017
- /**
122018
- * @example {
122019
- * "result": {
122020
- * "message": "Campaign budget saved.",
122021
- * "campaign_id": 1
122022
- * }
122023
- * }
122024
- */
122025
122851
  "application/json": {
122026
122852
  result: {
122027
122853
  /** @description What happened, in the operator's words */
122028
122854
  message: string;
122029
- /** @description The campaign */
122030
- campaign_id: number;
122855
+ /** @description The copies now live in the kept campaign */
122856
+ copied_ad_ids: unknown[];
122857
+ /** @description The kept campaign's ads paused to make room */
122858
+ paused_ad_ids: unknown[];
122859
+ /** @description The campaign that paused */
122860
+ paused_campaign_id: number;
122861
+ /** @description The kept campaign's monthly budget afterwards, in US dollars */
122862
+ monthly_budget?: string | null;
122031
122863
  };
122032
122864
  };
122033
122865
  };