fastly 8.0.1 → 8.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +223 -130
  3. data/Gemfile.lock +1 -1
  4. data/README.md +19 -7
  5. data/docs/{ErrorResponse.md → AutomationTokenErrorResponse.md} +1 -1
  6. data/docs/AutomationTokensApi.md +2 -2
  7. data/docs/Backend.md +5 -1
  8. data/docs/BackendApi.md +20 -4
  9. data/docs/BackendResponse.md +5 -1
  10. data/docs/BillingInvoicesApi.md +96 -0
  11. data/docs/Director.md +1 -1
  12. data/docs/DirectorApi.md +2 -2
  13. data/docs/DirectorResponse.md +1 -1
  14. data/docs/DomainInspectorHistoricalApi.md +4 -4
  15. data/docs/DomainInspectorRealtimeEntry.md +1 -1
  16. data/docs/Error.md +13 -0
  17. data/docs/ErrorResponseData.md +11 -0
  18. data/docs/Invoice.md +18 -0
  19. data/docs/InvoiceResponse.md +18 -0
  20. data/docs/Invoicelineitems.md +18 -0
  21. data/docs/KvStoreApi.md +1 -1
  22. data/docs/ListInvoicesResponse.md +11 -0
  23. data/docs/Listinvoices.md +11 -0
  24. data/docs/LoggingScalyrAdditional.md +1 -1
  25. data/docs/LoggingScalyrApi.md +4 -4
  26. data/docs/LoggingScalyrResponse.md +1 -1
  27. data/docs/Metadata.md +13 -0
  28. data/docs/OriginInspectorHistoricalApi.md +4 -4
  29. data/docs/OriginInspectorRealtimeEntry.md +1 -1
  30. data/docs/PoolAdditional.md +1 -1
  31. data/docs/PoolApi.md +4 -4
  32. data/docs/PoolResponse.md +1 -1
  33. data/docs/PoolResponsePost.md +1 -1
  34. data/docs/Pop.md +2 -2
  35. data/docs/PublishApi.md +1 -1
  36. data/docs/RealtimeEntry.md +1 -1
  37. data/docs/RealtimeEntryAggregated.md +22 -1
  38. data/docs/RealtimeMeasurements.md +22 -1
  39. data/docs/RelationshipCustomerCustomer.md +1 -1
  40. data/docs/Results.md +23 -0
  41. data/docs/SecretStoreApi.md +4 -2
  42. data/docs/SecretStoreItemApi.md +2 -2
  43. data/docs/ServiceDetail.md +1 -1
  44. data/docs/ServiceListResponse.md +2 -2
  45. data/docs/ServiceListResponseAllOf.md +2 -2
  46. data/docs/ServiceResponse.md +1 -1
  47. data/docs/ServiceResponseAllOf.md +1 -1
  48. data/docs/TlsConfigurationResponseAttributes.md +1 -1
  49. data/docs/TlsConfigurationResponseAttributesAllOf.md +1 -1
  50. data/docs/TlsCsr.md +10 -0
  51. data/docs/TlsCsrData.md +12 -0
  52. data/docs/TlsCsrDataAttributes.md +20 -0
  53. data/docs/TlsCsrErrorResponse.md +10 -0
  54. data/docs/TlsCsrResponse.md +10 -0
  55. data/docs/TlsCsrResponseAttributes.md +10 -0
  56. data/docs/TlsCsrResponseData.md +13 -0
  57. data/docs/TlsCsrsApi.md +52 -0
  58. data/docs/TlsSubscriptionResponseAttributes.md +1 -0
  59. data/docs/TlsSubscriptionResponseAttributesAllOf.md +1 -0
  60. data/docs/TokensApi.md +1 -1
  61. data/docs/TypeTlsCsr.md +9 -0
  62. data/docs/VclApi.md +1 -1
  63. data/docs/WafActiveRulesApi.md +1 -1
  64. data/lib/fastly/api/automation_tokens_api.rb +3 -3
  65. data/lib/fastly/api/backend_api.rb +28 -4
  66. data/lib/fastly/api/billing_invoices_api.rb +151 -0
  67. data/lib/fastly/api/director_api.rb +2 -2
  68. data/lib/fastly/api/domain_inspector_historical_api.rb +4 -4
  69. data/lib/fastly/api/kv_store_api.rb +2 -2
  70. data/lib/fastly/api/logging_scalyr_api.rb +4 -4
  71. data/lib/fastly/api/origin_inspector_historical_api.rb +4 -4
  72. data/lib/fastly/api/pool_api.rb +4 -4
  73. data/lib/fastly/api/publish_api.rb +2 -2
  74. data/lib/fastly/api/secret_store_api.rb +5 -2
  75. data/lib/fastly/api/secret_store_item_api.rb +2 -2
  76. data/lib/fastly/api/tls_csrs_api.rb +83 -0
  77. data/lib/fastly/api/tokens_api.rb +2 -2
  78. data/lib/fastly/api/vcl_api.rb +2 -2
  79. data/lib/fastly/api/waf_active_rules_api.rb +2 -2
  80. data/lib/fastly/configuration.rb +18 -0
  81. data/lib/fastly/models/{error_response.rb → automation_token_error_response.rb} +3 -3
  82. data/lib/fastly/models/backend.rb +45 -2
  83. data/lib/fastly/models/backend_response.rb +45 -2
  84. data/lib/fastly/models/director.rb +1 -1
  85. data/lib/fastly/models/director_response.rb +1 -1
  86. data/lib/fastly/models/domain_inspector_realtime_entry.rb +1 -1
  87. data/lib/fastly/models/error.rb +243 -0
  88. data/lib/fastly/models/error_response_data.rb +225 -0
  89. data/lib/fastly/models/event_attributes.rb +2 -2
  90. data/lib/fastly/models/invoice.rb +298 -0
  91. data/lib/fastly/models/invoice_response.rb +305 -0
  92. data/lib/fastly/models/invoicelineitems.rb +297 -0
  93. data/lib/fastly/models/list_invoices_response.rb +234 -0
  94. data/lib/fastly/models/listinvoices.rb +227 -0
  95. data/lib/fastly/models/logging_scalyr_additional.rb +1 -1
  96. data/lib/fastly/models/logging_scalyr_response.rb +1 -1
  97. data/lib/fastly/models/metadata.rb +250 -0
  98. data/lib/fastly/models/origin_inspector_realtime_entry.rb +1 -1
  99. data/lib/fastly/models/pool_additional.rb +1 -1
  100. data/lib/fastly/models/pool_response.rb +1 -1
  101. data/lib/fastly/models/pool_response_post.rb +1 -1
  102. data/lib/fastly/models/pop.rb +2 -2
  103. data/lib/fastly/models/realtime_entry.rb +1 -1
  104. data/lib/fastly/models/realtime_entry_aggregated.rb +215 -5
  105. data/lib/fastly/models/realtime_measurements.rb +215 -5
  106. data/lib/fastly/models/relationship_customer_customer.rb +2 -4
  107. data/lib/fastly/models/relationship_tls_certificate.rb +1 -1
  108. data/lib/fastly/models/relationship_tls_configuration.rb +1 -1
  109. data/lib/fastly/models/request_settings_additional.rb +1 -0
  110. data/lib/fastly/models/request_settings_response.rb +6 -0
  111. data/lib/fastly/models/request_settings_response_all_of.rb +5 -0
  112. data/lib/fastly/models/results.rb +231 -1
  113. data/lib/fastly/models/service_detail.rb +1 -1
  114. data/lib/fastly/models/service_list_response.rb +2 -2
  115. data/lib/fastly/models/service_list_response_all_of.rb +2 -2
  116. data/lib/fastly/models/service_response.rb +1 -1
  117. data/lib/fastly/models/service_response_all_of.rb +1 -1
  118. data/lib/fastly/models/tls_configuration_response_attributes.rb +1 -1
  119. data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +1 -1
  120. data/lib/fastly/models/tls_csr.rb +216 -0
  121. data/lib/fastly/models/tls_csr_data.rb +236 -0
  122. data/lib/fastly/models/tls_csr_data_attributes.rb +358 -0
  123. data/lib/fastly/models/tls_csr_error_response.rb +218 -0
  124. data/lib/fastly/models/tls_csr_response.rb +216 -0
  125. data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
  126. data/lib/fastly/models/tls_csr_response_data.rb +245 -0
  127. data/lib/fastly/models/tls_subscription_data_attributes.rb +2 -2
  128. data/lib/fastly/models/tls_subscription_response_attributes.rb +14 -4
  129. data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +14 -4
  130. data/lib/fastly/models/type_tls_csr.rb +34 -0
  131. data/lib/fastly/version.rb +1 -1
  132. data/lib/fastly.rb +19 -1
  133. data/sig.json +1 -1
  134. metadata +41 -5
