@polar-sh/sdk 0.13.0 → 0.13.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/README.md +15 -0
- package/docs/sdks/articles/README.md +78 -0
- package/docs/sdks/benefits/README.md +3 -3
- package/docs/sdks/checkoutlinks/README.md +400 -0
- package/funcs/articlesExport.d.ts +16 -0
- package/funcs/articlesExport.d.ts.map +1 -0
- package/funcs/articlesExport.js +99 -0
- package/funcs/articlesExport.js.map +1 -0
- package/funcs/benefitsCreate.d.ts +2 -1
- package/funcs/benefitsCreate.d.ts.map +1 -1
- package/funcs/benefitsCreate.js +2 -1
- package/funcs/benefitsCreate.js.map +1 -1
- package/funcs/benefitsGet.d.ts +2 -1
- package/funcs/benefitsGet.d.ts.map +1 -1
- package/funcs/benefitsGet.js +2 -1
- package/funcs/benefitsGet.js.map +1 -1
- package/funcs/benefitsUpdate.d.ts +2 -1
- package/funcs/benefitsUpdate.d.ts.map +1 -1
- package/funcs/benefitsUpdate.js +2 -1
- package/funcs/benefitsUpdate.js.map +1 -1
- package/funcs/checkoutLinksCreate.d.ts +16 -0
- package/funcs/checkoutLinksCreate.d.ts.map +1 -0
- package/funcs/checkoutLinksCreate.js +95 -0
- package/funcs/checkoutLinksCreate.js.map +1 -0
- package/funcs/checkoutLinksDelete.d.ts +16 -0
- package/funcs/checkoutLinksDelete.d.ts.map +1 -0
- package/funcs/checkoutLinksDelete.js +101 -0
- package/funcs/checkoutLinksDelete.js.map +1 -0
- package/funcs/checkoutLinksGet.d.ts +17 -0
- package/funcs/checkoutLinksGet.d.ts.map +1 -0
- package/funcs/checkoutLinksGet.js +101 -0
- package/funcs/checkoutLinksGet.js.map +1 -0
- package/funcs/checkoutLinksList.d.ts +17 -0
- package/funcs/checkoutLinksList.d.ts.map +1 -0
- package/funcs/checkoutLinksList.js +130 -0
- package/funcs/checkoutLinksList.js.map +1 -0
- package/funcs/checkoutLinksUpdate.d.ts +17 -0
- package/funcs/checkoutLinksUpdate.d.ts.map +1 -0
- package/funcs/checkoutLinksUpdate.js +104 -0
- package/funcs/checkoutLinksUpdate.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/articlecreate.d.ts +6 -67
- package/models/components/articlecreate.d.ts.map +1 -1
- package/models/components/articlecreate.js +7 -47
- package/models/components/articlecreate.js.map +1 -1
- package/models/components/benefit.d.ts +28 -0
- package/models/components/benefit.d.ts.map +1 -0
- package/models/components/benefit.js +69 -0
- package/models/components/benefit.js.map +1 -0
- package/models/components/benefitbase.d.ts +0 -3
- package/models/components/benefitbase.d.ts.map +1 -1
- package/models/components/benefitbase.js.map +1 -1
- package/models/components/benefitgrantwebhook.d.ts +3 -28
- package/models/components/benefitgrantwebhook.d.ts.map +1 -1
- package/models/components/benefitgrantwebhook.js +4 -57
- package/models/components/benefitgrantwebhook.js.map +1 -1
- package/models/components/benefitinput.d.ts +28 -0
- package/models/components/benefitinput.d.ts.map +1 -0
- package/models/components/benefitinput.js +69 -0
- package/models/components/benefitinput.js.map +1 -0
- package/models/components/checkoutlink.d.ts +69 -0
- package/models/components/checkoutlink.d.ts.map +1 -0
- package/models/components/checkoutlink.js +90 -0
- package/models/components/checkoutlink.js.map +1 -0
- package/models/components/checkoutlinkcreate.d.ts +85 -0
- package/models/components/checkoutlinkcreate.d.ts.map +1 -0
- package/models/components/checkoutlinkcreate.js +90 -0
- package/models/components/checkoutlinkcreate.js.map +1 -0
- package/models/components/checkoutlinksortproperty.d.ts +28 -0
- package/models/components/checkoutlinksortproperty.d.ts.map +1 -0
- package/models/components/checkoutlinksortproperty.js +50 -0
- package/models/components/checkoutlinksortproperty.js.map +1 -0
- package/models/components/checkoutlinkupdate.d.ts +46 -0
- package/models/components/checkoutlinkupdate.d.ts.map +1 -0
- package/models/components/checkoutlinkupdate.js +61 -0
- package/models/components/checkoutlinkupdate.js.map +1 -0
- package/models/components/checkoutpublic.d.ts +5 -8
- package/models/components/checkoutpublic.d.ts.map +1 -1
- package/models/components/checkoutpublic.js +2 -2
- package/models/components/checkoutpublic.js.map +1 -1
- package/models/components/index.d.ts +13 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -0
- package/models/components/index.js.map +1 -1
- package/models/components/interval.d.ts +37 -0
- package/models/components/interval.d.ts.map +1 -0
- package/models/components/interval.js +54 -0
- package/models/components/interval.js.map +1 -0
- package/models/components/issue.d.ts +0 -6
- package/models/components/issue.d.ts.map +1 -1
- package/models/components/issue.js.map +1 -1
- package/models/components/licensekeyread.d.ts +3 -0
- package/models/components/licensekeyread.d.ts.map +1 -1
- package/models/components/licensekeyread.js +3 -0
- package/models/components/licensekeyread.js.map +1 -1
- package/models/components/licensekeyuser.d.ts +31 -0
- package/models/components/licensekeyuser.d.ts.map +1 -0
- package/models/components/licensekeyuser.js +67 -0
- package/models/components/licensekeyuser.js.map +1 -0
- package/models/components/licensekeywithactivations.d.ts +3 -0
- package/models/components/licensekeywithactivations.d.ts.map +1 -1
- package/models/components/licensekeywithactivations.js +3 -0
- package/models/components/licensekeywithactivations.js.map +1 -1
- package/models/components/listresourcebenefit.d.ts +3 -28
- package/models/components/listresourcebenefit.d.ts.map +1 -1
- package/models/components/listresourcebenefit.js +4 -57
- package/models/components/listresourcebenefit.js.map +1 -1
- package/models/components/listresourcecheckoutlink.d.ts +29 -0
- package/models/components/listresourcecheckoutlink.d.ts.map +1 -0
- package/models/components/listresourcecheckoutlink.js +54 -0
- package/models/components/listresourcecheckoutlink.js.map +1 -0
- package/models/components/metric.d.ts +0 -3
- package/models/components/metric.d.ts.map +1 -1
- package/models/components/metric.js.map +1 -1
- package/models/components/metricsintervalslimits.d.ts +5 -5
- package/models/components/metricslimits.d.ts +1 -1
- package/models/components/metricsresponse.d.ts +0 -3
- package/models/components/metricsresponse.d.ts.map +1 -1
- package/models/components/metricsresponse.js.map +1 -1
- package/models/components/oauth2client.js +2 -2
- package/models/components/oauth2client.js.map +1 -1
- package/models/components/oauth2clientconfiguration.js +2 -2
- package/models/components/oauth2clientconfiguration.js.map +1 -1
- package/models/components/oauth2clientconfigurationupdate.js +2 -2
- package/models/components/oauth2clientconfigurationupdate.js.map +1 -1
- package/models/components/order.d.ts +3 -0
- package/models/components/order.d.ts.map +1 -1
- package/models/components/order.js +5 -0
- package/models/components/order.js.map +1 -1
- package/models/components/orderbillingreason.d.ts +34 -0
- package/models/components/orderbillingreason.d.ts.map +1 -0
- package/models/components/orderbillingreason.js +52 -0
- package/models/components/orderbillingreason.js.map +1 -0
- package/models/components/pledge.d.ts +0 -9
- package/models/components/pledge.d.ts.map +1 -1
- package/models/components/pledge.js.map +1 -1
- package/models/components/polarcheckoutschemascheckout.d.ts +2 -121
- package/models/components/polarcheckoutschemascheckout.d.ts.map +1 -1
- package/models/components/polarcheckoutschemascheckout.js +3 -108
- package/models/components/polarcheckoutschemascheckout.js.map +1 -1
- package/models/components/productpriceonetimecustom.d.ts +5 -0
- package/models/components/productpriceonetimecustom.d.ts.map +1 -1
- package/models/components/productpriceonetimecustom.js +4 -0
- package/models/components/productpriceonetimecustom.js.map +1 -1
- package/models/components/productpriceonetimefixed.d.ts +5 -0
- package/models/components/productpriceonetimefixed.d.ts.map +1 -1
- package/models/components/productpriceonetimefixed.js +4 -0
- package/models/components/productpriceonetimefixed.js.map +1 -1
- package/models/components/productpriceonetimefree.d.ts +5 -0
- package/models/components/productpriceonetimefree.d.ts.map +1 -1
- package/models/components/productpriceonetimefree.js +4 -0
- package/models/components/productpriceonetimefree.js.map +1 -1
- package/models/components/productpricerecurringcustom.d.ts +5 -3
- package/models/components/productpricerecurringcustom.d.ts.map +1 -1
- package/models/components/productpricerecurringcustom.js +4 -0
- package/models/components/productpricerecurringcustom.js.map +1 -1
- package/models/components/productpricerecurringfixed.d.ts +5 -3
- package/models/components/productpricerecurringfixed.d.ts.map +1 -1
- package/models/components/productpricerecurringfixed.js +4 -0
- package/models/components/productpricerecurringfixed.js.map +1 -1
- package/models/components/productpricerecurringfixedcreate.d.ts +0 -3
- package/models/components/productpricerecurringfixedcreate.d.ts.map +1 -1
- package/models/components/productpricerecurringfixedcreate.js.map +1 -1
- package/models/components/productpricerecurringfree.d.ts +5 -3
- package/models/components/productpricerecurringfree.d.ts.map +1 -1
- package/models/components/productpricerecurringfree.js +4 -0
- package/models/components/productpricerecurringfree.js.map +1 -1
- package/models/components/productpricerecurringfreecreate.d.ts +0 -3
- package/models/components/productpricerecurringfreecreate.d.ts.map +1 -1
- package/models/components/productpricerecurringfreecreate.js.map +1 -1
- package/models/components/validatedlicensekey.d.ts +3 -0
- package/models/components/validatedlicensekey.d.ts.map +1 -1
- package/models/components/validatedlicensekey.js +3 -0
- package/models/components/validatedlicensekey.js.map +1 -1
- package/models/components/webhookbenefitcreatedpayload.d.ts +3 -28
- package/models/components/webhookbenefitcreatedpayload.d.ts.map +1 -1
- package/models/components/webhookbenefitcreatedpayload.js +4 -57
- package/models/components/webhookbenefitcreatedpayload.js.map +1 -1
- package/models/components/webhookbenefitupdatedpayload.d.ts +3 -28
- package/models/components/webhookbenefitupdatedpayload.d.ts.map +1 -1
- package/models/components/webhookbenefitupdatedpayload.js +4 -57
- package/models/components/webhookbenefitupdatedpayload.js.map +1 -1
- package/models/components/webhookcheckoutcreatedpayload.d.ts +3 -3
- package/models/components/webhookcheckoutcreatedpayload.d.ts.map +1 -1
- package/models/components/webhookcheckoutcreatedpayload.js +2 -2
- package/models/components/webhookcheckoutcreatedpayload.js.map +1 -1
- package/models/components/webhookcheckoutupdatedpayload.d.ts +3 -3
- package/models/components/webhookcheckoutupdatedpayload.d.ts.map +1 -1
- package/models/components/webhookcheckoutupdatedpayload.js +2 -2
- package/models/components/webhookcheckoutupdatedpayload.js.map +1 -1
- package/models/components/webhooksubscriptionactivepayload.d.ts +59 -0
- package/models/components/webhooksubscriptionactivepayload.d.ts.map +1 -0
- package/models/components/webhooksubscriptionactivepayload.js +71 -0
- package/models/components/webhooksubscriptionactivepayload.js.map +1 -0
- package/models/components/webhooksubscriptioncanceledpayload.d.ts +59 -0
- package/models/components/webhooksubscriptioncanceledpayload.d.ts.map +1 -0
- package/models/components/webhooksubscriptioncanceledpayload.js +71 -0
- package/models/components/webhooksubscriptioncanceledpayload.js.map +1 -0
- package/models/components/webhooksubscriptionrevokedpayload.d.ts +59 -0
- package/models/components/webhooksubscriptionrevokedpayload.d.ts.map +1 -0
- package/models/components/webhooksubscriptionrevokedpayload.js +71 -0
- package/models/components/webhooksubscriptionrevokedpayload.js.map +1 -0
- package/models/components/webhooksubscriptionupdatedpayload.d.ts +6 -2
- package/models/components/webhooksubscriptionupdatedpayload.d.ts.map +1 -1
- package/models/components/webhooksubscriptionupdatedpayload.js.map +1 -1
- package/models/operations/articlesexport.d.ts +25 -0
- package/models/operations/articlesexport.d.ts.map +1 -0
- package/models/operations/articlesexport.js +59 -0
- package/models/operations/articlesexport.js.map +1 -0
- package/models/operations/benefitscreate.d.ts +0 -22
- package/models/operations/benefitscreate.d.ts.map +1 -1
- package/models/operations/benefitscreate.js +1 -32
- package/models/operations/benefitscreate.js.map +1 -1
- package/models/operations/benefitsget.d.ts +0 -23
- package/models/operations/benefitsget.d.ts.map +1 -1
- package/models/operations/benefitsget.js +1 -33
- package/models/operations/benefitsget.js.map +1 -1
- package/models/operations/benefitsupdate.d.ts +0 -22
- package/models/operations/benefitsupdate.d.ts.map +1 -1
- package/models/operations/benefitsupdate.js +1 -32
- package/models/operations/benefitsupdate.js.map +1 -1
- package/models/operations/checkoutlinksdelete.d.ts +28 -0
- package/models/operations/checkoutlinksdelete.d.ts.map +1 -0
- package/models/operations/checkoutlinksdelete.js +50 -0
- package/models/operations/checkoutlinksdelete.js.map +1 -0
- package/models/operations/checkoutlinksget.d.ts +28 -0
- package/models/operations/checkoutlinksget.d.ts.map +1 -0
- package/models/operations/checkoutlinksget.js +50 -0
- package/models/operations/checkoutlinksget.js.map +1 -0
- package/models/operations/checkoutlinkslist.d.ts +116 -0
- package/models/operations/checkoutlinkslist.d.ts.map +1 -0
- package/models/operations/checkoutlinkslist.js +129 -0
- package/models/operations/checkoutlinkslist.js.map +1 -0
- package/models/operations/checkoutlinksupdate.d.ts +31 -0
- package/models/operations/checkoutlinksupdate.d.ts.map +1 -0
- package/models/operations/checkoutlinksupdate.js +62 -0
- package/models/operations/checkoutlinksupdate.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/metricsget.d.ts +1 -42
- package/models/operations/metricsget.d.ts.map +1 -1
- package/models/operations/metricsget.js +3 -29
- package/models/operations/metricsget.js.map +1 -1
- package/package.json +1 -1
- package/sdk/articles.d.ts +7 -0
- package/sdk/articles.d.ts.map +1 -1
- package/sdk/articles.js +10 -0
- package/sdk/articles.js.map +1 -1
- package/sdk/benefits.d.ts +4 -3
- package/sdk/benefits.d.ts.map +1 -1
- package/sdk/benefits.js.map +1 -1
- package/sdk/checkoutlinks.d.ts +42 -0
- package/sdk/checkoutlinks.d.ts.map +1 -0
- package/sdk/checkoutlinks.js +63 -0
- package/sdk/checkoutlinks.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +5 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/articlesExport.ts +129 -0
- package/src/funcs/benefitsCreate.ts +4 -3
- package/src/funcs/benefitsGet.ts +4 -3
- package/src/funcs/benefitsUpdate.ts +4 -3
- package/src/funcs/checkoutLinksCreate.ts +124 -0
- package/src/funcs/checkoutLinksDelete.ts +135 -0
- package/src/funcs/checkoutLinksGet.ts +134 -0
- package/src/funcs/checkoutLinksList.ts +189 -0
- package/src/funcs/checkoutLinksUpdate.ts +138 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/articlecreate.ts +18 -77
- package/src/models/components/benefit.ts +106 -0
- package/src/models/components/benefitbase.ts +0 -3
- package/src/models/components/benefitgrantwebhook.ts +9 -137
- package/src/models/components/benefitinput.ts +109 -0
- package/src/models/components/checkoutlink.ts +131 -0
- package/src/models/components/checkoutlinkcreate.ts +127 -0
- package/src/models/components/checkoutlinksortproperty.ts +35 -0
- package/src/models/components/checkoutlinkupdate.ts +73 -0
- package/src/models/components/checkoutpublic.ts +7 -10
- package/src/models/components/index.ts +13 -0
- package/src/models/components/interval.ts +34 -0
- package/src/models/components/issue.ts +0 -6
- package/src/models/components/licensekeyread.ts +10 -0
- package/src/models/components/licensekeyuser.ts +68 -0
- package/src/models/components/licensekeywithactivations.ts +10 -0
- package/src/models/components/listresourcebenefit.ts +9 -140
- package/src/models/components/listresourcecheckoutlink.ts +61 -0
- package/src/models/components/metric.ts +0 -3
- package/src/models/components/metricsintervalslimits.ts +5 -5
- package/src/models/components/metricslimits.ts +1 -1
- package/src/models/components/metricsresponse.ts +0 -3
- package/src/models/components/oauth2client.ts +2 -2
- package/src/models/components/oauth2clientconfiguration.ts +2 -2
- package/src/models/components/oauth2clientconfigurationupdate.ts +2 -2
- package/src/models/components/order.ts +11 -0
- package/src/models/components/orderbillingreason.ts +35 -0
- package/src/models/components/pledge.ts +0 -9
- package/src/models/components/polarcheckoutschemascheckout.ts +4 -229
- package/src/models/components/productpriceonetimecustom.ts +9 -0
- package/src/models/components/productpriceonetimefixed.ts +9 -0
- package/src/models/components/productpriceonetimefree.ts +9 -0
- package/src/models/components/productpricerecurringcustom.ts +9 -3
- package/src/models/components/productpricerecurringfixed.ts +9 -3
- package/src/models/components/productpricerecurringfixedcreate.ts +0 -3
- package/src/models/components/productpricerecurringfree.ts +9 -3
- package/src/models/components/productpricerecurringfreecreate.ts +0 -3
- package/src/models/components/validatedlicensekey.ts +10 -0
- package/src/models/components/webhookbenefitcreatedpayload.ts +9 -139
- package/src/models/components/webhookbenefitupdatedpayload.ts +9 -139
- package/src/models/components/webhookcheckoutcreatedpayload.ts +8 -8
- package/src/models/components/webhookcheckoutupdatedpayload.ts +8 -8
- package/src/models/components/webhooksubscriptionactivepayload.ts +95 -0
- package/src/models/components/webhooksubscriptioncanceledpayload.ts +96 -0
- package/src/models/components/webhooksubscriptionrevokedpayload.ts +96 -0
- package/src/models/components/webhooksubscriptionupdatedpayload.ts +6 -2
- package/src/models/operations/articlesexport.ts +54 -0
- package/src/models/operations/benefitscreate.ts +0 -67
- package/src/models/operations/benefitsget.ts +0 -66
- package/src/models/operations/benefitsupdate.ts +0 -67
- package/src/models/operations/checkoutlinksdelete.ts +48 -0
- package/src/models/operations/checkoutlinksget.ts +48 -0
- package/src/models/operations/checkoutlinkslist.ts +224 -0
- package/src/models/operations/checkoutlinksupdate.ts +62 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/metricsget.ts +3 -38
- package/src/sdk/articles.ts +18 -0
- package/src/sdk/benefits.ts +4 -3
- package/src/sdk/checkoutlinks.ts +101 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articlecreate.js","sourceRoot":"","sources":["../../src/models/components/articlecreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;
|
|
1
|
+
{"version":3,"file":"articlecreate.js","sourceRoot":"","sources":["../../src/models/components/articlecreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,yDAI4B;AAC5B,iEAIgC;AAuDhC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,CAAC,CAAC,QAA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AC,WAAW,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC5E,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,cAAc,EAAE,iBAAiB;QACjC,mBAAmB,EAAE,uBAAuB;QAC5C,yBAAyB,EAAE,+BAA+B;QAC1D,WAAW,EAAE,cAAc;QAC3B,iBAAiB,EAAE,oBAAoB;QACvC,QAAQ,EAAE,WAAW;QACrB,UAAU,EAAE,cAAc;QAC1B,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,cAAc,CAO9B;AAPD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAG7D,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { BenefitAds, BenefitAds$Outbound } from "./benefitads.js";
|
|
3
|
+
import { BenefitArticles, BenefitArticles$Outbound } from "./benefitarticles.js";
|
|
4
|
+
import { BenefitCustom, BenefitCustom$Outbound } from "./benefitcustom.js";
|
|
5
|
+
import { BenefitDiscord, BenefitDiscord$Outbound } from "./benefitdiscord.js";
|
|
6
|
+
import { BenefitDownloadables, BenefitDownloadables$Outbound } from "./benefitdownloadables.js";
|
|
7
|
+
import { BenefitGitHubRepository, BenefitGitHubRepository$Outbound } from "./benefitgithubrepository.js";
|
|
8
|
+
import { BenefitLicenseKeys, BenefitLicenseKeys$Outbound } from "./benefitlicensekeys.js";
|
|
9
|
+
export type Benefit = BenefitArticles | BenefitAds | BenefitDiscord | BenefitGitHubRepository | BenefitDownloadables | BenefitLicenseKeys | BenefitCustom;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const Benefit$inboundSchema: z.ZodType<Benefit, z.ZodTypeDef, unknown>;
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type Benefit$Outbound = BenefitArticles$Outbound | BenefitAds$Outbound | BenefitDiscord$Outbound | BenefitGitHubRepository$Outbound | BenefitDownloadables$Outbound | BenefitLicenseKeys$Outbound | BenefitCustom$Outbound;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const Benefit$outboundSchema: z.ZodType<Benefit$Outbound, z.ZodTypeDef, Benefit>;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
19
|
+
*/
|
|
20
|
+
export declare namespace Benefit$ {
|
|
21
|
+
/** @deprecated use `Benefit$inboundSchema` instead. */
|
|
22
|
+
const inboundSchema: z.ZodType<Benefit, z.ZodTypeDef, unknown>;
|
|
23
|
+
/** @deprecated use `Benefit$outboundSchema` instead. */
|
|
24
|
+
const outboundSchema: z.ZodType<Benefit$Outbound, z.ZodTypeDef, Benefit>;
|
|
25
|
+
/** @deprecated use `Benefit$Outbound` instead. */
|
|
26
|
+
type Outbound = Benefit$Outbound;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=benefit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefit.d.ts","sourceRo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Y,QAAQ,GAAG,gBAAgB,CAAC;CACzC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Benefit$ = exports.Benefit$outboundSchema = exports.Benefit$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const benefitads_js_1 = require("./benefitads.js");
|
|
32
|
+
const benefitarticles_js_1 = require("./benefitarticles.js");
|
|
33
|
+
const benefitcustom_js_1 = require("./benefitcustom.js");
|
|
34
|
+
const benefitdiscord_js_1 = require("./benefitdiscord.js");
|
|
35
|
+
const benefitdownloadables_js_1 = require("./benefitdownloadables.js");
|
|
36
|
+
const benefitgithubrepository_js_1 = require("./benefitgithubrepository.js");
|
|
37
|
+
const benefitlicensekeys_js_1 = require("./benefitlicensekeys.js");
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.Benefit$inboundSchema = z.union([
|
|
40
|
+
benefitarticles_js_1.BenefitArticles$inboundSchema,
|
|
41
|
+
benefitads_js_1.BenefitAds$inboundSchema,
|
|
42
|
+
benefitdiscord_js_1.BenefitDiscord$inboundSchema,
|
|
43
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$inboundSchema,
|
|
44
|
+
benefitdownloadables_js_1.BenefitDownloadables$inboundSchema,
|
|
45
|
+
benefitlicensekeys_js_1.BenefitLicenseKeys$inboundSchema,
|
|
46
|
+
benefitcustom_js_1.BenefitCustom$inboundSchema,
|
|
47
|
+
]);
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.Benefit$outboundSchema = z.union([
|
|
50
|
+
benefitarticles_js_1.BenefitArticles$outboundSchema,
|
|
51
|
+
benefitads_js_1.BenefitAds$outboundSchema,
|
|
52
|
+
benefitdiscord_js_1.BenefitDiscord$outboundSchema,
|
|
53
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$outboundSchema,
|
|
54
|
+
benefitdownloadables_js_1.BenefitDownloadables$outboundSchema,
|
|
55
|
+
benefitlicensekeys_js_1.BenefitLicenseKeys$outboundSchema,
|
|
56
|
+
benefitcustom_js_1.BenefitCustom$outboundSchema,
|
|
57
|
+
]);
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var Benefit$;
|
|
63
|
+
(function (Benefit$) {
|
|
64
|
+
/** @deprecated use `Benefit$inboundSchema` instead. */
|
|
65
|
+
Benefit$.inboundSchema = exports.Benefit$inboundSchema;
|
|
66
|
+
/** @deprecated use `Benefit$outboundSchema` instead. */
|
|
67
|
+
Benefit$.outboundSchema = exports.Benefit$outboundSchema;
|
|
68
|
+
})(Benefit$ || (exports.Benefit$ = Benefit$ = {}));
|
|
69
|
+
//# sourceMappingURL=benefit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefit.js","sourceRoot":"","sources":["../../src/models/components/benefit.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mDAKyB;AACzB,6DAK8B;AAC9B,yDAK4B;AAC5B,2DAK6B;AAC7B,uEAKmC;AACnC,6EAKsC;AACtC,mEAKiC;AAWjC,gBAAgB;AACH,QAAA,qBAAqB,GAChC,CAAC,CAAC,KAAK,CAAC;IACN,kDAA6B;IAC7B,wCAAwB;IACxB,gDAA4B;IAC5B,kEAAqC;IACrC,4DAAkC;IAClC,wDAAgC;IAChC,8CAA2B;CAC5B,CAAC,CAAC;AAYL,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,KAAK,CAAC;IACV,mDAA8B;IAC9B,yCAAyB;IACzB,iDAA6B;IAC7B,mEAAsC;IACtC,6DAAmC;IACnC,yDAAiC;IACjC,+CAA4B;CAC7B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB,uDAAuD;IAC1C,sBAAa,GAAG,6BAAqB,CAAC;IACnD,wDAAwD;IAC3C,uBAAc,GAAG,8BAAsB,CAAC;AAGvD,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitbase.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitbase.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,WAAW,EAGZ,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX
|
|
1
|
+
{"version":3,"file":"benefitbase.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitbase.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,WAAW,EAGZ,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAkBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAgBX,CAAC;AAEH;;;GAGG;AACH,yBAAiB,YAAY,CAAC;IAC5B,2DAA2D;IACpD,MAAM,aAAa,+CAA4B,CAAC;IACvD,4DAA4D;IACrD,MAAM,cAAc,4DAA6B,CAAC;IACzD,sDAAsD;IACtD,KAAY,QAAQ,GAAG,oBAAoB,CAAC;CAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitbase.js","sourceRoot":"","sources":["../../src/models/components/benefitbase.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAI0B;
|
|
1
|
+
{"version":3,"file":"benefitbase.js","sourceRoot":"","sources":["../../src/models/components/benefitbase.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAI0B;AAkC1B,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,QAAQ,CACrB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,0CAAyB;IAC/B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,CAAC,CAA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CAA0B,CAAC;AAG3D,CAAC,EAPgB,YAAY,4BAAZ,YAAY,QAO5B"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { BenefitAds, BenefitAds$Outbound } from "./benefitads.js";
|
|
3
|
-
import { BenefitArticles, BenefitArticles$Outbound } from "./benefitarticles.js";
|
|
4
|
-
import { BenefitCustom, BenefitCustom$Outbound } from "./benefitcustom.js";
|
|
5
|
-
import { BenefitDiscordInput, BenefitDiscordInput$Outbound } from "./benefitdiscord.js";
|
|
6
|
-
import { BenefitDownloadables, BenefitDownloadables$Outbound } from "./benefitdownloadables.js";
|
|
7
|
-
import { BenefitGitHubRepository, BenefitGitHubRepository$Outbound } from "./benefitgithubrepository.js";
|
|
8
2
|
import { BenefitGrantAdsProperties, BenefitGrantAdsProperties$Outbound } from "./benefitgrantadsproperties.js";
|
|
9
3
|
import { BenefitGrantArticlesProperties, BenefitGrantArticlesProperties$Outbound } from "./benefitgrantarticlesproperties.js";
|
|
10
4
|
import { BenefitGrantCustomProperties, BenefitGrantCustomProperties$Outbound } from "./benefitgrantcustomproperties.js";
|
|
@@ -12,9 +6,8 @@ import { BenefitGrantDiscordProperties, BenefitGrantDiscordProperties$Outbound }
|
|
|
12
6
|
import { BenefitGrantDownloadablesProperties, BenefitGrantDownloadablesProperties$Outbound } from "./benefitgrantdownloadablesproperties.js";
|
|
13
7
|
import { BenefitGrantGitHubRepositoryProperties, BenefitGrantGitHubRepositoryProperties$Outbound } from "./benefitgrantgithubrepositoryproperties.js";
|
|
14
8
|
import { BenefitGrantLicenseKeysProperties, BenefitGrantLicenseKeysProperties$Outbound } from "./benefitgrantlicensekeysproperties.js";
|
|
15
|
-
import {
|
|
9
|
+
import { BenefitInput, BenefitInput$Outbound } from "./benefitinput.js";
|
|
16
10
|
export type BenefitGrantWebhookProperties = BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties;
|
|
17
|
-
export type BenefitGrantWebhookBenefit = BenefitArticles | BenefitAds | BenefitDiscordInput | BenefitGitHubRepository | BenefitDownloadables | BenefitLicenseKeys | BenefitCustom;
|
|
18
11
|
export type PreviousProperties = BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties;
|
|
19
12
|
export type BenefitGrantWebhook = {
|
|
20
13
|
/**
|
|
@@ -62,7 +55,7 @@ export type BenefitGrantWebhook = {
|
|
|
62
55
|
*/
|
|
63
56
|
benefitId: string;
|
|
64
57
|
properties: BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties;
|
|
65
|
-
benefit:
|
|
58
|
+
benefit: BenefitInput;
|
|
66
59
|
previousProperties?: BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties | null | undefined;
|
|
67
60
|
};
|
|
68
61
|
/** @internal */
|
|
@@ -84,24 +77,6 @@ export declare namespace BenefitGrantWebhookProperties$ {
|
|
|
84
77
|
type Outbound = BenefitGrantWebhookProperties$Outbound;
|
|
85
78
|
}
|
|
86
79
|
/** @internal */
|
|
87
|
-
export declare const BenefitGrantWebhookBenefit$inboundSchema: z.ZodType<BenefitGrantWebhookBenefit, z.ZodTypeDef, unknown>;
|
|
88
|
-
/** @internal */
|
|
89
|
-
export type BenefitGrantWebhookBenefit$Outbound = BenefitArticles$Outbound | BenefitAds$Outbound | BenefitDiscordInput$Outbound | BenefitGitHubRepository$Outbound | BenefitDownloadables$Outbound | BenefitLicenseKeys$Outbound | BenefitCustom$Outbound;
|
|
90
|
-
/** @internal */
|
|
91
|
-
export declare const BenefitGrantWebhookBenefit$outboundSchema: z.ZodType<BenefitGrantWebhookBenefit$Outbound, z.ZodTypeDef, BenefitGrantWebhookBenefit>;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
-
*/
|
|
96
|
-
export declare namespace BenefitGrantWebhookBenefit$ {
|
|
97
|
-
/** @deprecated use `BenefitGrantWebhookBenefit$inboundSchema` instead. */
|
|
98
|
-
const inboundSchema: z.ZodType<BenefitGrantWebhookBenefit, z.ZodTypeDef, unknown>;
|
|
99
|
-
/** @deprecated use `BenefitGrantWebhookBenefit$outboundSchema` instead. */
|
|
100
|
-
const outboundSchema: z.ZodType<BenefitGrantWebhookBenefit$Outbound, z.ZodTypeDef, BenefitGrantWebhookBenefit>;
|
|
101
|
-
/** @deprecated use `BenefitGrantWebhookBenefit$Outbound` instead. */
|
|
102
|
-
type Outbound = BenefitGrantWebhookBenefit$Outbound;
|
|
103
|
-
}
|
|
104
|
-
/** @internal */
|
|
105
80
|
export declare const PreviousProperties$inboundSchema: z.ZodType<PreviousProperties, z.ZodTypeDef, unknown>;
|
|
106
81
|
/** @internal */
|
|
107
82
|
export type PreviousProperties$Outbound = BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound;
|
|
@@ -135,7 +110,7 @@ export type BenefitGrantWebhook$Outbound = {
|
|
|
135
110
|
user_id: string;
|
|
136
111
|
benefit_id: string;
|
|
137
112
|
properties: BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound;
|
|
138
|
-
benefit:
|
|
113
|
+
benefit: BenefitInput$Outbound;
|
|
139
114
|
previous_properties?: BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound | null | undefined;
|
|
140
115
|
};
|
|
141
116
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitgrantwebhook.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"benefitgrantwebhook.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,mCAAmC,EAEnC,4CAA4C,EAE7C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,sCAAsC,EAEtC,+CAA+C,EAEhD,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,iCAAiC,EAEjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,YAAY,EAEZ,qBAAqB,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|
|
@@ -26,15 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.BenefitGrantWebhook$ = exports.BenefitGrantWebhook$outboundSchema = exports.BenefitGrantWebhook$inboundSchema = exports.PreviousProperties$ = exports.PreviousProperties$outboundSchema = exports.PreviousProperties$inboundSchema = exports.
|
|
29
|
+
exports.BenefitGrantWebhook$ = exports.BenefitGrantWebhook$outboundSchema = exports.BenefitGrantWebhook$inboundSchema = exports.PreviousProperties$ = exports.PreviousProperties$outboundSchema = exports.PreviousProperties$inboundSchema = exports.BenefitGrantWebhookProperties$ = exports.BenefitGrantWebhookProperties$outboundSchema = exports.BenefitGrantWebhookProperties$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const benefitads_js_1 = require("./benefitads.js");
|
|
33
|
-
const benefitarticles_js_1 = require("./benefitarticles.js");
|
|
34
|
-
const benefitcustom_js_1 = require("./benefitcustom.js");
|
|
35
|
-
const benefitdiscord_js_1 = require("./benefitdiscord.js");
|
|
36
|
-
const benefitdownloadables_js_1 = require("./benefitdownloadables.js");
|
|
37
|
-
const benefitgithubrepository_js_1 = require("./benefitgithubrepository.js");
|
|
38
32
|
const benefitgrantadsproperties_js_1 = require("./benefitgrantadsproperties.js");
|
|
39
33
|
const benefitgrantarticlesproperties_js_1 = require("./benefitgrantarticlesproperties.js");
|
|
40
34
|
const benefitgrantcustomproperties_js_1 = require("./benefitgrantcustomproperties.js");
|
|
@@ -42,7 +36,7 @@ const benefitgrantdiscordproperties_js_1 = require("./benefitgrantdiscordpropert
|
|
|
42
36
|
const benefitgrantdownloadablesproperties_js_1 = require("./benefitgrantdownloadablesproperties.js");
|
|
43
37
|
const benefitgrantgithubrepositoryproperties_js_1 = require("./benefitgrantgithubrepositoryproperties.js");
|
|
44
38
|
const benefitgrantlicensekeysproperties_js_1 = require("./benefitgrantlicensekeysproperties.js");
|
|
45
|
-
const
|
|
39
|
+
const benefitinput_js_1 = require("./benefitinput.js");
|
|
46
40
|
/** @internal */
|
|
47
41
|
exports.BenefitGrantWebhookProperties$inboundSchema = z.union([
|
|
48
42
|
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
@@ -75,37 +69,6 @@ var BenefitGrantWebhookProperties$;
|
|
|
75
69
|
BenefitGrantWebhookProperties$.outboundSchema = exports.BenefitGrantWebhookProperties$outboundSchema;
|
|
76
70
|
})(BenefitGrantWebhookProperties$ || (exports.BenefitGrantWebhookProperties$ = BenefitGrantWebhookProperties$ = {}));
|
|
77
71
|
/** @internal */
|
|
78
|
-
exports.BenefitGrantWebhookBenefit$inboundSchema = z.union([
|
|
79
|
-
benefitarticles_js_1.BenefitArticles$inboundSchema,
|
|
80
|
-
benefitads_js_1.BenefitAds$inboundSchema,
|
|
81
|
-
benefitdiscord_js_1.BenefitDiscordInput$inboundSchema,
|
|
82
|
-
benefitgithubrepository_js_1.BenefitGitHubRepository$inboundSchema,
|
|
83
|
-
benefitdownloadables_js_1.BenefitDownloadables$inboundSchema,
|
|
84
|
-
benefitlicensekeys_js_1.BenefitLicenseKeys$inboundSchema,
|
|
85
|
-
benefitcustom_js_1.BenefitCustom$inboundSchema,
|
|
86
|
-
]);
|
|
87
|
-
/** @internal */
|
|
88
|
-
exports.BenefitGrantWebhookBenefit$outboundSchema = z.union([
|
|
89
|
-
benefitarticles_js_1.BenefitArticles$outboundSchema,
|
|
90
|
-
benefitads_js_1.BenefitAds$outboundSchema,
|
|
91
|
-
benefitdiscord_js_1.BenefitDiscordInput$outboundSchema,
|
|
92
|
-
benefitgithubrepository_js_1.BenefitGitHubRepository$outboundSchema,
|
|
93
|
-
benefitdownloadables_js_1.BenefitDownloadables$outboundSchema,
|
|
94
|
-
benefitlicensekeys_js_1.BenefitLicenseKeys$outboundSchema,
|
|
95
|
-
benefitcustom_js_1.BenefitCustom$outboundSchema,
|
|
96
|
-
]);
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
-
*/
|
|
101
|
-
var BenefitGrantWebhookBenefit$;
|
|
102
|
-
(function (BenefitGrantWebhookBenefit$) {
|
|
103
|
-
/** @deprecated use `BenefitGrantWebhookBenefit$inboundSchema` instead. */
|
|
104
|
-
BenefitGrantWebhookBenefit$.inboundSchema = exports.BenefitGrantWebhookBenefit$inboundSchema;
|
|
105
|
-
/** @deprecated use `BenefitGrantWebhookBenefit$outboundSchema` instead. */
|
|
106
|
-
BenefitGrantWebhookBenefit$.outboundSchema = exports.BenefitGrantWebhookBenefit$outboundSchema;
|
|
107
|
-
})(BenefitGrantWebhookBenefit$ || (exports.BenefitGrantWebhookBenefit$ = BenefitGrantWebhookBenefit$ = {}));
|
|
108
|
-
/** @internal */
|
|
109
72
|
exports.PreviousProperties$inboundSchema = z.union([
|
|
110
73
|
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
111
74
|
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$inboundSchema,
|
|
@@ -158,15 +121,7 @@ exports.BenefitGrantWebhook$inboundSchema = z.object({
|
|
|
158
121
|
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$inboundSchema,
|
|
159
122
|
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$inboundSchema,
|
|
160
123
|
]),
|
|
161
|
-
benefit:
|
|
162
|
-
benefitarticles_js_1.BenefitArticles$inboundSchema,
|
|
163
|
-
benefitads_js_1.BenefitAds$inboundSchema,
|
|
164
|
-
benefitdiscord_js_1.BenefitDiscordInput$inboundSchema,
|
|
165
|
-
benefitgithubrepository_js_1.BenefitGitHubRepository$inboundSchema,
|
|
166
|
-
benefitdownloadables_js_1.BenefitDownloadables$inboundSchema,
|
|
167
|
-
benefitlicensekeys_js_1.BenefitLicenseKeys$inboundSchema,
|
|
168
|
-
benefitcustom_js_1.BenefitCustom$inboundSchema,
|
|
169
|
-
]),
|
|
124
|
+
benefit: benefitinput_js_1.BenefitInput$inboundSchema,
|
|
170
125
|
previous_properties: z.nullable(z.union([
|
|
171
126
|
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
172
127
|
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$inboundSchema,
|
|
@@ -213,15 +168,7 @@ exports.BenefitGrantWebhook$outboundSchema = z.object({
|
|
|
213
168
|
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$outboundSchema,
|
|
214
169
|
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$outboundSchema,
|
|
215
170
|
]),
|
|
216
|
-
benefit:
|
|
217
|
-
benefitarticles_js_1.BenefitArticles$outboundSchema,
|
|
218
|
-
benefitads_js_1.BenefitAds$outboundSchema,
|
|
219
|
-
benefitdiscord_js_1.BenefitDiscordInput$outboundSchema,
|
|
220
|
-
benefitgithubrepository_js_1.BenefitGitHubRepository$outboundSchema,
|
|
221
|
-
benefitdownloadables_js_1.BenefitDownloadables$outboundSchema,
|
|
222
|
-
benefitlicensekeys_js_1.BenefitLicenseKeys$outboundSchema,
|
|
223
|
-
benefitcustom_js_1.BenefitCustom$outboundSchema,
|
|
224
|
-
]),
|
|
171
|
+
benefit: benefitinput_js_1.BenefitInput$outboundSchema,
|
|
225
172
|
previousProperties: z.nullable(z.union([
|
|
226
173
|
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$outboundSchema,
|
|
227
174
|
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$outboundSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitgrantwebhook.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantwebhook.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,
|
|
1
|
+
{"version":3,"file":"benefitgrantwebhook.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantwebhook.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,iFAKwC;AACxC,2FAK6C;AAC7C,uFAK2C;AAC3C,yFAK4C;AAC5C,qGAKkD;AAClD,2GAKqD;AACrD,iGAKgD;AAChD,uDAK2B;AAsF3B,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,KAAK,CAAC;IACV,4EAA0C;IAC1C,gFAA4C;IAC5C,0FAAiD;IACjD,sEAAuC;IACvC,sFAA+C;IAC/C,8EAA2C;IAC3C,gGAAoD;CACrD,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,KAAK,CAAC;IACV,6EAA2C;IAC3C,iFAA6C;IAC7C,2FAAkD;IAClD,uEAAwC;IACxC,uFAAgD;IAChD,+EAA4C;IAC5C,iGAAqD;CACtD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,KAAK,CAAC;IACV,4EAA0C;IAC1C,gFAA4C;IAC5C,0FAAiD;IACjD,sEAAuC;IACvC,sFAA+C;IAC/C,8EAA2C;IAC3C,gGAAoD;CACrD,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,KAAK,CAAC;IACV,6EAA2C;IAC3C,iFAA6C;IAC7C,2FAAkD;IA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;QAChD,+EAA4C;QAC5C,iGAAqD;KACtD,CAAC,CACH,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,iBAAiB;QACjC,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,YAAY;QACvB,kBAAkB,EAAE,qBAAqB;KAC1C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { BenefitAds, BenefitAds$Outbound } from "./benefitads.js";
|
|
3
|
+
import { BenefitArticles, BenefitArticles$Outbound } from "./benefitarticles.js";
|
|
4
|
+
import { BenefitCustom, BenefitCustom$Outbound } from "./benefitcustom.js";
|
|
5
|
+
import { BenefitDiscordInput, BenefitDiscordInput$Outbound } from "./benefitdiscord.js";
|
|
6
|
+
import { BenefitDownloadables, BenefitDownloadables$Outbound } from "./benefitdownloadables.js";
|
|
7
|
+
import { BenefitGitHubRepository, BenefitGitHubRepository$Outbound } from "./benefitgithubrepository.js";
|
|
8
|
+
import { BenefitLicenseKeys, BenefitLicenseKeys$Outbound } from "./benefitlicensekeys.js";
|
|
9
|
+
export type BenefitInput = BenefitArticles | BenefitAds | BenefitDiscordInput | BenefitGitHubRepository | BenefitDownloadables | BenefitLicenseKeys | BenefitCustom;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const BenefitInput$inboundSchema: z.ZodType<BenefitInput, z.ZodTypeDef, unknown>;
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type BenefitInput$Outbound = BenefitArticles$Outbound | BenefitAds$Outbound | BenefitDiscordInput$Outbound | BenefitGitHubRepository$Outbound | BenefitDownloadables$Outbound | BenefitLicenseKeys$Outbound | BenefitCustom$Outbound;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const BenefitInput$outboundSchema: z.ZodType<BenefitInput$Outbound, z.ZodTypeDef, BenefitInput>;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
19
|
+
*/
|
|
20
|
+
export declare namespace BenefitInput$ {
|
|
21
|
+
/** @deprecated use `BenefitInput$inboundSchema` instead. */
|
|
22
|
+
const inboundSchema: z.ZodType<BenefitInput, z.ZodTypeDef, unknown>;
|
|
23
|
+
/** @deprecated use `BenefitInput$outboundSchema` instead. */
|
|
24
|
+
const outboundSchema: z.ZodType<BenefitInput$Outbound, z.ZodTypeDef, BenefitInput>;
|
|
25
|
+
/** @deprecated use `BenefitInput$Outbound` instead. */
|
|
26
|
+
type Outbound = BenefitInput$Outbound;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=benefitinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefitinput.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,YAAY,GACpB,eAAe,GACf,UAAU,GACV,mBAAmB,GACnB,uBAAuB,GACvB,oBAAoB,GACpB,kBAAkB,GAClB,aAAa,CAAC;AAElB,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAC7B,wBAAwB,GACxB,mBAAmB,GACnB,4BAA4B,GAC5B,gCAAgC,GAChC,6BAA6B,GAC7B,2BAA2B,GAC3B,sBAAsB,CAAC;AAE3B,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CASZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.BenefitInput$ = exports.BenefitInput$outboundSchema = exports.BenefitInput$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const benefitads_js_1 = require("./benefitads.js");
|
|
32
|
+
const benefitarticles_js_1 = require("./benefitarticles.js");
|
|
33
|
+
const benefitcustom_js_1 = require("./benefitcustom.js");
|
|
34
|
+
const benefitdiscord_js_1 = require("./benefitdiscord.js");
|
|
35
|
+
const benefitdownloadables_js_1 = require("./benefitdownloadables.js");
|
|
36
|
+
const benefitgithubrepository_js_1 = require("./benefitgithubrepository.js");
|
|
37
|
+
const benefitlicensekeys_js_1 = require("./benefitlicensekeys.js");
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.BenefitInput$inboundSchema = z.union([
|
|
40
|
+
benefitarticles_js_1.BenefitArticles$inboundSchema,
|
|
41
|
+
benefitads_js_1.BenefitAds$inboundSchema,
|
|
42
|
+
benefitdiscord_js_1.BenefitDiscordInput$inboundSchema,
|
|
43
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$inboundSchema,
|
|
44
|
+
benefitdownloadables_js_1.BenefitDownloadables$inboundSchema,
|
|
45
|
+
benefitlicensekeys_js_1.BenefitLicenseKeys$inboundSchema,
|
|
46
|
+
benefitcustom_js_1.BenefitCustom$inboundSchema,
|
|
47
|
+
]);
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.BenefitInput$outboundSchema = z.union([
|
|
50
|
+
benefitarticles_js_1.BenefitArticles$outboundSchema,
|
|
51
|
+
benefitads_js_1.BenefitAds$outboundSchema,
|
|
52
|
+
benefitdiscord_js_1.BenefitDiscordInput$outboundSchema,
|
|
53
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$outboundSchema,
|
|
54
|
+
benefitdownloadables_js_1.BenefitDownloadables$outboundSchema,
|
|
55
|
+
benefitlicensekeys_js_1.BenefitLicenseKeys$outboundSchema,
|
|
56
|
+
benefitcustom_js_1.BenefitCustom$outboundSchema,
|
|
57
|
+
]);
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var BenefitInput$;
|
|
63
|
+
(function (BenefitInput$) {
|
|
64
|
+
/** @deprecated use `BenefitInput$inboundSchema` instead. */
|
|
65
|
+
BenefitInput$.inboundSchema = exports.BenefitInput$inboundSchema;
|
|
66
|
+
/** @deprecated use `BenefitInput$outboundSchema` instead. */
|
|
67
|
+
BenefitInput$.outboundSchema = exports.BenefitInput$outboundSchema;
|
|
68
|
+
})(BenefitInput$ || (exports.BenefitInput$ = BenefitInput$ = {}));
|
|
69
|
+
//# sourceMappingURL=benefitinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefitinput.js","sourceRoot":"","sources":["../../src/models/components/benefitinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mDAKyB;AACzB,6DAK8B;AAC9B,yDAK4B;AAC5B,2DAK6B;AAC7B,uEAKmC;AACnC,6EAKsC;AACtC,mEAKiC;AAWjC,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,KAAK,CAAC;IACV,kDAA6B;IAC7B,wCAAwB;IACxB,qDAAiC;IACjC,kEAAqC;IACrC,4DAAkC;IAClC,wDAAgC;IAChC,8CAA2B;CAC5B,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,KAAK,CAAC;IACV,mDAA8B;IAC9B,yCAAyB;IACzB,sDAAkC;IAClC,mEAAsC;IACtC,6DAAmC;IACnC,yDAAiC;IACjC,+CAA4B;CAC7B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC5B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG5D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ProductPrice, ProductPrice$Outbound } from "./productprice.js";
|
|
3
|
+
/**
|
|
4
|
+
* Checkout link data.
|
|
5
|
+
*/
|
|
6
|
+
export type CheckoutLink = {
|
|
7
|
+
/**
|
|
8
|
+
* Creation timestamp of the object.
|
|
9
|
+
*/
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
/**
|
|
12
|
+
* Last modification timestamp of the object.
|
|
13
|
+
*/
|
|
14
|
+
modifiedAt: Date | null;
|
|
15
|
+
/**
|
|
16
|
+
* The ID of the object.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
metadata: {
|
|
20
|
+
[k: string]: string;
|
|
21
|
+
};
|
|
22
|
+
paymentProcessor?: "stripe" | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Client secret used to access the checkout link.
|
|
25
|
+
*/
|
|
26
|
+
clientSecret: string;
|
|
27
|
+
/**
|
|
28
|
+
* URL where the customer will be redirected after a successful payment.
|
|
29
|
+
*/
|
|
30
|
+
successUrl: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* ID of the product price to checkout.
|
|
33
|
+
*/
|
|
34
|
+
productPriceId: string;
|
|
35
|
+
productPrice: ProductPrice;
|
|
36
|
+
url: string;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const CheckoutLink$inboundSchema: z.ZodType<CheckoutLink, z.ZodTypeDef, unknown>;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type CheckoutLink$Outbound = {
|
|
42
|
+
created_at: string;
|
|
43
|
+
modified_at: string | null;
|
|
44
|
+
id: string;
|
|
45
|
+
metadata: {
|
|
46
|
+
[k: string]: string;
|
|
47
|
+
};
|
|
48
|
+
payment_processor: "stripe";
|
|
49
|
+
client_secret: string;
|
|
50
|
+
success_url: string | null;
|
|
51
|
+
product_price_id: string;
|
|
52
|
+
product_price: ProductPrice$Outbound;
|
|
53
|
+
url: string;
|
|
54
|
+
};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const CheckoutLink$outboundSchema: z.ZodType<CheckoutLink$Outbound, z.ZodTypeDef, CheckoutLink>;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
export declare namespace CheckoutLink$ {
|
|
62
|
+
/** @deprecated use `CheckoutLink$inboundSchema` instead. */
|
|
63
|
+
const inboundSchema: z.ZodType<CheckoutLink, z.ZodTypeDef, unknown>;
|
|
64
|
+
/** @deprecated use `CheckoutLink$outboundSchema` instead. */
|
|
65
|
+
const outboundSchema: z.ZodType<CheckoutLink$Outbound, z.ZodTypeDef, CheckoutLink>;
|
|
66
|
+
/** @deprecated use `CheckoutLink$Outbound` instead. */
|
|
67
|
+
type Outbound = CheckoutLink$Outbound;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=checkoutlink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkoutlink.d.ts","sourceRoot":"","sources":["../../src/models/components/checkoutlink.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAwBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EA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