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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a78896e75288ba076d02b6c502db75bc6f645d70f01a84d71d56f2e49d4257c4
4
- data.tar.gz: ec94a587917290bf4b50a21ed6cdac8494c4b8787bba196d19f69f289a321a5b
3
+ metadata.gz: b54129db36438f7ef29fb770ca5981b2c0d3f814836458aa9c9eba376aa1fda8
4
+ data.tar.gz: 76bcf7bb7c7ff8794b479f85881bbb447ab5d5bb00e7d4889b465973f337c30a
5
5
  SHA512:
6
- metadata.gz: c751ed94096c4ee0e4b1d09da5343051e560c729dcba403cd13db15467baebe17a12a32ea24414264859613fc704434789827b3eeaf983503592c5765c636c71
7
- data.tar.gz: 8e6ce0647d26ab9dcce2c49f9dc45dcdf2f0c549637dbaeb28fc2689842d9edaf2d6daf06b258944761fa61e35ca904637676ef60ca6cc62ccbf71cb49526a51
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 — 2026-07-26
3
+ ## 0.4.0 — 2026-07-27
4
4
 
5
- - **Location sales budgets** `client.location_budgets.list/get/create/update`
6
- for `GET/POST/PUT /partner/v1/location-budgets` (scopes
7
- `partner-api.location-budgets.read` / `.write`).
8
- - Parity with `@shedcloud/partner-api` 0.7.0 and the `shedcloud-api-go` Partner
9
- API changelog entry (2026-07-25).
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
- { customerPhone: '555-0100' },
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
  ```
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ShedCloud
4
4
  module PartnerApi
5
- VERSION = '0.3.0'
5
+ VERSION = '0.4.0'
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.3.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-26 00:00:00.000000000 Z
11
+ date: 2026-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake