arky-sdk 0.3.49 → 0.3.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +6 -5
- package/dist/types.d.ts +6 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -265,6 +265,9 @@ var createUserApi = (apiConfig) => {
|
|
|
265
265
|
},
|
|
266
266
|
async resetPassword(params, options) {
|
|
267
267
|
return apiConfig.httpClient.post("/v1/users/reset-password", params, options);
|
|
268
|
+
},
|
|
269
|
+
async subscribe(params, options) {
|
|
270
|
+
return apiConfig.httpClient.post("/v1/users/subscribe", params, options);
|
|
268
271
|
}
|
|
269
272
|
};
|
|
270
273
|
};
|
|
@@ -849,13 +852,6 @@ var createCmsApi = (apiConfig) => {
|
|
|
849
852
|
`/v1/businesses/${apiConfig.businessId}/collections/${formattedId}/subscribers`,
|
|
850
853
|
options
|
|
851
854
|
);
|
|
852
|
-
},
|
|
853
|
-
async subscribeToCollection(params, options) {
|
|
854
|
-
return apiConfig.httpClient.put(
|
|
855
|
-
`/v1/businesses/${apiConfig.businessId}/collections/${params.collectionId}/subscribe`,
|
|
856
|
-
params,
|
|
857
|
-
options
|
|
858
|
-
);
|
|
859
855
|
}
|
|
860
856
|
};
|
|
861
857
|
};
|