postboost 1.15.0 → 1.17.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: 5ca8cc1940b7a3f5f0b0248edbe934a9dfd5896f36eb9660e63056cc6c67705a
4
- data.tar.gz: 9dddd4013728416579c8563ecbdd22b66667c073257af0fa7f34b4e41543cd1c
3
+ metadata.gz: d7bb422ce68f730412c5c39dfc0aa403243fcfd4edca29b9c34ae0b8d9fd04c6
4
+ data.tar.gz: 56ade32f9582fe2622b5ff42b02de51a9206393f9a0aba46aedc21a95145b5c8
5
5
  SHA512:
6
- metadata.gz: 3ad5248dc5de41c8c23c76642d698b1edca79f2c7be2f1055273c50d70e57ab6067e81aac065a08524f2b43667e2d94684a268d1a832263705773a9ec619e9f3
7
- data.tar.gz: d0965be252bd03f62741a0053453b6acccb22c2b0752ec44435b3a8c6773311df3f9e4d5d150272126b941cbc6f523bb53fe8f2456bc49638f375f5e12749eef
6
+ metadata.gz: e3ce3f8b28501a85b14ce6302def3982fcb447fa4a9e7dc64fd8a3a99d88c810561f29048e5ab0ae311c4d4fa39d8a085a4b4a83d844e3f7093f8cb92b59ea80
7
+ data.tar.gz: 01cd52c7938b125f7b0efee91b0608b6926d2a603a13b10d238d6034daacaedc4447f6ebba3cb3eb3f9a7e481a19a4f4d01f1e6a12565ce6d39766de54c49fc1
data/README.md CHANGED
@@ -13,7 +13,7 @@ gem install postboost
13
13
  | **RubyGems** | [rubygems.org/gems/postboost](https://rubygems.org/gems/postboost) |
14
14
  | **GitHub** | [postboost-co/postboost-ruby](https://github.com/postboost-co/postboost-ruby) |
15
15
  | **Docs** | [postboost.co/docs/api](https://postboost.co/docs/api) |
16
- | **Version** | v1.15.0 |
16
+ | **Version** | v1.17.0 |
17
17
 
18
18
  ## Quick start
19
19
 
data/docs/PostsApi.md CHANGED
@@ -37,7 +37,7 @@ All URIs are relative to *https://postboost.co/app/api*
37
37
 
38
38
  Add post to queue
39
39
 
40
- Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met.
40
+ Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met. The guardrails check the saved post as publishing today (UTC), as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
41
41
 
42
42
  ### Examples
43
43
 
@@ -1479,7 +1479,7 @@ end
1479
1479
 
1480
1480
  Schedule post
1481
1481
 
1482
- Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`.
1482
+ Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`. The guardrails check the saved post at the time it would publish, as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
1483
1483
 
1484
1484
  ### Examples
1485
1485
 
@@ -20,7 +20,7 @@ module PostBoost
20
20
  @api_client = api_client
21
21
  end
22
22
  # Add post to queue
23
- # Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met.
23
+ # Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met. The guardrails check the saved post as publishing today (UTC), as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
24
24
  # @param workspace_uuid [String] UUID of the workspace.
25
25
  # @param post_uuid [String] UUID of the post.
26
26
  # @param [Hash] opts the optional parameters
@@ -33,7 +33,7 @@ module PostBoost
33
33
  end
34
34
 
35
35
  # Add post to queue
36
- # Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met.
36
+ # Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met. The guardrails check the saved post as publishing today (UTC), as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
37
37
  # @param workspace_uuid [String] UUID of the workspace.
38
38
  # @param post_uuid [String] UUID of the post.
39
39
  # @param [Hash] opts the optional parameters
@@ -1483,7 +1483,7 @@ module PostBoost
1483
1483
  end
1484
1484
 
1485
1485
  # Schedule post
1486
- # Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`.
1486
+ # Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`. The guardrails check the saved post at the time it would publish, as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
1487
1487
  # @param workspace_uuid [String] UUID of the workspace.
1488
1488
  # @param post_uuid [String] UUID of the post.
1489
1489
  # @param schedule_post_request [SchedulePostRequest]
@@ -1496,7 +1496,7 @@ module PostBoost
1496
1496
  end
1497
1497
 
1498
1498
  # Schedule post
1499
- # Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`.
1499
+ # Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`. The guardrails check the saved post at the time it would publish, as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
1500
1500
  # @param workspace_uuid [String] UUID of the workspace.
1501
1501
  # @param post_uuid [String] UUID of the post.
1502
1502
  # @param schedule_post_request [SchedulePostRequest]
@@ -11,5 +11,5 @@ Generator version: 7.9.0
11
11
  =end
12
12
 
13
13
  module PostBoost
14
- VERSION = '1.15.0'
14
+ VERSION = '1.17.0'
15
15
  end
@@ -34,7 +34,7 @@ describe 'PostsApi' do
34
34
 
35
35
  # unit tests for add_post_to_queue
36
36
  # Add post to queue
37
- # Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met.
37
+ # Add an existing post to the smart publishing queue. Each account of the post gets its own next free queue slot. Returns `422` when the post has no accounts, the posting schedule has no available times, or provider requirements are not met. The guardrails check the saved post as publishing today (UTC), as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
38
38
  # @param workspace_uuid UUID of the workspace.
39
39
  # @param post_uuid UUID of the post.
40
40
  # @param [Hash] opts the optional parameters
@@ -299,7 +299,7 @@ describe 'PostsApi' do
299
299
 
300
300
  # unit tests for schedule_post
301
301
  # Schedule post
302
- # Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`.
302
+ # Schedule an existing post. Optionally move it with `date`/`time` (read in `timezone`) and give accounts their own times with `accounts_schedule`. Set `postNow: true` to publish immediately; publishing starts within the request and any per-account times are dropped. Provider requirements are validated and reported as `422`. The guardrails check the saved post at the time it would publish, as on create: `409` duplicate (override with `X-Allow-Duplicate: true`), `422` account cannot publish, `429` daily or X cap.
303
303
  # @param workspace_uuid UUID of the workspace.
304
304
  # @param post_uuid UUID of the post.
305
305
  # @param schedule_post_request
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postboost
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator