aws-sdk-taxsettings 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,369 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::TaxSettings
9
+ module Types
10
+
11
+ class AccountDetails
12
+ attr_accessor account_id: ::String
13
+ attr_accessor account_meta_data: Types::AccountMetaData
14
+ attr_accessor tax_inheritance_details: Types::TaxInheritanceDetails
15
+ attr_accessor tax_registration: Types::TaxRegistrationWithJurisdiction
16
+ SENSITIVE: [:account_meta_data, :tax_registration]
17
+ end
18
+
19
+ class AccountMetaData
20
+ attr_accessor account_name: ::String
21
+ attr_accessor address: Types::Address
22
+ attr_accessor address_role_map: ::Hash[("TaxAddress" | "BillingAddress" | "ContactAddress"), Types::Jurisdiction]
23
+ attr_accessor address_type: ("TaxAddress" | "BillingAddress" | "ContactAddress")
24
+ attr_accessor seller: ::String
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class AdditionalInfoRequest
29
+ attr_accessor canada_additional_info: Types::CanadaAdditionalInfo
30
+ attr_accessor estonia_additional_info: Types::EstoniaAdditionalInfo
31
+ attr_accessor georgia_additional_info: Types::GeorgiaAdditionalInfo
32
+ attr_accessor israel_additional_info: Types::IsraelAdditionalInfo
33
+ attr_accessor italy_additional_info: Types::ItalyAdditionalInfo
34
+ attr_accessor kenya_additional_info: Types::KenyaAdditionalInfo
35
+ attr_accessor malaysia_additional_info: Types::MalaysiaAdditionalInfo
36
+ attr_accessor poland_additional_info: Types::PolandAdditionalInfo
37
+ attr_accessor romania_additional_info: Types::RomaniaAdditionalInfo
38
+ attr_accessor saudi_arabia_additional_info: Types::SaudiArabiaAdditionalInfo
39
+ attr_accessor south_korea_additional_info: Types::SouthKoreaAdditionalInfo
40
+ attr_accessor spain_additional_info: Types::SpainAdditionalInfo
41
+ attr_accessor turkey_additional_info: Types::TurkeyAdditionalInfo
42
+ attr_accessor ukraine_additional_info: Types::UkraineAdditionalInfo
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class AdditionalInfoResponse
47
+ attr_accessor brazil_additional_info: Types::BrazilAdditionalInfo
48
+ attr_accessor canada_additional_info: Types::CanadaAdditionalInfo
49
+ attr_accessor estonia_additional_info: Types::EstoniaAdditionalInfo
50
+ attr_accessor georgia_additional_info: Types::GeorgiaAdditionalInfo
51
+ attr_accessor india_additional_info: Types::IndiaAdditionalInfo
52
+ attr_accessor israel_additional_info: Types::IsraelAdditionalInfo
53
+ attr_accessor italy_additional_info: Types::ItalyAdditionalInfo
54
+ attr_accessor kenya_additional_info: Types::KenyaAdditionalInfo
55
+ attr_accessor malaysia_additional_info: Types::MalaysiaAdditionalInfo
56
+ attr_accessor poland_additional_info: Types::PolandAdditionalInfo
57
+ attr_accessor romania_additional_info: Types::RomaniaAdditionalInfo
58
+ attr_accessor saudi_arabia_additional_info: Types::SaudiArabiaAdditionalInfo
59
+ attr_accessor south_korea_additional_info: Types::SouthKoreaAdditionalInfo
60
+ attr_accessor spain_additional_info: Types::SpainAdditionalInfo
61
+ attr_accessor turkey_additional_info: Types::TurkeyAdditionalInfo
62
+ attr_accessor ukraine_additional_info: Types::UkraineAdditionalInfo
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class Address
67
+ attr_accessor address_line_1: ::String
68
+ attr_accessor address_line_2: ::String
69
+ attr_accessor address_line_3: ::String
70
+ attr_accessor city: ::String
71
+ attr_accessor country_code: ::String
72
+ attr_accessor district_or_county: ::String
73
+ attr_accessor postal_code: ::String
74
+ attr_accessor state_or_region: ::String
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class BatchDeleteTaxRegistrationError
79
+ attr_accessor account_id: ::String
80
+ attr_accessor code: ::String
81
+ attr_accessor message: ::String
82
+ SENSITIVE: [:message]
83
+ end
84
+
85
+ class BatchDeleteTaxRegistrationRequest
86
+ attr_accessor account_ids: ::Array[::String]
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class BatchDeleteTaxRegistrationResponse
91
+ attr_accessor errors: ::Array[Types::BatchDeleteTaxRegistrationError]
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class BatchPutTaxRegistrationError
96
+ attr_accessor account_id: ::String
97
+ attr_accessor code: ::String
98
+ attr_accessor message: ::String
99
+ SENSITIVE: [:message]
100
+ end
101
+
102
+ class BatchPutTaxRegistrationRequest
103
+ attr_accessor account_ids: ::Array[::String]
104
+ attr_accessor tax_registration_entry: Types::TaxRegistrationEntry
105
+ SENSITIVE: [:tax_registration_entry]
106
+ end
107
+
108
+ class BatchPutTaxRegistrationResponse
109
+ attr_accessor errors: ::Array[Types::BatchPutTaxRegistrationError]
110
+ attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class BrazilAdditionalInfo
115
+ attr_accessor ccm_code: ::String
116
+ attr_accessor legal_nature_code: ::String
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class CanadaAdditionalInfo
121
+ attr_accessor canada_quebec_sales_tax_number: ::String
122
+ attr_accessor canada_retail_sales_tax_number: ::String
123
+ attr_accessor is_reseller_account: bool
124
+ attr_accessor provincial_sales_tax_id: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class ConflictException
129
+ attr_accessor error_code: ::String
130
+ attr_accessor message: ::String
131
+ SENSITIVE: [:message]
132
+ end
133
+
134
+ class DeleteTaxRegistrationRequest
135
+ attr_accessor account_id: ::String
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class DeleteTaxRegistrationResponse < Aws::EmptyStructure
140
+ end
141
+
142
+ class DestinationS3Location
143
+ attr_accessor bucket: ::String
144
+ attr_accessor prefix: ::String
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class EstoniaAdditionalInfo
149
+ attr_accessor registry_commercial_code: ::String
150
+ SENSITIVE: []
151
+ end
152
+
153
+ class GeorgiaAdditionalInfo
154
+ attr_accessor person_type: ("Legal Person" | "Physical Person" | "Business")
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class GetTaxRegistrationDocumentRequest
159
+ attr_accessor destination_s3_location: Types::DestinationS3Location
160
+ attr_accessor tax_document_metadata: Types::TaxDocumentMetadata
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class GetTaxRegistrationDocumentResponse
165
+ attr_accessor destination_file_path: ::String
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class GetTaxRegistrationRequest
170
+ attr_accessor account_id: ::String
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class GetTaxRegistrationResponse
175
+ attr_accessor tax_registration: Types::TaxRegistration
176
+ SENSITIVE: [:tax_registration]
177
+ end
178
+
179
+ class IndiaAdditionalInfo
180
+ attr_accessor pan: ::String
181
+ SENSITIVE: []
182
+ end
183
+
184
+ class InternalServerException
185
+ attr_accessor error_code: ::String
186
+ attr_accessor message: ::String
187
+ SENSITIVE: [:message]
188
+ end
189
+
190
+ class IsraelAdditionalInfo
191
+ attr_accessor customer_type: ("Business" | "Individual")
192
+ attr_accessor dealer_type: ("Authorized" | "Non-authorized")
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class ItalyAdditionalInfo
197
+ attr_accessor cig_number: ::String
198
+ attr_accessor cup_number: ::String
199
+ attr_accessor sdi_account_id: ::String
200
+ attr_accessor tax_code: ::String
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class Jurisdiction
205
+ attr_accessor country_code: ::String
206
+ attr_accessor state_or_region: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class KenyaAdditionalInfo
211
+ attr_accessor person_type: ("Legal Person" | "Physical Person" | "Business")
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class ListTaxRegistrationsRequest
216
+ attr_accessor max_results: ::Integer
217
+ attr_accessor next_token: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class ListTaxRegistrationsResponse
222
+ attr_accessor account_details: ::Array[Types::AccountDetails]
223
+ attr_accessor next_token: ::String
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class MalaysiaAdditionalInfo
228
+ attr_accessor service_tax_codes: ::Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")]
229
+ SENSITIVE: []
230
+ end
231
+
232
+ class PolandAdditionalInfo
233
+ attr_accessor individual_registration_number: ::String
234
+ attr_accessor is_group_vat_enabled: bool
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class PutTaxRegistrationRequest
239
+ attr_accessor account_id: ::String
240
+ attr_accessor tax_registration_entry: Types::TaxRegistrationEntry
241
+ SENSITIVE: [:tax_registration_entry]
242
+ end
243
+
244
+ class PutTaxRegistrationResponse
245
+ attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
246
+ SENSITIVE: []
247
+ end
248
+
249
+ class ResourceNotFoundException
250
+ attr_accessor error_code: ::String
251
+ attr_accessor message: ::String
252
+ SENSITIVE: [:message]
253
+ end
254
+
255
+ class RomaniaAdditionalInfo
256
+ attr_accessor tax_registration_number_type: ("TaxRegistrationNumber" | "LocalRegistrationNumber")
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class SaudiArabiaAdditionalInfo
261
+ attr_accessor tax_registration_number_type: ("TaxRegistrationNumber" | "TaxIdentificationNumber" | "CommercialRegistrationNumber")
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class SourceS3Location
266
+ attr_accessor bucket: ::String
267
+ attr_accessor key: ::String
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class SouthKoreaAdditionalInfo
272
+ attr_accessor business_representative_name: ::String
273
+ attr_accessor item_of_business: ::String
274
+ attr_accessor line_of_business: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class SpainAdditionalInfo
279
+ attr_accessor registration_type: ("Intra-EU" | "Local")
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class TaxDocumentMetadata
284
+ attr_accessor tax_document_access_token: ::String
285
+ attr_accessor tax_document_name: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class TaxInheritanceDetails
290
+ attr_accessor inheritance_obtained_reason: ::String
291
+ attr_accessor parent_entity_id: ::String
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class TaxRegistration
296
+ attr_accessor additional_tax_information: Types::AdditionalInfoResponse
297
+ attr_accessor certified_email_id: ::String
298
+ attr_accessor legal_address: Types::Address
299
+ attr_accessor legal_name: ::String
300
+ attr_accessor registration_id: ::String
301
+ attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST")
302
+ attr_accessor sector: ("Business" | "Individual" | "Government")
303
+ attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
304
+ attr_accessor tax_document_metadatas: ::Array[Types::TaxDocumentMetadata]
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class TaxRegistrationDocument
309
+ attr_accessor s3_location: Types::SourceS3Location
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class TaxRegistrationEntry
314
+ attr_accessor additional_tax_information: Types::AdditionalInfoRequest
315
+ attr_accessor certified_email_id: ::String
316
+ attr_accessor legal_address: Types::Address
317
+ attr_accessor legal_name: ::String
318
+ attr_accessor registration_id: ::String
319
+ attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST")
320
+ attr_accessor sector: ("Business" | "Individual" | "Government")
321
+ attr_accessor verification_details: Types::VerificationDetails
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class TaxRegistrationWithJurisdiction
326
+ attr_accessor additional_tax_information: Types::AdditionalInfoResponse
327
+ attr_accessor certified_email_id: ::String
328
+ attr_accessor jurisdiction: Types::Jurisdiction
329
+ attr_accessor legal_name: ::String
330
+ attr_accessor registration_id: ::String
331
+ attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST")
332
+ attr_accessor sector: ("Business" | "Individual" | "Government")
333
+ attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected")
334
+ attr_accessor tax_document_metadatas: ::Array[Types::TaxDocumentMetadata]
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class TurkeyAdditionalInfo
339
+ attr_accessor industries: ("CirculatingOrg" | "ProfessionalOrg" | "Banks" | "Insurance" | "PensionAndBenefitFunds" | "DevelopmentAgencies")
340
+ attr_accessor kep_email_id: ::String
341
+ attr_accessor secondary_tax_id: ::String
342
+ attr_accessor tax_office: ::String
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class UkraineAdditionalInfo
347
+ attr_accessor ukraine_trn_type: ("Business" | "Individual")
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class ValidationException
352
+ attr_accessor error_code: ("MalformedToken" | "ExpiredToken" | "InvalidToken" | "FieldValidationFailed" | "MissingInput")
353
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
354
+ attr_accessor message: ::String
355
+ SENSITIVE: [:message]
356
+ end
357
+
358
+ class ValidationExceptionField
359
+ attr_accessor name: ::String
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class VerificationDetails
364
+ attr_accessor date_of_birth: ::String
365
+ attr_accessor tax_registration_documents: ::Array[Types::TaxRegistrationDocument]
366
+ SENSITIVE: []
367
+ end
368
+ end
369
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module TaxSettings
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-taxsettings
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.193.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.193.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: aws-sigv4
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ description: Official AWS Ruby gem for Tax Settings. This gem is part of the AWS SDK
48
+ for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-taxsettings.rb
59
+ - lib/aws-sdk-taxsettings/client.rb
60
+ - lib/aws-sdk-taxsettings/client_api.rb
61
+ - lib/aws-sdk-taxsettings/customizations.rb
62
+ - lib/aws-sdk-taxsettings/endpoint_parameters.rb
63
+ - lib/aws-sdk-taxsettings/endpoint_provider.rb
64
+ - lib/aws-sdk-taxsettings/endpoints.rb
65
+ - lib/aws-sdk-taxsettings/errors.rb
66
+ - lib/aws-sdk-taxsettings/plugins/endpoints.rb
67
+ - lib/aws-sdk-taxsettings/resource.rb
68
+ - lib/aws-sdk-taxsettings/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
74
+ homepage: https://github.com/aws/aws-sdk-ruby
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-taxsettings
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-taxsettings/CHANGELOG.md
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '2.5'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.4.10
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: AWS SDK for Ruby - Tax Settings
99
+ test_files: []