arky-sdk 0.5.76 → 0.5.78
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 +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1161,6 +1161,14 @@ var createCustomerApi = (apiConfig) => {
|
|
|
1161
1161
|
options
|
|
1162
1162
|
);
|
|
1163
1163
|
},
|
|
1164
|
+
async initialize(params, options) {
|
|
1165
|
+
const businessId = params.businessId || apiConfig.businessId;
|
|
1166
|
+
return apiConfig.httpClient.post(
|
|
1167
|
+
`/v1/businesses/${businessId}/customers/initialize`,
|
|
1168
|
+
{ email: params.email },
|
|
1169
|
+
options
|
|
1170
|
+
);
|
|
1171
|
+
},
|
|
1164
1172
|
async find(params, options) {
|
|
1165
1173
|
const businessId = params?.businessId || apiConfig.businessId;
|
|
1166
1174
|
const queryParams = {};
|