growwer 1.1.0 → 1.1.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/README.md +4 -4
- data/docs/CatalogueApi.md +2 -2
- data/docs/GetMe200ResponseCatalogue.md +1 -1
- data/docs/LinkAdditionOrderBriefingRequest.md +1 -1
- data/docs/ManagedServicesApi.md +1 -1
- data/docs/SavedFiltersApi.md +1 -1
- data/docs/SellerOrderPostDelivery.md +1 -1
- data/docs/SellerOrdersApi.md +1 -1
- data/lib/growwer/api/catalogue_api.rb +4 -4
- data/lib/growwer/api/managed_services_api.rb +2 -2
- data/lib/growwer/api/saved_filters_api.rb +2 -2
- data/lib/growwer/api/seller_orders_api.rb +2 -2
- data/lib/growwer/api_client.rb +1 -1
- data/lib/growwer/models/get_me200_response_catalogue.rb +1 -1
- data/lib/growwer/models/link_addition_order_briefing_request.rb +1 -1
- data/lib/growwer/models/seller_order_post_delivery.rb +1 -1
- data/lib/growwer/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: 1309cfbf9602a9d3eec50be2df7b71625640ace9eee267f4506eccc20cd69b5d
|
|
4
|
+
data.tar.gz: c2b891bb3052b535d15a85d03dbd1b41d6927b627c19c6a707999bdaa75ff93c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 812c34054f7f31ebfaf2edb1a8bfeed634bb9739f08a80151f3a18b700a1481080f67d2f8feed84aec9f808293a16a1e1815fcae5edeff88aa6f90f17c3ec9f9
|
|
7
|
+
data.tar.gz: 7fb3fec207b58808e3fa5def44e2ddda9c64800577b1e75a10340ef93156a94e1c5bd2a207b734372b5ccfc39d8574842f7444075346d5b85818fca92c27e144
|
data/README.md
CHANGED
|
@@ -33,7 +33,7 @@ currency code and dates are ISO-8601.
|
|
|
33
33
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
34
34
|
|
|
35
35
|
- API version: 1
|
|
36
|
-
- Package version: 1.1.
|
|
36
|
+
- Package version: 1.1.1
|
|
37
37
|
- Generator version: 7.24.0
|
|
38
38
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
39
39
|
For more information, please visit [https://growwer.com/contact/](https://growwer.com/contact/)
|
|
@@ -51,16 +51,16 @@ gem build growwer.gemspec
|
|
|
51
51
|
Then either install the gem locally:
|
|
52
52
|
|
|
53
53
|
```shell
|
|
54
|
-
gem install ./growwer-1.1.
|
|
54
|
+
gem install ./growwer-1.1.1.gem
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
(for development, run `gem install --dev ./growwer-1.1.
|
|
57
|
+
(for development, run `gem install --dev ./growwer-1.1.1.gem` to install the development dependencies)
|
|
58
58
|
|
|
59
59
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
60
60
|
|
|
61
61
|
Finally add this to the Gemfile:
|
|
62
62
|
|
|
63
|
-
gem 'growwer', '~> 1.1.
|
|
63
|
+
gem 'growwer', '~> 1.1.1'
|
|
64
64
|
|
|
65
65
|
### Install from Git
|
|
66
66
|
|
data/docs/CatalogueApi.md
CHANGED
|
@@ -233,7 +233,7 @@ end
|
|
|
233
233
|
|
|
234
234
|
List flash offers
|
|
235
235
|
|
|
236
|
-
The medias on a flash offer, a time-limited discount, in the catalogue of one of your projects. It is GET /projects/{id}/medias with `flashOffer=true`, and takes the same parameters except `flashOffer` and `savedFilterId`. The catalogue access and the daily
|
|
236
|
+
The medias on a flash offer, a time-limited discount, in the catalogue of one of your projects. It is GET /projects/{id}/medias with `flashOffer=true`, and takes the same parameters except `flashOffer` and `savedFilterId`. The catalogue access and the daily limit of that operation apply: each new media costs one unit, a page that holds no new media, an empty one included, costs one, and repeating a request already answered the same day is free while the media lists, topics and language of the project stay as they were.
|
|
237
237
|
|
|
238
238
|
### Examples
|
|
239
239
|
|
|
@@ -447,7 +447,7 @@ end
|
|
|
447
447
|
|
|
448
448
|
Search the catalogue for a project
|
|
449
449
|
|
|
450
|
-
The medias the catalogue offers for one of your projects, as the web lists them, with each media's state in the project. Filter with the parameters below, which all combine, or apply one of your saved filters with `savedFilterId` alone. Each account can see a limited number of distinct medias per day (UTC) across the catalogue operations: the full daily cap for accounts with recent completed orders, as buyer or as seller, and a smaller trial quota for other accounts, which rises to the full cap after a completed order (see `catalogue.eligible`, `catalogue.dailyCap` and `catalogue.remainingToday` on GET /me).
|
|
450
|
+
The medias the catalogue offers for one of your projects, as the web lists them, with each media's state in the project. Filter with the parameters below, which all combine, or apply one of your saved filters with `savedFilterId` alone. Each account can see a limited number of distinct medias per day (UTC) across the catalogue operations: the full daily cap for accounts with recent completed orders, as buyer or as seller, and a smaller trial quota for other accounts, which rises to the full cap after a completed order (see `catalogue.eligible`, `catalogue.dailyCap` and `catalogue.remainingToday` on GET /me). Each new media of a page costs one unit of that limit, and a page that holds no new media, an empty one included, costs one unit, so a `total` costs at least one; repeating a request already answered the same day is free, and so are medias seen again that day. A change of the media lists of the project (a media request, a favourite, a discard), its topics or its language makes the same request a new one.
|
|
451
451
|
|
|
452
452
|
### Examples
|
|
453
453
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **eligible** | **Boolean** | Whether you have the full daily cap of the catalogue operations (tag Catalogue: searching a project's medias, flash offers and media details). It is open to accounts with recent completed orders, as buyer or as seller; until then the catalogue answers within a smaller daily trial quota, which rises to the full cap after a completed order. A media you have ordered is always readable with GET /medias/{id} and counts against neither. | |
|
|
8
8
|
| **daily_cap** | **Integer** | How many distinct medias the catalogue operations show you per UTC day: the full cap when `eligible` is true, the trial quota otherwise. 0 means the catalogue answers 403 `catalogue_requires_recent_order` until you have a recent completed order. | |
|
|
9
|
-
| **remaining_today** | **Integer** | How many
|
|
9
|
+
| **remaining_today** | **Integer** | How many units of `dailyCap` still fit today (UTC): each new distinct media costs one, and a catalogue response that holds no new media, an empty one or a saved filter count included, costs one unless the same request was answered today and the media lists, topics and language of its project have not changed since. Medias you have already seen today, and requests already answered today, are free. Null when the count cannot be read right now; the catalogue operations then answer 503 until it can. | |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **linking_from** | **String** | The URL of an existing article on the media's domain that the link goes into
|
|
7
|
+
| **linking_from** | **String** | The URL of an existing article on the media's domain that the link goes into, without `<` or `>`. | |
|
|
8
8
|
| **link** | [**OrderLinkRequest**](OrderLinkRequest.md) | | |
|
|
9
9
|
| **additional_info** | **String** | | [optional] |
|
|
10
10
|
|
data/docs/ManagedServicesApi.md
CHANGED
|
@@ -160,7 +160,7 @@ end
|
|
|
160
160
|
|
|
161
161
|
Download the summary of a campaign's proposals
|
|
162
162
|
|
|
163
|
-
The PDF the campaign page offers: the proposals awaiting your review, accepted or being published, newest first, in your language. With `extended=true` it also shows each proposal's price, the price it was proposed at (`proposedPrice`).
|
|
163
|
+
The PDF the campaign page offers: the proposals awaiting your review, accepted or being published, newest first, in your language. With `extended=true` it also shows each proposal's price, the price it was proposed at (`proposedPrice`). One summary of yours is rendered at a time: a request while another is being rendered gets 429 `proposals_summary_in_progress`, to retry after the `Retry-After` header.
|
|
164
164
|
|
|
165
165
|
### Examples
|
|
166
166
|
|
data/docs/SavedFiltersApi.md
CHANGED
|
@@ -16,7 +16,7 @@ All URIs are relative to *https://tool.growwer.com*
|
|
|
16
16
|
|
|
17
17
|
Count the medias of a saved filter
|
|
18
18
|
|
|
19
|
-
How many medias of the project's catalogue one of your saved filters matches: the `total` of GET /projects/{id}/medias with its `savedFilterId`. The number is cached for up to 24 hours, and it can differ from the count the web shows, which is not limited to the project's catalogue. A filter saved on the web that uses a filter the API does not support is refused with 422 `saved_filter_unsupported`.
|
|
19
|
+
How many medias of the project's catalogue one of your saved filters matches: the `total` of GET /projects/{id}/medias with its `savedFilterId`. The number is cached for up to 24 hours, and it can differ from the count the web shows, which is not limited to the project's catalogue. A filter saved on the web that uses a filter the API does not support is refused with 422 `saved_filter_unsupported`. The catalogue access and the daily limit of the catalogue apply: a count costs one unit of that limit the first time a filter is counted in a UTC day, and counting the same filter again that day is free.
|
|
20
20
|
|
|
21
21
|
### Examples
|
|
22
22
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **url** | **String** | The URL of the published post. It is checked to be a URL
|
|
7
|
+
| **url** | **String** | The URL of the published post. It is checked to be a URL without `<` or `>`, as the web does; whether the post carries the links is not checked here. | |
|
|
8
8
|
| **publication_date_confirmed** | **Boolean** | Must be true. Confirms the post is live, or for an order with a scheduled publication date, that it will be published on that date. | |
|
|
9
9
|
|
|
10
10
|
## Example
|
data/docs/SellerOrdersApi.md
CHANGED
|
@@ -95,7 +95,7 @@ end
|
|
|
95
95
|
|
|
96
96
|
Deliver an order
|
|
97
97
|
|
|
98
|
-
Delivers an order placed on one of your medias (`state` `pending_order_delivery`), as the web does. A post order takes the URL of the published post and the confirmation of its publication date; a link addition order takes no body, and any field is refused. The order moves to `pending_order_delivery_review` and the buyer is asked to review it, or, for a post order whose scheduled publication date is still to come, to `scheduled` without telling the buyer yet. The URL is checked to be a URL
|
|
98
|
+
Delivers an order placed on one of your medias (`state` `pending_order_delivery`), as the web does. A post order takes the URL of the published post and the confirmation of its publication date; a link addition order takes no body, and any field is refused. The order moves to `pending_order_delivery_review` and the buyer is asked to review it, or, for a post order whose scheduled publication date is still to come, to `scheduled` without telling the buyer yet. The URL is checked to be a URL without `<` or `>`, as the web does.
|
|
99
99
|
|
|
100
100
|
### Examples
|
|
101
101
|
|
|
@@ -243,7 +243,7 @@ module Growwer
|
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# List flash offers
|
|
246
|
-
# The medias on a flash offer, a time-limited discount, in the catalogue of one of your projects. It is GET /projects/{id}/medias with `flashOffer=true`, and takes the same parameters except `flashOffer` and `savedFilterId`. The catalogue access and the daily
|
|
246
|
+
# The medias on a flash offer, a time-limited discount, in the catalogue of one of your projects. It is GET /projects/{id}/medias with `flashOffer=true`, and takes the same parameters except `flashOffer` and `savedFilterId`. The catalogue access and the daily limit of that operation apply: each new media costs one unit, a page that holds no new media, an empty one included, costs one, and repeating a request already answered the same day is free while the media lists, topics and language of the project stay as they were.
|
|
247
247
|
# @param project_id [String] The project to search flash offers for.
|
|
248
248
|
# @param [Hash] opts the optional parameters
|
|
249
249
|
# @option opts [String] :source Which of the project's medias to search: `all` (the default), `recommended` (those Growwer recommends for the project), or those you marked `favourite`, `discarded` or `requested`, or `bought` for the project. Do not combine it with the parameter of the same state.
|
|
@@ -288,7 +288,7 @@ module Growwer
|
|
|
288
288
|
end
|
|
289
289
|
|
|
290
290
|
# List flash offers
|
|
291
|
-
# The medias on a flash offer, a time-limited discount, in the catalogue of one of your projects. It is GET /projects/{id}/medias with `flashOffer=true`, and takes the same parameters except `flashOffer` and `savedFilterId`. The catalogue access and the daily
|
|
291
|
+
# The medias on a flash offer, a time-limited discount, in the catalogue of one of your projects. It is GET /projects/{id}/medias with `flashOffer=true`, and takes the same parameters except `flashOffer` and `savedFilterId`. The catalogue access and the daily limit of that operation apply: each new media costs one unit, a page that holds no new media, an empty one included, costs one, and repeating a request already answered the same day is free while the media lists, topics and language of the project stay as they were.
|
|
292
292
|
# @param project_id [String] The project to search flash offers for.
|
|
293
293
|
# @param [Hash] opts the optional parameters
|
|
294
294
|
# @option opts [String] :source Which of the project's medias to search: `all` (the default), `recommended` (those Growwer recommends for the project), or those you marked `favourite`, `discarded` or `requested`, or `bought` for the project. Do not combine it with the parameter of the same state.
|
|
@@ -521,7 +521,7 @@ module Growwer
|
|
|
521
521
|
end
|
|
522
522
|
|
|
523
523
|
# Search the catalogue for a project
|
|
524
|
-
# The medias the catalogue offers for one of your projects, as the web lists them, with each media's state in the project. Filter with the parameters below, which all combine, or apply one of your saved filters with `savedFilterId` alone. Each account can see a limited number of distinct medias per day (UTC) across the catalogue operations: the full daily cap for accounts with recent completed orders, as buyer or as seller, and a smaller trial quota for other accounts, which rises to the full cap after a completed order (see `catalogue.eligible`, `catalogue.dailyCap` and `catalogue.remainingToday` on GET /me).
|
|
524
|
+
# The medias the catalogue offers for one of your projects, as the web lists them, with each media's state in the project. Filter with the parameters below, which all combine, or apply one of your saved filters with `savedFilterId` alone. Each account can see a limited number of distinct medias per day (UTC) across the catalogue operations: the full daily cap for accounts with recent completed orders, as buyer or as seller, and a smaller trial quota for other accounts, which rises to the full cap after a completed order (see `catalogue.eligible`, `catalogue.dailyCap` and `catalogue.remainingToday` on GET /me). Each new media of a page costs one unit of that limit, and a page that holds no new media, an empty one included, costs one unit, so a `total` costs at least one; repeating a request already answered the same day is free, and so are medias seen again that day. A change of the media lists of the project (a media request, a favourite, a discard), its topics or its language makes the same request a new one.
|
|
525
525
|
# @param id [String] The project.
|
|
526
526
|
# @param [Hash] opts the optional parameters
|
|
527
527
|
# @option opts [String] :source Which of the project's medias to search: `all` (the default), `recommended` (those Growwer recommends for the project), or those you marked `favourite`, `discarded` or `requested`, or `bought` for the project. Do not combine it with the parameter of the same state.
|
|
@@ -568,7 +568,7 @@ module Growwer
|
|
|
568
568
|
end
|
|
569
569
|
|
|
570
570
|
# Search the catalogue for a project
|
|
571
|
-
# The medias the catalogue offers for one of your projects, as the web lists them, with each media's state in the project. Filter with the parameters below, which all combine, or apply one of your saved filters with `savedFilterId` alone. Each account can see a limited number of distinct medias per day (UTC) across the catalogue operations: the full daily cap for accounts with recent completed orders, as buyer or as seller, and a smaller trial quota for other accounts, which rises to the full cap after a completed order (see `catalogue.eligible`, `catalogue.dailyCap` and `catalogue.remainingToday` on GET /me).
|
|
571
|
+
# The medias the catalogue offers for one of your projects, as the web lists them, with each media's state in the project. Filter with the parameters below, which all combine, or apply one of your saved filters with `savedFilterId` alone. Each account can see a limited number of distinct medias per day (UTC) across the catalogue operations: the full daily cap for accounts with recent completed orders, as buyer or as seller, and a smaller trial quota for other accounts, which rises to the full cap after a completed order (see `catalogue.eligible`, `catalogue.dailyCap` and `catalogue.remainingToday` on GET /me). Each new media of a page costs one unit of that limit, and a page that holds no new media, an empty one included, costs one unit, so a `total` costs at least one; repeating a request already answered the same day is free, and so are medias seen again that day. A change of the media lists of the project (a media request, a favourite, a discard), its topics or its language makes the same request a new one.
|
|
572
572
|
# @param id [String] The project.
|
|
573
573
|
# @param [Hash] opts the optional parameters
|
|
574
574
|
# @option opts [String] :source Which of the project's medias to search: `all` (the default), `recommended` (those Growwer recommends for the project), or those you marked `favourite`, `discarded` or `requested`, or `bought` for the project. Do not combine it with the parameter of the same state.
|
|
@@ -151,7 +151,7 @@ module Growwer
|
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
# Download the summary of a campaign's proposals
|
|
154
|
-
# The PDF the campaign page offers: the proposals awaiting your review, accepted or being published, newest first, in your language. With `extended=true` it also shows each proposal's price, the price it was proposed at (`proposedPrice`).
|
|
154
|
+
# The PDF the campaign page offers: the proposals awaiting your review, accepted or being published, newest first, in your language. With `extended=true` it also shows each proposal's price, the price it was proposed at (`proposedPrice`). One summary of yours is rendered at a time: a request while another is being rendered gets 429 `proposals_summary_in_progress`, to retry after the `Retry-After` header.
|
|
155
155
|
# @param id [String]
|
|
156
156
|
# @param [Hash] opts the optional parameters
|
|
157
157
|
# @option opts [String] :extended Whether to show the prices. (default to 'false')
|
|
@@ -162,7 +162,7 @@ module Growwer
|
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
# Download the summary of a campaign's proposals
|
|
165
|
-
# The PDF the campaign page offers: the proposals awaiting your review, accepted or being published, newest first, in your language. With `extended=true` it also shows each proposal's price, the price it was proposed at (`proposedPrice`).
|
|
165
|
+
# The PDF the campaign page offers: the proposals awaiting your review, accepted or being published, newest first, in your language. With `extended=true` it also shows each proposal's price, the price it was proposed at (`proposedPrice`). One summary of yours is rendered at a time: a request while another is being rendered gets 429 `proposals_summary_in_progress`, to retry after the `Retry-After` header.
|
|
166
166
|
# @param id [String]
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @option opts [String] :extended Whether to show the prices. (default to 'false')
|
|
@@ -20,7 +20,7 @@ module Growwer
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Count the medias of a saved filter
|
|
23
|
-
# How many medias of the project's catalogue one of your saved filters matches: the `total` of GET /projects/{id}/medias with its `savedFilterId`. The number is cached for up to 24 hours, and it can differ from the count the web shows, which is not limited to the project's catalogue. A filter saved on the web that uses a filter the API does not support is refused with 422 `saved_filter_unsupported`.
|
|
23
|
+
# How many medias of the project's catalogue one of your saved filters matches: the `total` of GET /projects/{id}/medias with its `savedFilterId`. The number is cached for up to 24 hours, and it can differ from the count the web shows, which is not limited to the project's catalogue. A filter saved on the web that uses a filter the API does not support is refused with 422 `saved_filter_unsupported`. The catalogue access and the daily limit of the catalogue apply: a count costs one unit of that limit the first time a filter is counted in a UTC day, and counting the same filter again that day is free.
|
|
24
24
|
# @param id [String] The project.
|
|
25
25
|
# @param filter_id [String] The saved filter.
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
@@ -31,7 +31,7 @@ module Growwer
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
# Count the medias of a saved filter
|
|
34
|
-
# How many medias of the project's catalogue one of your saved filters matches: the `total` of GET /projects/{id}/medias with its `savedFilterId`. The number is cached for up to 24 hours, and it can differ from the count the web shows, which is not limited to the project's catalogue. A filter saved on the web that uses a filter the API does not support is refused with 422 `saved_filter_unsupported`.
|
|
34
|
+
# How many medias of the project's catalogue one of your saved filters matches: the `total` of GET /projects/{id}/medias with its `savedFilterId`. The number is cached for up to 24 hours, and it can differ from the count the web shows, which is not limited to the project's catalogue. A filter saved on the web that uses a filter the API does not support is refused with 422 `saved_filter_unsupported`. The catalogue access and the daily limit of the catalogue apply: a count costs one unit of that limit the first time a filter is counted in a UTC day, and counting the same filter again that day is free.
|
|
35
35
|
# @param id [String] The project.
|
|
36
36
|
# @param filter_id [String] The saved filter.
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
@@ -94,7 +94,7 @@ module Growwer
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# Deliver an order
|
|
97
|
-
# Delivers an order placed on one of your medias (`state` `pending_order_delivery`), as the web does. A post order takes the URL of the published post and the confirmation of its publication date; a link addition order takes no body, and any field is refused. The order moves to `pending_order_delivery_review` and the buyer is asked to review it, or, for a post order whose scheduled publication date is still to come, to `scheduled` without telling the buyer yet. The URL is checked to be a URL
|
|
97
|
+
# Delivers an order placed on one of your medias (`state` `pending_order_delivery`), as the web does. A post order takes the URL of the published post and the confirmation of its publication date; a link addition order takes no body, and any field is refused. The order moves to `pending_order_delivery_review` and the buyer is asked to review it, or, for a post order whose scheduled publication date is still to come, to `scheduled` without telling the buyer yet. The URL is checked to be a URL without `<` or `>`, as the web does.
|
|
98
98
|
# @param id [String]
|
|
99
99
|
# @param idempotency_key [String] A new key for each write, reused only to retry that same write. 1 to 255 printable ASCII characters without spaces (`!` to `~`); any other value answers 400 `invalid_idempotency_key`.
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
|
@@ -106,7 +106,7 @@ module Growwer
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
# Deliver an order
|
|
109
|
-
# Delivers an order placed on one of your medias (`state` `pending_order_delivery`), as the web does. A post order takes the URL of the published post and the confirmation of its publication date; a link addition order takes no body, and any field is refused. The order moves to `pending_order_delivery_review` and the buyer is asked to review it, or, for a post order whose scheduled publication date is still to come, to `scheduled` without telling the buyer yet. The URL is checked to be a URL
|
|
109
|
+
# Delivers an order placed on one of your medias (`state` `pending_order_delivery`), as the web does. A post order takes the URL of the published post and the confirmation of its publication date; a link addition order takes no body, and any field is refused. The order moves to `pending_order_delivery_review` and the buyer is asked to review it, or, for a post order whose scheduled publication date is still to come, to `scheduled` without telling the buyer yet. The URL is checked to be a URL without `<` or `>`, as the web does.
|
|
110
110
|
# @param id [String]
|
|
111
111
|
# @param idempotency_key [String] A new key for each write, reused only to retry that same write. 1 to 255 printable ASCII characters without spaces (`!` to `~`); any other value answers 400 `invalid_idempotency_key`.
|
|
112
112
|
# @param [Hash] opts the optional parameters
|
data/lib/growwer/api_client.rb
CHANGED
|
@@ -34,7 +34,7 @@ module Growwer
|
|
|
34
34
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
35
35
|
def initialize(config = Configuration.default)
|
|
36
36
|
@config = config
|
|
37
|
-
@user_agent = "growwer-ruby/1.1.
|
|
37
|
+
@user_agent = "growwer-ruby/1.1.1"
|
|
38
38
|
@default_headers = {
|
|
39
39
|
'Content-Type' => 'application/json',
|
|
40
40
|
'User-Agent' => @user_agent
|
|
@@ -21,7 +21,7 @@ module Growwer
|
|
|
21
21
|
# How many distinct medias the catalogue operations show you per UTC day: the full cap when `eligible` is true, the trial quota otherwise. 0 means the catalogue answers 403 `catalogue_requires_recent_order` until you have a recent completed order.
|
|
22
22
|
attr_accessor :daily_cap
|
|
23
23
|
|
|
24
|
-
# How many
|
|
24
|
+
# How many units of `dailyCap` still fit today (UTC): each new distinct media costs one, and a catalogue response that holds no new media, an empty one or a saved filter count included, costs one unless the same request was answered today and the media lists, topics and language of its project have not changed since. Medias you have already seen today, and requests already answered today, are free. Null when the count cannot be read right now; the catalogue operations then answer 503 until it can.
|
|
25
25
|
attr_accessor :remaining_today
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module Growwer
|
|
17
17
|
# The briefing of a link addition (`type` `link_addition`), checked against the media's link addition offer as the web checks it.
|
|
18
18
|
class LinkAdditionOrderBriefingRequest < ApiModelBase
|
|
19
|
-
# The URL of an existing article on the media's domain that the link goes into
|
|
19
|
+
# The URL of an existing article on the media's domain that the link goes into, without `<` or `>`.
|
|
20
20
|
attr_accessor :linking_from
|
|
21
21
|
|
|
22
22
|
attr_accessor :link
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module Growwer
|
|
17
17
|
# The published post of a post order. A link addition order takes no body.
|
|
18
18
|
class SellerOrderPostDelivery < ApiModelBase
|
|
19
|
-
# The URL of the published post. It is checked to be a URL
|
|
19
|
+
# The URL of the published post. It is checked to be a URL without `<` or `>`, as the web does; whether the post carries the links is not checked here.
|
|
20
20
|
attr_accessor :url
|
|
21
21
|
|
|
22
22
|
# Must be true. Confirms the post is live, or for an order with a scheduled publication date, that it will be published on that date.
|
data/lib/growwer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: growwer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Growwer Support
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|