@@ -0,0 +1,245 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'date'
12
+ require 'time'
13
+
14
+ module Fastly
15
+ class TlsCsrResponseData
16
+ attr_accessor :id
17
+
18
+ attr_accessor :type
19
+
20
+ attr_accessor :attributes
21
+
22
+ attr_accessor :relationships
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'id' => :'id',
28
+ :'type' => :'type',
29
+ :'attributes' => :'attributes',
30
+ :'relationships' => :'relationships'
31
+ }
32
+ end
33
+
34
+ # Returns all the JSON keys this model knows about
35
+ def self.acceptable_attributes
36
+ attribute_map.values
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.fastly_types
41
+ {
42
+ :'id' => :'String',
43
+ :'type' => :'TypeTlsCsr',
44
+ :'attributes' => :'TlsCsrResponseAttributes',
45
+ :'relationships' => :'RelationshipTlsPrivateKey'
46
+ }
47
+ end
48
+
49
+ # List of attributes with nullable: true
50
+ def self.fastly_nullable
51
+ Set.new([
52
+ ])
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ if (!attributes.is_a?(Hash))
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::TlsCsrResponseData` initialize method"
60
+ end
61
+
62
+ # check to see if the attribute exists and convert string to symbol for hash key
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!self.class.attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::TlsCsrResponseData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'id')
71
+ self.id = attributes[:'id']
72
+ end
73
+
74
+ if attributes.key?(:'type')
75
+ self.type = attributes[:'type']
76
+ else
77
+ self.type = 'csr'
78
+ end
79
+
80
+ if attributes.key?(:'attributes')
81
+ self.attributes = attributes[:'attributes']
82
+ end
83
+
84
+ if attributes.key?(:'relationships')
85
+ self.relationships = attributes[:'relationships']
86
+ end
87
+ end
88
+
89
+ # Show invalid properties with the reasons. Usually used together with valid?
90
+ # @return Array for valid properties with the reasons
91
+ def list_invalid_properties
92
+ invalid_properties = Array.new
93
+ invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ true
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ id == o.id &&
108
+ type == o.type &&
109
+ attributes == o.attributes &&
110
+ relationships == o.relationships
111
+ end
112
+
113
+ # @see the `==` method
114
+ # @param [Object] Object to be compared
115
+ def eql?(o)
116
+ self == o
117
+ end
118
+
119
+ # Calculates hash code according to all attributes.
120
+ # @return [Integer] Hash code
121
+ def hash
122
+ [id, type, attributes, relationships].hash
123
+ end
124
+
125
+ # Builds the object from hash
126
+ # @param [Hash] attributes Model attributes in the form of hash
127
+ # @return [Object] Returns the model itself
128
+ def self.build_from_hash(attributes)
129
+ new.build_from_hash(attributes)
130
+ end
131
+
132
+ # Builds the object from hash
133
+ # @param [Hash] attributes Model attributes in the form of hash
134
+ # @return [Object] Returns the model itself
135
+ def build_from_hash(attributes)
136
+ return nil unless attributes.is_a?(Hash)
137
+ self.class.fastly_types.each_pair do |key, type|
138
+ if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key)
139
+ self.send("#{key}=", nil)
140
+ elsif type =~ /\AArray<(.*)>/i
141
+ # check to ensure the input is an array given that the attribute
142
+ # is documented as an array but the input is not
143
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
144
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
145
+ end
146
+ elsif !attributes[self.class.attribute_map[key]].nil?
147
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
148
+ end
149
+ end
150
+
151
+ self
152
+ end
153
+
154
+ # Deserializes the data based on type
155
+ # @param string type Data type
156
+ # @param string value Value to be deserialized
157
+ # @return [Object] Deserialized data
158
+ def _deserialize(type, value)
159
+ case type.to_sym
160
+ when :Time
161
+ Time.parse(value)
162
+ when :Date
163
+ Date.parse(value)
164
+ when :String
165
+ value.to_s
166
+ when :Integer
167
+ value.to_i
168
+ when :Float
169
+ value.to_f
170
+ when :Boolean
171
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
172
+ true
173
+ else
174
+ false
175
+ end
176
+ when :Object
177
+ # generic object (usually a Hash), return directly
178
+ value
179
+ when /\AArray<(?<inner_type>.+)>\z/
180
+ inner_type = Regexp.last_match[:inner_type]
181
+ value.map { |v| _deserialize(inner_type, v) }
182
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
183
+ k_type = Regexp.last_match[:k_type]
184
+ v_type = Regexp.last_match[:v_type]
185
+ {}.tap do |hash|
186
+ value.each do |k, v|
187
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
188
+ end
189
+ end
190
+ else # model
191
+ # models (e.g. Pet) or oneOf
192
+ klass = Fastly.const_get(type)
193
+ klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value)
194
+ end
195
+ end
196
+
197
+ # Returns the string representation of the object
198
+ # @return [String] String presentation of the object
199
+ def to_s
200
+ to_hash.to_s
201
+ end
202
+
203
+ # to_body is an alias to to_hash (backward compatibility)
204
+ # @return [Hash] Returns the object in the form of hash
205
+ def to_body
206
+ to_hash
207
+ end
208
+
209
+ # Returns the object in the form of hash
210
+ # @return [Hash] Returns the object in the form of hash
211
+ def to_hash
212
+ hash = {}
213
+ self.class.attribute_map.each_pair do |attr, param|
214
+ value = self.send(attr)
215
+ if value.nil?
216
+ is_nullable = self.class.fastly_nullable.include?(attr)
217
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
218
+ end
219
+
220
+ hash[param] = _to_hash(value)
221
+ end
222
+ hash
223
+ end
224
+
225
+ # Outputs non-array value in the form of hash
226
+ # For object, use to_hash. Otherwise, just return the value
227
+ # @param [Object] value Any valid value
228
+ # @return [Hash] Returns the value in the form of hash
229
+ def _to_hash(value)
230
+ if value.is_a?(Array)
231
+ value.compact.map { |v| _to_hash(v) }
232
+ elsif value.is_a?(Hash)
233
+ {}.tap do |hash|
234
+ value.each { |k, v| hash[k] = _to_hash(v) }
235
+ end
236
+ elsif value.respond_to? :to_hash
237
+ value.to_hash
238
+ else
239
+ value
240
+ end
241
+ end
242
+
243
+ end
244
+
245
+ end
@@ -93,7 +93,7 @@ module Fastly
93
93
  # Check to see if the all the properties in the model are valid
94
94
  # @return true if the model is valid
95
95
  def valid?
96
- certificate_authority_validator = EnumAttributeValidator.new('String', ["lets-encrypt", "globalsign"])
96
+ certificate_authority_validator = EnumAttributeValidator.new('String', ["certainly", "lets-encrypt", "globalsign"])
97
97
  return false unless certificate_authority_validator.valid?(@certificate_authority)
98
98
  true
99
99
  end
@@ -101,7 +101,7 @@ module Fastly
101
101
  # Custom attribute writer method checking allowed values (enum).
102
102
  # @param [Object] certificate_authority Object to be assigned
103
103
  def certificate_authority=(certificate_authority)
104
- validator = EnumAttributeValidator.new('String', ["lets-encrypt", "globalsign"])
104
+ validator = EnumAttributeValidator.new('String', ["certainly", "lets-encrypt", "globalsign"])
105
105
  unless validator.valid?(certificate_authority)
106
106
  fail ArgumentError, "invalid value for \"certificate_authority\", must be one of #{validator.allowable_values}."
107
107
  end
@@ -25,6 +25,9 @@ module Fastly
25
25
  # The current state of your subscription.
26
26
  attr_accessor :state
27
27
 
28
+ # Subscription has an active order
29
+ attr_accessor :has_active_order
30
+
28
31
  class EnumAttributeValidator
29
32
  attr_reader :datatype
30
33
  attr_reader :allowable_values
@@ -53,7 +56,8 @@ module Fastly
53
56
  :'created_at' => :'created_at',
54
57
  :'deleted_at' => :'deleted_at',
55
58
  :'updated_at' => :'updated_at',
56
- :'state' => :'state'
59
+ :'state' => :'state',
60
+ :'has_active_order' => :'has_active_order'
57
61
  }
58
62
  end
59
63
 
@@ -68,7 +72,8 @@ module Fastly
68
72
  :'created_at' => :'Time',
69
73
  :'deleted_at' => :'Time',
70
74
  :'updated_at' => :'Time',
71
- :'state' => :'String'
75
+ :'state' => :'String',
76
+ :'has_active_order' => :'Boolean'
72
77
  }
73
78
  end
74
79
 
@@ -119,6 +124,10 @@ module Fastly
119
124
  if attributes.key?(:'state')
120
125
  self.state = attributes[:'state']
121
126
  end
127
+
128
+ if attributes.key?(:'has_active_order')
129
+ self.has_active_order = attributes[:'has_active_order']
130
+ end
122
131
  end
123
132
 
124
133
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -154,7 +163,8 @@ module Fastly
154
163
  created_at == o.created_at &&
155
164
  deleted_at == o.deleted_at &&
156
165
  updated_at == o.updated_at &&
157
- state == o.state
166
+ state == o.state &&
167
+ has_active_order == o.has_active_order
158
168
  end
159
169
 
160
170
  # @see the `==` method
@@ -166,7 +176,7 @@ module Fastly
166
176
  # Calculates hash code according to all attributes.
167
177
  # @return [Integer] Hash code
168
178
  def hash
169
- [created_at, deleted_at, updated_at, state].hash
179
+ [created_at, deleted_at, updated_at, state, has_active_order].hash
170
180
  end
171
181
 
172
182
  # Builds the object from hash
@@ -16,6 +16,9 @@ module Fastly
16
16
  # The current state of your subscription.
17
17
  attr_accessor :state
18
18
 
19
+ # Subscription has an active order
20
+ attr_accessor :has_active_order
21
+
19
22
  class EnumAttributeValidator
20
23
  attr_reader :datatype
21
24
  attr_reader :allowable_values
@@ -41,7 +44,8 @@ module Fastly
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
44
- :'state' => :'state'
47
+ :'state' => :'state',
48
+ :'has_active_order' => :'has_active_order'
45
49
  }
46
50
  end
47
51
 
@@ -53,7 +57,8 @@ module Fastly
53
57
  # Attribute type mapping.
54
58
  def self.fastly_types
55
59
  {
56
- :'state' => :'String'
60
+ :'state' => :'String',
61
+ :'has_active_order' => :'Boolean'
57
62
  }
58
63
  end
59
64
 
@@ -81,6 +86,10 @@ module Fastly
81
86
  if attributes.key?(:'state')
82
87
  self.state = attributes[:'state']
83
88
  end
89
+
90
+ if attributes.key?(:'has_active_order')
91
+ self.has_active_order = attributes[:'has_active_order']
92
+ end
84
93
  end
85
94
 
86
95
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -113,7 +122,8 @@ module Fastly
113
122
  def ==(o)
114
123
  return true if self.equal?(o)
115
124
  self.class == o.class &&
116
- state == o.state
125
+ state == o.state &&
126
+ has_active_order == o.has_active_order
117
127
  end
118
128
 
119
129
  # @see the `==` method
@@ -125,7 +135,7 @@ module Fastly
125
135
  # Calculates hash code according to all attributes.
126
136
  # @return [Integer] Hash code
127
137
  def hash
128
- [state].hash
138
+ [state, has_active_order].hash
129
139
  end
130
140
 
131
141
  # Builds the object from hash
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://developer.fastly.com/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'date'
12
+ require 'time'
13
+
14
+ module Fastly
15
+ class TypeTlsCsr
16
+ CSR = "csr".freeze
17
+
18
+ # Builds the enum from string
19
+ # @param [String] The enum value in the form of the string
20
+ # @return [String] The enum value
21
+ def self.build_from_hash(value)
22
+ new.build_from_hash(value)
23
+ end
24
+
25
+ # Builds the enum from string
26
+ # @param [String] The enum value in the form of the string
27
+ # @return [String] The enum value
28
+ def build_from_hash(value)
29
+ constantValues = TypeTlsCsr.constants.select { |c| TypeTlsCsr::const_get(c) == value }
30
+ raise "Invalid ENUM value #{value} for class #TypeTlsCsr" if constantValues.empty?
31
+ value
32
+ end
33
+ end
34
+ end
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '8.0.1'
12
+ VERSION = '8.2.0'
13
13
  end
data/lib/fastly.rb CHANGED
@@ -28,6 +28,7 @@ require 'fastly/models/automation_token_create_request'
28
28
  require 'fastly/models/automation_token_create_request_attributes'
29
29
  require 'fastly/models/automation_token_create_response'
30
30
  require 'fastly/models/automation_token_create_response_all_of'
31
+ require 'fastly/models/automation_token_error_response'
31
32
  require 'fastly/models/automation_token_response'
32
33
  require 'fastly/models/automation_token_response_all_of'
33
34
  require 'fastly/models/aws_region'
@@ -105,7 +106,8 @@ require 'fastly/models/enabled_product_response'
105
106
  require 'fastly/models/enabled_product_response_links'
106
107
  require 'fastly/models/enabled_product_response_product'
107
108
  require 'fastly/models/enabled_product_response_service'
108
- require 'fastly/models/error_response'
109
+ require 'fastly/models/error'
110
+ require 'fastly/models/error_response_data'
109
111
  require 'fastly/models/event'
110
112
  require 'fastly/models/event_attributes'
111
113
  require 'fastly/models/event_data'
@@ -183,6 +185,9 @@ require 'fastly/models/invitation_response_data'
183
185
  require 'fastly/models/invitation_response_data_all_of'
184
186
  require 'fastly/models/invitations_response'
185
187
  require 'fastly/models/invitations_response_all_of'
188
+ require 'fastly/models/invoice'
189
+ require 'fastly/models/invoice_response'
190
+ require 'fastly/models/invoicelineitems'
186
191
  require 'fastly/models/legacy_waf_configuration_set'
187
192
  require 'fastly/models/legacy_waf_firewall'
188
193
  require 'fastly/models/legacy_waf_owasp'
@@ -193,6 +198,8 @@ require 'fastly/models/legacy_waf_tag'
193
198
  require 'fastly/models/legacy_waf_update_status'
194
199
  require 'fastly/models/line_item_data'
195
200
  require 'fastly/models/line_item_data_read_only_invoice_id'
201
+ require 'fastly/models/list_invoices_response'
202
+ require 'fastly/models/listinvoices'
196
203
  require 'fastly/models/logging_address_and_port'
197
204
  require 'fastly/models/logging_azureblob_additional'
198
205
  require 'fastly/models/logging_azureblob_response'
@@ -266,6 +273,7 @@ require 'fastly/models/logging_syslog_additional'
266
273
  require 'fastly/models/logging_syslog_response'
267
274
  require 'fastly/models/logging_tls_common'
268
275
  require 'fastly/models/logging_use_tls'
276
+ require 'fastly/models/metadata'
269
277
  require 'fastly/models/mutual_authentication'
270
278
  require 'fastly/models/mutual_authentication_data'
271
279
  require 'fastly/models/mutual_authentication_data_attributes'
@@ -543,6 +551,13 @@ require 'fastly/models/tls_configuration_response_data'
543
551
  require 'fastly/models/tls_configuration_response_data_all_of'
544
552
  require 'fastly/models/tls_configurations_response'
545
553
  require 'fastly/models/tls_configurations_response_all_of'
554
+ require 'fastly/models/tls_csr'
555
+ require 'fastly/models/tls_csr_data'
556
+ require 'fastly/models/tls_csr_data_attributes'
557
+ require 'fastly/models/tls_csr_error_response'
558
+ require 'fastly/models/tls_csr_response'
559
+ require 'fastly/models/tls_csr_response_attributes'
560
+ require 'fastly/models/tls_csr_response_data'
546
561
  require 'fastly/models/tls_dns_record'
547
562
  require 'fastly/models/tls_domain_data'
548
563
  require 'fastly/models/tls_domains_response'
@@ -586,6 +601,7 @@ require 'fastly/models/type_tls_activation'
586
601
  require 'fastly/models/type_tls_bulk_certificate'
587
602
  require 'fastly/models/type_tls_certificate'
588
603
  require 'fastly/models/type_tls_configuration'
604
+ require 'fastly/models/type_tls_csr'
589
605
  require 'fastly/models/type_tls_dns_record'
590
606
  require 'fastly/models/type_tls_domain'
591
607
  require 'fastly/models/type_tls_private_key'
@@ -692,6 +708,7 @@ require 'fastly/api/automation_tokens_api'
692
708
  require 'fastly/api/backend_api'
693
709
  require 'fastly/api/billing_api'
694
710
  require 'fastly/api/billing_address_api'
711
+ require 'fastly/api/billing_invoices_api'
695
712
  require 'fastly/api/cache_settings_api'
696
713
  require 'fastly/api/condition_api'
697
714
  require 'fastly/api/config_store_api'
@@ -786,6 +803,7 @@ require 'fastly/api/tls_activations_api'
786
803
  require 'fastly/api/tls_bulk_certificates_api'
787
804
  require 'fastly/api/tls_certificates_api'
788
805
  require 'fastly/api/tls_configurations_api'
806
+ require 'fastly/api/tls_csrs_api'
789
807
  require 'fastly/api/tls_domains_api'
790
808
  require 'fastly/api/tls_private_keys_api'
791
809
  require 'fastly/api/tls_subscriptions_api'
data/sig.json CHANGED
@@ -1 +1 @@
1
- {"G": "40613202", "D": "01d08f3f"}
1
+ {"G": "78194d35", "D": "aed6fda1"}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.1
4
+ version: 8.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-19 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -68,6 +68,7 @@ files:
68
68
  - docs/AutomationTokenCreateRequestAttributes.md
69
69
  - docs/AutomationTokenCreateResponse.md
70
70
  - docs/AutomationTokenCreateResponseAllOf.md
71
+ - docs/AutomationTokenErrorResponse.md
71
72
  - docs/AutomationTokenResponse.md
72
73
  - docs/AutomationTokenResponseAllOf.md
73
74
  - docs/AutomationTokensApi.md
@@ -91,6 +92,7 @@ files:
91
92
  - docs/BillingEstimateLines.md
92
93
  - docs/BillingEstimateLinesLineItems.md
93
94
  - docs/BillingEstimateResponse.md
95
+ - docs/BillingInvoicesApi.md
94
96
  - docs/BillingResponse.md
95
97
  - docs/BillingResponseItemItemsData.md
96
98
  - docs/BillingResponseLineItem.md
@@ -167,7 +169,8 @@ files:
167
169
  - docs/EnabledProductResponseProduct.md
168
170
  - docs/EnabledProductResponseService.md
169
171
  - docs/EnabledProductsApi.md
170
- - docs/ErrorResponse.md
172
+ - docs/Error.md
173
+ - docs/ErrorResponseData.md
171
174
  - docs/Event.md
172
175
  - docs/EventAttributes.md
173
176
  - docs/EventData.md
@@ -256,6 +259,9 @@ files:
256
259
  - docs/InvitationsApi.md
257
260
  - docs/InvitationsResponse.md
258
261
  - docs/InvitationsResponseAllOf.md
262
+ - docs/Invoice.md
263
+ - docs/InvoiceResponse.md
264
+ - docs/Invoicelineitems.md
259
265
  - docs/KvStoreApi.md
260
266
  - docs/KvStoreItemApi.md
261
267
  - docs/LegacyWafConfigurationSet.md
@@ -276,6 +282,8 @@ files:
276
282
  - docs/LegacyWafUpdateStatusApi.md
277
283
  - docs/LineItemData.md
278
284
  - docs/LineItemDataReadOnlyInvoiceId.md
285
+ - docs/ListInvoicesResponse.md
286
+ - docs/Listinvoices.md
279
287
  - docs/LoggingAddressAndPort.md
280
288
  - docs/LoggingAzureblobAdditional.md
281
289
  - docs/LoggingAzureblobApi.md
@@ -376,6 +384,7 @@ files:
376
384
  - docs/LoggingSyslogResponse.md
377
385
  - docs/LoggingTlsCommon.md
378
386
  - docs/LoggingUseTls.md
387
+ - docs/Metadata.md
379
388
  - docs/MutualAuthentication.md
380
389
  - docs/MutualAuthenticationApi.md
381
390
  - docs/MutualAuthenticationData.md
@@ -681,6 +690,14 @@ files:
681
690
  - docs/TlsConfigurationsApi.md
682
691
  - docs/TlsConfigurationsResponse.md
683
692
  - docs/TlsConfigurationsResponseAllOf.md
693
+ - docs/TlsCsr.md
694
+ - docs/TlsCsrData.md
695
+ - docs/TlsCsrDataAttributes.md
696
+ - docs/TlsCsrErrorResponse.md
697
+ - docs/TlsCsrResponse.md
698
+ - docs/TlsCsrResponseAttributes.md
699
+ - docs/TlsCsrResponseData.md
700
+ - docs/TlsCsrsApi.md
684
701
  - docs/TlsDnsRecord.md
685
702
  - docs/TlsDomainData.md
686
703
  - docs/TlsDomainsApi.md
@@ -728,6 +745,7 @@ files:
728
745
  - docs/TypeTlsBulkCertificate.md
729
746
  - docs/TypeTlsCertificate.md
730
747
  - docs/TypeTlsConfiguration.md
748
+ - docs/TypeTlsCsr.md
731
749
  - docs/TypeTlsDnsRecord.md
732
750
  - docs/TypeTlsDomain.md
733
751
  - docs/TypeTlsPrivateKey.md
@@ -846,6 +864,7 @@ files:
846
864
  - lib/fastly/api/backend_api.rb
847
865
  - lib/fastly/api/billing_address_api.rb
848
866
  - lib/fastly/api/billing_api.rb
867
+ - lib/fastly/api/billing_invoices_api.rb
849
868
  - lib/fastly/api/cache_settings_api.rb
850
869
  - lib/fastly/api/condition_api.rb
851
870
  - lib/fastly/api/config_store_api.rb
@@ -940,6 +959,7 @@ files:
940
959
  - lib/fastly/api/tls_bulk_certificates_api.rb
941
960
  - lib/fastly/api/tls_certificates_api.rb
942
961
  - lib/fastly/api/tls_configurations_api.rb
962
+ - lib/fastly/api/tls_csrs_api.rb
943
963
  - lib/fastly/api/tls_domains_api.rb
944
964
  - lib/fastly/api/tls_private_keys_api.rb
945
965
  - lib/fastly/api/tls_subscriptions_api.rb
@@ -972,6 +992,7 @@ files:
972
992
  - lib/fastly/models/automation_token_create_request_attributes.rb
973
993
  - lib/fastly/models/automation_token_create_response.rb
974
994
  - lib/fastly/models/automation_token_create_response_all_of.rb
995
+ - lib/fastly/models/automation_token_error_response.rb
975
996
  - lib/fastly/models/automation_token_response.rb
976
997
  - lib/fastly/models/automation_token_response_all_of.rb
977
998
  - lib/fastly/models/aws_region.rb
@@ -1049,7 +1070,8 @@ files:
1049
1070
  - lib/fastly/models/enabled_product_response_links.rb
1050
1071
  - lib/fastly/models/enabled_product_response_product.rb
1051
1072
  - lib/fastly/models/enabled_product_response_service.rb
1052
- - lib/fastly/models/error_response.rb
1073
+ - lib/fastly/models/error.rb
1074
+ - lib/fastly/models/error_response_data.rb
1053
1075
  - lib/fastly/models/event.rb
1054
1076
  - lib/fastly/models/event_attributes.rb
1055
1077
  - lib/fastly/models/event_data.rb
@@ -1127,6 +1149,9 @@ files:
1127
1149
  - lib/fastly/models/invitation_response_data_all_of.rb
1128
1150
  - lib/fastly/models/invitations_response.rb
1129
1151
  - lib/fastly/models/invitations_response_all_of.rb
1152
+ - lib/fastly/models/invoice.rb
1153
+ - lib/fastly/models/invoice_response.rb
1154
+ - lib/fastly/models/invoicelineitems.rb
1130
1155
  - lib/fastly/models/legacy_waf_configuration_set.rb
1131
1156
  - lib/fastly/models/legacy_waf_firewall.rb
1132
1157
  - lib/fastly/models/legacy_waf_owasp.rb
@@ -1137,6 +1162,8 @@ files:
1137
1162
  - lib/fastly/models/legacy_waf_update_status.rb
1138
1163
  - lib/fastly/models/line_item_data.rb
1139
1164
  - lib/fastly/models/line_item_data_read_only_invoice_id.rb
1165
+ - lib/fastly/models/list_invoices_response.rb
1166
+ - lib/fastly/models/listinvoices.rb
1140
1167
  - lib/fastly/models/logging_address_and_port.rb
1141
1168
  - lib/fastly/models/logging_azureblob_additional.rb
1142
1169
  - lib/fastly/models/logging_azureblob_response.rb
@@ -1210,6 +1237,7 @@ files:
1210
1237
  - lib/fastly/models/logging_syslog_response.rb
1211
1238
  - lib/fastly/models/logging_tls_common.rb
1212
1239
  - lib/fastly/models/logging_use_tls.rb
1240
+ - lib/fastly/models/metadata.rb
1213
1241
  - lib/fastly/models/mutual_authentication.rb
1214
1242
  - lib/fastly/models/mutual_authentication_data.rb
1215
1243
  - lib/fastly/models/mutual_authentication_data_attributes.rb
@@ -1487,6 +1515,13 @@ files:
1487
1515
  - lib/fastly/models/tls_configuration_response_data_all_of.rb
1488
1516
  - lib/fastly/models/tls_configurations_response.rb
1489
1517
  - lib/fastly/models/tls_configurations_response_all_of.rb
1518
+ - lib/fastly/models/tls_csr.rb
1519
+ - lib/fastly/models/tls_csr_data.rb
1520
+ - lib/fastly/models/tls_csr_data_attributes.rb
1521
+ - lib/fastly/models/tls_csr_error_response.rb
1522
+ - lib/fastly/models/tls_csr_response.rb
1523
+ - lib/fastly/models/tls_csr_response_attributes.rb
1524
+ - lib/fastly/models/tls_csr_response_data.rb
1490
1525
  - lib/fastly/models/tls_dns_record.rb
1491
1526
  - lib/fastly/models/tls_domain_data.rb
1492
1527
  - lib/fastly/models/tls_domains_response.rb
@@ -1530,6 +1565,7 @@ files:
1530
1565
  - lib/fastly/models/type_tls_bulk_certificate.rb
1531
1566
  - lib/fastly/models/type_tls_certificate.rb
1532
1567
  - lib/fastly/models/type_tls_configuration.rb
1568
+ - lib/fastly/models/type_tls_csr.rb
1533
1569
  - lib/fastly/models/type_tls_dns_record.rb
1534
1570
  - lib/fastly/models/type_tls_domain.rb
1535
1571
  - lib/fastly/models/type_tls_private_key.rb
@@ -1648,7 +1684,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1648
1684
  - !ruby/object:Gem::Version
1649
1685
  version: '0'
1650
1686
  requirements: []
1651
- rubygems_version: 3.3.26
1687
+ rubygems_version: 3.3.27
1652
1688
  signing_key:
1653
1689
  specification_version: 4
1654
1690
  summary: Fastly API Ruby Gem