late-sdk 0.0.48 → 0.0.50

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: 9ab47b8601bb3dd05eeadad4f05b29dd018eef4ec584d29cafd68351c1c198bb
4
- data.tar.gz: ac160f734233db8ebabe498f74ef41a8d071dc40362470d847918ada808a4b4a
3
+ metadata.gz: 5757eda3af6390abc20446edf6338036d5dc5207594c083da7361f77d90f126e
4
+ data.tar.gz: fd6b1ce15b307665c689b4085feefed0011fa691aed70d1806c56f71b0f2ead3
5
5
  SHA512:
6
- metadata.gz: 12fab50f5f4638d1e14d3478756dde98a049c2ae6750f9d337eb33be03eb2738150e8976712df19bbd0f6ce01dc30669528d242841aa9832b5f849f4d4f23f5e
7
- data.tar.gz: ce4cb75bc0fd6619d63b1152ed82031b2de4a19935cc4a8fbca613847dffd055ad39b47e3586aa7ccd5bad15a75ab5c924b05ec159367289ec1ed8eacd6649d7
6
+ metadata.gz: 34bc843de7dbbde3e683ef2ae7d84bd9fec19492b2215c27b767d973363cc9d050939cfa426b91a576247da3124a59553e645fd5ad8a60a5c97eced8f7afb30e
7
+ data.tar.gz: 14e0a03ea4eea96e2a0b6dcc58360726cb22128d29113781d6c99149277a52692c7fda41ef6a8c0447415dbd14c114aa4579827e6e30e1d4de8f335100606b6d
@@ -10,7 +10,7 @@ All URIs are relative to *https://getlate.dev/api*
10
10
 
11
11
  ## get_google_business_attributes
12
12
 
13
- > <GetGoogleBusinessAttributes200Response> get_google_business_attributes(account_id)
13
+ > <GetGoogleBusinessAttributes200Response> get_google_business_attributes(account_id, opts)
14
14
 
15
15
  Get attributes
16
16
 
@@ -29,10 +29,13 @@ end
29
29
 
30
30
  api_instance = Late::GMBAttributesApi.new
31
31
  account_id = 'account_id_example' # String |
32
+ opts = {
33
+ location_id: 'location_id_example' # String | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
34
+ }
32
35
 
33
36
  begin
34
37
  # Get attributes
35
- result = api_instance.get_google_business_attributes(account_id)
38
+ result = api_instance.get_google_business_attributes(account_id, opts)
36
39
  p result
37
40
  rescue Late::ApiError => e
38
41
  puts "Error when calling GMBAttributesApi->get_google_business_attributes: #{e}"
@@ -43,12 +46,12 @@ end
43
46
 
44
47
  This returns an Array which contains the response data, status code and headers.
45
48
 
46
- > <Array(<GetGoogleBusinessAttributes200Response>, Integer, Hash)> get_google_business_attributes_with_http_info(account_id)
49
+ > <Array(<GetGoogleBusinessAttributes200Response>, Integer, Hash)> get_google_business_attributes_with_http_info(account_id, opts)
47
50
 
48
51
  ```ruby
49
52
  begin
50
53
  # Get attributes
51
- data, status_code, headers = api_instance.get_google_business_attributes_with_http_info(account_id)
54
+ data, status_code, headers = api_instance.get_google_business_attributes_with_http_info(account_id, opts)
52
55
  p status_code # => 2xx
53
56
  p headers # => { ... }
54
57
  p data # => <GetGoogleBusinessAttributes200Response>
@@ -62,6 +65,7 @@ end
62
65
  | Name | Type | Description | Notes |
63
66
  | ---- | ---- | ----------- | ----- |
64
67
  | **account_id** | **String** | | |
68
+ | **location_id** | **String** | Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
65
69
 
66
70
  ### Return type
67
71
 
@@ -79,7 +83,7 @@ end
79
83
 
80
84
  ## update_google_business_attributes
81
85
 
82
- > <UpdateGoogleBusinessAttributes200Response> update_google_business_attributes(account_id, update_google_business_attributes_request)
86
+ > <UpdateGoogleBusinessAttributes200Response> update_google_business_attributes(account_id, update_google_business_attributes_request, opts)
83
87
 
84
88
  Update attributes
85
89
 
@@ -99,10 +103,13 @@ end
99
103
  api_instance = Late::GMBAttributesApi.new
100
104
  account_id = 'account_id_example' # String |
101
105
  update_google_business_attributes_request = Late::UpdateGoogleBusinessAttributesRequest.new({attributes: [Late::UpdateGoogleBusinessAttributesRequestAttributesInner.new], attribute_mask: 'attribute_mask_example'}) # UpdateGoogleBusinessAttributesRequest |
106
+ opts = {
107
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
108
+ }
102
109
 
103
110
  begin
104
111
  # Update attributes
105
- result = api_instance.update_google_business_attributes(account_id, update_google_business_attributes_request)
112
+ result = api_instance.update_google_business_attributes(account_id, update_google_business_attributes_request, opts)
106
113
  p result
107
114
  rescue Late::ApiError => e
108
115
  puts "Error when calling GMBAttributesApi->update_google_business_attributes: #{e}"
@@ -113,12 +120,12 @@ end
113
120
 
114
121
  This returns an Array which contains the response data, status code and headers.
115
122
 
116
- > <Array(<UpdateGoogleBusinessAttributes200Response>, Integer, Hash)> update_google_business_attributes_with_http_info(account_id, update_google_business_attributes_request)
123
+ > <Array(<UpdateGoogleBusinessAttributes200Response>, Integer, Hash)> update_google_business_attributes_with_http_info(account_id, update_google_business_attributes_request, opts)
117
124
 
118
125
  ```ruby
119
126
  begin
120
127
  # Update attributes
121
- data, status_code, headers = api_instance.update_google_business_attributes_with_http_info(account_id, update_google_business_attributes_request)
128
+ data, status_code, headers = api_instance.update_google_business_attributes_with_http_info(account_id, update_google_business_attributes_request, opts)
122
129
  p status_code # => 2xx
123
130
  p headers # => { ... }
124
131
  p data # => <UpdateGoogleBusinessAttributes200Response>
@@ -133,6 +140,7 @@ end
133
140
  | ---- | ---- | ----------- | ----- |
134
141
  | **account_id** | **String** | | |
135
142
  | **update_google_business_attributes_request** | [**UpdateGoogleBusinessAttributesRequest**](UpdateGoogleBusinessAttributesRequest.md) | | |
143
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
136
144
 
137
145
  ### Return type
138
146
 
@@ -10,7 +10,7 @@ All URIs are relative to *https://getlate.dev/api*
10
10
 
11
11
  ## get_google_business_food_menus
12
12
 
13
- > <GetGoogleBusinessFoodMenus200Response> get_google_business_food_menus(account_id)
13
+ > <GetGoogleBusinessFoodMenus200Response> get_google_business_food_menus(account_id, opts)
14
14
 
15
15
  Get food menus
16
16
 
@@ -29,10 +29,13 @@ end
29
29
 
30
30
  api_instance = Late::GMBFoodMenusApi.new
