@vitrina/api 17.38.0 → 17.39.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/index.d.cts CHANGED
@@ -140251,8 +140251,8 @@ interface paths {
140251
140251
  * "stage": "appointment_booked",
140252
140252
  * "label": "Visita agendada",
140253
140253
  * "website_event": "Schedule",
140254
- * "messaging_default": "QualifiedLead",
140255
- * "messaging_event": "QualifiedLead",
140254
+ * "messaging_default": "ViewContent",
140255
+ * "messaging_event": "ViewContent",
140256
140256
  * "overridden": false
140257
140257
  * },
140258
140258
  * {
@@ -140299,8 +140299,8 @@ interface paths {
140299
140299
  * "stage": "seller_visit_booked",
140300
140300
  * "label": "Vendedor con visita agendada",
140301
140301
  * "website_event": "SellerVisitScheduled",
140302
- * "messaging_default": null,
140303
- * "messaging_event": null,
140302
+ * "messaging_default": "RatingProvided",
140303
+ * "messaging_event": "RatingProvided",
140304
140304
  * "overridden": false
140305
140305
  * },
140306
140306
  * {
@@ -140490,8 +140490,8 @@ interface paths {
140490
140490
  * "stage": "appointment_booked",
140491
140491
  * "label": "Visita agendada",
140492
140492
  * "website_event": "Schedule",
140493
- * "messaging_default": "QualifiedLead",
140494
- * "messaging_event": "QualifiedLead",
140493
+ * "messaging_default": "ViewContent",
140494
+ * "messaging_event": "ViewContent",
140495
140495
  * "overridden": false
140496
140496
  * },
140497
140497
  * {
@@ -140538,8 +140538,8 @@ interface paths {
140538
140538
  * "stage": "seller_visit_booked",
140539
140539
  * "label": "Vendedor con visita agendada",
140540
140540
  * "website_event": "SellerVisitScheduled",
140541
- * "messaging_default": null,
140542
- * "messaging_event": null,
140541
+ * "messaging_default": "RatingProvided",
140542
+ * "messaging_event": "RatingProvided",
140543
140543
  * "overridden": false
140544
140544
  * },
140545
140545
  * {
@@ -140659,6 +140659,516 @@ interface paths {
140659
140659
  };
140660
140660
  trace?: never;
140661
140661
  };
140662
+ "/ads/conversion-sync/website-event-names": {
140663
+ parameters: {
140664
+ query?: never;
140665
+ header?: never;
140666
+ path?: never;
140667
+ cookie?: never;
140668
+ };
140669
+ /**
140670
+ * Each stage’s Meta event name on the website (pixel) lane
140671
+ * @description Per stage the workspace sends: the matrix’s website-lane name (`website_default`) and the name in force (`website_event`: the workspace’s choice, else the default). `accepted_events` are Meta’s standard pixel events; `messaging_optimizable_events` (and each stage’s `messaging_optimizable`) mark the names Meta accepts as the optimisation event of a click-to-WhatsApp ad set that optimises on website conversions. Change them with `PATCH` on this path. `sample=1` (or a sandbox) answers the defaults. Requires `ads:read`.
140672
+ */
140673
+ get: {
140674
+ parameters: {
140675
+ query?: {
140676
+ /** @description `1` serves the deterministic sample dataset («Ver con datos de ejemplo»): same shapes, invented but internally consistent figures, no entitlement required (the scope still is). A sandbox workspace is always served the sample, with or without this parameter. */
140677
+ sample?: "1" | "true";
140678
+ };
140679
+ header?: never;
140680
+ path?: never;
140681
+ cookie?: never;
140682
+ };
140683
+ requestBody?: never;
140684
+ responses: {
140685
+ /** @description The stages and their website-lane names */
140686
+ 200: {
140687
+ headers: {
140688
+ [name: string]: unknown;
140689
+ };
140690
+ content: {
140691
+ /**
140692
+ * @example {
140693
+ * "data": {
140694
+ * "overrides": {
140695
+ * "appointment_booked": "CompleteRegistration"
140696
+ * },
140697
+ * "accepted_events": [
140698
+ * "AddPaymentInfo",
140699
+ * "AddToCart",
140700
+ * "AddToWishlist",
140701
+ * "CompleteRegistration",
140702
+ * "Contact",
140703
+ * "CustomizeProduct",
140704
+ * "Donate",
140705
+ * "FindLocation",
140706
+ * "InitiateCheckout",
140707
+ * "Lead",
140708
+ * "Purchase",
140709
+ * "Schedule",
140710
+ * "Search",
140711
+ * "StartTrial",
140712
+ * "SubmitApplication",
140713
+ * "Subscribe",
140714
+ * "ViewContent"
140715
+ * ],
140716
+ * "messaging_optimizable_events": [
140717
+ * "AddPaymentInfo",
140718
+ * "AddToCart",
140719
+ * "AddToWishlist",
140720
+ * "CompleteRegistration",
140721
+ * "InitiateCheckout",
140722
+ * "Purchase",
140723
+ * "Search",
140724
+ * "StartTrial",
140725
+ * "Subscribe",
140726
+ * "ViewContent"
140727
+ * ],
140728
+ * "stages": [
140729
+ * {
140730
+ * "stage": "lead_created",
140731
+ * "label": "Contacto nuevo",
140732
+ * "website_default": "Lead",
140733
+ * "website_event": "Lead",
140734
+ * "overridden": false,
140735
+ * "messaging_optimizable": false
140736
+ * },
140737
+ * {
140738
+ * "stage": "lead_qualified",
140739
+ * "label": "Cotizó",
140740
+ * "website_default": "QualifiedLead",
140741
+ * "website_event": "QualifiedLead",
140742
+ * "overridden": false,
140743
+ * "messaging_optimizable": false
140744
+ * },
140745
+ * {
140746
+ * "stage": "appointment_booked",
140747
+ * "label": "Visita agendada",
140748
+ * "website_default": "Schedule",
140749
+ * "website_event": "CompleteRegistration",
140750
+ * "overridden": true,
140751
+ * "messaging_optimizable": true
140752
+ * },
140753
+ * {
140754
+ * "stage": "checkout_started",
140755
+ * "label": "Abrió el link de pago",
140756
+ * "website_default": "InitiateCheckout",
140757
+ * "website_event": "InitiateCheckout",
140758
+ * "overridden": false,
140759
+ * "messaging_optimizable": true
140760
+ * },
140761
+ * {
140762
+ * "stage": "deposit_paid",
140763
+ * "label": "Abono pagado",
140764
+ * "website_default": "vitrina_step_8",
140765
+ * "website_event": "vitrina_step_8",
140766
+ * "overridden": false,
140767
+ * "messaging_optimizable": false
140768
+ * },
140769
+ * {
140770
+ * "stage": "closed_won",
140771
+ * "label": "Venta o compra",
140772
+ * "website_default": "Purchase",
140773
+ * "website_event": "Purchase",
140774
+ * "overridden": false,
140775
+ * "messaging_optimizable": true
140776
+ * },
140777
+ * {
140778
+ * "stage": "payment_received",
140779
+ * "label": "Pago recibido",
140780
+ * "website_default": "Purchase",
140781
+ * "website_event": "Purchase",
140782
+ * "overridden": false,
140783
+ * "messaging_optimizable": true
140784
+ * },
140785
+ * {
140786
+ * "stage": "seller_qualified",
140787
+ * "label": "Vendedor calificado",
140788
+ * "website_default": "SellerQualified",
140789
+ * "website_event": "SellerQualified",
140790
+ * "overridden": false,
140791
+ * "messaging_optimizable": false
140792
+ * },
140793
+ * {
140794
+ * "stage": "seller_visit_booked",
140795
+ * "label": "Vendedor con visita agendada",
140796
+ * "website_default": "SellerVisitScheduled",
140797
+ * "website_event": "SellerVisitScheduled",
140798
+ * "overridden": false,
140799
+ * "messaging_optimizable": false
140800
+ * },
140801
+ * {
140802
+ * "stage": "seller_deal_closed",
140803
+ * "label": "Compra cerrada a un vendedor",
140804
+ * "website_default": "SellerDealClosed",
140805
+ * "website_event": "SellerDealClosed",
140806
+ * "overridden": false,
140807
+ * "messaging_optimizable": false
140808
+ * }
140809
+ * ]
140810
+ * }
140811
+ * }
140812
+ */
140813
+ "application/json": {
140814
+ data: components["schemas"]["AdsWebsiteEventNames"];
140815
+ };
140816
+ };
140817
+ };
140818
+ /** @description Validation error */
140819
+ 400: {
140820
+ headers: {
140821
+ [name: string]: unknown;
140822
+ };
140823
+ content: {
140824
+ "application/json": components["schemas"]["Error"];
140825
+ };
140826
+ };
140827
+ /** @description Unauthorized */
140828
+ 401: {
140829
+ headers: {
140830
+ [name: string]: unknown;
140831
+ };
140832
+ content: {
140833
+ "application/json": components["schemas"]["Error"];
140834
+ };
140835
+ };
140836
+ /** @description Vitrina Ads is not active for this workspace. `error.code` is `ENTITLEMENT_NOT_ACTIVE`, `error.details.feature` is `vitrina_ads`. */
140837
+ 402: {
140838
+ headers: {
140839
+ [name: string]: unknown;
140840
+ };
140841
+ content: {
140842
+ /**
140843
+ * @example {
140844
+ * "error": {
140845
+ * "code": "ENTITLEMENT_NOT_ACTIVE",
140846
+ * "message": "El complemento Vitrina Ads no está activo en este espacio de trabajo.",
140847
+ * "details": {
140848
+ * "required": [
140849
+ * "vitrina_ads"
140850
+ * ],
140851
+ * "active": [],
140852
+ * "feature": "vitrina_ads",
140853
+ * "entitlement_state": "off"
140854
+ * }
140855
+ * }
140856
+ * }
140857
+ */
140858
+ "application/json": components["schemas"]["Error"];
140859
+ };
140860
+ };
140861
+ /** @description Forbidden */
140862
+ 403: {
140863
+ headers: {
140864
+ [name: string]: unknown;
140865
+ };
140866
+ content: {
140867
+ "application/json": components["schemas"]["Error"];
140868
+ };
140869
+ };
140870
+ /** @description Not found */
140871
+ 404: {
140872
+ headers: {
140873
+ [name: string]: unknown;
140874
+ };
140875
+ content: {
140876
+ "application/json": components["schemas"]["Error"];
140877
+ };
140878
+ };
140879
+ /** @description Vitrina Ads is active but the delegated key has not finished rotating (`ADS_KEY_NEEDS_REMINT`) — retry once `GET /ads/state` reports `needs_remint: false`. Also the generic conflict of a write. */
140880
+ 409: {
140881
+ headers: {
140882
+ [name: string]: unknown;
140883
+ };
140884
+ content: {
140885
+ /**
140886
+ * @example {
140887
+ * "error": {
140888
+ * "code": "ADS_KEY_NEEDS_REMINT",
140889
+ * "message": "Vitrina Ads is active but the delegated key has not finished rotating (key_kind: core)",
140890
+ * "details": {
140891
+ * "key_kind": "core"
140892
+ * }
140893
+ * }
140894
+ * }
140895
+ */
140896
+ "application/json": components["schemas"]["Error"];
140897
+ };
140898
+ };
140899
+ /** @description Rate limited */
140900
+ 429: {
140901
+ headers: {
140902
+ [name: string]: unknown;
140903
+ };
140904
+ content: {
140905
+ "application/json": components["schemas"]["Error"];
140906
+ };
140907
+ };
140908
+ };
140909
+ };
140910
+ put?: never;
140911
+ post?: never;
140912
+ delete?: never;
140913
+ options?: never;
140914
+ head?: never;
140915
+ /**
140916
+ * Choose a stage’s Meta event name on the website (pixel) lane
140917
+ * @description Merges onto the stored choices: `overrides` sets a stage’s name (one of `accepted_events`; `null` drops the choice), `reset` drops a choice (back to `website_default`). The WhatsApp lane never changes here. The RESULT is validated, and nothing is stored on a `422` (`field_errors.overrides.<stage>`, `details.problems.<stage>`): `unknown_stage` (the workspace does not send it), `stage_not_sent` (instalments), `name_not_accepted`, `purchase_needs_value` (Purchase only on a stage that carries a value), `seller_name_shared` (a seller-side stage never shares its name with a buyer stage), `name_taken` (another stage already reaches Meta under that name; a choice equal to the stage’s own default is always valid). Then the engine’s live rules are converged at once (`sync.state: converged`, `sync.updated` = the stages rewritten); `pending` = stored, the daily sweep retries the write. Requires `ads:write`. Errors: `402 ENTITLEMENT_NOT_ACTIVE` (`details.feature: vitrina_ads`, with `hint`) when the Vitrina Ads Add-on is not active — never retried; `409 ADS_KEY_NEEDS_REMINT` when the Add-on is on but the delegated key has not finished rotating, or still lacks `exports:write` after one automatic re-mint (the entitlement rail converges it; see `GET /ads/state`).
140918
+ */
140919
+ patch: {
140920
+ parameters: {
140921
+ query?: never;
140922
+ header?: never;
140923
+ path?: never;
140924
+ cookie?: never;
140925
+ };
140926
+ requestBody?: {
140927
+ content: {
140928
+ /**
140929
+ * @example {
140930
+ * "overrides": {
140931
+ * "appointment_booked": "CompleteRegistration"
140932
+ * }
140933
+ * }
140934
+ */
140935
+ "application/json": components["schemas"]["AdsWebsiteEventNamesPatch"];
140936
+ };
140937
+ };
140938
+ responses: {
140939
+ /** @description The stored choices and the engine write */
140940
+ 200: {
140941
+ headers: {
140942
+ [name: string]: unknown;
140943
+ };
140944
+ content: {
140945
+ /**
140946
+ * @example {
140947
+ * "data": {
140948
+ * "overrides": {
140949
+ * "appointment_booked": "CompleteRegistration"
140950
+ * },
140951
+ * "accepted_events": [
140952
+ * "AddPaymentInfo",
140953
+ * "AddToCart",
140954
+ * "AddToWishlist",
140955
+ * "CompleteRegistration",
140956
+ * "Contact",
140957
+ * "CustomizeProduct",
140958
+ * "Donate",
140959
+ * "FindLocation",
140960
+ * "InitiateCheckout",
140961
+ * "Lead",
140962
+ * "Purchase",
140963
+ * "Schedule",
140964
+ * "Search",
140965
+ * "StartTrial",
140966
+ * "SubmitApplication",
140967
+ * "Subscribe",
140968
+ * "ViewContent"
140969
+ * ],
140970
+ * "messaging_optimizable_events": [
140971
+ * "AddPaymentInfo",
140972
+ * "AddToCart",
140973
+ * "AddToWishlist",
140974
+ * "CompleteRegistration",
140975
+ * "InitiateCheckout",
140976
+ * "Purchase",
140977
+ * "Search",
140978
+ * "StartTrial",
140979
+ * "Subscribe",
140980
+ * "ViewContent"
140981
+ * ],
140982
+ * "stages": [
140983
+ * {
140984
+ * "stage": "lead_created",
140985
+ * "label": "Contacto nuevo",
140986
+ * "website_default": "Lead",
140987
+ * "website_event": "Lead",
140988
+ * "overridden": false,
140989
+ * "messaging_optimizable": false
140990
+ * },
140991
+ * {
140992
+ * "stage": "lead_qualified",
140993
+ * "label": "Cotizó",
140994
+ * "website_default": "QualifiedLead",
140995
+ * "website_event": "QualifiedLead",
140996
+ * "overridden": false,
140997
+ * "messaging_optimizable": false
140998
+ * },
140999
+ * {
141000
+ * "stage": "appointment_booked",
141001
+ * "label": "Visita agendada",
141002
+ * "website_default": "Schedule",
141003
+ * "website_event": "CompleteRegistration",
141004
+ * "overridden": true,
141005
+ * "messaging_optimizable": true
141006
+ * },
141007
+ * {
141008
+ * "stage": "checkout_started",
141009
+ * "label": "Abrió el link de pago",
141010
+ * "website_default": "InitiateCheckout",
141011
+ * "website_event": "InitiateCheckout",
141012
+ * "overridden": false,
141013
+ * "messaging_optimizable": true
141014
+ * },
141015
+ * {
141016
+ * "stage": "deposit_paid",
141017
+ * "label": "Abono pagado",
141018
+ * "website_default": "vitrina_step_8",
141019
+ * "website_event": "vitrina_step_8",
141020
+ * "overridden": false,
141021
+ * "messaging_optimizable": false
141022
+ * },
141023
+ * {
141024
+ * "stage": "closed_won",
141025
+ * "label": "Venta o compra",
141026
+ * "website_default": "Purchase",
141027
+ * "website_event": "Purchase",
141028
+ * "overridden": false,
141029
+ * "messaging_optimizable": true
141030
+ * },
141031
+ * {
141032
+ * "stage": "payment_received",
141033
+ * "label": "Pago recibido",
141034
+ * "website_default": "Purchase",
141035
+ * "website_event": "Purchase",
141036
+ * "overridden": false,
141037
+ * "messaging_optimizable": true
141038
+ * },
141039
+ * {
141040
+ * "stage": "seller_qualified",
141041
+ * "label": "Vendedor calificado",
141042
+ * "website_default": "SellerQualified",
141043
+ * "website_event": "SellerQualified",
141044
+ * "overridden": false,
141045
+ * "messaging_optimizable": false
141046
+ * },
141047
+ * {
141048
+ * "stage": "seller_visit_booked",
141049
+ * "label": "Vendedor con visita agendada",
141050
+ * "website_default": "SellerVisitScheduled",
141051
+ * "website_event": "SellerVisitScheduled",
141052
+ * "overridden": false,
141053
+ * "messaging_optimizable": false
141054
+ * },
141055
+ * {
141056
+ * "stage": "seller_deal_closed",
141057
+ * "label": "Compra cerrada a un vendedor",
141058
+ * "website_default": "SellerDealClosed",
141059
+ * "website_event": "SellerDealClosed",
141060
+ * "overridden": false,
141061
+ * "messaging_optimizable": false
141062
+ * }
141063
+ * ],
141064
+ * "sync": {
141065
+ * "state": "converged",
141066
+ * "updated": [
141067
+ * "appointment_booked"
141068
+ * ]
141069
+ * }
141070
+ * }
141071
+ * }
141072
+ */
141073
+ "application/json": {
141074
+ data: components["schemas"]["AdsWebsiteEventNamesPatchResult"];
141075
+ };
141076
+ };
141077
+ };
141078
+ /** @description Validation error */
141079
+ 400: {
141080
+ headers: {
141081
+ [name: string]: unknown;
141082
+ };
141083
+ content: {
141084
+ "application/json": components["schemas"]["Error"];
141085
+ };
141086
+ };
141087
+ /** @description Unauthorized */
141088
+ 401: {
141089
+ headers: {
141090
+ [name: string]: unknown;
141091
+ };
141092
+ content: {
141093
+ "application/json": components["schemas"]["Error"];
141094
+ };
141095
+ };
141096
+ /** @description Vitrina Ads is not active for this workspace. `error.code` is `ENTITLEMENT_NOT_ACTIVE`, `error.details.feature` is `vitrina_ads`. */
141097
+ 402: {
141098
+ headers: {
141099
+ [name: string]: unknown;
141100
+ };
141101
+ content: {
141102
+ /**
141103
+ * @example {
141104
+ * "error": {
141105
+ * "code": "ENTITLEMENT_NOT_ACTIVE",
141106
+ * "message": "El complemento Vitrina Ads no está activo en este espacio de trabajo.",
141107
+ * "details": {
141108
+ * "required": [
141109
+ * "vitrina_ads"
141110
+ * ],
141111
+ * "active": [],
141112
+ * "feature": "vitrina_ads",
141113
+ * "entitlement_state": "off"
141114
+ * }
141115
+ * }
141116
+ * }
141117
+ */
141118
+ "application/json": components["schemas"]["Error"];
141119
+ };
141120
+ };
141121
+ /** @description Forbidden */
141122
+ 403: {
141123
+ headers: {
141124
+ [name: string]: unknown;
141125
+ };
141126
+ content: {
141127
+ "application/json": components["schemas"]["Error"];
141128
+ };
141129
+ };
141130
+ /** @description Not found */
141131
+ 404: {
141132
+ headers: {
141133
+ [name: string]: unknown;
141134
+ };
141135
+ content: {
141136
+ "application/json": components["schemas"]["Error"];
141137
+ };
141138
+ };
141139
+ /** @description Vitrina Ads is active but the delegated key has not finished rotating (`ADS_KEY_NEEDS_REMINT`) — retry once `GET /ads/state` reports `needs_remint: false`. Also the generic conflict of a write. */
141140
+ 409: {
141141
+ headers: {
141142
+ [name: string]: unknown;
141143
+ };
141144
+ content: {
141145
+ /**
141146
+ * @example {
141147
+ * "error": {
141148
+ * "code": "ADS_KEY_NEEDS_REMINT",
141149
+ * "message": "Vitrina Ads is active but the delegated key has not finished rotating (key_kind: core)",
141150
+ * "details": {
141151
+ * "key_kind": "core"
141152
+ * }
141153
+ * }
141154
+ * }
141155
+ */
141156
+ "application/json": components["schemas"]["Error"];
141157
+ };
141158
+ };
141159
+ /** @description Rate limited */
141160
+ 429: {
141161
+ headers: {
141162
+ [name: string]: unknown;
141163
+ };
141164
+ content: {
141165
+ "application/json": components["schemas"]["Error"];
141166
+ };
141167
+ };
141168
+ };
141169
+ };
141170
+ trace?: never;
141171
+ };
140662
141172
  "/ads/conversion-sync/data-sources": {
140663
141173
  parameters: {
140664
141174
  query?: never;
@@ -288979,7 +289489,7 @@ interface components {
288979
289489
  /** @enum {string} */
288980
289490
  stage: "lead_created" | "lead_qualified" | "appointment_booked" | "checkout_started" | "deposit_paid" | "appointment_attended" | "quote_presented" | "closed_won" | "first_payment" | "returning_first_payment" | "payment_received" | "seller_qualified" | "seller_visit_booked" | "seller_deal_closed";
288981
289491
  label: string;
288982
- /** @description The website pixel lane’s name (not configurable here). */
289492
+ /** @description The website pixel lane’s name in force (configured with `website-event-names`, not here). */
288983
289493
  website_event: string;
288984
289494
  /** @description The matrix’s own WhatsApp-lane name; `null` = not sent there. */
288985
289495
  messaging_default: string | null;
@@ -289033,6 +289543,73 @@ interface components {
289033
289543
  /** @description Stages whose choice is dropped: they go back to the matrix's name (`messaging_default`). Applied before `overrides`. */
289034
289544
  reset?: ("lead_created" | "lead_qualified" | "appointment_booked" | "checkout_started" | "deposit_paid" | "appointment_attended" | "quote_presented" | "closed_won" | "first_payment" | "returning_first_payment" | "payment_received" | "seller_qualified" | "seller_visit_booked" | "seller_deal_closed")[];
289035
289545
  };
289546
+ AdsWebsiteEventNames: {
289547
+ /** @description The stored choices, `{ stage: name }`. */
289548
+ overrides: {
289549
+ [key: string]: string;
289550
+ };
289551
+ /** @description Meta’s standard pixel events: the names a stage may take. */
289552
+ accepted_events: string[];
289553
+ /** @description The subset Meta accepts as the optimisation event of a click-to-WhatsApp (messaging) ad set that optimises on website conversions. */
289554
+ messaging_optimizable_events: string[];
289555
+ stages: {
289556
+ /** @enum {string} */
289557
+ stage: "lead_created" | "lead_qualified" | "appointment_booked" | "checkout_started" | "deposit_paid" | "appointment_attended" | "quote_presented" | "closed_won" | "first_payment" | "returning_first_payment" | "payment_received" | "seller_qualified" | "seller_visit_booked" | "seller_deal_closed";
289558
+ label: string;
289559
+ /** @description The matrix’s own website-lane name. */
289560
+ website_default: string;
289561
+ /** @description The website-lane name in force: the workspace’s choice, else the default. */
289562
+ website_event: string;
289563
+ overridden: boolean;
289564
+ /** @description Whether a click-to-WhatsApp ad set can optimise on `website_event`. */
289565
+ messaging_optimizable: boolean;
289566
+ }[];
289567
+ };
289568
+ AdsWebsiteEventNamesPatchResult: components["schemas"]["AdsWebsiteEventNames"] & {
289569
+ sync: {
289570
+ /**
289571
+ * @description `converged`: the engine’s live rules now hold the names in force. `pending`: stored, the engine write failed and the daily sweep retries it.
289572
+ * @enum {string}
289573
+ */
289574
+ state: "converged" | "pending";
289575
+ updated: ("lead_created" | "lead_qualified" | "appointment_booked" | "checkout_started" | "deposit_paid" | "appointment_attended" | "quote_presented" | "closed_won" | "first_payment" | "returning_first_payment" | "payment_received" | "seller_qualified" | "seller_visit_booked" | "seller_deal_closed")[];
289576
+ };
289577
+ };
289578
+ AdsWebsiteEventNamesPatch: {
289579
+ /** @description Per stage, the name the website (pixel) dataset receives: one of `accepted_events`, or `null` = drop the choice (back to the matrix's name, `website_default`). Stages left out keep what they have. */
289580
+ overrides?: {
289581
+ /** @enum {string|null} */
289582
+ lead_created?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289583
+ /** @enum {string|null} */
289584
+ lead_qualified?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289585
+ /** @enum {string|null} */
289586
+ appointment_booked?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289587
+ /** @enum {string|null} */
289588
+ checkout_started?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289589
+ /** @enum {string|null} */
289590
+ deposit_paid?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289591
+ /** @enum {string|null} */
289592
+ appointment_attended?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289593
+ /** @enum {string|null} */
289594
+ quote_presented?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289595
+ /** @enum {string|null} */
289596
+ closed_won?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289597
+ /** @enum {string|null} */
289598
+ first_payment?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289599
+ /** @enum {string|null} */
289600
+ returning_first_payment?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289601
+ /** @enum {string|null} */
289602
+ payment_received?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289603
+ /** @enum {string|null} */
289604
+ seller_qualified?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289605
+ /** @enum {string|null} */
289606
+ seller_visit_booked?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289607
+ /** @enum {string|null} */
289608
+ seller_deal_closed?: "AddPaymentInfo" | "AddToCart" | "AddToWishlist" | "CompleteRegistration" | "Contact" | "CustomizeProduct" | "Donate" | "FindLocation" | "InitiateCheckout" | "Lead" | "Purchase" | "Schedule" | "Search" | "StartTrial" | "SubmitApplication" | "Subscribe" | "ViewContent" | null;
289609
+ };
289610
+ /** @description Stages whose choice is dropped: they go back to the matrix's name (`website_default`). Applied before `overrides`. */
289611
+ reset?: ("lead_created" | "lead_qualified" | "appointment_booked" | "checkout_started" | "deposit_paid" | "appointment_attended" | "quote_presented" | "closed_won" | "first_payment" | "returning_first_payment" | "payment_received" | "seller_qualified" | "seller_visit_booked" | "seller_deal_closed")[];
289612
+ };
289036
289613
  AdsMetaDatasetStatus: {
289037
289614
  prerequisites: {
289038
289615
  meta_ads_connected: boolean | null;