dub 0.44.0 → 0.45.1
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 +31 -47
- package/dist/commonjs/funcs/analyticsRetrieve.d.ts.map +1 -1
- package/dist/commonjs/funcs/analyticsRetrieve.js +9 -4
- package/dist/commonjs/funcs/analyticsRetrieve.js.map +1 -1
- package/dist/commonjs/funcs/customersCreate.d.ts +16 -0
- package/dist/commonjs/funcs/customersCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/customersCreate.js +114 -0
- package/dist/commonjs/funcs/customersCreate.js.map +1 -0
- package/dist/commonjs/funcs/customersDelete.d.ts +16 -0
- package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/customersDelete.js +120 -0
- package/dist/commonjs/funcs/customersDelete.js.map +1 -0
- package/dist/commonjs/funcs/customersGet.d.ts +16 -0
- package/dist/commonjs/funcs/customersGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/customersGet.js +117 -0
- package/dist/commonjs/funcs/customersGet.js.map +1 -0
- package/dist/commonjs/funcs/customersList.d.ts +16 -0
- package/dist/commonjs/funcs/customersList.d.ts.map +1 -0
- package/dist/commonjs/funcs/customersList.js +103 -0
- package/dist/commonjs/funcs/customersList.js.map +1 -0
- package/dist/commonjs/funcs/customersUpdate.d.ts +16 -0
- package/dist/commonjs/funcs/customersUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/customersUpdate.js +122 -0
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -0
- package/dist/commonjs/funcs/domainsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/domainsCreate.js +8 -4
- package/dist/commonjs/funcs/domainsCreate.js.map +1 -1
- package/dist/commonjs/funcs/domainsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/domainsDelete.js +8 -4
- package/dist/commonjs/funcs/domainsDelete.js.map +1 -1
- package/dist/commonjs/funcs/domainsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/domainsList.js +8 -4
- package/dist/commonjs/funcs/domainsList.js.map +1 -1
- package/dist/commonjs/funcs/domainsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/domainsUpdate.js +8 -4
- package/dist/commonjs/funcs/domainsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +9 -4
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/linksCount.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksCount.js +8 -4
- package/dist/commonjs/funcs/linksCount.js.map +1 -1
- package/dist/commonjs/funcs/linksCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksCreate.js +8 -4
- package/dist/commonjs/funcs/linksCreate.js.map +1 -1
- package/dist/commonjs/funcs/linksCreateMany.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksCreateMany.js +8 -4
- package/dist/commonjs/funcs/linksCreateMany.js.map +1 -1
- package/dist/commonjs/funcs/linksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksDelete.js +8 -4
- package/dist/commonjs/funcs/linksDelete.js.map +1 -1
- package/dist/commonjs/funcs/linksDeleteMany.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksDeleteMany.js +8 -4
- package/dist/commonjs/funcs/linksDeleteMany.js.map +1 -1
- package/dist/commonjs/funcs/linksGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksGet.js +8 -4
- package/dist/commonjs/funcs/linksGet.js.map +1 -1
- package/dist/commonjs/funcs/linksList.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksList.js +8 -4
- package/dist/commonjs/funcs/linksList.js.map +1 -1
- package/dist/commonjs/funcs/linksUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksUpdate.js +8 -4
- package/dist/commonjs/funcs/linksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/linksUpdateMany.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksUpdateMany.js +8 -4
- package/dist/commonjs/funcs/linksUpdateMany.js.map +1 -1
- package/dist/commonjs/funcs/linksUpsert.d.ts.map +1 -1
- package/dist/commonjs/funcs/linksUpsert.js +8 -4
- package/dist/commonjs/funcs/linksUpsert.js.map +1 -1
- package/dist/commonjs/funcs/metatagsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/metatagsGet.js +8 -4
- package/dist/commonjs/funcs/metatagsGet.js.map +1 -1
- package/dist/commonjs/funcs/qrCodesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/qrCodesGet.js +8 -4
- package/dist/commonjs/funcs/qrCodesGet.js.map +1 -1
- package/dist/commonjs/funcs/tagsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/tagsCreate.js +8 -4
- package/dist/commonjs/funcs/tagsCreate.js.map +1 -1
- package/dist/commonjs/funcs/tagsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/tagsDelete.js +8 -4
- package/dist/commonjs/funcs/tagsDelete.js.map +1 -1
- package/dist/commonjs/funcs/tagsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/tagsList.js +8 -4
- package/dist/commonjs/funcs/tagsList.js.map +1 -1
- package/dist/commonjs/funcs/tagsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/tagsUpdate.js +8 -4
- package/dist/commonjs/funcs/tagsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/trackCustomer.d.ts +2 -0
- package/dist/commonjs/funcs/trackCustomer.d.ts.map +1 -1
- package/dist/commonjs/funcs/trackCustomer.js +10 -4
- package/dist/commonjs/funcs/trackCustomer.js.map +1 -1
- package/dist/commonjs/funcs/trackLead.d.ts.map +1 -1
- package/dist/commonjs/funcs/trackLead.js +8 -4
- package/dist/commonjs/funcs/trackLead.js.map +1 -1
- package/dist/commonjs/funcs/trackSale.d.ts.map +1 -1
- package/dist/commonjs/funcs/trackSale.js +8 -4
- package/dist/commonjs/funcs/trackSale.js.map +1 -1
- package/dist/commonjs/funcs/workspacesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/workspacesGet.js +8 -4
- package/dist/commonjs/funcs/workspacesGet.js.map +1 -1
- package/dist/commonjs/funcs/workspacesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/workspacesUpdate.js +8 -4
- package/dist/commonjs/funcs/workspacesUpdate.js.map +1 -1
- package/dist/commonjs/hooks/types.d.ts +4 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/primitives.d.ts +4 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -1
- package/dist/commonjs/lib/primitives.js +13 -1
- package/dist/commonjs/lib/primitives.js.map +1 -1
- package/dist/commonjs/lib/retries.d.ts +20 -0
- package/dist/commonjs/lib/retries.d.ts.map +1 -1
- package/dist/commonjs/lib/retries.js +51 -27
- package/dist/commonjs/lib/retries.js.map +1 -1
- package/dist/commonjs/lib/sdks.d.ts +2 -2
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +14 -12
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts +20 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +11 -1
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.d.ts +28 -6
- package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.js +10 -6
- package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/leadevent.d.ts +26 -4
- package/dist/commonjs/models/components/leadevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadevent.js +8 -4
- package/dist/commonjs/models/components/leadevent.js.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.d.ts +28 -6
- package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.js +10 -6
- package/dist/commonjs/models/components/salecreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/saleevent.d.ts +26 -4
- package/dist/commonjs/models/components/saleevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/saleevent.js +8 -4
- package/dist/commonjs/models/components/saleevent.js.map +1 -1
- package/dist/commonjs/models/components/workspaceschema.d.ts +21 -1
- package/dist/commonjs/models/components/workspaceschema.d.ts.map +1 -1
- package/dist/commonjs/models/components/workspaceschema.js +8 -0
- package/dist/commonjs/models/components/workspaceschema.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.d.ts +97 -0
- package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createcustomer.js +85 -0
- package/dist/commonjs/models/operations/createcustomer.js.map +1 -0
- package/dist/commonjs/models/operations/deletecustomer.d.ts +57 -0
- package/dist/commonjs/models/operations/deletecustomer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletecustomer.js +69 -0
- package/dist/commonjs/models/operations/deletecustomer.js.map +1 -0
- package/dist/commonjs/models/operations/getcustomer.d.ts +82 -0
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getcustomer.js +79 -0
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -0
- package/dist/commonjs/models/operations/getcustomers.d.ts +53 -0
- package/dist/commonjs/models/operations/getcustomers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getcustomers.js +60 -0
- package/dist/commonjs/models/operations/getcustomers.js.map +1 -0
- package/dist/commonjs/models/operations/getlinks.d.ts +1 -1
- package/dist/commonjs/models/operations/getlinkscount.d.ts +1 -1
- package/dist/commonjs/models/operations/index.d.ts +5 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listevents.d.ts +28 -1
- package/dist/commonjs/models/operations/listevents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevents.js +18 -1
- package/dist/commonjs/models/operations/listevents.js.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts +28 -1
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.js +18 -1
- package/dist/commonjs/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/commonjs/models/operations/tracklead.d.ts +11 -4
- package/dist/commonjs/models/operations/tracklead.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tracklead.js +6 -4
- package/dist/commonjs/models/operations/tracklead.js.map +1 -1
- package/dist/commonjs/models/operations/tracksale.d.ts +11 -2
- package/dist/commonjs/models/operations/tracksale.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tracksale.js +6 -2
- package/dist/commonjs/models/operations/tracksale.js.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.d.ts +125 -0
- package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatecustomer.js +116 -0
- package/dist/commonjs/models/operations/updatecustomer.js.map +1 -0
- package/dist/commonjs/sdk/customers.d.ts +40 -0
- package/dist/commonjs/sdk/customers.d.ts.map +1 -0
- package/dist/commonjs/sdk/customers.js +62 -0
- package/dist/commonjs/sdk/customers.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +7 -4
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +13 -8
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/track.d.ts +2 -0
- package/dist/commonjs/sdk/track.d.ts.map +1 -1
- package/dist/commonjs/sdk/track.js +2 -0
- package/dist/commonjs/sdk/track.js.map +1 -1
- package/dist/esm/funcs/analyticsRetrieve.d.ts.map +1 -1
- package/dist/esm/funcs/analyticsRetrieve.js +9 -4
- package/dist/esm/funcs/analyticsRetrieve.js.map +1 -1
- package/dist/esm/funcs/customersCreate.d.ts +16 -0
- package/dist/esm/funcs/customersCreate.d.ts.map +1 -0
- package/dist/esm/funcs/customersCreate.js +87 -0
- package/dist/esm/funcs/customersCreate.js.map +1 -0
- package/dist/esm/funcs/customersDelete.d.ts +16 -0
- package/dist/esm/funcs/customersDelete.d.ts.map +1 -0
- package/dist/esm/funcs/customersDelete.js +93 -0
- package/dist/esm/funcs/customersDelete.js.map +1 -0
- package/dist/esm/funcs/customersGet.d.ts +16 -0
- package/dist/esm/funcs/customersGet.d.ts.map +1 -0
- package/dist/esm/funcs/customersGet.js +90 -0
- package/dist/esm/funcs/customersGet.js.map +1 -0
- package/dist/esm/funcs/customersList.d.ts +16 -0
- package/dist/esm/funcs/customersList.d.ts.map +1 -0
- package/dist/esm/funcs/customersList.js +76 -0
- package/dist/esm/funcs/customersList.js.map +1 -0
- package/dist/esm/funcs/customersUpdate.d.ts +16 -0
- package/dist/esm/funcs/customersUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/customersUpdate.js +95 -0
- package/dist/esm/funcs/customersUpdate.js.map +1 -0
- package/dist/esm/funcs/domainsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/domainsCreate.js +8 -4
- package/dist/esm/funcs/domainsCreate.js.map +1 -1
- package/dist/esm/funcs/domainsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/domainsDelete.js +8 -4
- package/dist/esm/funcs/domainsDelete.js.map +1 -1
- package/dist/esm/funcs/domainsList.d.ts.map +1 -1
- package/dist/esm/funcs/domainsList.js +8 -4
- package/dist/esm/funcs/domainsList.js.map +1 -1
- package/dist/esm/funcs/domainsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/domainsUpdate.js +8 -4
- package/dist/esm/funcs/domainsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +9 -4
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/linksCount.d.ts.map +1 -1
- package/dist/esm/funcs/linksCount.js +8 -4
- package/dist/esm/funcs/linksCount.js.map +1 -1
- package/dist/esm/funcs/linksCreate.d.ts.map +1 -1
- package/dist/esm/funcs/linksCreate.js +8 -4
- package/dist/esm/funcs/linksCreate.js.map +1 -1
- package/dist/esm/funcs/linksCreateMany.d.ts.map +1 -1
- package/dist/esm/funcs/linksCreateMany.js +8 -4
- package/dist/esm/funcs/linksCreateMany.js.map +1 -1
- package/dist/esm/funcs/linksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/linksDelete.js +8 -4
- package/dist/esm/funcs/linksDelete.js.map +1 -1
- package/dist/esm/funcs/linksDeleteMany.d.ts.map +1 -1
- package/dist/esm/funcs/linksDeleteMany.js +8 -4
- package/dist/esm/funcs/linksDeleteMany.js.map +1 -1
- package/dist/esm/funcs/linksGet.d.ts.map +1 -1
- package/dist/esm/funcs/linksGet.js +8 -4
- package/dist/esm/funcs/linksGet.js.map +1 -1
- package/dist/esm/funcs/linksList.d.ts.map +1 -1
- package/dist/esm/funcs/linksList.js +8 -4
- package/dist/esm/funcs/linksList.js.map +1 -1
- package/dist/esm/funcs/linksUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/linksUpdate.js +8 -4
- package/dist/esm/funcs/linksUpdate.js.map +1 -1
- package/dist/esm/funcs/linksUpdateMany.d.ts.map +1 -1
- package/dist/esm/funcs/linksUpdateMany.js +8 -4
- package/dist/esm/funcs/linksUpdateMany.js.map +1 -1
- package/dist/esm/funcs/linksUpsert.d.ts.map +1 -1
- package/dist/esm/funcs/linksUpsert.js +8 -4
- package/dist/esm/funcs/linksUpsert.js.map +1 -1
- package/dist/esm/funcs/metatagsGet.d.ts.map +1 -1
- package/dist/esm/funcs/metatagsGet.js +8 -4
- package/dist/esm/funcs/metatagsGet.js.map +1 -1
- package/dist/esm/funcs/qrCodesGet.d.ts.map +1 -1
- package/dist/esm/funcs/qrCodesGet.js +8 -4
- package/dist/esm/funcs/qrCodesGet.js.map +1 -1
- package/dist/esm/funcs/tagsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/tagsCreate.js +8 -4
- package/dist/esm/funcs/tagsCreate.js.map +1 -1
- package/dist/esm/funcs/tagsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/tagsDelete.js +8 -4
- package/dist/esm/funcs/tagsDelete.js.map +1 -1
- package/dist/esm/funcs/tagsList.d.ts.map +1 -1
- package/dist/esm/funcs/tagsList.js +8 -4
- package/dist/esm/funcs/tagsList.js.map +1 -1
- package/dist/esm/funcs/tagsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/tagsUpdate.js +8 -4
- package/dist/esm/funcs/tagsUpdate.js.map +1 -1
- package/dist/esm/funcs/trackCustomer.d.ts +2 -0
- package/dist/esm/funcs/trackCustomer.d.ts.map +1 -1
- package/dist/esm/funcs/trackCustomer.js +10 -4
- package/dist/esm/funcs/trackCustomer.js.map +1 -1
- package/dist/esm/funcs/trackLead.d.ts.map +1 -1
- package/dist/esm/funcs/trackLead.js +8 -4
- package/dist/esm/funcs/trackLead.js.map +1 -1
- package/dist/esm/funcs/trackSale.d.ts.map +1 -1
- package/dist/esm/funcs/trackSale.js +8 -4
- package/dist/esm/funcs/trackSale.js.map +1 -1
- package/dist/esm/funcs/workspacesGet.d.ts.map +1 -1
- package/dist/esm/funcs/workspacesGet.js +8 -4
- package/dist/esm/funcs/workspacesGet.js.map +1 -1
- package/dist/esm/funcs/workspacesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/workspacesUpdate.js +8 -4
- package/dist/esm/funcs/workspacesUpdate.js.map +1 -1
- package/dist/esm/hooks/types.d.ts +4 -0
- package/dist/esm/hooks/types.d.ts.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/primitives.d.ts +4 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -1
- package/dist/esm/lib/primitives.js +11 -0
- package/dist/esm/lib/primitives.js.map +1 -1
- package/dist/esm/lib/retries.d.ts +20 -0
- package/dist/esm/lib/retries.d.ts.map +1 -1
- package/dist/esm/lib/retries.js +50 -28
- package/dist/esm/lib/retries.js.map +1 -1
- package/dist/esm/lib/sdks.d.ts +2 -2
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +14 -12
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/lib/security.d.ts +20 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +11 -1
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.d.ts +28 -6
- package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.js +10 -6
- package/dist/esm/models/components/leadcreatedevent.js.map +1 -1
- package/dist/esm/models/components/leadevent.d.ts +26 -4
- package/dist/esm/models/components/leadevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadevent.js +8 -4
- package/dist/esm/models/components/leadevent.js.map +1 -1
- package/dist/esm/models/components/salecreatedevent.d.ts +28 -6
- package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/salecreatedevent.js +10 -6
- package/dist/esm/models/components/salecreatedevent.js.map +1 -1
- package/dist/esm/models/components/saleevent.d.ts +26 -4
- package/dist/esm/models/components/saleevent.d.ts.map +1 -1
- package/dist/esm/models/components/saleevent.js +8 -4
- package/dist/esm/models/components/saleevent.js.map +1 -1
- package/dist/esm/models/components/workspaceschema.d.ts +21 -1
- package/dist/esm/models/components/workspaceschema.d.ts.map +1 -1
- package/dist/esm/models/components/workspaceschema.js +8 -0
- package/dist/esm/models/components/workspaceschema.js.map +1 -1
- package/dist/esm/models/operations/createcustomer.d.ts +97 -0
- package/dist/esm/models/operations/createcustomer.d.ts.map +1 -0
- package/dist/esm/models/operations/createcustomer.js +59 -0
- package/dist/esm/models/operations/createcustomer.js.map +1 -0
- package/dist/esm/models/operations/deletecustomer.d.ts +57 -0
- package/dist/esm/models/operations/deletecustomer.d.ts.map +1 -0
- package/dist/esm/models/operations/deletecustomer.js +43 -0
- package/dist/esm/models/operations/deletecustomer.js.map +1 -0
- package/dist/esm/models/operations/getcustomer.d.ts +82 -0
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -0
- package/dist/esm/models/operations/getcustomer.js +53 -0
- package/dist/esm/models/operations/getcustomer.js.map +1 -0
- package/dist/esm/models/operations/getcustomers.d.ts +53 -0
- package/dist/esm/models/operations/getcustomers.d.ts.map +1 -0
- package/dist/esm/models/operations/getcustomers.js +34 -0
- package/dist/esm/models/operations/getcustomers.js.map +1 -0
- package/dist/esm/models/operations/getlinks.d.ts +1 -1
- package/dist/esm/models/operations/getlinkscount.d.ts +1 -1
- package/dist/esm/models/operations/index.d.ts +5 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listevents.d.ts +28 -1
- package/dist/esm/models/operations/listevents.d.ts.map +1 -1
- package/dist/esm/models/operations/listevents.js +17 -0
- package/dist/esm/models/operations/listevents.js.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.d.ts +28 -1
- package/dist/esm/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.js +17 -0
- package/dist/esm/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/esm/models/operations/tracklead.d.ts +11 -4
- package/dist/esm/models/operations/tracklead.d.ts.map +1 -1
- package/dist/esm/models/operations/tracklead.js +6 -4
- package/dist/esm/models/operations/tracklead.js.map +1 -1
- package/dist/esm/models/operations/tracksale.d.ts +11 -2
- package/dist/esm/models/operations/tracksale.d.ts.map +1 -1
- package/dist/esm/models/operations/tracksale.js +6 -2
- package/dist/esm/models/operations/tracksale.js.map +1 -1
- package/dist/esm/models/operations/updatecustomer.d.ts +125 -0
- package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -0
- package/dist/esm/models/operations/updatecustomer.js +90 -0
- package/dist/esm/models/operations/updatecustomer.js.map +1 -0
- package/dist/esm/sdk/customers.d.ts +40 -0
- package/dist/esm/sdk/customers.d.ts.map +1 -0
- package/dist/esm/sdk/customers.js +58 -0
- package/dist/esm/sdk/customers.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +7 -4
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +13 -8
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/track.d.ts +2 -0
- package/dist/esm/sdk/track.d.ts.map +1 -1
- package/dist/esm/sdk/track.js +2 -0
- package/dist/esm/sdk/track.js.map +1 -1
- package/docs/sdks/customers/README.md +421 -0
- package/docs/sdks/track/README.md +4 -2
- package/package.json +1 -1
- package/src/funcs/analyticsRetrieve.ts +12 -4
- package/src/funcs/customersCreate.ts +172 -0
- package/src/funcs/customersDelete.ts +177 -0
- package/src/funcs/customersGet.ts +173 -0
- package/src/funcs/customersList.ts +152 -0
- package/src/funcs/customersUpdate.ts +180 -0
- package/src/funcs/domainsCreate.ts +11 -4
- package/src/funcs/domainsDelete.ts +11 -4
- package/src/funcs/domainsList.ts +11 -4
- package/src/funcs/domainsUpdate.ts +11 -4
- package/src/funcs/eventsList.ts +12 -4
- package/src/funcs/linksCount.ts +11 -4
- package/src/funcs/linksCreate.ts +11 -4
- package/src/funcs/linksCreateMany.ts +11 -4
- package/src/funcs/linksDelete.ts +11 -4
- package/src/funcs/linksDeleteMany.ts +11 -4
- package/src/funcs/linksGet.ts +11 -4
- package/src/funcs/linksList.ts +11 -4
- package/src/funcs/linksUpdate.ts +11 -4
- package/src/funcs/linksUpdateMany.ts +11 -4
- package/src/funcs/linksUpsert.ts +11 -4
- package/src/funcs/metatagsGet.ts +11 -4
- package/src/funcs/qrCodesGet.ts +11 -4
- package/src/funcs/tagsCreate.ts +11 -4
- package/src/funcs/tagsDelete.ts +11 -4
- package/src/funcs/tagsList.ts +11 -4
- package/src/funcs/tagsUpdate.ts +11 -4
- package/src/funcs/trackCustomer.ts +13 -4
- package/src/funcs/trackLead.ts +11 -4
- package/src/funcs/trackSale.ts +11 -4
- package/src/funcs/workspacesGet.ts +11 -4
- package/src/funcs/workspacesUpdate.ts +11 -4
- package/src/hooks/types.ts +4 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/primitives.ts +20 -0
- package/src/lib/retries.ts +63 -31
- package/src/lib/sdks.ts +19 -15
- package/src/lib/security.ts +39 -3
- package/src/models/components/leadcreatedevent.ts +38 -12
- package/src/models/components/leadevent.ts +34 -8
- package/src/models/components/salecreatedevent.ts +38 -12
- package/src/models/components/saleevent.ts +34 -8
- package/src/models/components/workspaceschema.ts +29 -1
- package/src/models/operations/createcustomer.ts +150 -0
- package/src/models/operations/deletecustomer.ts +94 -0
- package/src/models/operations/getcustomer.ts +129 -0
- package/src/models/operations/getcustomers.ts +83 -0
- package/src/models/operations/getlinks.ts +1 -1
- package/src/models/operations/getlinkscount.ts +1 -1
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listevents.ts +43 -1
- package/src/models/operations/retrieveanalytics.ts +44 -1
- package/src/models/operations/tracklead.ts +17 -8
- package/src/models/operations/tracksale.ts +17 -4
- package/src/models/operations/updatecustomer.ts +207 -0
- package/src/sdk/customers.ts +99 -0
- package/src/sdk/sdk.ts +16 -10
- package/src/sdk/track.ts +2 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type UpdateCustomerRequestBody = {
|
|
9
|
+
/**
|
|
10
|
+
* Email of the customer in the client's app.
|
|
11
|
+
*/
|
|
12
|
+
email?: string | null | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the customer in the client's app. If not provided, a random name will be generated.
|
|
15
|
+
*/
|
|
16
|
+
name?: string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Avatar URL of the customer in the client's app.
|
|
19
|
+
*/
|
|
20
|
+
avatar?: string | null | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Unique identifier for the customer in the client's app.
|
|
23
|
+
*/
|
|
24
|
+
externalId?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type UpdateCustomerRequest = {
|
|
28
|
+
/**
|
|
29
|
+
* The unique identifier of the customer in Dub.
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
requestBody?: UpdateCustomerRequestBody | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The customer was updated.
|
|
37
|
+
*/
|
|
38
|
+
export type UpdateCustomerResponseBody = {
|
|
39
|
+
/**
|
|
40
|
+
* The unique identifier of the customer in Dub.
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Unique identifier for the customer in the client's app.
|
|
45
|
+
*/
|
|
46
|
+
externalId: string;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the customer.
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* Email of the customer.
|
|
53
|
+
*/
|
|
54
|
+
email?: string | null | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Avatar URL of the customer.
|
|
57
|
+
*/
|
|
58
|
+
avatar?: string | null | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* The date the customer was created.
|
|
61
|
+
*/
|
|
62
|
+
createdAt: string;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const UpdateCustomerRequestBody$inboundSchema: z.ZodType<
|
|
67
|
+
UpdateCustomerRequestBody,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = z.object({
|
|
71
|
+
email: z.nullable(z.string()).optional(),
|
|
72
|
+
name: z.nullable(z.string()).optional(),
|
|
73
|
+
avatar: z.nullable(z.string()).optional(),
|
|
74
|
+
externalId: z.string().optional(),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export type UpdateCustomerRequestBody$Outbound = {
|
|
79
|
+
email?: string | null | undefined;
|
|
80
|
+
name?: string | null | undefined;
|
|
81
|
+
avatar?: string | null | undefined;
|
|
82
|
+
externalId?: string | undefined;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const UpdateCustomerRequestBody$outboundSchema: z.ZodType<
|
|
87
|
+
UpdateCustomerRequestBody$Outbound,
|
|
88
|
+
z.ZodTypeDef,
|
|
89
|
+
UpdateCustomerRequestBody
|
|
90
|
+
> = z.object({
|
|
91
|
+
email: z.nullable(z.string()).optional(),
|
|
92
|
+
name: z.nullable(z.string()).optional(),
|
|
93
|
+
avatar: z.nullable(z.string()).optional(),
|
|
94
|
+
externalId: z.string().optional(),
|
|
95
|
+
});
|
|
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
|
+
export namespace UpdateCustomerRequestBody$ {
|
|
102
|
+
/** @deprecated use `UpdateCustomerRequestBody$inboundSchema` instead. */
|
|
103
|
+
export const inboundSchema = UpdateCustomerRequestBody$inboundSchema;
|
|
104
|
+
/** @deprecated use `UpdateCustomerRequestBody$outboundSchema` instead. */
|
|
105
|
+
export const outboundSchema = UpdateCustomerRequestBody$outboundSchema;
|
|
106
|
+
/** @deprecated use `UpdateCustomerRequestBody$Outbound` instead. */
|
|
107
|
+
export type Outbound = UpdateCustomerRequestBody$Outbound;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/** @internal */
|
|
111
|
+
export const UpdateCustomerRequest$inboundSchema: z.ZodType<
|
|
112
|
+
UpdateCustomerRequest,
|
|
113
|
+
z.ZodTypeDef,
|
|
114
|
+
unknown
|
|
115
|
+
> = z.object({
|
|
116
|
+
id: z.string(),
|
|
117
|
+
RequestBody: z.lazy(() => UpdateCustomerRequestBody$inboundSchema).optional(),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return remap$(v, {
|
|
120
|
+
"RequestBody": "requestBody",
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/** @internal */
|
|
125
|
+
export type UpdateCustomerRequest$Outbound = {
|
|
126
|
+
id: string;
|
|
127
|
+
RequestBody?: UpdateCustomerRequestBody$Outbound | undefined;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/** @internal */
|
|
131
|
+
export const UpdateCustomerRequest$outboundSchema: z.ZodType<
|
|
132
|
+
UpdateCustomerRequest$Outbound,
|
|
133
|
+
z.ZodTypeDef,
|
|
134
|
+
UpdateCustomerRequest
|
|
135
|
+
> = z.object({
|
|
136
|
+
id: z.string(),
|
|
137
|
+
requestBody: z.lazy(() => UpdateCustomerRequestBody$outboundSchema)
|
|
138
|
+
.optional(),
|
|
139
|
+
}).transform((v) => {
|
|
140
|
+
return remap$(v, {
|
|
141
|
+
requestBody: "RequestBody",
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
+
*/
|
|
149
|
+
export namespace UpdateCustomerRequest$ {
|
|
150
|
+
/** @deprecated use `UpdateCustomerRequest$inboundSchema` instead. */
|
|
151
|
+
export const inboundSchema = UpdateCustomerRequest$inboundSchema;
|
|
152
|
+
/** @deprecated use `UpdateCustomerRequest$outboundSchema` instead. */
|
|
153
|
+
export const outboundSchema = UpdateCustomerRequest$outboundSchema;
|
|
154
|
+
/** @deprecated use `UpdateCustomerRequest$Outbound` instead. */
|
|
155
|
+
export type Outbound = UpdateCustomerRequest$Outbound;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/** @internal */
|
|
159
|
+
export const UpdateCustomerResponseBody$inboundSchema: z.ZodType<
|
|
160
|
+
UpdateCustomerResponseBody,
|
|
161
|
+
z.ZodTypeDef,
|
|
162
|
+
unknown
|
|
163
|
+
> = z.object({
|
|
164
|
+
id: z.string(),
|
|
165
|
+
externalId: z.string(),
|
|
166
|
+
name: z.string(),
|
|
167
|
+
email: z.nullable(z.string()).optional(),
|
|
168
|
+
avatar: z.nullable(z.string()).optional(),
|
|
169
|
+
createdAt: z.string(),
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
/** @internal */
|
|
173
|
+
export type UpdateCustomerResponseBody$Outbound = {
|
|
174
|
+
id: string;
|
|
175
|
+
externalId: string;
|
|
176
|
+
name: string;
|
|
177
|
+
email?: string | null | undefined;
|
|
178
|
+
avatar?: string | null | undefined;
|
|
179
|
+
createdAt: string;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/** @internal */
|
|
183
|
+
export const UpdateCustomerResponseBody$outboundSchema: z.ZodType<
|
|
184
|
+
UpdateCustomerResponseBody$Outbound,
|
|
185
|
+
z.ZodTypeDef,
|
|
186
|
+
UpdateCustomerResponseBody
|
|
187
|
+
> = z.object({
|
|
188
|
+
id: z.string(),
|
|
189
|
+
externalId: z.string(),
|
|
190
|
+
name: z.string(),
|
|
191
|
+
email: z.nullable(z.string()).optional(),
|
|
192
|
+
avatar: z.nullable(z.string()).optional(),
|
|
193
|
+
createdAt: z.string(),
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
199
|
+
*/
|
|
200
|
+
export namespace UpdateCustomerResponseBody$ {
|
|
201
|
+
/** @deprecated use `UpdateCustomerResponseBody$inboundSchema` instead. */
|
|
202
|
+
export const inboundSchema = UpdateCustomerResponseBody$inboundSchema;
|
|
203
|
+
/** @deprecated use `UpdateCustomerResponseBody$outboundSchema` instead. */
|
|
204
|
+
export const outboundSchema = UpdateCustomerResponseBody$outboundSchema;
|
|
205
|
+
/** @deprecated use `UpdateCustomerResponseBody$Outbound` instead. */
|
|
206
|
+
export type Outbound = UpdateCustomerResponseBody$Outbound;
|
|
207
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { customersCreate } from "../funcs/customersCreate.js";
|
|
6
|
+
import { customersDelete } from "../funcs/customersDelete.js";
|
|
7
|
+
import { customersGet } from "../funcs/customersGet.js";
|
|
8
|
+
import { customersList } from "../funcs/customersList.js";
|
|
9
|
+
import { customersUpdate } from "../funcs/customersUpdate.js";
|
|
10
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as operations from "../models/operations/index.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
|
|
14
|
+
export class Customers extends ClientSDK {
|
|
15
|
+
/**
|
|
16
|
+
* Get a list of customers
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Get a list of customers for the authenticated workspace.
|
|
20
|
+
*/
|
|
21
|
+
async list(
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<Array<operations.ResponseBody>> {
|
|
24
|
+
return unwrapAsync(customersList(
|
|
25
|
+
this,
|
|
26
|
+
options,
|
|
27
|
+
));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Create a customer
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Create a customer for the authenticated workspace.
|
|
35
|
+
*/
|
|
36
|
+
async create(
|
|
37
|
+
request?: operations.CreateCustomerRequestBody | undefined,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): Promise<operations.CreateCustomerResponseBody> {
|
|
40
|
+
return unwrapAsync(customersCreate(
|
|
41
|
+
this,
|
|
42
|
+
request,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Get a customer
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Get a customer by ID for the authenticated workspace.
|
|
52
|
+
*/
|
|
53
|
+
async get(
|
|
54
|
+
request: operations.GetCustomerRequest,
|
|
55
|
+
options?: RequestOptions,
|
|
56
|
+
): Promise<operations.GetCustomerResponseBody> {
|
|
57
|
+
return unwrapAsync(customersGet(
|
|
58
|
+
this,
|
|
59
|
+
request,
|
|
60
|
+
options,
|
|
61
|
+
));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Update a customer
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* Update a customer for the authenticated workspace.
|
|
69
|
+
*/
|
|
70
|
+
async update(
|
|
71
|
+
id: string,
|
|
72
|
+
requestBody?: operations.UpdateCustomerRequestBody | undefined,
|
|
73
|
+
options?: RequestOptions,
|
|
74
|
+
): Promise<operations.UpdateCustomerResponseBody> {
|
|
75
|
+
return unwrapAsync(customersUpdate(
|
|
76
|
+
this,
|
|
77
|
+
id,
|
|
78
|
+
requestBody,
|
|
79
|
+
options,
|
|
80
|
+
));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Delete a customer
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Delete a customer from a workspace.
|
|
88
|
+
*/
|
|
89
|
+
async delete(
|
|
90
|
+
id: string,
|
|
91
|
+
options?: RequestOptions,
|
|
92
|
+
): Promise<operations.DeleteCustomerResponseBody> {
|
|
93
|
+
return unwrapAsync(customersDelete(
|
|
94
|
+
this,
|
|
95
|
+
id,
|
|
96
|
+
options,
|
|
97
|
+
));
|
|
98
|
+
}
|
|
99
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
6
|
import { Analytics } from "./analytics.js";
|
|
7
|
+
import { Customers } from "./customers.js";
|
|
7
8
|
import { Domains } from "./domains.js";
|
|
8
9
|
import { Events } from "./events.js";
|
|
9
10
|
import { Links } from "./links.js";
|
|
@@ -19,11 +20,6 @@ export class Dub extends ClientSDK {
|
|
|
19
20
|
return (this._links ??= new Links(this._options));
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
private _qrCodes?: QRCodes;
|
|
23
|
-
get qrCodes(): QRCodes {
|
|
24
|
-
return (this._qrCodes ??= new QRCodes(this._options));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
23
|
private _analytics?: Analytics;
|
|
28
24
|
get analytics(): Analytics {
|
|
29
25
|
return (this._analytics ??= new Analytics(this._options));
|
|
@@ -34,11 +30,6 @@ export class Dub extends ClientSDK {
|
|
|
34
30
|
return (this._events ??= new Events(this._options));
|
|
35
31
|
}
|
|
36
32
|
|
|
37
|
-
private _workspaces?: Workspaces;
|
|
38
|
-
get workspaces(): Workspaces {
|
|
39
|
-
return (this._workspaces ??= new Workspaces(this._options));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
33
|
private _tags?: Tags;
|
|
43
34
|
get tags(): Tags {
|
|
44
35
|
return (this._tags ??= new Tags(this._options));
|
|
@@ -54,6 +45,21 @@ export class Dub extends ClientSDK {
|
|
|
54
45
|
return (this._track ??= new Track(this._options));
|
|
55
46
|
}
|
|
56
47
|
|
|
48
|
+
private _customers?: Customers;
|
|
49
|
+
get customers(): Customers {
|
|
50
|
+
return (this._customers ??= new Customers(this._options));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
private _workspaces?: Workspaces;
|
|
54
|
+
get workspaces(): Workspaces {
|
|
55
|
+
return (this._workspaces ??= new Workspaces(this._options));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
private _qrCodes?: QRCodes;
|
|
59
|
+
get qrCodes(): QRCodes {
|
|
60
|
+
return (this._qrCodes ??= new QRCodes(this._options));
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
private _metatags?: Metatags;
|
|
58
64
|
get metatags(): Metatags {
|
|
59
65
|
return (this._metatags ??= new Metatags(this._options));
|
package/src/sdk/track.ts
CHANGED
|
@@ -49,6 +49,8 @@ export class Track extends ClientSDK {
|
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
51
|
* Track a customer for an authenticated workspace.
|
|
52
|
+
*
|
|
53
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
52
54
|
*/
|
|
53
55
|
async customer(
|
|
54
56
|
request?: operations.TrackCustomerRequestBody | undefined,
|