31
31
  account_id = 'account_id_example' # String | The Late account ID (from /v1/accounts)
32
+ opts = {
33
+ location_id: 'location_id_example' # String | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
34
+ }
32
35
 
33
36
  begin
34
37
  # Get food menus
35
- result = api_instance.get_google_business_food_menus(account_id)
38
+ result = api_instance.get_google_business_food_menus(account_id, opts)
36
39
  p result
37
40
  rescue Late::ApiError => e
38
41
  puts "Error when calling GMBFoodMenusApi->get_google_business_food_menus: #{e}"
@@ -43,12 +46,12 @@ end
43
46
 
44
47
  This returns an Array which contains the response data, status code and headers.
45
48
 
46
- > <Array(<GetGoogleBusinessFoodMenus200Response>, Integer, Hash)> get_google_business_food_menus_with_http_info(account_id)
49
+ > <Array(<GetGoogleBusinessFoodMenus200Response>, Integer, Hash)> get_google_business_food_menus_with_http_info(account_id, opts)
47
50
 
48
51
  ```ruby
49
52
  begin
50
53
  # Get food menus
51
- data, status_code, headers = api_instance.get_google_business_food_menus_with_http_info(account_id)
54
+ data, status_code, headers = api_instance.get_google_business_food_menus_with_http_info(account_id, opts)
52
55
  p status_code # => 2xx
53
56
  p headers # => { ... }
54
57
  p data # => <GetGoogleBusinessFoodMenus200Response>
@@ -62,6 +65,7 @@ end
62
65
  | Name | Type | Description | Notes |
63
66
  | ---- | ---- | ----------- | ----- |
64
67
  | **account_id** | **String** | The Late account ID (from /v1/accounts) | |
68
+ | **location_id** | **String** | Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
65
69
 
66
70
  ### Return type
67
71
 
@@ -79,7 +83,7 @@ end
79
83
 
80
84
  ## update_google_business_food_menus
81
85
 
82
- > <UpdateGoogleBusinessFoodMenus200Response> update_google_business_food_menus(account_id, update_google_business_food_menus_request)
86
+ > <UpdateGoogleBusinessFoodMenus200Response> update_google_business_food_menus(account_id, update_google_business_food_menus_request, opts)
83
87
 
84
88
  Update food menus
85
89
 
@@ -99,10 +103,13 @@ end
99
103
  api_instance = Late::GMBFoodMenusApi.new
100
104
  account_id = 'account_id_example' # String | The Late account ID (from /v1/accounts)
101
105
  update_google_business_food_menus_request = Late::UpdateGoogleBusinessFoodMenusRequest.new({menus: [Late::FoodMenu.new({labels: [Late::FoodMenuLabel.new({display_name: 'display_name_example'})]})]}) # UpdateGoogleBusinessFoodMenusRequest |
106
+ opts = {
107
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
108
+ }
102
109
 
103
110
  begin
104
111
  # Update food menus
105
- result = api_instance.update_google_business_food_menus(account_id, update_google_business_food_menus_request)
112
+ result = api_instance.update_google_business_food_menus(account_id, update_google_business_food_menus_request, opts)
106
113
  p result
107
114
  rescue Late::ApiError => e
108
115
  puts "Error when calling GMBFoodMenusApi->update_google_business_food_menus: #{e}"
@@ -113,12 +120,12 @@ end
113
120
 
114
121
  This returns an Array which contains the response data, status code and headers.
115
122
 
116
- > <Array(<UpdateGoogleBusinessFoodMenus200Response>, Integer, Hash)> update_google_business_food_menus_with_http_info(account_id, update_google_business_food_menus_request)
123
+ > <Array(<UpdateGoogleBusinessFoodMenus200Response>, Integer, Hash)> update_google_business_food_menus_with_http_info(account_id, update_google_business_food_menus_request, opts)
117
124
 
118
125
  ```ruby
119
126
  begin
120
127
  # Update food menus
121
- data, status_code, headers = api_instance.update_google_business_food_menus_with_http_info(account_id, update_google_business_food_menus_request)
128
+ data, status_code, headers = api_instance.update_google_business_food_menus_with_http_info(account_id, update_google_business_food_menus_request, opts)
122
129
  p status_code # => 2xx
123
130
  p headers # => { ... }
124
131
  p data # => <UpdateGoogleBusinessFoodMenus200Response>
@@ -133,6 +140,7 @@ end
133
140
  | ---- | ---- | ----------- | ----- |
134
141
  | **account_id** | **String** | The Late account ID (from /v1/accounts) | |
135
142
  | **update_google_business_food_menus_request** | [**UpdateGoogleBusinessFoodMenusRequest**](UpdateGoogleBusinessFoodMenusRequest.md) | | |
143
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
136
144
 
137
145
  ### Return type
138
146
 
@@ -30,6 +30,7 @@ end
30
30
  api_instance = Late::GMBLocationDetailsApi.new
31
31
  account_id = 'account_id_example' # String | The Late account ID (from /v1/accounts)
32
32
  opts = {
33
+ location_id: 'location_id_example', # String | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
33
34
  read_mask: 'read_mask_example' # String | Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
34
35
  }
35
36
 
@@ -65,6 +66,7 @@ end
65
66
  | Name | Type | Description | Notes |
66
67
  | ---- | ---- | ----------- | ----- |
67
68
  | **account_id** | **String** | The Late account ID (from /v1/accounts) | |
69
+ | **location_id** | **String** | Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
68
70
  | **read_mask** | **String** | Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours. | [optional] |
69
71
 
70
72
  ### Return type
@@ -83,7 +85,7 @@ end
83
85
 
84
86
  ## update_google_business_location_details
85
87
 
86
- > <UpdateGoogleBusinessLocationDetails200Response> update_google_business_location_details(account_id, update_google_business_location_details_request)
88
+ > <UpdateGoogleBusinessLocationDetails200Response> update_google_business_location_details(account_id, update_google_business_location_details_request, opts)
87
89
 
88
90
  Update location details
89
91
 
@@ -103,10 +105,13 @@ end
103
105
  api_instance = Late::GMBLocationDetailsApi.new
104
106
  account_id = 'account_id_example' # String | The Late account ID (from /v1/accounts)
105
107
  update_google_business_location_details_request = Late::UpdateGoogleBusinessLocationDetailsRequest.new({update_mask: 'update_mask_example'}) # UpdateGoogleBusinessLocationDetailsRequest |
108
+ opts = {
109
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
110
+ }
106
111
 
107
112
  begin
108
113
  # Update location details
109
- result = api_instance.update_google_business_location_details(account_id, update_google_business_location_details_request)
114
+ result = api_instance.update_google_business_location_details(account_id, update_google_business_location_details_request, opts)
110
115
  p result
111
116
  rescue Late::ApiError => e
112
117
  puts "Error when calling GMBLocationDetailsApi->update_google_business_location_details: #{e}"
@@ -117,12 +122,12 @@ end
117
122
 
118
123
  This returns an Array which contains the response data, status code and headers.
119
124
 
