spaps 0.9.1 → 0.9.2

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.
Files changed (2) hide show
  1. package/AI_TOOLS.json +70 -1
  2. package/package.json +1 -1
package/AI_TOOLS.json CHANGED
@@ -2723,7 +2723,76 @@
2723
2723
  "method": "POST",
2724
2724
  "path": "/api/dayrate/book-multi",
2725
2725
  "parameters": {
2726
- "$ref": "#/components/schemas/BookMultiRequest"
2726
+ "type": "object",
2727
+ "required": [
2728
+ "slots",
2729
+ "clientEmail",
2730
+ "clientName",
2731
+ "successUrl",
2732
+ "cancelUrl"
2733
+ ],
2734
+ "properties": {
2735
+ "slots": {
2736
+ "type": "array",
2737
+ "minItems": 1,
2738
+ "description": "List of slots to book",
2739
+ "items": {
2740
+ "type": "object",
2741
+ "required": [
2742
+ "date",
2743
+ "slot"
2744
+ ],
2745
+ "description": "A single slot within a book-multi request.",
2746
+ "properties": {
2747
+ "date": {
2748
+ "type": "string"
2749
+ },
2750
+ "slot": {
2751
+ "type": "string"
2752
+ }
2753
+ }
2754
+ }
2755
+ },
2756
+ "clientEmail": {
2757
+ "type": "string",
2758
+ "description": "Client email address"
2759
+ },
2760
+ "clientName": {
2761
+ "type": "string",
2762
+ "description": "Client name"
2763
+ },
2764
+ "successUrl": {
2765
+ "type": "string",
2766
+ "description": "Stripe success redirect URL"
2767
+ },
2768
+ "cancelUrl": {
2769
+ "type": "string",
2770
+ "description": "Stripe cancel redirect URL"
2771
+ },
2772
+ "expectedTotalPrice": {
2773
+ "anyOf": [
2774
+ {
2775
+ "type": "integer",
2776
+ "minimum": 0
2777
+ },
2778
+ {
2779
+ "type": "null"
2780
+ }
2781
+ ],
2782
+ "description": "Optional sum of the per-slot availability prices the client saw when building the cart. Used as a stale-price guard against external price drift before checkout."
2783
+ },
2784
+ "brandingDisplayName": {
2785
+ "anyOf": [
2786
+ {
2787
+ "type": "string"
2788
+ },
2789
+ {
2790
+ "type": "null"
2791
+ }
2792
+ ],
2793
+ "description": "Optional Checkout display name shown on Stripe hosted page"
2794
+ }
2795
+ }
2727
2796
  },
2728
2797
  "domain": "dayrate",
2729
2798
  "admin_required": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spaps",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Sweet Potato Authentication & Payment Service CLI - Docker Compose orchestrator for local Python/FastAPI SPAPS server with built-in admin middleware",
5
5
  "main": "src/index.js",
6
6
  "bin": {