shedcloud-partner_api 0.3.0 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -6
- data/README.md +6 -1
- 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: b54129db36438f7ef29fb770ca5981b2c0d3f814836458aa9c9eba376aa1fda8
|
|
4
|
+
data.tar.gz: 76bcf7bb7c7ff8794b479f85881bbb447ab5d5bb00e7d4889b465973f337c30a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2e3ed9212d6fb716bd505eb3d44ffa76a376162f4bbf90add00b016ce1ccc9ec86e70fa99a339262ae4f39277d0655f424856ea5d5c3894a871c79ca755986e
|
|
7
|
+
data.tar.gz: a6a9cb6e146c4ccd7daa06b024888dc7fefcb6e6ebdebc6a914e79c3c3db52803a2dea1733b9c3af11c1d47a40229a0258b7ee3994782a84b8f48386fd763653
|
data/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.4.0 — 2026-07-27
|
|
4
4
|
|
|
5
|
-
- **
|
|
6
|
-
|
|
7
|
-
`
|
|
8
|
-
-
|
|
9
|
-
|
|
5
|
+
- **Orders: sale date + sold pricing.** Order GET/list responses may include
|
|
6
|
+
`saleDate` and `soldPricing`. List with `saleDateFrom` / `saleDateTo`.
|
|
7
|
+
PATCH body accepts `saleDate` (`nil` clears) and `soldPricing` (partial
|
|
8
|
+
hash; top-level `nil` clears every sold amount). Wire keys are camelCase in
|
|
9
|
+
the hashes this gem passes through.
|
|
10
|
+
- Parity with `@shedcloud/partner-api` 0.8.0 and the `shedcloud-api-go`
|
|
11
|
+
Partner API changelog entry (2026-07-27).
|
|
10
12
|
|
|
11
13
|
## Unreleased
|
|
12
14
|
|
|
@@ -24,6 +26,14 @@
|
|
|
24
26
|
decision. Resolve the list per company rather than hard-coding the ten built-ins.
|
|
25
27
|
- Parity with the `shedcloud-api-go` Partner API changelog entry (2026-07-25).
|
|
26
28
|
|
|
29
|
+
## 0.3.0 — 2026-07-26
|
|
30
|
+
|
|
31
|
+
- **Location sales budgets** — `client.location_budgets.list/get/create/update`
|
|
32
|
+
for `GET/POST/PUT /partner/v1/location-budgets` (scopes
|
|
33
|
+
`partner-api.location-budgets.read` / `.write`).
|
|
34
|
+
- Parity with `@shedcloud/partner-api` 0.7.0 and the `shedcloud-api-go` Partner
|
|
35
|
+
API changelog entry (2026-07-25).
|
|
36
|
+
|
|
27
37
|
## 0.2.0 — 2026-07-19
|
|
28
38
|
|
|
29
39
|
- **Site events** — `client.site_events.track`, `list`, and `each` for
|
data/README.md
CHANGED
|
@@ -108,7 +108,12 @@ quote = client.quotes.create(
|
|
|
108
108
|
|
|
109
109
|
client.orders.update(
|
|
110
110
|
order['id'],
|
|
111
|
-
{
|
|
111
|
+
{
|
|
112
|
+
customerPhone: '555-0100'
|
|
113
|
+
# Optional Sold-by fields (camelCase on the wire):
|
|
114
|
+
# saleDate: '2026-07-15', # or nil to clear
|
|
115
|
+
# soldPricing: { total: 12_500 } # partial; nil clears all
|
|
116
|
+
},
|
|
112
117
|
options: ShedCloud::PartnerApi::RequestOptions.with_if_match(order['version'])
|
|
113
118
|
)
|
|
114
119
|
```
|
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.0
|
|
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
|