120
- > <Array(<UpdateGoogleBusinessLocationDetails200Response>, Integer, Hash)> update_google_business_location_details_with_http_info(account_id, update_google_business_location_details_request)
125
+ > <Array(<UpdateGoogleBusinessLocationDetails200Response>, Integer, Hash)> update_google_business_location_details_with_http_info(account_id, update_google_business_location_details_request, opts)
121
126
 
122
127
  ```ruby
123
128
  begin
124
129
  # Update location details
125
- data, status_code, headers = api_instance.update_google_business_location_details_with_http_info(account_id, update_google_business_location_details_request)
130
+ data, status_code, headers = api_instance.update_google_business_location_details_with_http_info(account_id, update_google_business_location_details_request, opts)
126
131
  p status_code # => 2xx
127
132
  p headers # => { ... }
128
133
  p data # => <UpdateGoogleBusinessLocationDetails200Response>
@@ -137,6 +142,7 @@ end
137
142
  | ---- | ---- | ----------- | ----- |
138
143
  | **account_id** | **String** | The Late account ID (from /v1/accounts) | |
139
144
  | **update_google_business_location_details_request** | [**UpdateGoogleBusinessLocationDetailsRequest**](UpdateGoogleBusinessLocationDetailsRequest.md) | | |
145
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
140
146
 
141
147
  ### Return type
142
148
 
data/docs/GMBMediaApi.md CHANGED
@@ -11,7 +11,7 @@ All URIs are relative to *https://getlate.dev/api*
11
11
 
12
12
  ## create_google_business_media
13
13
 
14
- > <CreateGoogleBusinessMedia200Response> create_google_business_media(account_id, create_google_business_media_request)
14
+ > <CreateGoogleBusinessMedia200Response> create_google_business_media(account_id, create_google_business_media_request, opts)
15
15
 
16
16
  Upload photo
17
17
 
@@ -31,10 +31,13 @@ end
31
31
  api_instance = Late::GMBMediaApi.new
32
32
  account_id = 'account_id_example' # String |
33
33
  create_google_business_media_request = Late::CreateGoogleBusinessMediaRequest.new({source_url: 'source_url_example'}) # CreateGoogleBusinessMediaRequest |
34
+ opts = {
35
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
36
+ }
34
37
 
35
38
  begin
36
39
  # Upload photo
37
- result = api_instance.create_google_business_media(account_id, create_google_business_media_request)
40
+ result = api_instance.create_google_business_media(account_id, create_google_business_media_request, opts)
38
41
  p result
39
42
  rescue Late::ApiError => e
40
43
  puts "Error when calling GMBMediaApi->create_google_business_media: #{e}"
@@ -45,12 +48,12 @@ end
45
48
 
46
49
  This returns an Array which contains the response data, status code and headers.
47
50
 
48
- > <Array(<CreateGoogleBusinessMedia200Response>, Integer, Hash)> create_google_business_media_with_http_info(account_id, create_google_business_media_request)
51
+ > <Array(<CreateGoogleBusinessMedia200Response>, Integer, Hash)> create_google_business_media_with_http_info(account_id, create_google_business_media_request, opts)
49
52
 
50
53
  ```ruby
51
54
  begin
52
55
  # Upload photo
53
- data, status_code, headers = api_instance.create_google_business_media_with_http_info(account_id, create_google_business_media_request)
56
+ data, status_code, headers = api_instance.create_google_business_media_with_http_info(account_id, create_google_business_media_request, opts)
54
57
  p status_code # => 2xx
55
58
  p headers # => { ... }
56
59
  p data # => <CreateGoogleBusinessMedia200Response>
@@ -65,6 +68,7 @@ end
65
68
  | ---- | ---- | ----------- | ----- |
66
69
  | **account_id** | **String** | | |
67
70
  | **create_google_business_media_request** | [**CreateGoogleBusinessMediaRequest**](CreateGoogleBusinessMediaRequest.md) | | |
71
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
68
72
 
69
73
  ### Return type
70
74
 
@@ -82,7 +86,7 @@ end
82
86
 
83
87
  ## delete_google_business_media
84
88
 
85
- > <DeleteGoogleBusinessMedia200Response> delete_google_business_media(account_id, media_id)
89
+ > <DeleteGoogleBusinessMedia200Response> delete_google_business_media(account_id, media_id, opts)
86
90
 
87
91
  Delete photo
88
92
 
@@ -102,10 +106,13 @@ end
102
106
  api_instance = Late::GMBMediaApi.new
103
107
  account_id = 'account_id_example' # String |
104
108
  media_id = 'media_id_example' # String | The media item ID to delete
109
+ opts = {
110
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
111
+ }
105
112
 
106
113
  begin
107
114
  # Delete photo
108
- result = api_instance.delete_google_business_media(account_id, media_id)
115
+ result = api_instance.delete_google_business_media(account_id, media_id, opts)
109
116
  p result
110
117
  rescue Late::ApiError => e
111
118
  puts "Error when calling GMBMediaApi->delete_google_business_media: #{e}"
@@ -116,12 +123,12 @@ end
116
123
 
117
124
  This returns an Array which contains the response data, status code and headers.
118
125
 
119
- > <Array(<DeleteGoogleBusinessMedia200Response>, Integer, Hash)> delete_google_business_media_with_http_info(account_id, media_id)
126
+ > <Array(<DeleteGoogleBusinessMedia200Response>, Integer, Hash)> delete_google_business_media_with_http_info(account_id, media_id, opts)
120
127
 
