leal 0.0.13 → 0.0.15

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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +2 -2
  3. data/lib/leal/cards/types/create_cards_request_card.rb +8 -0
  4. data/lib/leal/cards/types/create_cards_request_card_qr_style.rb +14 -0
  5. data/lib/leal/cards/types/create_cards_response.rb +8 -0
  6. data/lib/leal/cards/types/get_cards_response.rb +8 -0
  7. data/lib/leal/cards/types/list_cards_response_item.rb +8 -0
  8. data/lib/leal/cards/types/update_cards_request_card.rb +8 -0
  9. data/lib/leal/cards/types/update_cards_request_card_qr_style.rb +14 -0
  10. data/lib/leal/cards/types/update_cards_response.rb +8 -0
  11. data/lib/leal/client.rb +6 -1
  12. data/lib/leal/customer_cards/client.rb +4 -2
  13. data/lib/leal/customer_cards/types/get_customer_cards_response.rb +6 -0
  14. data/lib/leal/customer_cards/types/get_customer_cards_response_referred_by.rb +19 -0
  15. data/lib/leal/customer_cards/types/list_customer_cards_response_item.rb +2 -0
  16. data/lib/leal/customer_cards/types/stamp_customer_cards_response.rb +6 -0
  17. data/lib/leal/customer_cards/types/stamp_customer_cards_response_referred_by.rb +19 -0
  18. data/lib/leal/customers/client.rb +3 -1
  19. data/lib/leal/customers/types/create_customers_request.rb +2 -0
  20. data/lib/leal/version.rb +1 -1
  21. data/lib/leal/webhook_subscriptions/client.rb +316 -0
  22. data/lib/leal/webhook_subscriptions/types/delete_api_v1accounts_account_id_webhook_subscriptions_id_request.rb +13 -0
  23. data/lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_id_request.rb +13 -0
  24. data/lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_id_response.rb +41 -0
  25. data/lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_request.rb +13 -0
  26. data/lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_response_item.rb +39 -0
  27. data/lib/leal/webhook_subscriptions/types/patch_api_v1accounts_account_id_webhook_subscriptions_id_request.rb +25 -0
  28. data/lib/leal/webhook_subscriptions/types/patch_api_v1accounts_account_id_webhook_subscriptions_id_response.rb +39 -0
  29. data/lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_rotate_secret_request.rb +13 -0
  30. data/lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_rotate_secret_response.rb +41 -0
  31. data/lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_test_request.rb +13 -0
  32. data/lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_test_response.rb +17 -0
  33. data/lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_request.rb +23 -0
  34. data/lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_response.rb +41 -0
  35. data/lib/leal.rb +18 -0
  36. data/reference.md +618 -4
  37. metadata +20 -2
