klaviyo-api-fetch 1.0.1 → 1.0.2
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.mts +2129 -770
- package/dist/index.d.ts +2129 -770
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/sdk.gen.ts +62 -10
- package/src/types.gen.ts +2426 -849
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var l=Object.defineProperty,p=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,r,s)=>r in e?l(e,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[r]=s,t=(e,r)=>{for(var s in r||(r={}))g.call(r,s)&&i(e,s,r[s]);if(n)for(var s of n(r))d.call(r,s)&&i(e,s,r[s]);return e},a=(e,r)=>p(e,u(r));import{formDataBodySerializer as h}from"@hey-api/client-fetch";import{createClient as c,createConfig as m}from"@hey-api/client-fetch";var o=c(m({baseUrl:"https://a.klaviyo.com"}));var O=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/accounts"},e))},G=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/accounts/{id}"},e))},F=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns"},e))},f=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},D=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}"},e))},b=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns/{id}"},e))},x=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},R=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}"},e))},I=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},k=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-send-jobs/{id}"},e))},z=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-send-jobs/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},M=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-recipient-estimation-jobs/{id}"},e))},S=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-recipient-estimations/{id}"},e))},A=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-clone"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},P=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-message-assign-template"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},B=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-send-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},v=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-recipient-estimation-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},U=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}/campaign"},e))},K=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/campaign"},e))},J=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}/template"},e))},V=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/template"},e))},j=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}/image"},e))},q=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/image"},e))},L=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/image"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},W=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns/{id}/tags"},e))},Q=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}/relationships/tags"},e))},_=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns/{id}/campaign-messages"},e))},H=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}/relationships/campaign-messages"},e))},N=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items"},e))},X=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Y=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}"},e))},Z=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items/{id}"},e))},$=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ee=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variants"},e))},re=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variants"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},te=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variants/{id}"},e))},oe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variants/{id}"},e))},ae=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variants/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},se=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-categories"},e))},ne=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ie=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}"},e))},le=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-categories/{id}"},e))},pe=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ue=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-create-jobs"},e))},ge=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-item-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},de=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-create-jobs/{job_id}"},e))},ce=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-update-jobs"},e))},me=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-item-bulk-update-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},he=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-update-jobs/{job_id}"},e))},ye=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-delete-jobs"},e))},Ee=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-item-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Te=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-delete-jobs/{job_id}"},e))},Ce=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-create-jobs"},e))},we=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variant-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Oe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-create-jobs/{job_id}"},e))},Ge=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-update-jobs"},e))},Fe=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variant-bulk-update-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},fe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-update-jobs/{job_id}"},e))},De=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-delete-jobs"},e))},be=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variant-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},xe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-delete-jobs/{job_id}"},e))},Re=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-create-jobs"},e))},Ie=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-category-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ke=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-create-jobs/{job_id}"},e))},ze=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-update-jobs"},e))},Me=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-category-bulk-update-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Se=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-update-jobs/{job_id}"},e))},Ae=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-delete-jobs"},e))},Pe=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-category-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Be=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-delete-jobs/{job_id}"},e))},ve=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/back-in-stock-subscriptions"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ue=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-categories/{id}/items"},e))},Ke=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Je=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e))},Ve=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},je=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},qe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items/{id}/variants"},e))},Le=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/variants"},e))},We=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items/{id}/categories"},e))},Qe=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},_e=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e))},He=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ne=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Xe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupons"},e))},Ye=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ze=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons/{id}"},e))},$e=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupons/{id}"},e))},er=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},rr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-codes"},e))},tr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},or=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes/{id}"},e))},ar=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-codes/{id}"},e))},sr=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},nr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-code-bulk-create-jobs"},e))},ir=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-code-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},lr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-code-bulk-create-jobs/{job_id}"},e))},pr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-codes/{id}/coupon"},e))},ur=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes/{id}/relationships/coupon"},e))},gr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupons/{id}/coupon-codes"},e))},dr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons/{id}/relationships/coupon-codes"},e))},cr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/data-sources"},e))},mr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-sources"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},hr=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-sources/{id}"},e))},yr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/data-sources/{id}"},e))},Er=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-source-record-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Tr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-privacy-deletion-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Cr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events"},e))},wr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/events"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Or=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events/{id}"},e))},Gr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/event-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Fr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events/{id}/metric"},e))},fr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/events/{id}/relationships/metric"},e))},Dr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events/{id}/profile"},e))},br=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/events/{id}/relationships/profile"},e))},xr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows"},e))},Rr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ir=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}"},e))},kr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows/{id}"},e))},zr=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Mr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-actions/{id}"},e))},Sr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-messages/{id}"},e))},Ar=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows/{id}/flow-actions"},e))},Pr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}/relationships/flow-actions"},e))},Br=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows/{id}/tags"},e))},vr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}/relationships/tags"},e))},Ur=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-actions/{id}/flow"},e))},Kr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-actions/{id}/relationships/flow"},e))},Jr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-actions/{id}/flow-messages"},e))},Vr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-actions/{id}/relationships/flow-messages"},e))},jr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-messages/{id}/flow-action"},e))},qr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-messages/{id}/relationships/flow-action"},e))},Lr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-messages/{id}/template"},e))},Wr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-messages/{id}/relationships/template"},e))},Qr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/forms"},e))},_r=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/forms/{id}"},e))},Hr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/forms/{id}"},e))},Nr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/form-versions/{id}"},e))},Xr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/forms/{id}/form-versions"},e))},Yr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/forms/{id}/relationships/form-versions"},e))},Zr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/form-versions/{id}/form"},e))},$r=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/form-versions/{id}/relationships/form"},e))},et=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/images"},e))},rt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/images"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},tt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/images/{id}"},e))},ot=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/images/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},at=e=>{var r;return((r=e.client)!=null?r:o).post(a(t(a(t({},h),{security:[{name:"Authorization",type:"apiKey"}],url:"/api/image-upload"}),e),{headers:t({"Content-Type":null},e==null?void 0:e.headers)}))},st=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists"},e))},nt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},it=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}"},e))},lt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}"},e))},pt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ut=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}/tags"},e))},gt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/tags"},e))},dt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}/profiles"},e))},ct=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},mt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/profiles"},e))},ht=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},yt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}/flow-triggers"},e))},Et=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/flow-triggers"},e))},Tt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics"},e))},Ct=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics/{id}"},e))},wt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metric-properties/{id}"},e))},Ot=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/custom-metrics"},e))},Gt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ft=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics/{id}"},e))},ft=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/custom-metrics/{id}"},e))},Dt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},bt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics"},e))},xt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics/{id}"},e))},Rt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/mapped-metrics/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},It=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metric-aggregates"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},kt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics/{id}/flow-triggers"},e))},zt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metrics/{id}/relationships/flow-triggers"},e))},Mt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics/{id}/metric-properties"},e))},St=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metrics/{id}/relationships/metric-properties"},e))},At=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metric-properties/{id}/metric"},e))},Pt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metric-properties/{id}/relationships/metric"},e))},Bt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/custom-metrics/{id}/metrics"},e))},vt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics/{id}/relationships/metrics"},e))},Ut=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics/{id}/metric"},e))},Kt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/mapped-metrics/{id}/relationships/metric"},e))},Jt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics/{id}/custom-metric"},e))},Vt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/mapped-metrics/{id}/relationships/custom-metric"},e))},jt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles"},e))},qt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Lt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}"},e))},Wt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Qt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs"},e))},_t=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-bulk-import-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ht=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{job_id}"},e))},Nt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-create-jobs"},e))},Xt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-suppression-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Yt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-create-jobs/{job_id}"},e))},Zt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-delete-jobs"},e))},$t=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-suppression-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},eo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-delete-jobs/{job_id}"},e))},ro=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/push-tokens"},e))},to=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/push-tokens"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},oo=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/push-tokens/{id}"},e))},ao=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/push-tokens/{id}"},e))},so=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-import"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},no=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-merge"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},io=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-subscription-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},lo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-subscription-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},po=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}/push-tokens"},e))},uo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profiles/{id}/relationships/push-tokens"},e))},go=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}/lists"},e))},co=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profiles/{id}/relationships/lists"},e))},mo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}/segments"},e))},ho=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profiles/{id}/relationships/segments"},e))},yo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{id}/lists"},e))},Eo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-bulk-import-jobs/{id}/relationships/lists"},e))},To=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{id}/profiles"},e))},Co=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-bulk-import-jobs/{id}/relationships/profiles"},e))},wo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{id}/import-errors"},e))},Oo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/push-tokens/{id}/profile"},e))},Go=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/push-tokens/{id}/relationships/profile"},e))},Fo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},fo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Do=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-series-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},bo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/form-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},xo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/form-series-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ro=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segment-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Io=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segment-series-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ko=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/reviews"},e))},zo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/reviews/{id}"},e))},Mo=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/reviews/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},So=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments"},e))},Ao=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Po=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}"},e))},Bo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}"},e))},vo=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Uo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}/tags"},e))},Ko=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}/relationships/tags"},e))},Jo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}/profiles"},e))},Vo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}/relationships/profiles"},e))},jo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}/flow-triggers"},e))},qo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}/relationships/flow-triggers"},e))},Lo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tags"},e))},Wo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Qo=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}"},e))},_o=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tags/{id}"},e))},Ho=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},No=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tag-groups"},e))},Xo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Yo=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups/{id}"},e))},Zo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tag-groups/{id}"},e))},$o=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ea=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/flows"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ra=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/flows"},e))},ta=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/flows"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},oa=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/campaigns"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},aa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/campaigns"},e))},sa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/campaigns"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},na=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/lists"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ia=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/lists"},e))},la=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/lists"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},pa=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/segments"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ua=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/segments"},e))},ga=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/segments"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},da=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tags/{id}/tag-group"},e))},ca=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/tag-group"},e))},ma=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tag-groups/{id}/tags"},e))},ha=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups/{id}/relationships/tags"},e))},ya=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/templates"},e))},Ea=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/templates"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ta=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/templates/{id}"},e))},Ca=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/templates/{id}"},e))},wa=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/templates/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Oa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/template-universal-content"},e))},Ga=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-universal-content"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Fa=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-universal-content/{id}"},e))},fa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/template-universal-content/{id}"},e))},Da=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-universal-content/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ba=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-render"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},xa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-clone"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ra=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tracking-settings"},e))},Ia=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tracking-settings/{id}"},e))},ka=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tracking-settings/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},za=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/web-feeds"},e))},Ma=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/web-feeds"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Sa=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/web-feeds/{id}"},e))},Aa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/web-feeds/{id}"},e))},Pa=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/web-feeds/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ba=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/webhooks"},e))},va=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhooks"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ua=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhooks/{id}"},e))},Ka=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/webhooks/{id}"},e))},Ja=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhooks/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Va=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhook-topics"},e))},ja=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhook-topics/{id}"},e))},qa=e=>{var r;return((r=e.client)!=null?r:o).get(t({querySerializer:{array:{explode:!1,style:"form"}},url:"/client/review-values-reports"},e))},La=e=>{var r;return((r=e.client)!=null?r:o).get(t({querySerializer:{array:{explode:!1,style:"form"}},url:"/client/reviews"},e))},Wa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/reviews"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Qa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/subscriptions"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},_a=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/push-tokens"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ha=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/push-token-unregister"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Na=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/events"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Xa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ya=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/event-bulk-create"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Za=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/back-in-stock-subscriptions"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))};export{Ne as addCategoriesToCatalogItem,je as addItemsToCatalogCategory,ht as addProfilesToList,P as assignTemplateToCampaignMessage,Ie as bulkCreateCatalogCategories,ge as bulkCreateCatalogItems,we as bulkCreateCatalogVariants,Ya as bulkCreateClientEvents,ir as bulkCreateCouponCodes,Er as bulkCreateDataSourceRecords,Gr as bulkCreateEvents,Pe as bulkDeleteCatalogCategories,Ee as bulkDeleteCatalogItems,be as bulkDeleteCatalogVariants,_t as bulkImportProfiles,io as bulkSubscribeProfiles,Xt as bulkSuppressProfiles,lo as bulkUnsubscribeProfiles,$t as bulkUnsuppressProfiles,Me as bulkUpdateCatalogCategories,me as bulkUpdateCatalogItems,Fe as bulkUpdateCatalogVariants,z as cancelCampaignSend,xa as cloneTemplate,ve as createBackInStockSubscription,f as createCampaign,A as createCampaignClone,ne as createCatalogCategory,X as createCatalogItem,re as createCatalogVariant,Za as createClientBackInStockSubscription,Na as createClientEvent,Xa as createClientProfile,_a as createClientPushToken,Wa as createClientReview,Qa as createClientSubscription,Ye as createCoupon,tr as createCouponCode,Gt as createCustomMetric,mr as createDataSource,wr as createEvent,Rr as createFlow,nt as createList,so as createOrUpdateProfile,qt as createProfile,to as createPushToken,Ao as createSegment,Wo as createTag,Xo as createTagGroup,Ea as createTemplate,Ga as createUniversalContent,Ma as createWebFeed,va as createWebhook,D as deleteCampaign,ie as deleteCatalogCategory,Y as deleteCatalogItem,te as deleteCatalogVariant,Ze as deleteCoupon,or as deleteCouponCode,Ft as deleteCustomMetric,hr as deleteDataSource,Ir as deleteFlow,_r as deleteForm,it as deleteList,oo as deletePushToken,Po as deleteSegment,Qo as deleteTag,Yo as deleteTagGroup,Ta as deleteTemplate,Fa as deleteUniversalContent,Sa as deleteWebFeed,Ua as deleteWebhook,G as getAccount,O as getAccounts,jr as getActionForFlowMessage,qr as getActionIdForFlowMessage,Pr as getActionIdsForFlow,Ar as getActionsForFlow,Oa as getAllUniversalContent,de as getBulkCreateCatalogItemsJob,ue as getBulkCreateCatalogItemsJobs,ke as getBulkCreateCategoriesJob,Re as getBulkCreateCategoriesJobs,nr as getBulkCreateCouponCodeJobs,lr as getBulkCreateCouponCodesJob,Oe as getBulkCreateVariantsJob,Ce as getBulkCreateVariantsJobs,Te as getBulkDeleteCatalogItemsJob,ye as getBulkDeleteCatalogItemsJobs,Be as getBulkDeleteCategoriesJob,Ae as getBulkDeleteCategoriesJobs,xe as getBulkDeleteVariantsJob,De as getBulkDeleteVariantsJobs,Ht as getBulkImportProfilesJob,Qt as getBulkImportProfilesJobs,Yt as getBulkSuppressProfilesJob,Nt as getBulkSuppressProfilesJobs,eo as getBulkUnsuppressProfilesJob,Zt as getBulkUnsuppressProfilesJobs,he as getBulkUpdateCatalogItemsJob,ce as getBulkUpdateCatalogItemsJobs,Se as getBulkUpdateCategoriesJob,ze as getBulkUpdateCategoriesJobs,fe as getBulkUpdateVariantsJob,Ge as getBulkUpdateVariantsJobs,b as getCampaign,U as getCampaignForCampaignMessage,K as getCampaignIdForCampaignMessage,aa as getCampaignIdsForTag,R as getCampaignMessage,S as getCampaignRecipientEstimation,M as getCampaignRecipientEstimationJob,k as getCampaignSendJob,F as getCampaigns,se as getCatalogCategories,le as getCatalogCategory,Z as getCatalogItem,N as getCatalogItems,oe as getCatalogVariant,ee as getCatalogVariants,We as getCategoriesForCatalogItem,_e as getCategoryIdsForCatalogItem,qa as getClientReviewValuesReports,La as getClientReviews,$e as getCoupon,ar as getCouponCode,dr as getCouponCodeIdsForCoupon,rr as getCouponCodes,gr as getCouponCodesForCoupon,pr as getCouponForCouponCode,ur as getCouponIdForCouponCode,Xe as getCoupons,ft as getCustomMetric,Jt as getCustomMetricForMappedMetric,Vt as getCustomMetricIdForMappedMetric,Ot as getCustomMetrics,yr as getDataSource,cr as getDataSources,wo as getErrorsForBulkImportProfilesJob,Or as getEvent,Cr as getEvents,kr as getFlow,Mr as getFlowAction,Jr as getFlowActionMessages,Ur as getFlowForFlowAction,Kr as getFlowIdForFlowAction,ra as getFlowIdsForTag,Sr as getFlowMessage,xr as getFlows,yt as getFlowsTriggeredByList,kt as getFlowsTriggeredByMetric,jo as getFlowsTriggeredBySegment,Hr as getForm,Zr as getFormForFormVersion,$r as getFormIdForFormVersion,Nr as getFormVersion,Qr as getForms,Et as getIdsForFlowsTriggeredByList,zt as getIdsForFlowsTriggeredByMetric,qo as getIdsForFlowsTriggeredBySegment,tt as getImage,j as getImageForCampaignMessage,q as getImageIdForCampaignMessage,et as getImages,Je as getItemIdsForCatalogCategory,Ue as getItemsForCatalogCategory,lt as getList,yo as getListForBulkImportProfilesJob,Eo as getListIdsForBulkImportProfilesJob,co as getListIdsForProfile,ia as getListIdsForTag,st as getLists,go as getListsForProfile,xt as getMappedMetric,bt as getMappedMetrics,H as getMessageIdsForCampaign,Vr as getMessageIdsForFlowAction,_ as getMessagesForCampaign,Ct as getMetric,Fr as getMetricForEvent,Ut as getMetricForMappedMetric,At as getMetricForMetricProperty,fr as getMetricIdForEvent,Kt as getMetricIdForMappedMetric,Pt as getMetricIdForMetricProperty,vt as getMetricIdsForCustomMetric,wt as getMetricProperty,Tt as getMetrics,Bt as getMetricsForCustomMetric,Lt as getProfile,Dr as getProfileForEvent,Oo as getProfileForPushToken,br as getProfileIdForEvent,Go as getProfileIdForPushToken,Co as getProfileIdsForBulkImportProfilesJob,mt as getProfileIdsForList,Vo as getProfileIdsForSegment,jt as getProfiles,To as getProfilesForBulkImportProfilesJob,dt as getProfilesForList,Jo as getProfilesForSegment,Mt as getPropertiesForMetric,St as getPropertyIdsForMetric,ao as getPushToken,uo as getPushTokenIdsForProfile,ro as getPushTokens,po as getPushTokensForProfile,zo as getReview,ko as getReviews,Bo as getSegment,ho as getSegmentIdsForProfile,ua as getSegmentIdsForTag,So as getSegments,mo as getSegmentsForProfile,_o as getTag,Zo as getTagGroup,da as getTagGroupForTag,ca as getTagGroupIdForTag,No as getTagGroups,Q as getTagIdsForCampaign,vr as getTagIdsForFlow,gt as getTagIdsForList,Ko as getTagIdsForSegment,ha as getTagIdsForTagGroup,Lo as getTags,W as getTagsForCampaign,Br as getTagsForFlow,ut as getTagsForList,Uo as getTagsForSegment,ma as getTagsForTagGroup,Ca as getTemplate,J as getTemplateForCampaignMessage,Lr as getTemplateForFlowMessage,V as getTemplateIdForCampaignMessage,Wr as getTemplateIdForFlowMessage,ya as getTemplates,Ia as getTrackingSetting,Ra as getTrackingSettings,fa as getUniversalContent,Le as getVariantIdsForCatalogItem,qe as getVariantsForCatalogItem,Yr as getVersionIdsForForm,Xr as getVersionsForForm,Aa as getWebFeed,za as getWebFeeds,Ka as getWebhook,ja as getWebhookTopic,Va as getWebhookTopics,Ba as getWebhooks,no as mergeProfiles,Fo as queryCampaignValues,Do as queryFlowSeries,fo as queryFlowValues,xo as queryFormSeries,bo as queryFormValues,It as queryMetricAggregates,Io as querySegmentSeries,Ro as querySegmentValues,v as refreshCampaignRecipientEstimation,Qe as removeCategoriesFromCatalogItem,Ke as removeItemsFromCatalogCategory,ct as removeProfilesFromList,oa as removeTagFromCampaigns,ea as removeTagFromFlows,na as removeTagFromLists,pa as removeTagFromSegments,ba as renderTemplate,Tr as requestProfileDeletion,B as sendCampaign,sa as tagCampaigns,ta as tagFlows,la as tagLists,ga as tagSegments,Ha as unregisterClientPushToken,x as updateCampaign,I as updateCampaignMessage,pe as updateCatalogCategory,$ as updateCatalogItem,ae as updateCatalogVariant,He as updateCategoriesForCatalogItem,er as updateCoupon,sr as updateCouponCode,Dt as updateCustomMetric,zr as updateFlow,ot as updateImage,L as updateImageForCampaignMessage,Ve as updateItemsForCatalogCategory,pt as updateList,Rt as updateMappedMetric,Wt as updateProfile,Mo as updateReview,vo as updateSegment,Ho as updateTag,$o as updateTagGroup,wa as updateTemplate,ka as updateTrackingSetting,Da as updateUniversalContent,Pa as updateWebFeed,Ja as updateWebhook,at as uploadImageFromFile,rt as uploadImageFromUrl};
|
|
1
|
+
var l=Object.defineProperty,p=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,r,s)=>r in e?l(e,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[r]=s,t=(e,r)=>{for(var s in r||(r={}))g.call(r,s)&&i(e,s,r[s]);if(n)for(var s of n(r))d.call(r,s)&&i(e,s,r[s]);return e},a=(e,r)=>p(e,u(r));import{formDataBodySerializer as h}from"@hey-api/client-fetch";import{createClient as c,createConfig as m}from"@hey-api/client-fetch";var o=c(m({baseUrl:"https://a.klaviyo.com"}));var O=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/accounts"},e))},G=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/accounts/{id}"},e))},F=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns"},e))},f=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},D=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}"},e))},b=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns/{id}"},e))},x=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},R=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}"},e))},I=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},k=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-send-jobs/{id}"},e))},z=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-send-jobs/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},M=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-recipient-estimation-jobs/{id}"},e))},A=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-recipient-estimations/{id}"},e))},S=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-clone"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},P=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-message-assign-template"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},B=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-send-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},v=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-recipient-estimation-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},U=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}/campaign"},e))},K=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/campaign"},e))},J=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}/template"},e))},V=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/template"},e))},j=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaign-messages/{id}/image"},e))},q=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/image"},e))},L=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-messages/{id}/relationships/image"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},W=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns/{id}/tags"},e))},Q=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}/relationships/tags"},e))},_=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/campaigns/{id}/campaign-messages"},e))},H=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaigns/{id}/relationships/campaign-messages"},e))},N=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items"},e))},X=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Y=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}"},e))},Z=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items/{id}"},e))},$=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ee=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variants"},e))},re=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variants"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},te=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variants/{id}"},e))},oe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variants/{id}"},e))},ae=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variants/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},se=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-categories"},e))},ne=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ie=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}"},e))},le=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-categories/{id}"},e))},pe=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ue=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-create-jobs"},e))},ge=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-item-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},de=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-create-jobs/{job_id}"},e))},ce=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-update-jobs"},e))},me=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-item-bulk-update-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},he=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-update-jobs/{job_id}"},e))},ye=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-delete-jobs"},e))},Ee=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-item-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Te=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-item-bulk-delete-jobs/{job_id}"},e))},Ce=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-create-jobs"},e))},we=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variant-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Oe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-create-jobs/{job_id}"},e))},Ge=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-update-jobs"},e))},Fe=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variant-bulk-update-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},fe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-update-jobs/{job_id}"},e))},De=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-delete-jobs"},e))},be=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-variant-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},xe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-variant-bulk-delete-jobs/{job_id}"},e))},Re=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-create-jobs"},e))},Ie=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-category-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ke=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-create-jobs/{job_id}"},e))},ze=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-update-jobs"},e))},Me=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-category-bulk-update-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ae=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-update-jobs/{job_id}"},e))},Se=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-delete-jobs"},e))},Pe=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-category-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Be=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-category-bulk-delete-jobs/{job_id}"},e))},ve=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/back-in-stock-subscriptions"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ue=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-categories/{id}/items"},e))},Ke=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Je=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e))},Ve=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},je=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-categories/{id}/relationships/items"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},qe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items/{id}/variants"},e))},Le=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/variants"},e))},We=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/catalog-items/{id}/categories"},e))},Qe=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},_e=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e))},He=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ne=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/catalog-items/{id}/relationships/categories"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Xe=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupons"},e))},Ye=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ze=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons/{id}"},e))},$e=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupons/{id}"},e))},er=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},rr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-codes"},e))},tr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},or=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes/{id}"},e))},ar=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-codes/{id}"},e))},sr=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},nr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-code-bulk-create-jobs"},e))},ir=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-code-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},lr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-code-bulk-create-jobs/{job_id}"},e))},pr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupon-codes/{id}/coupon"},e))},ur=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupon-codes/{id}/relationships/coupon"},e))},gr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/coupons/{id}/coupon-codes"},e))},dr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/coupons/{id}/relationships/coupon-codes"},e))},cr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/data-sources"},e))},mr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-sources"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},hr=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-sources/{id}"},e))},yr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/data-sources/{id}"},e))},Er=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-source-record-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Tr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/data-privacy-deletion-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Cr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events"},e))},wr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/events"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Or=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events/{id}"},e))},Gr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/event-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Fr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events/{id}/metric"},e))},fr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/events/{id}/relationships/metric"},e))},Dr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/events/{id}/profile"},e))},br=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/events/{id}/relationships/profile"},e))},xr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows"},e))},Rr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ir=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}"},e))},kr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows/{id}"},e))},zr=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Mr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-actions/{id}"},e))},Ar=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-actions/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Sr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-messages/{id}"},e))},Pr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows/{id}/flow-actions"},e))},Br=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}/relationships/flow-actions"},e))},vr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flows/{id}/tags"},e))},Ur=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flows/{id}/relationships/tags"},e))},Kr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-actions/{id}/flow"},e))},Jr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-actions/{id}/relationships/flow"},e))},Vr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-actions/{id}/flow-messages"},e))},jr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-actions/{id}/relationships/flow-messages"},e))},qr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-messages/{id}/flow-action"},e))},Lr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-messages/{id}/relationships/flow-action"},e))},Wr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/flow-messages/{id}/template"},e))},Qr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-messages/{id}/relationships/template"},e))},_r=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/forms"},e))},Hr=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/forms"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Nr=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/forms/{id}"},e))},Xr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/forms/{id}"},e))},Yr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/form-versions/{id}"},e))},Zr=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/forms/{id}/form-versions"},e))},$r=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/forms/{id}/relationships/form-versions"},e))},et=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/form-versions/{id}/form"},e))},rt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/form-versions/{id}/relationships/form"},e))},tt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/images"},e))},ot=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/images"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},at=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/images/{id}"},e))},st=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/images/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},nt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t(a(t({},h),{security:[{name:"Authorization",type:"apiKey"}],url:"/api/image-upload"}),e),{headers:t({"Content-Type":null},e==null?void 0:e.headers)}))},it=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists"},e))},lt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},pt=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}"},e))},ut=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}"},e))},gt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},dt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}/tags"},e))},ct=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/tags"},e))},mt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}/profiles"},e))},ht=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},yt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/profiles"},e))},Et=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Tt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/lists/{id}/flow-triggers"},e))},Ct=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/lists/{id}/relationships/flow-triggers"},e))},wt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics"},e))},Ot=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics/{id}"},e))},Gt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metric-properties/{id}"},e))},Ft=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/custom-metrics"},e))},ft=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Dt=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics/{id}"},e))},bt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/custom-metrics/{id}"},e))},xt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Rt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics"},e))},It=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics/{id}"},e))},kt=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/mapped-metrics/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},zt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metric-aggregates"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Mt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics/{id}/flow-triggers"},e))},At=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metrics/{id}/relationships/flow-triggers"},e))},St=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metrics/{id}/metric-properties"},e))},Pt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metrics/{id}/relationships/metric-properties"},e))},Bt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/metric-properties/{id}/metric"},e))},vt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/metric-properties/{id}/relationships/metric"},e))},Ut=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/custom-metrics/{id}/metrics"},e))},Kt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/custom-metrics/{id}/relationships/metrics"},e))},Jt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics/{id}/metric"},e))},Vt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/mapped-metrics/{id}/relationships/metric"},e))},jt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/mapped-metrics/{id}/custom-metric"},e))},qt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/mapped-metrics/{id}/relationships/custom-metric"},e))},Lt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles"},e))},Wt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Qt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}"},e))},_t=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ht=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs"},e))},Nt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-bulk-import-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Xt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{job_id}"},e))},Yt=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-create-jobs"},e))},Zt=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-suppression-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},$t=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-create-jobs/{job_id}"},e))},eo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-delete-jobs"},e))},ro=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-suppression-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},to=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-suppression-bulk-delete-jobs/{job_id}"},e))},oo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/push-tokens"},e))},ao=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/push-tokens"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},so=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/push-tokens/{id}"},e))},no=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/push-tokens/{id}"},e))},io=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-import"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},lo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-merge"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},po=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-subscription-bulk-create-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},uo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-subscription-bulk-delete-jobs"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},go=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}/push-tokens"},e))},co=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profiles/{id}/relationships/push-tokens"},e))},mo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}/lists"},e))},ho=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profiles/{id}/relationships/lists"},e))},yo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profiles/{id}/segments"},e))},Eo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profiles/{id}/relationships/segments"},e))},To=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{id}/lists"},e))},Co=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-bulk-import-jobs/{id}/relationships/lists"},e))},wo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{id}/profiles"},e))},Oo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/profile-bulk-import-jobs/{id}/relationships/profiles"},e))},Go=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/profile-bulk-import-jobs/{id}/import-errors"},e))},Fo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/push-tokens/{id}/profile"},e))},fo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/push-tokens/{id}/relationships/profile"},e))},Do=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/campaign-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},bo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},xo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/flow-series-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ro=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/form-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Io=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/form-series-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ko=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segment-values-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},zo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segment-series-reports"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Mo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/reviews"},e))},Ao=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/reviews/{id}"},e))},So=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/reviews/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Po=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments"},e))},Bo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},vo=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}"},e))},Uo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}"},e))},Ko=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Jo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}/tags"},e))},Vo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}/relationships/tags"},e))},jo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}/profiles"},e))},qo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}/relationships/profiles"},e))},Lo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/segments/{id}/flow-triggers"},e))},Wo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/segments/{id}/relationships/flow-triggers"},e))},Qo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tags"},e))},_o=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ho=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}"},e))},No=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tags/{id}"},e))},Xo=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Yo=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tag-groups"},e))},Zo=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},$o=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups/{id}"},e))},ea=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tag-groups/{id}"},e))},ra=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ta=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/flows"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},oa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/flows"},e))},aa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/flows"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},sa=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/campaigns"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},na=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/campaigns"},e))},ia=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/campaigns"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},la=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/lists"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},pa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/lists"},e))},ua=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/lists"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ga=e=>{var r;return((r=e.client)!=null?r:o).delete(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/segments"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},da=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/segments"},e))},ca=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/segments"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ma=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tags/{id}/tag-group"},e))},ha=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tags/{id}/relationships/tag-group"},e))},ya=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tag-groups/{id}/tags"},e))},Ea=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tag-groups/{id}/relationships/tags"},e))},Ta=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/templates"},e))},Ca=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/templates"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},wa=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/templates/{id}"},e))},Oa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/templates/{id}"},e))},Ga=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/templates/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Fa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/template-universal-content"},e))},fa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-universal-content"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Da=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-universal-content/{id}"},e))},ba=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/template-universal-content/{id}"},e))},xa=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-universal-content/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ra=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-render"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ia=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/template-clone"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},ka=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tracking-settings"},e))},za=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/tracking-settings/{id}"},e))},Ma=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/tracking-settings/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Aa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/web-feeds"},e))},Sa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/web-feeds"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Pa=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/web-feeds/{id}"},e))},Ba=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/web-feeds/{id}"},e))},va=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/web-feeds/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ua=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/webhooks"},e))},Ka=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhooks"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ja=e=>{var r;return((r=e.client)!=null?r:o).delete(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhooks/{id}"},e))},Va=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],querySerializer:{array:{explode:!1,style:"form"}},url:"/api/webhooks/{id}"},e))},ja=e=>{var r;return((r=e.client)!=null?r:o).patch(a(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhooks/{id}"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},qa=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhook-topics"},e))},La=e=>{var r;return((r=e.client)!=null?r:o).get(t({security:[{name:"Authorization",type:"apiKey"}],url:"/api/webhook-topics/{id}"},e))},Wa=e=>{var r;return((r=e.client)!=null?r:o).get(t({querySerializer:{array:{explode:!1,style:"form"}},url:"/client/review-values-reports"},e))},Qa=e=>{var r;return((r=e.client)!=null?r:o).get(t({querySerializer:{array:{explode:!1,style:"form"}},url:"/client/reviews"},e))},_a=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/reviews"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ha=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/subscriptions"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Na=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/push-tokens"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Xa=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/push-token-unregister"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Ya=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/events"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},Za=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/profiles"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},$a=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/event-bulk-create"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))},es=e=>{var r;return((r=e.client)!=null?r:o).post(a(t({url:"/client/back-in-stock-subscriptions"},e),{headers:t({"Content-Type":"application/vnd.api+json"},e==null?void 0:e.headers)}))};export{Ne as addCategoriesToCatalogItem,je as addItemsToCatalogCategory,Et as addProfilesToList,P as assignTemplateToCampaignMessage,Ie as bulkCreateCatalogCategories,ge as bulkCreateCatalogItems,we as bulkCreateCatalogVariants,$a as bulkCreateClientEvents,ir as bulkCreateCouponCodes,Er as bulkCreateDataSourceRecords,Gr as bulkCreateEvents,Pe as bulkDeleteCatalogCategories,Ee as bulkDeleteCatalogItems,be as bulkDeleteCatalogVariants,Nt as bulkImportProfiles,po as bulkSubscribeProfiles,Zt as bulkSuppressProfiles,uo as bulkUnsubscribeProfiles,ro as bulkUnsuppressProfiles,Me as bulkUpdateCatalogCategories,me as bulkUpdateCatalogItems,Fe as bulkUpdateCatalogVariants,z as cancelCampaignSend,Ia as cloneTemplate,ve as createBackInStockSubscription,f as createCampaign,S as createCampaignClone,ne as createCatalogCategory,X as createCatalogItem,re as createCatalogVariant,es as createClientBackInStockSubscription,Ya as createClientEvent,Za as createClientProfile,Na as createClientPushToken,_a as createClientReview,Ha as createClientSubscription,Ye as createCoupon,tr as createCouponCode,ft as createCustomMetric,mr as createDataSource,wr as createEvent,Rr as createFlow,Hr as createForm,lt as createList,io as createOrUpdateProfile,Wt as createProfile,ao as createPushToken,Bo as createSegment,_o as createTag,Zo as createTagGroup,Ca as createTemplate,fa as createUniversalContent,Sa as createWebFeed,Ka as createWebhook,D as deleteCampaign,ie as deleteCatalogCategory,Y as deleteCatalogItem,te as deleteCatalogVariant,Ze as deleteCoupon,or as deleteCouponCode,Dt as deleteCustomMetric,hr as deleteDataSource,Ir as deleteFlow,Nr as deleteForm,pt as deleteList,so as deletePushToken,vo as deleteSegment,Ho as deleteTag,$o as deleteTagGroup,wa as deleteTemplate,Da as deleteUniversalContent,Pa as deleteWebFeed,Ja as deleteWebhook,G as getAccount,O as getAccounts,qr as getActionForFlowMessage,Lr as getActionIdForFlowMessage,Br as getActionIdsForFlow,Pr as getActionsForFlow,Fa as getAllUniversalContent,de as getBulkCreateCatalogItemsJob,ue as getBulkCreateCatalogItemsJobs,ke as getBulkCreateCategoriesJob,Re as getBulkCreateCategoriesJobs,nr as getBulkCreateCouponCodeJobs,lr as getBulkCreateCouponCodesJob,Oe as getBulkCreateVariantsJob,Ce as getBulkCreateVariantsJobs,Te as getBulkDeleteCatalogItemsJob,ye as getBulkDeleteCatalogItemsJobs,Be as getBulkDeleteCategoriesJob,Se as getBulkDeleteCategoriesJobs,xe as getBulkDeleteVariantsJob,De as getBulkDeleteVariantsJobs,Xt as getBulkImportProfilesJob,Ht as getBulkImportProfilesJobs,$t as getBulkSuppressProfilesJob,Yt as getBulkSuppressProfilesJobs,to as getBulkUnsuppressProfilesJob,eo as getBulkUnsuppressProfilesJobs,he as getBulkUpdateCatalogItemsJob,ce as getBulkUpdateCatalogItemsJobs,Ae as getBulkUpdateCategoriesJob,ze as getBulkUpdateCategoriesJobs,fe as getBulkUpdateVariantsJob,Ge as getBulkUpdateVariantsJobs,b as getCampaign,U as getCampaignForCampaignMessage,K as getCampaignIdForCampaignMessage,na as getCampaignIdsForTag,R as getCampaignMessage,A as getCampaignRecipientEstimation,M as getCampaignRecipientEstimationJob,k as getCampaignSendJob,F as getCampaigns,se as getCatalogCategories,le as getCatalogCategory,Z as getCatalogItem,N as getCatalogItems,oe as getCatalogVariant,ee as getCatalogVariants,We as getCategoriesForCatalogItem,_e as getCategoryIdsForCatalogItem,Wa as getClientReviewValuesReports,Qa as getClientReviews,$e as getCoupon,ar as getCouponCode,dr as getCouponCodeIdsForCoupon,rr as getCouponCodes,gr as getCouponCodesForCoupon,pr as getCouponForCouponCode,ur as getCouponIdForCouponCode,Xe as getCoupons,bt as getCustomMetric,jt as getCustomMetricForMappedMetric,qt as getCustomMetricIdForMappedMetric,Ft as getCustomMetrics,yr as getDataSource,cr as getDataSources,Go as getErrorsForBulkImportProfilesJob,Or as getEvent,Cr as getEvents,kr as getFlow,Mr as getFlowAction,Vr as getFlowActionMessages,Kr as getFlowForFlowAction,Jr as getFlowIdForFlowAction,oa as getFlowIdsForTag,Sr as getFlowMessage,xr as getFlows,Tt as getFlowsTriggeredByList,Mt as getFlowsTriggeredByMetric,Lo as getFlowsTriggeredBySegment,Xr as getForm,et as getFormForFormVersion,rt as getFormIdForFormVersion,Yr as getFormVersion,_r as getForms,Ct as getIdsForFlowsTriggeredByList,At as getIdsForFlowsTriggeredByMetric,Wo as getIdsForFlowsTriggeredBySegment,at as getImage,j as getImageForCampaignMessage,q as getImageIdForCampaignMessage,tt as getImages,Je as getItemIdsForCatalogCategory,Ue as getItemsForCatalogCategory,ut as getList,To as getListForBulkImportProfilesJob,Co as getListIdsForBulkImportProfilesJob,ho as getListIdsForProfile,pa as getListIdsForTag,it as getLists,mo as getListsForProfile,It as getMappedMetric,Rt as getMappedMetrics,H as getMessageIdsForCampaign,jr as getMessageIdsForFlowAction,_ as getMessagesForCampaign,Ot as getMetric,Fr as getMetricForEvent,Jt as getMetricForMappedMetric,Bt as getMetricForMetricProperty,fr as getMetricIdForEvent,Vt as getMetricIdForMappedMetric,vt as getMetricIdForMetricProperty,Kt as getMetricIdsForCustomMetric,Gt as getMetricProperty,wt as getMetrics,Ut as getMetricsForCustomMetric,Qt as getProfile,Dr as getProfileForEvent,Fo as getProfileForPushToken,br as getProfileIdForEvent,fo as getProfileIdForPushToken,Oo as getProfileIdsForBulkImportProfilesJob,yt as getProfileIdsForList,qo as getProfileIdsForSegment,Lt as getProfiles,wo as getProfilesForBulkImportProfilesJob,mt as getProfilesForList,jo as getProfilesForSegment,St as getPropertiesForMetric,Pt as getPropertyIdsForMetric,no as getPushToken,co as getPushTokenIdsForProfile,oo as getPushTokens,go as getPushTokensForProfile,Ao as getReview,Mo as getReviews,Uo as getSegment,Eo as getSegmentIdsForProfile,da as getSegmentIdsForTag,Po as getSegments,yo as getSegmentsForProfile,No as getTag,ea as getTagGroup,ma as getTagGroupForTag,ha as getTagGroupIdForTag,Yo as getTagGroups,Q as getTagIdsForCampaign,Ur as getTagIdsForFlow,ct as getTagIdsForList,Vo as getTagIdsForSegment,Ea as getTagIdsForTagGroup,Qo as getTags,W as getTagsForCampaign,vr as getTagsForFlow,dt as getTagsForList,Jo as getTagsForSegment,ya as getTagsForTagGroup,Oa as getTemplate,J as getTemplateForCampaignMessage,Wr as getTemplateForFlowMessage,V as getTemplateIdForCampaignMessage,Qr as getTemplateIdForFlowMessage,Ta as getTemplates,za as getTrackingSetting,ka as getTrackingSettings,ba as getUniversalContent,Le as getVariantIdsForCatalogItem,qe as getVariantsForCatalogItem,$r as getVersionIdsForForm,Zr as getVersionsForForm,Ba as getWebFeed,Aa as getWebFeeds,Va as getWebhook,La as getWebhookTopic,qa as getWebhookTopics,Ua as getWebhooks,lo as mergeProfiles,Do as queryCampaignValues,xo as queryFlowSeries,bo as queryFlowValues,Io as queryFormSeries,Ro as queryFormValues,zt as queryMetricAggregates,zo as querySegmentSeries,ko as querySegmentValues,v as refreshCampaignRecipientEstimation,Qe as removeCategoriesFromCatalogItem,Ke as removeItemsFromCatalogCategory,ht as removeProfilesFromList,sa as removeTagFromCampaigns,ta as removeTagFromFlows,la as removeTagFromLists,ga as removeTagFromSegments,Ra as renderTemplate,Tr as requestProfileDeletion,B as sendCampaign,ia as tagCampaigns,aa as tagFlows,ua as tagLists,ca as tagSegments,Xa as unregisterClientPushToken,x as updateCampaign,I as updateCampaignMessage,pe as updateCatalogCategory,$ as updateCatalogItem,ae as updateCatalogVariant,He as updateCategoriesForCatalogItem,er as updateCoupon,sr as updateCouponCode,xt as updateCustomMetric,zr as updateFlow,Ar as updateFlowAction,st as updateImage,L as updateImageForCampaignMessage,Ve as updateItemsForCatalogCategory,gt as updateList,kt as updateMappedMetric,_t as updateProfile,So as updateReview,Ko as updateSegment,Xo as updateTag,ra as updateTagGroup,Ga as updateTemplate,Ma as updateTrackingSetting,xa as updateUniversalContent,va as updateWebFeed,ja as updateWebhook,nt as uploadImageFromFile,ot as uploadImageFromUrl};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|