121
128
  ```ruby
122
129
  begin
123
130
  # Delete photo
124
- data, status_code, headers = api_instance.delete_google_business_media_with_http_info(account_id, media_id)
131
+ data, status_code, headers = api_instance.delete_google_business_media_with_http_info(account_id, media_id, opts)
125
132
  p status_code # => 2xx
126
133
  p headers # => { ... }
127
134
  p data # => <DeleteGoogleBusinessMedia200Response>
@@ -136,6 +143,7 @@ end
136
143
  | ---- | ---- | ----------- | ----- |
137
144
  | **account_id** | **String** | | |
138
145
  | **media_id** | **String** | The media item ID to delete | |
146
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
139
147
 
140
148
  ### Return type
141
149
 
@@ -173,6 +181,7 @@ end
173
181
  api_instance = Late::GMBMediaApi.new
174
182
  account_id = 'account_id_example' # String |
175
183
  opts = {
184
+ location_id: 'location_id_example', # String | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
176
185
  page_size: 56, # Integer | Number of items to return (max 100)
177
186
  page_token: 'page_token_example' # String | Pagination token from previous response
178
187
  }
@@ -209,6 +218,7 @@ end
209
218
  | Name | Type | Description | Notes |
210
219
  | ---- | ---- | ----------- | ----- |
211
220
  | **account_id** | **String** | | |
221
+ | **location_id** | **String** | Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
212
222
  | **page_size** | **Integer** | Number of items to return (max 100) | [optional][default to 100] |
213
223
  | **page_token** | **String** | Pagination token from previous response | [optional] |
214
224
 
@@ -11,7 +11,7 @@ All URIs are relative to *https://getlate.dev/api*
11
11
 
12
12
  ## create_google_business_place_action
13
13
 
14
- > <CreateGoogleBusinessPlaceAction200Response> create_google_business_place_action(account_id, create_google_business_place_action_request)
14
+ > <CreateGoogleBusinessPlaceAction200Response> create_google_business_place_action(account_id, create_google_business_place_action_request, opts)
15
15
 
16
16
  Create action link
17
17
 
@@ -31,10 +31,13 @@ end
31
31
  api_instance = Late::GMBPlaceActionsApi.new
32
32
  account_id = 'account_id_example' # String |
33
33
  create_google_business_place_action_request = Late::CreateGoogleBusinessPlaceActionRequest.new({uri: 'uri_example', place_action_type: 'APPOINTMENT'}) # CreateGoogleBusinessPlaceActionRequest |
34
+ opts = {
35
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
36
+ }
34
37
 
35
38
  begin
36
39
  # Create action link
37
- result = api_instance.create_google_business_place_action(account_id, create_google_business_place_action_request)
40
+ result = api_instance.create_google_business_place_action(account_id, create_google_business_place_action_request, opts)
38
41
  p result
39
42
  rescue Late::ApiError => e
40
43
  puts "Error when calling GMBPlaceActionsApi->create_google_business_place_action: #{e}"
@@ -45,12 +48,12 @@ end
45
48
 
46
49
  This returns an Array which contains the response data, status code and headers.
47
50
 
48
- > <Array(<CreateGoogleBusinessPlaceAction200Response>, Integer, Hash)> create_google_business_place_action_with_http_info(account_id, create_google_business_place_action_request)
51
+ > <Array(<CreateGoogleBusinessPlaceAction200Response>, Integer, Hash)> create_google_business_place_action_with_http_info(account_id, create_google_business_place_action_request, opts)
49
52
 
50
53
  ```ruby
51
54
  begin
52
55
  # Create action link
53
- data, status_code, headers = api_instance.create_google_business_place_action_with_http_info(account_id, create_google_business_place_action_request)
56
+ data, status_code, headers = api_instance.create_google_business_place_action_with_http_info(account_id, create_google_business_place_action_request, opts)
54
57
  p status_code # => 2xx
55
58
  p headers # => { ... }
56
59
  p data # => <CreateGoogleBusinessPlaceAction200Response>
@@ -65,6 +68,7 @@ end
65
68
  | ---- | ---- | ----------- | ----- |
66
69
  | **account_id** | **String** | | |
67
70
  | **create_google_business_place_action_request** | [**CreateGoogleBusinessPlaceActionRequest**](CreateGoogleBusinessPlaceActionRequest.md) | | |
71
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
68
72
 
69
73
  ### Return type
70
74
 
@@ -82,7 +86,7 @@ end
82
86
 
83
87
  ## delete_google_business_place_action
84
88
 
85
- > <DeleteGoogleBusinessPlaceAction200Response> delete_google_business_place_action(account_id, name)
89
+ > <DeleteGoogleBusinessPlaceAction200Response> delete_google_business_place_action(account_id, name, opts)
86
90
 
87
91
  Delete action link
88
92
 
@@ -102,10 +106,13 @@ end
102
106
  api_instance = Late::GMBPlaceActionsApi.new
103
107
  account_id = 'account_id_example' # String |
104
108
  name = 'name_example' # String | The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
109
+ opts = {
110
+ location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
111
+ }
105
112
 
106
113
  begin
107
114
  # Delete action link
108
- result = api_instance.delete_google_business_place_action(account_id, name)
115
+ result = api_instance.delete_google_business_place_action(account_id, name, opts)
109
116
  p result
110
117
  rescue Late::ApiError => e
111
118
  puts "Error when calling GMBPlaceActionsApi->delete_google_business_place_action: #{e}"
@@ -116,12 +123,12 @@ end
116
123
 
117
124
  This returns an Array which contains the response data, status code and headers.
118
125
 
119
- > <Array(<DeleteGoogleBusinessPlaceAction200Response>, Integer, Hash)> delete_google_business_place_action_with_http_info(account_id, name)
126
+ > <Array(<DeleteGoogleBusinessPlaceAction200Response>, Integer, Hash)> delete_google_business_place_action_with_http_info(account_id, name, opts)
120
127
 