data/reference.md CHANGED
@@ -508,7 +508,9 @@ client.cards.update(
508
508
  <dd>
509
509
 
510
510
  Returns a paginated list of customers for the store. Use the `search` parameter to filter
511
- by name, email, phone, card code (barcode), or external reference ID. Alternatively, pass
511
+ by name, email, phone, card code (barcode), or external reference ID. A scanned wallet pass
512
+ QR can be passed as it is: newer passes hold a link with the card code after the `#`, and
513
+ that is matched to the card exactly. Alternatively, pass
512
514
  `source` AND `external_id` together to perform an exact lookup by an external reference -
513
515
  the response will contain at most one customer.
514
516
  </dd>
@@ -548,7 +550,7 @@ client.customers.list(account_id: 1)
548
550
  <dl>
549
551
  <dd>
550
552
 
551
- **search:** `String` — Search query to filter customers by name, email, phone, card code (barcode), or external reference ID
553
+ **search:** `String` — Search query to filter customers by name, email, phone, card code (barcode, or the full scanned QR text), or external reference ID
552
554
 
553
555
  </dd>
554
556
  </dl>
@@ -678,6 +680,14 @@ client.customers.create(
678
680
  <dl>
679
681
  <dd>
680
682
 
683
+ **referral_code:** `String` — Records the new customer as invited by another customer: the code is the last part of that customer's `referral_url`. Needs `card_id`, for the same card, with referrals on. Nothing is given now; both customers get their stamps when the new customer's card is first stamped for a visit
684
+
685
+ </dd>
686
+ </dl>
687
+
688
+ <dl>
689
+ <dd>
690
+
681
691
  **send_card_links:** `Internal::Types::Boolean` — When true, sends the card links to the customer via email/SMS after enrollment. Note: even without this flag, the response includes `apple_wallet_url` and `google_wallet_url` in each customer card object so you can deliver them yourself.
682
692
 
683
693
  </dd>
@@ -1128,8 +1138,10 @@ client.customer_cards.redeem(
1128
1138
  <dl>
1129
1139
  <dd>
1130
1140
 
1131
- Adds stamps to a customer's loyalty card. Triggers ledger entries, wallet pass updates,
1132
- and push notifications. Pass `skip_notifications` to stamp silently.
1141
+ Adds stamps to a customer's loyalty card. Triggers ledger entries (`entry_type` `api`),
1142
+ wallet pass updates, and push notifications. Pass `skip_notifications` to stamp silently.
1143
+ Call it for real visits or purchases: if this customer joined with a friend's invite, the
1144
+ first call pays out the referral to both of them.
1133
1145
  </dd>
1134
1146
  </dl>
1135
1147
  </dd>
@@ -2349,6 +2361,608 @@ client.rewards.update(
2349
2361
  </dl>
2350
2362
 
2351
2363
 
2364
+ </dd>
2365
+ </dl>
2366
+ </details>
2367
+
2368
+ ## Webhook Subscriptions
2369
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">get_api_v1accounts_account_id_webhook_subscriptions</a>(account_id:) -> Internal::Types::Array[Leal::WebhookSubscriptions::Types::GetAPIV1AccountsAccountIDWebhookSubscriptionsResponseItem]</code></summary>
2370
+ <dl>
2371
+ <dd>
2372
+
2373
+ #### 📝 Description
2374
+
2375
+ <dl>
2376
+ <dd>
2377
+
2378
+ <dl>
2379
+ <dd>
2380
+
2381
+ Returns every webhook subscription for the store, oldest first. Signing secrets are not included; fetch a single subscription to read its secret.
2382
+ </dd>
2383
+ </dl>
2384
+ </dd>
2385
+ </dl>
2386
+
2387
+ #### 🔌 Usage
2388
+
2389
+ <dl>
2390
+ <dd>
2391
+
2392
+ <dl>
2393
+ <dd>
2394
+
2395
+ ```ruby
2396
+ client.webhook_subscriptions.get_api_v1accounts_account_id_webhook_subscriptions(account_id: 1)
2397
+ ```
2398
+ </dd>
2399
+ </dl>
2400
+ </dd>
2401
+ </dl>
2402
+
2403
+ #### ⚙️ Parameters
2404
+
2405
+ <dl>
2406
+ <dd>
2407
+
2408
+ <dl>
2409
+ <dd>
2410
+
2411
+ **account_id:** `Integer` — Store (account) ID
2412
+
2413
+ </dd>
2414
+ </dl>
2415
+
2416
+ <dl>
2417
+ <dd>
2418
+
2419
+ **event:** `String` — Only return subscriptions that list this event (or `*`)
2420
+
2421
+ </dd>
2422
+ </dl>
2423
+
2424
+ <dl>
2425
+ <dd>
2426
+
2427
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2428
+
2429
+ </dd>
2430
+ </dl>
2431
+ </dd>
2432
+ </dl>
2433
+
2434
+
2435
+ </dd>
2436
+ </dl>
2437
+ </details>
2438
+
2439
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">post_api_v1accounts_account_id_webhook_subscriptions</a>(account_id:, request) -> Leal::WebhookSubscriptions::Types::PostAPIV1AccountsAccountIDWebhookSubscriptionsResponse</code></summary>
2440
+ <dl>
2441
+ <dd>
2442
+
2443
+ #### 📝 Description
2444
+
2445
+ <dl>
2446
+ <dd>
2447
+
2448
+ <dl>
2449
+ <dd>
2450
+
2451
+ Subscribes a URL to one or more events. The response includes the signing `secret`; store it to
2452
+ verify deliveries. The URL must be publicly reachable over https.
2453
+
2454
+ Events: `customer.created`, `customer.updated`, `customer_card.created`, `stamp.earned`, `stamp.removed`, `reward.unlocked`, `reward.redeemed`, `referral.created`, `referral.rewarded`, or `*` for all of them.
2455
+ </dd>
2456
+ </dl>
2457
+ </dd>
2458
+ </dl>
2459
+
2460
+ #### 🔌 Usage
2461
+
2462
+ <dl>
2463
+ <dd>
2464
+
2465
+ <dl>
2466
+ <dd>
2467
+
2468
+ ```ruby
2469
+ client.webhook_subscriptions.post_api_v1accounts_account_id_webhook_subscriptions(
2470
+ account_id: 1,
2471
+ target_url: "target_url"
2472
+ )
2473
+ ```
2474
+ </dd>
2475
+ </dl>
2476
+ </dd>
2477
+ </dl>
2478
+
2479
+ #### ⚙️ Parameters
2480
+
2481
+ <dl>
2482
+ <dd>
2483
+
2484
+ <dl>
2485
+ <dd>
2486
+
2487
+ **account_id:** `Integer` — Store (account) ID
2488
+
2489
+ </dd>
2490
+ </dl>
2491
+
2492
+ <dl>
2493
+ <dd>
2494
+
2495
+ **description:** `String` — Your own label, up to 255 characters
2496
+
2497
+ </dd>
2498
+ </dl>
2499
+
2500
+ <dl>
2501
+ <dd>
2502
+
2503
+ **enabled:** `Internal::Types::Boolean` — Create the subscription disabled by passing false (defaults to true)
2504
+
2505
+ </dd>
2506
+ </dl>
2507
+
2508
+ <dl>
2509
+ <dd>
2510
+
2511
+ **event:** `String` — A single event to subscribe to. Same as `events` with one entry
2512
+
2513
+ </dd>
2514
+ </dl>
2515
+
2516
+ <dl>
2517
+ <dd>
2518
+
2519
+ **events:** `Internal::Types::Array[String]` — Events to subscribe to, or `["*"]` for every event. Required unless `event` is given
2520
+
2521
+ </dd>
2522
+ </dl>
2523
+
2524
+ <dl>
2525
+ <dd>
2526
+
2527
+ **payload_format:** `String` — `envelope` (default) or `flat`. `flat` sends the bare data object and cannot be combined with `*`
2528
+
2529
+ </dd>
2530
+ </dl>
2531
+
2532
+ <dl>
2533
+ <dd>
2534
+
2535
+ **target_url:** `String` — Public https URL that will receive the POST requests
2536
+
2537
+ </dd>
2538
+ </dl>
2539
+
2540
+ <dl>
2541
+ <dd>
2542
+
2543
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2544
+
2545
+ </dd>
2546
+ </dl>
2547
+ </dd>
2548
+ </dl>
2549
+
2550
+
2551
+ </dd>
2552
+ </dl>
2553
+ </details>
2554
+
2555
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">get_api_v1accounts_account_id_webhook_subscriptions_id</a>(account_id:, id:) -> Leal::WebhookSubscriptions::Types::GetAPIV1AccountsAccountIDWebhookSubscriptionsIDResponse</code></summary>
2556
+ <dl>
2557
+ <dd>
2558
+
2559
+ #### 📝 Description
2560
+
2561
+ <dl>
2562
+ <dd>
2563
+
2564
+ <dl>
2565
+ <dd>
2566
+
2567
+ Returns a single subscription, including its signing secret and the result of the most recent delivery.
2568
+ </dd>
2569
+ </dl>
2570
+ </dd>
2571
+ </dl>
2572
+
2573
+ #### 🔌 Usage
2574
+
2575
+ <dl>
2576
+ <dd>
2577
+
2578
+ <dl>
2579
+ <dd>
2580
+
2581
+ ```ruby
2582
+ client.webhook_subscriptions.get_api_v1accounts_account_id_webhook_subscriptions_id(
2583
+ account_id: 1,
2584
+ id: 1
2585
+ )
2586
+ ```
2587
+ </dd>
2588
+ </dl>
2589
+ </dd>
2590
+ </dl>
2591
+
2592
+ #### ⚙️ Parameters
2593
+
2594
+ <dl>
2595
+ <dd>
2596
+
2597
+ <dl>
2598
+ <dd>
2599
+
2600
+ **account_id:** `Integer` — Store (account) ID
2601
+
2602
+ </dd>
2603
+ </dl>
2604
+
2605
+ <dl>
2606
+ <dd>
2607
+
2608
+ **id:** `Integer` — Webhook subscription ID
2609
+
2610
+ </dd>
2611
+ </dl>
2612
+
2613
+ <dl>
2614
+ <dd>
2615
+
2616
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2617
+
2618
+ </dd>
2619
+ </dl>
2620
+ </dd>
2621
+ </dl>
2622
+
2623
+
2624
+ </dd>
2625
+ </dl>
2626
+ </details>
2627
+
2628
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">delete_api_v1accounts_account_id_webhook_subscriptions_id</a>(account_id:, id:) -> </code></summary>
2629
+ <dl>
2630
+ <dd>
2631
+
2632
+ #### 📝 Description
2633
+
2634
+ <dl>
2635
+ <dd>
2636
+
2637
+ <dl>
2638
+ <dd>
2639
+
2640
+ Stops deliveries and deletes the subscription. This cannot be undone.
2641
+ </dd>
2642
+ </dl>
2643
+ </dd>
2644
+ </dl>
2645
+
2646
+ #### 🔌 Usage
2647
+
2648
+ <dl>
2649
+ <dd>
2650
+
2651
+ <dl>
2652
+ <dd>
2653
+
2654
+ ```ruby
2655
+ client.webhook_subscriptions.delete_api_v1accounts_account_id_webhook_subscriptions_id(
2656
+ account_id: 1,
2657
+ id: 1
2658
+ )
2659
+ ```
2660
+ </dd>
2661
+ </dl>
2662
+ </dd>
2663
+ </dl>
2664
+
2665
+ #### ⚙️ Parameters
2666
+
2667
+ <dl>
2668
+ <dd>
2669
+
2670
+ <dl>
2671
+ <dd>
2672
+
2673
+ **account_id:** `Integer` — Store (account) ID
2674
+
2675
+ </dd>
2676
+ </dl>
2677
+
2678
+ <dl>
2679
+ <dd>
2680
+
2681
+ **id:** `Integer` — Webhook subscription ID
2682
+
2683
+ </dd>
2684
+ </dl>
2685
+
2686
+ <dl>
2687
+ <dd>
2688
+
2689
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2690
+
2691
+ </dd>
2692
+ </dl>
2693
+ </dd>
2694
+ </dl>
2695
+
2696
+
2697
+ </dd>
2698
+ </dl>
2699
+ </details>
2700
+
2701
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">patch_api_v1accounts_account_id_webhook_subscriptions_id</a>(account_id:, id:, request) -> Leal::WebhookSubscriptions::Types::PatchAPIV1AccountsAccountIDWebhookSubscriptionsIDResponse</code></summary>
2702
+ <dl>
2703
+ <dd>
2704
+
2705
+ #### 📝 Description
2706
+
2707
+ <dl>
2708
+ <dd>
2709
+
2710
+ <dl>
2711
+ <dd>
2712
+
2713
+ Changes the URL, events, label or payload format, or turns the subscription off and on. Re-enabling a subscription that was disabled for failing clears its failure state.
2714
+ </dd>
2715
+ </dl>
2716
+ </dd>
2717
+ </dl>
2718
+
2719
+ #### 🔌 Usage
2720
+
2721
+ <dl>
2722
+ <dd>
2723
+
2724
+ <dl>
2725
+ <dd>
2726
+
2727
+ ```ruby
2728
+ client.webhook_subscriptions.patch_api_v1accounts_account_id_webhook_subscriptions_id(
2729
+ account_id: 1,
2730
+ id: 1
2731
+ )
2732
+ ```
2733
+ </dd>
2734
+ </dl>
2735
+ </dd>
2736
+ </dl>
2737
+
2738
+ #### ⚙️ Parameters
2739
+
2740
+ <dl>
2741
+ <dd>
2742
+
2743
+ <dl>
2744
+ <dd>
2745
+
2746
+ **account_id:** `Integer` — Store (account) ID
2747
+
2748
+ </dd>
2749
+ </dl>
2750
+
2751
+ <dl>
2752
+ <dd>
2753
+
2754
+ **id:** `Integer` — Webhook subscription ID
2755
+
2756
+ </dd>
2757
+ </dl>
2758
+
2759
+ <dl>
2760
+ <dd>
2761
+
2762
+ **description:** `String` — Your own label, up to 255 characters
2763
+
2764
+ </dd>
2765
+ </dl>
2766
+
2767
+ <dl>
2768
+ <dd>
2769
+
2770
+ **enabled:** `Internal::Types::Boolean` — false to pause deliveries, true to resume them
2771
+
2772
+ </dd>
2773
+ </dl>
2774
+
2775
+ <dl>
2776
+ <dd>
2777
+
2778
+ **event:** `String` — A single event. Same as `events` with one entry
2779
+
2780
+ </dd>
2781
+ </dl>
2782
+
2783
+ <dl>
2784
+ <dd>
2785
+
2786
+ **events:** `Internal::Types::Array[String]` — Replaces the list of events, or `["*"]` for every event
2787
+
2788
+ </dd>
2789
+ </dl>
2790
+
2791
+ <dl>
2792
+ <dd>
2793
+
2794
+ **payload_format:** `String` — `envelope` or `flat`
2795
+
2796
+ </dd>
2797
+ </dl>
2798
+
2799
+ <dl>
2800
+ <dd>
2801
+
2802
+ **target_url:** `String` — Public https URL that will receive the POST requests
2803
+
2804
+ </dd>
2805
+ </dl>
2806
+
2807
+ <dl>
2808
+ <dd>
2809
+
2810
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2811
+
2812
+ </dd>
2813
+ </dl>
2814
+ </dd>
2815
+ </dl>
2816
+
2817
+
2818
+ </dd>
2819
+ </dl>
2820
+ </details>
2821
+
2822
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">post_api_v1accounts_account_id_webhook_subscriptions_id_rotate_secret</a>(account_id:, id:) -> Leal::WebhookSubscriptions::Types::PostAPIV1AccountsAccountIDWebhookSubscriptionsIDRotateSecretResponse</code></summary>
2823
+ <dl>
2824
+ <dd>
2825
+
2826
+ #### 📝 Description
2827
+
2828
+ <dl>
2829
+ <dd>
2830
+
2831
+ <dl>
2832
+ <dd>
2833
+
2834
+ Replaces the subscription's signing secret. Deliveries are signed with the new secret straight away, so update your receiver at the same time.
2835
+ </dd>
2836
+ </dl>
2837
+ </dd>
2838
+ </dl>
2839
+
2840
+ #### 🔌 Usage
2841
+
2842
+ <dl>
2843
+ <dd>
2844
+
2845
+ <dl>
2846
+ <dd>
2847
+
2848
+ ```ruby
2849
+ client.webhook_subscriptions.post_api_v1accounts_account_id_webhook_subscriptions_id_rotate_secret(
2850
+ account_id: 1,
2851
+ id: 1
2852
+ )
2853
+ ```
2854
+ </dd>
2855
+ </dl>
2856
+ </dd>
2857
+ </dl>
2858
+
2859
+ #### ⚙️ Parameters
2860
+
2861
+ <dl>
2862
+ <dd>
2863
+
2864
+ <dl>
2865
+ <dd>
2866
+
2867
+ **account_id:** `Integer` — Store (account) ID
2868
+
2869
+ </dd>
2870
+ </dl>
2871
+
2872
+ <dl>
2873
+ <dd>
2874
+
2875
+ **id:** `Integer` — Webhook subscription ID
2876
+
2877
+ </dd>
2878
+ </dl>
2879
+
2880
+ <dl>
2881
+ <dd>
2882
+
2883
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2884
+
2885
+ </dd>
2886
+ </dl>
2887
+ </dd>
2888
+ </dl>
2889
+
2890
+
2891
+ </dd>
2892
+ </dl>
2893
+ </details>
2894
+
2895
+ <details><summary><code>client.webhook_subscriptions.<a href="/lib/leal/webhook_subscriptions/client.rb">post_api_v1accounts_account_id_webhook_subscriptions_id_test</a>(account_id:, id:) -> Leal::WebhookSubscriptions::Types::PostAPIV1AccountsAccountIDWebhookSubscriptionsIDTestResponse</code></summary>
2896
+ <dl>
2897
+ <dd>
2898
+
2899
+ #### 📝 Description
2900
+
2901
+ <dl>
2902
+ <dd>
2903
+
2904
+ <dl>
2905
+ <dd>
2906
+
2907
+ Immediately sends a signed `webhook.test` event to the subscription's URL and reports what
2908
+ happened, so you can check your endpoint and signature verification without waiting for real
2909
+ activity. Test events are not retried and do not count towards disabling the subscription.
2910
+ </dd>
2911
+ </dl>
2912
+ </dd>
2913
+ </dl>
2914
+
2915
+ #### 🔌 Usage
2916
+
2917
+ <dl>
2918
+ <dd>
2919
+
2920
+ <dl>
2921
+ <dd>
2922
+
2923
+ ```ruby
2924
+ client.webhook_subscriptions.post_api_v1accounts_account_id_webhook_subscriptions_id_test(
2925
+ account_id: 1,
2926
+ id: 1
2927
+ )
2928
+ ```
2929
+ </dd>
2930
+ </dl>
2931
+ </dd>
2932
+ </dl>
2933
+
2934
+ #### ⚙️ Parameters
2935
+
2936
+ <dl>
2937
+ <dd>
2938
+
2939
+ <dl>
2940
+ <dd>
2941
+
2942
+ **account_id:** `Integer` — Store (account) ID
2943
+
2944
+ </dd>
2945
+ </dl>
2946
+
2947
+ <dl>
2948
+ <dd>
2949
+
2950
+ **id:** `Integer` — Webhook subscription ID
2951
+
2952
+ </dd>
2953
+ </dl>
2954
+
2955
+ <dl>
2956
+ <dd>
2957
+
2958
+ **request_options:** `Leal::WebhookSubscriptions::RequestOptions`
2959
+
2960
+ </dd>
2961
+ </dl>
2962
+ </dd>
2963
+ </dl>
2964
+
2965
+
2352
2966
  </dd>
2353
2967
  </dl>
2354
2968
  </details>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leal
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-09-16 00:00:00.000000000 Z
11
+ date: 2026-11-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The Leal Ruby library provides convenient access to the Leal API from
14
14
  Ruby.
@@ -29,6 +29,7 @@ files:
29
29
  - lib/leal/cards/client.rb
30
30
  - lib/leal/cards/types/create_cards_request.rb
31
31
  - lib/leal/cards/types/create_cards_request_card.rb
32
+ - lib/leal/cards/types/create_cards_request_card_qr_style.rb
32
33
  - lib/leal/cards/types/create_cards_response.rb
33
34
  - lib/leal/cards/types/get_cards_request.rb
34
35
  - lib/leal/cards/types/get_cards_response.rb
@@ -36,11 +37,13 @@ files:
36
37
  - lib/leal/cards/types/list_cards_response_item.rb
37
38
  - lib/leal/cards/types/update_cards_request.rb
38
39
  - lib/leal/cards/types/update_cards_request_card.rb
40
+ - lib/leal/cards/types/update_cards_request_card_qr_style.rb
39
41
  - lib/leal/cards/types/update_cards_response.rb
40
42
  - lib/leal/client.rb
41
43
  - lib/leal/customer_cards/client.rb
42
44
  - lib/leal/customer_cards/types/get_customer_cards_request.rb
43
45
  - lib/leal/customer_cards/types/get_customer_cards_response.rb
46
+ - lib/leal/customer_cards/types/get_customer_cards_response_referred_by.rb
44
47
  - lib/leal/customer_cards/types/list_customer_cards_request.rb
45
48
  - lib/leal/customer_cards/types/list_customer_cards_response_item.rb
46
49
  - lib/leal/customer_cards/types/redeem_customer_cards_request.rb
@@ -48,6 +51,7 @@ files:
48
51
  - lib/leal/customer_cards/types/redeem_customer_cards_response_redemption.rb
49
52
  - lib/leal/customer_cards/types/stamp_customer_cards_request.rb
50
53
  - lib/leal/customer_cards/types/stamp_customer_cards_response.rb
54
+ - lib/leal/customer_cards/types/stamp_customer_cards_response_referred_by.rb
51
55
  - lib/leal/customers/client.rb
52
56
  - lib/leal/customers/types/create_customers_request.rb
53
57
  - lib/leal/customers/types/create_customers_request_customer.rb
@@ -142,6 +146,20 @@ files:
142
146
  - lib/leal/types/error.rb
143
147
  - lib/leal/types/error_errors.rb
144
148
  - lib/leal/version.rb
149
+ - lib/leal/webhook_subscriptions/client.rb
150
+ - lib/leal/webhook_subscriptions/types/delete_api_v1accounts_account_id_webhook_subscriptions_id_request.rb
151
+ - lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_id_request.rb
152
+ - lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_id_response.rb
153
+ - lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_request.rb
154
+ - lib/leal/webhook_subscriptions/types/get_api_v1accounts_account_id_webhook_subscriptions_response_item.rb
155
+ - lib/leal/webhook_subscriptions/types/patch_api_v1accounts_account_id_webhook_subscriptions_id_request.rb
156
+ - lib/leal/webhook_subscriptions/types/patch_api_v1accounts_account_id_webhook_subscriptions_id_response.rb
157
+ - lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_rotate_secret_request.rb
158
+ - lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_rotate_secret_response.rb
159
+ - lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_test_request.rb
160
+ - lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_id_test_response.rb
161
+ - lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_request.rb
162
+ - lib/leal/webhook_subscriptions/types/post_api_v1accounts_account_id_webhook_subscriptions_response.rb
145
163
  - reference.md
146
164
  homepage:
147
165
  licenses: []