@axivoy/api 2.38.0 → 2.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schema.d.ts +182 -12
- package/package.json +1 -1
|
@@ -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:
|
|
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
|
*/
|
|
@@ -119789,6 +119811,125 @@ export interface operations {
|
|
|
119789
119811
|
};
|
|
119790
119812
|
};
|
|
119791
119813
|
};
|
|
119814
|
+
"ops.recruiting.advertising.ads.copy": {
|
|
119815
|
+
parameters: {
|
|
119816
|
+
query?: never;
|
|
119817
|
+
header?: {
|
|
119818
|
+
/** @description Replays the first result when the same call is retried. Send one per user intent on writes. */
|
|
119819
|
+
"Idempotency-Key"?: string;
|
|
119820
|
+
/** @description Send `true` to run every check without changing anything. The answer is `{"dry_run": {"outcome": "would_run" | "would_propose", "input": {...}}}`. */
|
|
119821
|
+
"Axivoy-Dry-Run"?: "true" | "false";
|
|
119822
|
+
};
|
|
119823
|
+
path?: never;
|
|
119824
|
+
cookie?: never;
|
|
119825
|
+
};
|
|
119826
|
+
requestBody?: {
|
|
119827
|
+
content: {
|
|
119828
|
+
/**
|
|
119829
|
+
* @example {
|
|
119830
|
+
* "ad_id": 2
|
|
119831
|
+
* }
|
|
119832
|
+
*/
|
|
119833
|
+
"application/json": {
|
|
119834
|
+
/** @description The ended ad to run again */
|
|
119835
|
+
ad_id: number;
|
|
119836
|
+
};
|
|
119837
|
+
};
|
|
119838
|
+
};
|
|
119839
|
+
responses: {
|
|
119840
|
+
/** @description The operation ran. */
|
|
119841
|
+
200: {
|
|
119842
|
+
headers: {
|
|
119843
|
+
[name: string]: unknown;
|
|
119844
|
+
};
|
|
119845
|
+
content: {
|
|
119846
|
+
/**
|
|
119847
|
+
* @example {
|
|
119848
|
+
* "result": {
|
|
119849
|
+
* "message": "The ad is running again.",
|
|
119850
|
+
* "ad_id": 8,
|
|
119851
|
+
* "copied_from_ad_id": 2
|
|
119852
|
+
* }
|
|
119853
|
+
* }
|
|
119854
|
+
*/
|
|
119855
|
+
"application/json": {
|
|
119856
|
+
result: {
|
|
119857
|
+
/** @description What happened, in the operator's words */
|
|
119858
|
+
message: string;
|
|
119859
|
+
/** @description The new ad */
|
|
119860
|
+
ad_id: number;
|
|
119861
|
+
/** @description The ended ad it copies */
|
|
119862
|
+
copied_from_ad_id: number;
|
|
119863
|
+
};
|
|
119864
|
+
};
|
|
119865
|
+
};
|
|
119866
|
+
};
|
|
119867
|
+
202: components["responses"]["Proposal"];
|
|
119868
|
+
/** @description Refused: credits_exhausted. */
|
|
119869
|
+
402: {
|
|
119870
|
+
headers: {
|
|
119871
|
+
[name: string]: unknown;
|
|
119872
|
+
};
|
|
119873
|
+
content: {
|
|
119874
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119875
|
+
};
|
|
119876
|
+
};
|
|
119877
|
+
/** @description Refused: not_permitted, not_available, authority_off, data_class_blocked. */
|
|
119878
|
+
403: {
|
|
119879
|
+
headers: {
|
|
119880
|
+
[name: string]: unknown;
|
|
119881
|
+
};
|
|
119882
|
+
content: {
|
|
119883
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119884
|
+
};
|
|
119885
|
+
};
|
|
119886
|
+
/** @description Refused: not_found. */
|
|
119887
|
+
404: {
|
|
119888
|
+
headers: {
|
|
119889
|
+
[name: string]: unknown;
|
|
119890
|
+
};
|
|
119891
|
+
content: {
|
|
119892
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119893
|
+
};
|
|
119894
|
+
};
|
|
119895
|
+
/** @description Refused: idempotency_conflict, stale_state. */
|
|
119896
|
+
409: {
|
|
119897
|
+
headers: {
|
|
119898
|
+
[name: string]: unknown;
|
|
119899
|
+
};
|
|
119900
|
+
content: {
|
|
119901
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119902
|
+
};
|
|
119903
|
+
};
|
|
119904
|
+
/** @description Refused: operation_retired. */
|
|
119905
|
+
410: {
|
|
119906
|
+
headers: {
|
|
119907
|
+
[name: string]: unknown;
|
|
119908
|
+
};
|
|
119909
|
+
content: {
|
|
119910
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119911
|
+
};
|
|
119912
|
+
};
|
|
119913
|
+
/** @description Refused: invalid_input, domain_rule. */
|
|
119914
|
+
422: {
|
|
119915
|
+
headers: {
|
|
119916
|
+
[name: string]: unknown;
|
|
119917
|
+
};
|
|
119918
|
+
content: {
|
|
119919
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119920
|
+
};
|
|
119921
|
+
};
|
|
119922
|
+
/** @description Refused: rate_limited. */
|
|
119923
|
+
429: {
|
|
119924
|
+
headers: {
|
|
119925
|
+
[name: string]: unknown;
|
|
119926
|
+
};
|
|
119927
|
+
content: {
|
|
119928
|
+
"application/json": components["schemas"]["OperationError"];
|
|
119929
|
+
};
|
|
119930
|
+
};
|
|
119931
|
+
};
|
|
119932
|
+
};
|
|
119792
119933
|
"ops.recruiting.advertising.advertise.approve": {
|
|
119793
119934
|
parameters: {
|
|
119794
119935
|
query?: never;
|
|
@@ -119954,6 +120095,8 @@ export interface operations {
|
|
|
119954
120095
|
videos_per_group?: number | string | null;
|
|
119955
120096
|
/** @description Video length: 6, 10, 15, 20, 30 seconds */
|
|
119956
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;
|
|
119957
120100
|
};
|
|
119958
120101
|
};
|
|
119959
120102
|
};
|
|
@@ -123205,22 +123348,20 @@ export interface operations {
|
|
|
123205
123348
|
/**
|
|
123206
123349
|
* @example {
|
|
123207
123350
|
* "campaign_id": 1,
|
|
123208
|
-
* "kind": "
|
|
123209
|
-
* "
|
|
123351
|
+
* "kind": "budget_structure",
|
|
123352
|
+
* "challenger_budget_cents": 600000
|
|
123210
123353
|
* }
|
|
123211
123354
|
*/
|
|
123212
123355
|
"application/json": {
|
|
123213
123356
|
/** @description The advertised campaign */
|
|
123214
123357
|
campaign_id: number;
|
|
123215
|
-
/** @description One of
|
|
123358
|
+
/** @description One of budget_structure, landing_page */
|
|
123216
123359
|
kind: string | null;
|
|
123217
123360
|
/** @description What the test should answer (300 characters at most); left empty uses a plain default */
|
|
123218
123361
|
hypothesis?: string | null;
|
|
123219
|
-
/** @description The ad group to test in */
|
|
123220
|
-
ad_set_id?: number | string | null;
|
|
123221
123362
|
/** @description Budget test: the challenger's monthly budget in cents */
|
|
123222
123363
|
challenger_budget_cents?: number | string | null;
|
|
123223
|
-
/** @description
|
|
123364
|
+
/** @description Job page test: the page versions that challenge the live one */
|
|
123224
123365
|
challenger_version_ids?: (string | number | boolean | null)[] | null;
|
|
123225
123366
|
/** @description Fewest days before deciding (1 to 90) */
|
|
123226
123367
|
min_runtime_days?: number | string | null;
|
|
@@ -160713,10 +160854,33 @@ export interface operations {
|
|
|
160713
160854
|
outcome?: string | null;
|
|
160714
160855
|
/** @description Notes a person kept on the call */
|
|
160715
160856
|
notes?: string | null;
|
|
160716
|
-
/** @description none, pending, stored, failed or purged (removed after the retention period) */
|
|
160857
|
+
/** @description Call recording part 1 (the call from the first ring): none, pending, stored, failed or purged (removed after the retention period) */
|
|
160717
160858
|
recording_status: string;
|
|
160718
|
-
/** @description Link to listen to
|
|
160859
|
+
/** @description Link to listen to call recording part 1; works for 10 minutes; null unless stored */
|
|
160719
160860
|
recording_url?: string | null;
|
|
160861
|
+
/** @description The voicemail the caller left: none, pending, stored, failed or purged */
|
|
160862
|
+
voicemail_status: string;
|
|
160863
|
+
/** @description Length of the voicemail in seconds; null when there is none or it is not known yet */
|
|
160864
|
+
voicemail_duration_seconds?: number | null;
|
|
160865
|
+
/** @description Link to listen to the voicemail; works for 10 minutes; null unless stored */
|
|
160866
|
+
voicemail_url?: string | null;
|
|
160867
|
+
/** @description none, live, finalizing, writing (Axivoy AI is writing it), final or failed; null when transcription is off or there is no voicemail */
|
|
160868
|
+
voicemail_transcript_status?: string | null;
|
|
160869
|
+
/** @description What the caller said in the voicemail, one "[m:ss] Caller: text" line each; null when there is no voicemail transcript */
|
|
160870
|
+
voicemail_transcript_text?: string | null;
|
|
160871
|
+
/** @description Every recording of the call: the call recording parts in the order they started, then the voicemail */
|
|
160872
|
+
recordings: {
|
|
160873
|
+
/** @description call (the call from the first ring, or part 2 or later after a transfer) or voicemail (only the message the caller left) */
|
|
160874
|
+
kind: string;
|
|
160875
|
+
/** @description For a call recording, its part number in the order the parts started (1 first); null for the voicemail */
|
|
160876
|
+
part?: number | null;
|
|
160877
|
+
/** @description pending, stored, failed or purged */
|
|
160878
|
+
status: string;
|
|
160879
|
+
/** @description Length in seconds; null when not known yet */
|
|
160880
|
+
duration_seconds?: number | null;
|
|
160881
|
+
/** @description Link to listen; works for 10 minutes; null unless stored */
|
|
160882
|
+
url?: string | null;
|
|
160883
|
+
}[];
|
|
160720
160884
|
/** @description Records the call is linked to */
|
|
160721
160885
|
links: {
|
|
160722
160886
|
/** @description The link (for voice.calls.links.remove) */
|
|
@@ -160730,9 +160894,11 @@ export interface operations {
|
|
|
160730
160894
|
/** @description manual (a person linked it) or phone_match (matched by phone number) */
|
|
160731
160895
|
method: string;
|
|
160732
160896
|
}[];
|
|
160733
|
-
/** @description none, live, finalizing, final or failed; null when transcription is off */
|
|
160897
|
+
/** @description The call's transcript (call recording part 1's, else the live one; never the voicemail's): none, live, finalizing, writing (Axivoy AI is writing it), final or failed; null when transcription is off */
|
|
160734
160898
|
transcript_status?: string | null;
|
|
160735
|
-
/** @description
|
|
160899
|
+
/** @description Who wrote that transcript: realtime (the phone provider during the call), recording (the phone provider from the recording) or ai (Axivoy AI from the stored recording); null when there is none or transcription is off */
|
|
160900
|
+
transcript_source?: string | null;
|
|
160901
|
+
/** @description What was said on the call, one "[m:ss] Us|Caller: text" line each; null when there is no transcript */
|
|
160736
160902
|
transcript_text?: string | null;
|
|
160737
160903
|
/** @description A short summary of the finished call; null until the transcript is final and summarized */
|
|
160738
160904
|
transcript_summary?: string | null;
|
|
@@ -161183,8 +161349,12 @@ export interface operations {
|
|
|
161183
161349
|
duration_seconds?: number | null;
|
|
161184
161350
|
/** @description resolved, callback_needed, voicemail_left, wrong_number, spam or other; null until someone records it */
|
|
161185
161351
|
outcome?: string | null;
|
|
161186
|
-
/** @description Whether a stored recording exists */
|
|
161352
|
+
/** @description Whether a stored call recording exists (the call from the first ring; never the voicemail) */
|
|
161187
161353
|
has_recording: boolean;
|
|
161354
|
+
/** @description Whether the caller left a voicemail (only the message they recorded after the prompt) */
|
|
161355
|
+
has_voicemail: boolean;
|
|
161356
|
+
/** @description A short summary of the call: the voicemail's, else the last call recording part's, else the live transcript's; null until a transcript is summarized */
|
|
161357
|
+
summary?: string | null;
|
|
161188
161358
|
/** @description The call's team (communication_teams.list key); null when no team is set up */
|
|
161189
161359
|
team_key?: string | null;
|
|
161190
161360
|
/** @description The call's team name */
|