shedcloud-partner_api 0.2.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 734c3d0eea78c90ba7776d78e851458f70cdaea30bdfa5925825bdafe2297ad3
4
- data.tar.gz: 48dae1fe95a8fbf76f9284fe4ef8f8079609ecb824358302f4dd78988a245805
3
+ metadata.gz: ef147c587026c0e669b48177eff919ed647ba9220351c2fcb233caa960f57d84
4
+ data.tar.gz: 14e6b2a150cf3604feb9523705bbba744af9515533cca38a204f7d3c26e0419a
5
5
  SHA512:
6
- metadata.gz: 7fe825bcd1852876eb1f6519ce6d3ce935dcdeece6af55c241a0ed4f57bd9f19c04783f9d45caa4ec3dd6ab8087dc0689a707592378f086e3e9c1df5cf3a4eb1
7
- data.tar.gz: 6513611c7663bfaa6d252340b5a68b8a0f2b8dbbd7df94b90928e599ce6007d58a946e4bc6c9b0f0e0bb977014f50ff22f00c6efaeb52e06ed3dff68cac6d54c
6
+ metadata.gz: b1adcf401a3a46f25bc75b750e884a59743ac7d721d071f8f92606a621a51c7f44a0095996b5ca4944222bc5eea8c354e8601142311a7865e5fe6184ada71829
7
+ data.tar.gz: 0fa3865cffaf2a7f55ac5829b4e2bea56d06e202cc18953b624694a3756fe0687e9b46c99543aa3dec5cb8789970b035e658eac7c61a1b292b6f7b31cd94e296
data/README.md CHANGED
@@ -208,6 +208,6 @@ The Partner API is **additive-only within `/partner/v1`**. This gem is tagged wi
208
208
  - Partner API reference: https://go.shedcloud.com/partner/reference
209
209
  - Backend source of truth: `shedcloud-api-go/docs/PARTNER_API.md`
210
210
  - TypeScript/JavaScript: [`@shedcloud/partner-api`](https://github.com/Corland-Partners-LLC/shedcloud-npm)
211
- - Go: [`shedcloud-gomod/partnerapi`](https://github.com/Corland-Partners-LLC/shedcloud-gomod)
211
+ - Go: [`shedcloud-gomod/partnerapi`](https://pkg.go.dev/github.com/Corland-Partners-LLC/shedcloud-gomod/partnerapi)
212
212
  - Python: [`shedcloud-partner-api`](https://github.com/Corland-Partners-LLC/shedcloud-pypi)
213
213
  - PHP: [`shedcloud/partner-api`](https://github.com/Corland-Partners-LLC/shedcloud-php)
@@ -14,6 +14,13 @@ module ShedCloud
14
14
  # POST /partner/v1/site-events (scope partner-api.site-events.write).
15
15
  # Unlike most Partner API endpoints, the ingest body natively speaks
16
16
  # snake_case on the wire (session_id, visitor_id, events[].event_type, ...).
17
+ #
18
+ # Forward the end shopper's context via top-level client_ip and
19
+ # client_user_agent — without them every event is stamped with your
20
+ # server's IP/UA and visitor geo is meaningless. Identity events may
21
+ # carry events[].customer (first_name/last_name/email/phone/zip),
22
+ # events[].delivery (address), and events[].payment
23
+ # (payment_type "RENT_TO_OWN"|"CASH", monthly_term, ...) snapshots.
17
24
  def track(body, options: nil)
18
25
  @http.request('POST', '/partner/v1/site-events', body: body, headers: option_headers(options)) || {}
19
26
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ShedCloud
4
4
  module PartnerApi
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shedcloud-partner_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corland Partners LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-19 00:00:00.000000000 Z
11
+ date: 2026-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake