shedcloud-partner_api 0.3.0 → 0.4.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 +4 -4
- data/CHANGELOG.md +25 -6
- data/README.md +12 -2
- data/lib/shedcloud/partner_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a35ecd123c5a4f2e99e75b0f67318257a426a409238e1bfcc120599d16438f9c
|
|
4
|
+
data.tar.gz: f0e9cc8a827267dce3eaa333754f3709b8b935c3c6040af4dc7b0aae06585039
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7671de6a3469bdf76ae0c442dc5da5a64daa60ecb5688eb7ebf16d8b3d02be6c5244f1d0a6dab6b70263f2287af540ad7121f8566904b55d7574e76ee4e87fac
|
|
7
|
+
data.tar.gz: f106b480de7b1310820952496592b5e670e0bad99572a6dc379822f6412b519b99c6d15592b422efeb68addad0ef70b02f90d6c3fd23f194d12583d990c8d2cd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.4.1 — 2026-07-28
|
|
4
4
|
|
|
5
|
-
- **
|
|
6
|
-
|
|
7
|
-
`
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
- **Lot-stock typed photo galleries.** `client.lot_stock.list` responses may
|
|
6
|
+
include `frontImages`, `backImages`, `leftImages`, `rightImages`,
|
|
7
|
+
`exteriorImages`, and `interiorImages` (public CDN URL arrays; empty when
|
|
8
|
+
none). Existing `images` and `heroImages` are unchanged. Hashes are passed
|
|
9
|
+
through as-is (no client-side transform).
|
|
10
|
+
- Parity with the `shedcloud-api-go` Partner API changelog entry (2026-07-28).
|
|
11
|
+
|
|
12
|
+
## 0.4.0 — 2026-07-27
|
|
13
|
+
|
|
14
|
+
- **Orders: sale date + sold pricing.** Order GET/list responses may include
|
|
15
|
+
`saleDate` and `soldPricing`. List with `saleDateFrom` / `saleDateTo`.
|
|
16
|
+
PATCH body accepts `saleDate` (`nil` clears) and `soldPricing` (partial
|
|
17
|
+
hash; top-level `nil` clears every sold amount). Wire keys are camelCase in
|
|
18
|
+
the hashes this gem passes through.
|
|
19
|
+
- Parity with `@shedcloud/partner-api` 0.8.0 and the `shedcloud-api-go`
|
|
20
|
+
Partner API changelog entry (2026-07-27).
|
|
10
21
|
|
|
11
22
|
## Unreleased
|
|
12
23
|
|
|
@@ -24,6 +35,14 @@
|
|
|
24
35
|
decision. Resolve the list per company rather than hard-coding the ten built-ins.
|
|
25
36
|
- Parity with the `shedcloud-api-go` Partner API changelog entry (2026-07-25).
|
|
26
37
|
|
|
38
|
+
## 0.3.0 — 2026-07-26
|
|
39
|
+
|
|
40
|
+
- **Location sales budgets** — `client.location_budgets.list/get/create/update`
|
|
41
|
+
for `GET/POST/PUT /partner/v1/location-budgets` (scopes
|
|
42
|
+
`partner-api.location-budgets.read` / `.write`).
|
|
43
|
+
- Parity with `@shedcloud/partner-api` 0.7.0 and the `shedcloud-api-go` Partner
|
|
44
|
+
API changelog entry (2026-07-25).
|
|
45
|
+
|
|
27
46
|
## 0.2.0 — 2026-07-19
|
|
28
47
|
|
|
29
48
|
- **Site events** — `client.site_events.track`, `list`, and `each` for
|
data/README.md
CHANGED
|
@@ -44,7 +44,12 @@ stock = client.lot_stock.list(
|
|
|
44
44
|
)
|
|
45
45
|
|
|
46
46
|
puts stock['total']
|
|
47
|
-
|
|
47
|
+
unit = stock['data'].first
|
|
48
|
+
puts unit['title']
|
|
49
|
+
# Typed public photo galleries (CDN URL arrays; empty when none):
|
|
50
|
+
# unit['heroImages'], unit['frontImages'], unit['backImages'],
|
|
51
|
+
# unit['leftImages'], unit['rightImages'], unit['exteriorImages'],
|
|
52
|
+
# unit['interiorImages']
|
|
48
53
|
```
|
|
49
54
|
|
|
50
55
|
### Sandbox
|
|
@@ -108,7 +113,12 @@ quote = client.quotes.create(
|
|
|
108
113
|
|
|
109
114
|
client.orders.update(
|
|
110
115
|
order['id'],
|
|
111
|
-
{
|
|
116
|
+
{
|
|
117
|
+
customerPhone: '555-0100'
|
|
118
|
+
# Optional Sold-by fields (camelCase on the wire):
|
|
119
|
+
# saleDate: '2026-07-15', # or nil to clear
|
|
120
|
+
# soldPricing: { total: 12_500 } # partial; nil clears all
|
|
121
|
+
},
|
|
112
122
|
options: ShedCloud::PartnerApi::RequestOptions.with_if_match(order['version'])
|
|
113
123
|
)
|
|
114
124
|
```
|
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.
|
|
4
|
+
version: 0.4.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-
|
|
11
|
+
date: 2026-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|