@wix/auto_sdk_bookings_bookings 1.0.100 → 1.0.102
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/build/cjs/index.js +17 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +23 -0
- package/build/cjs/index.typings.js +4 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +17 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +23 -0
- package/build/es/index.typings.mjs +4 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +17 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +23 -0
- package/build/internal/cjs/index.typings.js +4 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +17 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +23 -0
- package/build/internal/es/index.typings.mjs +4 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -2260,7 +2260,8 @@ async function createBooking2(booking, options) {
|
|
|
2260
2260
|
booking,
|
|
2261
2261
|
participantNotification: options?.participantNotification,
|
|
2262
2262
|
sendSmsReminder: options?.sendSmsReminder,
|
|
2263
|
-
flowControlSettings: options?.flowControlSettings
|
|
2263
|
+
flowControlSettings: options?.flowControlSettings,
|
|
2264
|
+
formSubmission: options?.formSubmission
|
|
2264
2265
|
});
|
|
2265
2266
|
const reqOpts = createBooking(payload);
|
|
2266
2267
|
sideEffects?.onSiteCall?.();
|
|
@@ -2277,7 +2278,8 @@ async function createBooking2(booking, options) {
|
|
|
2277
2278
|
booking: "$[0]",
|
|
2278
2279
|
participantNotification: "$[1].participantNotification",
|
|
2279
2280
|
sendSmsReminder: "$[1].sendSmsReminder",
|
|
2280
|
-
flowControlSettings: "$[1].flowControlSettings"
|
|
2281
|
+
flowControlSettings: "$[1].flowControlSettings",
|
|
2282
|
+
formSubmission: "$[1].formSubmission"
|
|
2281
2283
|
},
|
|
2282
2284
|
singleArgumentUnchanged: false
|
|
2283
2285
|
},
|
|
@@ -3113,14 +3115,25 @@ var onBookingUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
3113
3115
|
{ path: "entity.endDate" },
|
|
3114
3116
|
{ path: "entity.updatedDate" },
|
|
3115
3117
|
{ path: "entity.canceledDate" },
|
|
3116
|
-
{ path: "metadata.eventTime" }
|
|
3118
|
+
{ path: "metadata.eventTime" },
|
|
3119
|
+
{ path: "modifiedFields.createdDate" },
|
|
3120
|
+
{ path: "modifiedFields.startDate" },
|
|
3121
|
+
{ path: "modifiedFields.endDate" },
|
|
3122
|
+
{ path: "modifiedFields.updatedDate" },
|
|
3123
|
+
{ path: "modifiedFields.canceledDate" }
|
|
3117
3124
|
]
|
|
3118
3125
|
},
|
|
3119
3126
|
{
|
|
3120
3127
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
3121
3128
|
paths: [
|
|
3122
3129
|
{ path: "entity.contactDetails.fullAddress.geocode.latitude" },
|
|
3123
|
-
{ path: "entity.contactDetails.fullAddress.geocode.longitude" }
|
|
3130
|
+
{ path: "entity.contactDetails.fullAddress.geocode.longitude" },
|
|
3131
|
+
{
|
|
3132
|
+
path: "modifiedFields.contactDetails.fullAddress.geocode.latitude"
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
path: "modifiedFields.contactDetails.fullAddress.geocode.longitude"
|
|
3136
|
+
}
|
|
3124
3137
|
]
|
|
3125
3138
|
}
|
|
3126
3139
|
])
|