riverbankcms 0.28.1 → 0.30.0

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.
@@ -495,6 +495,28 @@ existing offerings or their stored presets. The declarative equivalent is
495
495
  settings`; `riverbankcms pull settings` writes the canonical configuration
496
496
  back to that file.
497
497
 
498
+ ### changeBookingQuestions
499
+
500
+ Every change to an event's or appointment service's booking questions goes
501
+ through this one command, the same one the dashboard uses. It applies the set
502
+ choice, question and section edits, timing settings and consent together, or
503
+ refuses the whole change.
504
+
505
+ ```bash
506
+ riverbankcms changeBookingQuestions --file edits.json
507
+ riverbankcms changeBookingQuestions --data '{"target":{"kind":"event_series","id":"<uuid>"},"selection":{"kind":"keep"},"edits":[...]}'
508
+ ```
509
+
510
+ The input has a `target` (`event_series`, `appointment_service`, or
511
+ `question_set` to edit a set everywhere it's used), a `selection` (`keep`,
512
+ `define`, `attach`, `copy` or `detach`), a list of `edits` (`add_questions`,
513
+ `change_question`, `move_question`, `remove_question`, section edits,
514
+ `rename_set` or `replace_questions`), and optional `settings`, `consent`,
515
+ `siteTermsMode` and `expected` (the version you read, so a change made
516
+ elsewhere in the meantime is refused rather than overwritten). Set names are
517
+ internal; customers see fixed headings. The SDK equivalent is
518
+ `client.forms.changeBookingQuestions(input)`.
519
+
498
520
  ### push-config
499
521
 
500
522
  Push SDK configuration to the CMS dashboard.