121
128
  ```ruby
122
129
  begin
123
130
  # Delete action link
124
- data, status_code, headers = api_instance.delete_google_business_place_action_with_http_info(account_id, name)
131
+ data, status_code, headers = api_instance.delete_google_business_place_action_with_http_info(account_id, name, opts)
125
132
  p status_code # => 2xx
126
133
  p headers # => { ... }
127
134
  p data # => <DeleteGoogleBusinessPlaceAction200Response>
@@ -136,6 +143,7 @@ end
136
143
  | ---- | ---- | ----------- | ----- |
137
144
  | **account_id** | **String** | | |
138
145
  | **name** | **String** | The resource name of the place action link (e.g. locations/123/placeActionLinks/456) | |
146
+ | **location_id** | **String** | Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
139
147
 
140
148
  ### Return type
141
149
 
@@ -173,6 +181,7 @@ end
173
181
  api_instance = Late::GMBPlaceActionsApi.new
174
182
  account_id = 'account_id_example' # String |
175
183
  opts = {
184
+ location_id: 'location_id_example', # String | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
176
185
  page_size: 56, # Integer |
177
186
  page_token: 'page_token_example' # String |
178
187
  }
@@ -209,6 +218,7 @@ end
209
218
  | Name | Type | Description | Notes |
210
219
  | ---- | ---- | ----------- | ----- |
211
220
  | **account_id** | **String** | | |
221
+ | **location_id** | **String** | Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
212
222
  | **page_size** | **Integer** | | [optional][default to 100] |
213
223
  | **page_token** | **String** | | [optional] |
214
224
 
@@ -29,6 +29,7 @@ end
29
29
  api_instance = Late::GMBReviewsApi.new
30
30
  account_id = 'account_id_example' # String | The Late account ID (from /v1/accounts)
31
31
  opts = {
32
+ location_id: 'location_id_example', # String | Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
32
33
  page_size: 56, # Integer | Number of reviews to fetch per page (max 50)
33
34
  page_token: 'page_token_example' # String | Pagination token from previous response
34
35
  }
@@ -65,6 +66,7 @@ end
65
66
  | Name | Type | Description | Notes |
66
67
  | ---- | ---- | ----------- | ----- |
67
68
  | **account_id** | **String** | The Late account ID (from /v1/accounts) | |
69
+ | **location_id** | **String** | Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs. | [optional] |
68
70
  | **page_size** | **Integer** | Number of reviews to fetch per page (max 50) | [optional][default to 50] |
69
71
  | **page_token** | **String** | Pagination token from previous response | [optional] |
70
72
 
data/docs/MediaItem.md CHANGED
@@ -10,7 +10,7 @@
10
10
  | **filename** | **String** | | [optional] |
11
11
  | **size** | **Integer** | Optional file size in bytes | [optional] |
12
12
  | **mime_type** | **String** | Optional MIME type (e.g. image/jpeg, video/mp4) | [optional] |
13
- | **thumbnail** | **String** | Optional thumbnail image URL for videos | [optional] |
13
+ | **thumbnail** | **String** | Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended. | [optional] |
14
14
  | **instagram_thumbnail** | **String** | Optional custom cover image URL for Instagram Reels | [optional] |
15
15
  | **tiktok_processed** | **Boolean** | Internal flag indicating the image was resized for TikTok | [optional] |
16
16
 
@@ -23,6 +23,7 @@ module Late
23
23
  # Returns GBP location attributes (amenities, services, accessibility, payment types). Available attributes vary by business category.
24
24
  # @param account_id [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
26
27
  # @return [GetGoogleBusinessAttributes200Response]
27
28
  def get_google_business_attributes(account_id, opts = {})
28
29
  data, _status_code, _headers = get_google_business_attributes_with_http_info(account_id, opts)
@@ -33,6 +34,7 @@ module Late
33
34
  # Returns GBP location attributes (amenities, services, accessibility, payment types). Available attributes vary by business category.
34
35
  # @param account_id [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
36
38
  # @return [Array<(GetGoogleBusinessAttributes200Response, Integer, Hash)>] GetGoogleBusinessAttributes200Response data, response status code and response headers
37
39
  def get_google_business_attributes_with_http_info(account_id, opts = {})
38
40
  if @api_client.config.debugging
@@ -47,6 +49,7 @@ module Late
47
49
 
48
50
  # query parameters
49
51
  query_params = opts[:query_params] || {}
52
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
50
53
 
51
54
  # header parameters
52
55
  header_params = opts[:header_params] || {}
@@ -87,6 +90,7 @@ module Late
87
90
  # @param account_id [String]
88
91
  # @param update_google_business_attributes_request [UpdateGoogleBusinessAttributesRequest]
89
92
  # @param [Hash] opts the optional parameters
93
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
90
94
  # @return [UpdateGoogleBusinessAttributes200Response]
91
95
  def update_google_business_attributes(account_id, update_google_business_attributes_request, opts = {})
92
96
  data, _status_code, _headers = update_google_business_attributes_with_http_info(account_id, update_google_business_attributes_request, opts)
@@ -98,6 +102,7 @@ module Late
98
102
  # @param account_id [String]
99
103
  # @param update_google_business_attributes_request [UpdateGoogleBusinessAttributesRequest]
100
104
  # @param [Hash] opts the optional parameters
105
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
101
106
  # @return [Array<(UpdateGoogleBusinessAttributes200Response, Integer, Hash)>] UpdateGoogleBusinessAttributes200Response data, response status code and response headers
102
107
  def update_google_business_attributes_with_http_info(account_id, update_google_business_attributes_request, opts = {})
103
108
  if @api_client.config.debugging
@@ -116,6 +121,7 @@ module Late
116
121
 
117
122
  # query parameters
118
123
  query_params = opts[:query_params] || {}
124
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
119
125
 
120
126
  # header parameters
121
127
  header_params = opts[:header_params] || {}
@@ -23,6 +23,7 @@ module Late
23
23
  # Returns food menus for a GBP location including sections, items, pricing, and dietary info. Only for locations with food menu support.
24
24
  # @param account_id [String] The Late account ID (from /v1/accounts)
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
26
27
  # @return [GetGoogleBusinessFoodMenus200Response]
27
28
  def get_google_business_food_menus(account_id, opts = {})
28
29
  data, _status_code, _headers = get_google_business_food_menus_with_http_info(account_id, opts)
@@ -33,6 +34,7 @@ module Late
33
34
  # Returns food menus for a GBP location including sections, items, pricing, and dietary info. Only for locations with food menu support.
34
35
  # @param account_id [String] The Late account ID (from /v1/accounts)
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
36
38
  # @return [Array<(GetGoogleBusinessFoodMenus200Response, Integer, Hash)>] GetGoogleBusinessFoodMenus200Response data, response status code and response headers
37
39
  def get_google_business_food_menus_with_http_info(account_id, opts = {})
38
40
  if @api_client.config.debugging
@@ -47,6 +49,7 @@ module Late
47
49
 
48
50
  # query parameters
49
51
  query_params = opts[:query_params] || {}
52
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
50
53
 
51
54
  # header parameters
52
55
  header_params = opts[:header_params] || {}
@@ -87,6 +90,7 @@ module Late
87
90
  # @param account_id [String] The Late account ID (from /v1/accounts)
88
91
  # @param update_google_business_food_menus_request [UpdateGoogleBusinessFoodMenusRequest]
89
92
  # @param [Hash] opts the optional parameters
93
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
90
94
  # @return [UpdateGoogleBusinessFoodMenus200Response]
91
95
  def update_google_business_food_menus(account_id, update_google_business_food_menus_request, opts = {})
92
96
  data, _status_code, _headers = update_google_business_food_menus_with_http_info(account_id, update_google_business_food_menus_request, opts)
@@ -98,6 +102,7 @@ module Late
98
102
  # @param account_id [String] The Late account ID (from /v1/accounts)
99
103
  # @param update_google_business_food_menus_request [UpdateGoogleBusinessFoodMenusRequest]
100
104
  # @param [Hash] opts the optional parameters
105
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
101
106
  # @return [Array<(UpdateGoogleBusinessFoodMenus200Response, Integer, Hash)>] UpdateGoogleBusinessFoodMenus200Response data, response status code and response headers
102
107
  def update_google_business_food_menus_with_http_info(account_id, update_google_business_food_menus_request, opts = {})
103
108
  if @api_client.config.debugging
@@ -116,6 +121,7 @@ module Late
116
121
 
117
122
  # query parameters
118
123
  query_params = opts[:query_params] || {}
124
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
119
125
 
120
126
  # header parameters
121
127
  header_params = opts[:header_params] || {}
@@ -23,6 +23,7 @@ module Late
23
23
  # Returns detailed GBP location info (hours, description, phone, website, categories). Use readMask to request specific fields.
24
24
  # @param account_id [String] The Late account ID (from /v1/accounts)
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
26
27
  # @option opts [String] :read_mask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
27
28
  # @return [GetGoogleBusinessLocationDetails200Response]
28
29
  def get_google_business_location_details(account_id, opts = {})
@@ -34,6 +35,7 @@ module Late
34
35
  # Returns detailed GBP location info (hours, description, phone, website, categories). Use readMask to request specific fields.
35
36
  # @param account_id [String] The Late account ID (from /v1/accounts)
36
37
  # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
37
39
  # @option opts [String] :read_mask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
38
40
  # @return [Array<(GetGoogleBusinessLocationDetails200Response, Integer, Hash)>] GetGoogleBusinessLocationDetails200Response data, response status code and response headers
39
41
  def get_google_business_location_details_with_http_info(account_id, opts = {})
@@ -49,6 +51,7 @@ module Late
49
51
 
50
52
  # query parameters
51
53
  query_params = opts[:query_params] || {}
54
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
52
55
  query_params[:'readMask'] = opts[:'read_mask'] if !opts[:'read_mask'].nil?
53
56
 
54
57
  # header parameters
@@ -90,6 +93,7 @@ module Late
90
93
  # @param account_id [String] The Late account ID (from /v1/accounts)
91
94
  # @param update_google_business_location_details_request [UpdateGoogleBusinessLocationDetailsRequest]
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
93
97
  # @return [UpdateGoogleBusinessLocationDetails200Response]
94
98
  def update_google_business_location_details(account_id, update_google_business_location_details_request, opts = {})
95
99
  data, _status_code, _headers = update_google_business_location_details_with_http_info(account_id, update_google_business_location_details_request, opts)
@@ -101,6 +105,7 @@ module Late
101
105
  # @param account_id [String] The Late account ID (from /v1/accounts)
102
106
  # @param update_google_business_location_details_request [UpdateGoogleBusinessLocationDetailsRequest]
103
107
  # @param [Hash] opts the optional parameters
108
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
104
109
  # @return [Array<(UpdateGoogleBusinessLocationDetails200Response, Integer, Hash)>] UpdateGoogleBusinessLocationDetails200Response data, response status code and response headers
105
110
  def update_google_business_location_details_with_http_info(account_id, update_google_business_location_details_request, opts = {})
106
111
  if @api_client.config.debugging
@@ -119,6 +124,7 @@ module Late
119
124
 
120
125
  # query parameters
121
126
  query_params = opts[:query_params] || {}
127
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
122
128
 
123
129
  # header parameters
124
130
  header_params = opts[:header_params] || {}
@@ -24,6 +24,7 @@ module Late
24
24
  # @param account_id [String]
25
25
  # @param create_google_business_media_request [CreateGoogleBusinessMediaRequest]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
27
28
  # @return [CreateGoogleBusinessMedia200Response]
28
29
  def create_google_business_media(account_id, create_google_business_media_request, opts = {})
29
30
  data, _status_code, _headers = create_google_business_media_with_http_info(account_id, create_google_business_media_request, opts)
@@ -35,6 +36,7 @@ module Late
35
36
  # @param account_id [String]
36
37
  # @param create_google_business_media_request [CreateGoogleBusinessMediaRequest]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
38
40
  # @return [Array<(CreateGoogleBusinessMedia200Response, Integer, Hash)>] CreateGoogleBusinessMedia200Response data, response status code and response headers
39
41
  def create_google_business_media_with_http_info(account_id, create_google_business_media_request, opts = {})
40
42
  if @api_client.config.debugging
@@ -53,6 +55,7 @@ module Late
53
55
 
54
56
  # query parameters
55
57
  query_params = opts[:query_params] || {}
58
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
56
59
 
57
60
  # header parameters
58
61
  header_params = opts[:header_params] || {}
@@ -98,6 +101,7 @@ module Late
98
101
  # @param account_id [String]
99
102
  # @param media_id [String] The media item ID to delete
100
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
101
105
  # @return [DeleteGoogleBusinessMedia200Response]
102
106
  def delete_google_business_media(account_id, media_id, opts = {})
103
107
  data, _status_code, _headers = delete_google_business_media_with_http_info(account_id, media_id, opts)
@@ -109,6 +113,7 @@ module Late
109
113
  # @param account_id [String]
110
114
  # @param media_id [String] The media item ID to delete
111
115
  # @param [Hash] opts the optional parameters
116
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
112
117
  # @return [Array<(DeleteGoogleBusinessMedia200Response, Integer, Hash)>] DeleteGoogleBusinessMedia200Response data, response status code and response headers
113
118
  def delete_google_business_media_with_http_info(account_id, media_id, opts = {})
114
119
  if @api_client.config.debugging
@@ -128,6 +133,7 @@ module Late
128
133
  # query parameters
129
134
  query_params = opts[:query_params] || {}
130
135
  query_params[:'mediaId'] = media_id
136
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
131
137
 
132
138
  # header parameters
133
139
  header_params = opts[:header_params] || {}
@@ -167,6 +173,7 @@ module Late
167
173
  # Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.
168
174
  # @param account_id [String]
169
175
  # @param [Hash] opts the optional parameters
176
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
170
177
  # @option opts [Integer] :page_size Number of items to return (max 100) (default to 100)
171
178
  # @option opts [String] :page_token Pagination token from previous response
172
179
  # @return [ListGoogleBusinessMedia200Response]
@@ -179,6 +186,7 @@ module Late
179
186
  # Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.
180
187
  # @param account_id [String]
181
188
  # @param [Hash] opts the optional parameters
189
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
182
190
  # @option opts [Integer] :page_size Number of items to return (max 100) (default to 100)
183
191
  # @option opts [String] :page_token Pagination token from previous response
184
192
  # @return [Array<(ListGoogleBusinessMedia200Response, Integer, Hash)>] ListGoogleBusinessMedia200Response data, response status code and response headers
@@ -199,6 +207,7 @@ module Late
199
207
 
200
208
  # query parameters
201
209
  query_params = opts[:query_params] || {}
210
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
202
211
  query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
203
212
  query_params[:'pageToken'] = opts[:'page_token'] if !opts[:'page_token'].nil?
204
213
 
@@ -24,6 +24,7 @@ module Late
24
24
  # @param account_id [String]
25
25
  # @param create_google_business_place_action_request [CreateGoogleBusinessPlaceActionRequest]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
27
28
  # @return [CreateGoogleBusinessPlaceAction200Response]
28
29
  def create_google_business_place_action(account_id, create_google_business_place_action_request, opts = {})
29
30
  data, _status_code, _headers = create_google_business_place_action_with_http_info(account_id, create_google_business_place_action_request, opts)
@@ -35,6 +36,7 @@ module Late
35
36
  # @param account_id [String]
36
37
  # @param create_google_business_place_action_request [CreateGoogleBusinessPlaceActionRequest]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
38
40
  # @return [Array<(CreateGoogleBusinessPlaceAction200Response, Integer, Hash)>] CreateGoogleBusinessPlaceAction200Response data, response status code and response headers
39
41
  def create_google_business_place_action_with_http_info(account_id, create_google_business_place_action_request, opts = {})
40
42
  if @api_client.config.debugging
@@ -53,6 +55,7 @@ module Late
53
55
 
54
56
  # query parameters
55
57
  query_params = opts[:query_params] || {}
58
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
56
59
 
57
60
  # header parameters
58
61
  header_params = opts[:header_params] || {}
@@ -98,6 +101,7 @@ module Late
98
101
  # @param account_id [String]
99
102
  # @param name [String] The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
100
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
101
105
  # @return [DeleteGoogleBusinessPlaceAction200Response]
102
106
  def delete_google_business_place_action(account_id, name, opts = {})
103
107
  data, _status_code, _headers = delete_google_business_place_action_with_http_info(account_id, name, opts)
@@ -109,6 +113,7 @@ module Late
109
113
  # @param account_id [String]
110
114
  # @param name [String] The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
111
115
  # @param [Hash] opts the optional parameters
116
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
112
117
  # @return [Array<(DeleteGoogleBusinessPlaceAction200Response, Integer, Hash)>] DeleteGoogleBusinessPlaceAction200Response data, response status code and response headers
113
118
  def delete_google_business_place_action_with_http_info(account_id, name, opts = {})
114
119
  if @api_client.config.debugging
@@ -128,6 +133,7 @@ module Late
128
133
  # query parameters
129
134
  query_params = opts[:query_params] || {}
130
135
  query_params[:'name'] = name
136
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
131
137
 
132
138
  # header parameters
133
139
  header_params = opts[:header_params] || {}
@@ -167,6 +173,7 @@ module Late
167
173
  # Lists place action links for a Google Business Profile location. Place actions are the booking, ordering, and reservation buttons that appear on your listing.
168
174
  # @param account_id [String]
169
175
  # @param [Hash] opts the optional parameters
176
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
170
177
  # @option opts [Integer] :page_size (default to 100)
171
178
  # @option opts [String] :page_token
172
179
  # @return [ListGoogleBusinessPlaceActions200Response]
@@ -179,6 +186,7 @@ module Late
179
186
  # Lists place action links for a Google Business Profile location. Place actions are the booking, ordering, and reservation buttons that appear on your listing.
180
187
  # @param account_id [String]
181
188
  # @param [Hash] opts the optional parameters
189
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
182
190
  # @option opts [Integer] :page_size (default to 100)
183
191
  # @option opts [String] :page_token
184
192
  # @return [Array<(ListGoogleBusinessPlaceActions200Response, Integer, Hash)>] ListGoogleBusinessPlaceActions200Response data, response status code and response headers
@@ -199,6 +207,7 @@ module Late
199
207
 
200
208
  # query parameters
201
209
  query_params = opts[:query_params] || {}
210
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
202
211
  query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
203
212
  query_params[:'pageToken'] = opts[:'page_token'] if !opts[:'page_token'].nil?
204
213
 
@@ -23,6 +23,7 @@ module Late
23
23
  # Returns reviews for a GBP account including ratings, comments, and owner replies. Use nextPageToken for pagination.
24
24
  # @param account_id [String] The Late account ID (from /v1/accounts)
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
26
27
  # @option opts [Integer] :page_size Number of reviews to fetch per page (max 50) (default to 50)
27
28
  # @option opts [String] :page_token Pagination token from previous response
28
29
  # @return [GetGoogleBusinessReviews200Response]
@@ -35,6 +36,7 @@ module Late
35
36
  # Returns reviews for a GBP account including ratings, comments, and owner replies. Use nextPageToken for pagination.
36
37
  # @param account_id [String] The Late account ID (from /v1/accounts)
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
38
40
  # @option opts [Integer] :page_size Number of reviews to fetch per page (max 50) (default to 50)
39
41
  # @option opts [String] :page_token Pagination token from previous response
40
42
  # @return [Array<(GetGoogleBusinessReviews200Response, Integer, Hash)>] GetGoogleBusinessReviews200Response data, response status code and response headers
@@ -59,6 +61,7 @@ module Late
59
61
 
60
62
  # query parameters
61
63
  query_params = opts[:query_params] || {}
64
+ query_params[:'locationId'] = opts[:'location_id'] if !opts[:'location_id'].nil?
62
65
  query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
63
66
  query_params[:'pageToken'] = opts[:'page_token'] if !opts[:'page_token'].nil?
64
67
 
@@ -31,7 +31,7 @@ module Late
31
31
  # Optional MIME type (e.g. image/jpeg, video/mp4)
32
32
  attr_accessor :mime_type
33
33
 
34
- # Optional thumbnail image URL for videos
34
+ # Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended.
35
35
  attr_accessor :thumbnail
36
36
 
37
37
  # Optional custom cover image URL for Instagram Reels
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.48'
14
+ VERSION = '0.0.50'
15
15
  end
data/openapi.yaml CHANGED
@@ -1016,7 +1016,7 @@ components:
1016
1016
  thumbnail:
1017
1017
  type: string
1018
1018
  format: uri
1019
- description: Optional thumbnail image URL for videos
1019
+ description: Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended.
1020
1020
  instagramThumbnail:
1021
1021
  type: string
1022
1022
  format: uri
@@ -6051,6 +6051,10 @@ paths:
6051
6051
  required: true
6052
6052
  schema: { type: string }
6053
6053
  description: The Late account ID (from /v1/accounts)
6054
+ - name: locationId
6055
+ in: query
6056
+ schema: { type: string }
6057
+ description: Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6054
6058
  - name: pageSize
6055
6059
  in: query
6056
6060
  schema: { type: integer, minimum: 1, maximum: 50, default: 50 }
@@ -6173,6 +6177,10 @@ paths:
6173
6177
  required: true
6174
6178
  schema: { type: string }
6175
6179
  description: The Late account ID (from /v1/accounts)
6180
+ - name: locationId
6181
+ in: query
6182
+ schema: { type: string }
6183
+ description: Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6176
6184
  security:
6177
6185
  - bearerAuth: []
6178
6186
  responses:
@@ -6251,6 +6259,10 @@ paths:
6251
6259
  required: true
6252
6260
  schema: { type: string }
6253
6261
  description: The Late account ID (from /v1/accounts)
6262
+ - name: locationId
6263
+ in: query
6264
+ schema: { type: string }
6265
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6254
6266
  security:
6255
6267
  - bearerAuth: []
6256
6268
  requestBody:
@@ -6339,6 +6351,10 @@ paths:
6339
6351
  required: true
6340
6352
  schema: { type: string }
6341
6353
  description: The Late account ID (from /v1/accounts)
6354
+ - name: locationId
6355
+ in: query
6356
+ schema: { type: string }
6357
+ description: Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6342
6358
  - name: readMask
6343
6359
  in: query
6344
6360
  required: false
@@ -6437,6 +6453,10 @@ paths:
6437
6453
  required: true
6438
6454
  schema: { type: string }
6439
6455
  description: The Late account ID (from /v1/accounts)
6456
+ - name: locationId
6457
+ in: query
6458
+ schema: { type: string }
6459
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6440
6460
  security:
6441
6461
  - bearerAuth: []
6442
6462
  requestBody:
@@ -6540,6 +6560,10 @@ paths:
6540
6560
  in: path
6541
6561
  required: true
6542
6562
  schema: { type: string }
6563
+ - name: locationId
6564
+ in: query
6565
+ schema: { type: string }
6566
+ description: Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6543
6567
  - name: pageSize
6544
6568
  in: query
6545
6569
  schema: { type: integer, maximum: 100, default: 100 }
@@ -6602,6 +6626,10 @@ paths:
6602
6626
  in: path
6603
6627
  required: true
6604
6628
  schema: { type: string }
6629
+ - name: locationId
6630
+ in: query
6631
+ schema: { type: string }
6632
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6605
6633
  security:
6606
6634
  - bearerAuth: []
6607
6635
  requestBody:
@@ -6655,6 +6683,10 @@ paths:
6655
6683
  in: path
6656
6684
  required: true
6657
6685
  schema: { type: string }
6686
+ - name: locationId
6687
+ in: query
6688
+ schema: { type: string }
6689
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6658
6690
  - name: mediaId
6659
6691
  in: query
6660
6692
  required: true
@@ -6695,6 +6727,10 @@ paths:
6695
6727
  in: path
6696
6728
  required: true
6697
6729
  schema: { type: string }
6730
+ - name: locationId
6731
+ in: query
6732
+ schema: { type: string }
6733
+ description: Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6698
6734
  security:
6699
6735
  - bearerAuth: []
6700
6736
  responses:
@@ -6760,6 +6796,10 @@ paths:
6760
6796
  in: path
6761
6797
  required: true
6762
6798
  schema: { type: string }
6799
+ - name: locationId
6800
+ in: query
6801
+ schema: { type: string }
6802
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6763
6803
  security:
6764
6804
  - bearerAuth: []
6765
6805
  requestBody:
@@ -6831,6 +6871,10 @@ paths:
6831
6871
  in: path
6832
6872
  required: true
6833
6873
  schema: { type: string }
6874
+ - name: locationId
6875
+ in: query
6876
+ schema: { type: string }
6877
+ description: Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6834
6878
  - name: pageSize
6835
6879
  in: query
6836
6880
  schema: { type: integer, maximum: 100, default: 100 }
@@ -6893,6 +6937,10 @@ paths:
6893
6937
  in: path
6894
6938
  required: true
6895
6939
  schema: { type: string }
6940
+ - name: locationId
6941
+ in: query
6942
+ schema: { type: string }
6943
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6896
6944
  security:
6897
6945
  - bearerAuth: []
6898
6946
  requestBody:
@@ -6943,6 +6991,10 @@ paths:
6943
6991
  in: path
6944
6992
  required: true
6945
6993
  schema: { type: string }
6994
+ - name: locationId
6995
+ in: query
6996
+ schema: { type: string }
6997
+ description: Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
6946
6998
  - name: name
6947
6999
  in: query
6948
7000
  required: true
@@ -37,6 +37,7 @@ describe 'GMBAttributesApi' do
37
37
  # Returns GBP location attributes (amenities, services, accessibility, payment types). Available attributes vary by business category.
38
38
  # @param account_id
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
40
41
  # @return [GetGoogleBusinessAttributes200Response]
41
42
  describe 'get_google_business_attributes test' do
42
43
  it 'should work' do
@@ -50,6 +51,7 @@ describe 'GMBAttributesApi' do
50
51
  # @param account_id
51
52
  # @param update_google_business_attributes_request
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
53
55
  # @return [UpdateGoogleBusinessAttributes200Response]
54
56
  describe 'update_google_business_attributes test' do
55
57
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'GMBFoodMenusApi' do
37
37
  # Returns food menus for a GBP location including sections, items, pricing, and dietary info. Only for locations with food menu support.
38
38
  # @param account_id The Late account ID (from /v1/accounts)
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
40
41
  # @return [GetGoogleBusinessFoodMenus200Response]
41
42
  describe 'get_google_business_food_menus test' do
42
43
  it 'should work' do
@@ -50,6 +51,7 @@ describe 'GMBFoodMenusApi' do
50
51
  # @param account_id The Late account ID (from /v1/accounts)
51
52
  # @param update_google_business_food_menus_request
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
53
55
  # @return [UpdateGoogleBusinessFoodMenus200Response]
54
56
  describe 'update_google_business_food_menus test' do
55
57
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'GMBLocationDetailsApi' do
37
37
  # Returns detailed GBP location info (hours, description, phone, website, categories). Use readMask to request specific fields.
38
38
  # @param account_id The Late account ID (from /v1/accounts)
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
40
41
  # @option opts [String] :read_mask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
41
42
  # @return [GetGoogleBusinessLocationDetails200Response]
42
43
  describe 'get_google_business_location_details test' do
@@ -51,6 +52,7 @@ describe 'GMBLocationDetailsApi' do
51
52
  # @param account_id The Late account ID (from /v1/accounts)
52
53
  # @param update_google_business_location_details_request
53
54
  # @param [Hash] opts the optional parameters
55
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
54
56
  # @return [UpdateGoogleBusinessLocationDetails200Response]
55
57
  describe 'update_google_business_location_details test' do
56
58
  it 'should work' do
@@ -38,6 +38,7 @@ describe 'GMBMediaApi' do
38
38
  # @param account_id
39
39
  # @param create_google_business_media_request
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
41
42
  # @return [CreateGoogleBusinessMedia200Response]
42
43
  describe 'create_google_business_media test' do
43
44
  it 'should work' do
@@ -51,6 +52,7 @@ describe 'GMBMediaApi' do
51
52
  # @param account_id
52
53
  # @param media_id The media item ID to delete
53
54
  # @param [Hash] opts the optional parameters
55
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
54
56
  # @return [DeleteGoogleBusinessMedia200Response]
55
57
  describe 'delete_google_business_media test' do
56
58
  it 'should work' do
@@ -63,6 +65,7 @@ describe 'GMBMediaApi' do
63
65
  # Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.
64
66
  # @param account_id
65
67
  # @param [Hash] opts the optional parameters
68
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
66
69
  # @option opts [Integer] :page_size Number of items to return (max 100)
67
70
  # @option opts [String] :page_token Pagination token from previous response
68
71
  # @return [ListGoogleBusinessMedia200Response]
@@ -38,6 +38,7 @@ describe 'GMBPlaceActionsApi' do
38
38
  # @param account_id
39
39
  # @param create_google_business_place_action_request
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
41
42
  # @return [CreateGoogleBusinessPlaceAction200Response]
42
43
  describe 'create_google_business_place_action test' do
43
44
  it 'should work' do
@@ -51,6 +52,7 @@ describe 'GMBPlaceActionsApi' do
51
52
  # @param account_id
52
53
  # @param name The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
53
54
  # @param [Hash] opts the optional parameters
55
+ # @option opts [String] :location_id Override which location to target. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
54
56
  # @return [DeleteGoogleBusinessPlaceAction200Response]
55
57
  describe 'delete_google_business_place_action test' do
56
58
  it 'should work' do
@@ -63,6 +65,7 @@ describe 'GMBPlaceActionsApi' do
63
65
  # Lists place action links for a Google Business Profile location. Place actions are the booking, ordering, and reservation buttons that appear on your listing.
64
66
  # @param account_id
65
67
  # @param [Hash] opts the optional parameters
68
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
66
69
  # @option opts [Integer] :page_size
67
70
  # @option opts [String] :page_token
68
71
  # @return [ListGoogleBusinessPlaceActions200Response]
@@ -37,6 +37,7 @@ describe 'GMBReviewsApi' do
37
37
  # Returns reviews for a GBP account including ratings, comments, and owner replies. Use nextPageToken for pagination.
38
38
  # @param account_id The Late account ID (from /v1/accounts)
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :location_id Override which location to query. If omitted, uses the account&#39;s selected location. Use GET /gmb-locations to list valid IDs.
40
41
  # @option opts [Integer] :page_size Number of reviews to fetch per page (max 50)
41
42
  # @option opts [String] :page_token Pagination token from previous response
42
43
  # @return [GetGoogleBusinessReviews200Response]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.48
4
+ version: 0.0.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator