xero-ruby 3.12.0 → 3.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xero-ruby/api/accounting_api.rb +75 -0
- data/lib/xero-ruby/api/project_api.rb +5 -5
- data/lib/xero-ruby/api_client.rb +7 -1
- data/lib/xero-ruby/models/accounting/account.rb +1 -1
- data/lib/xero-ruby/models/accounting/journal_line.rb +1 -1
- data/lib/xero-ruby/models/accounting/tax_rate.rb +9 -2
- data/lib/xero-ruby/models/accounting/time_zone.rb +123 -91
- data/lib/xero-ruby/models/payroll_au/country_of_residence.rb +285 -0
- data/lib/xero-ruby/models/payroll_au/employee.rb +41 -1
- data/lib/xero-ruby/models/payroll_au/employment_basis.rb +1 -0
- data/lib/xero-ruby/models/payroll_au/employment_type.rb +36 -0
- data/lib/xero-ruby/models/payroll_au/income_type.rb +39 -0
- data/lib/xero-ruby/models/payroll_au/leave_category_code.rb +1 -1
- data/lib/xero-ruby/models/payroll_au/senior_marital_status.rb +37 -0
- data/lib/xero-ruby/models/payroll_au/settings.rb +14 -4
- data/lib/xero-ruby/models/payroll_au/tax_declaration.rb +41 -1
- data/lib/xero-ruby/models/payroll_au/tax_scale_type.rb +40 -0
- data/lib/xero-ruby/models/payroll_au/work_condition.rb +37 -0
- data/lib/xero-ruby/version.rb +2 -2
- data/lib/xero-ruby.rb +6 -0
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 221baaa300a1c4fb1c743c8abd998b3e17b869e3306e1e7871baa5531ed3e811
|
4
|
+
data.tar.gz: '08e1837f06c9caff147daa7437f7033a62374bfcd3b9a0cbd282be74612b3fc5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0021ba79888c37bf7b59f5e886828b77e948a319ce83014269859ffd4d95cab3016a716de93bbcaa47369d067035d687c62d7ede8d74a3e99524a3ddba4b652
|
7
|
+
data.tar.gz: b4777d82730c8f659ca79726a707a01dba12895752664a433c6a55fe0301cfbad768843f875b07e08c584a82c68caecca93f20af2d9136ff2eb3fdcdc361f0f5
|
@@ -6886,6 +6886,81 @@ module XeroRuby
|
|
6886
6886
|
return data, status_code, headers
|
6887
6887
|
end
|
6888
6888
|
|
6889
|
+
# Retrieves a specific batch payment using a unique batch payment Id
|
6890
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6891
|
+
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
6892
|
+
# @param [Hash] opts the optional parameters
|
6893
|
+
# @return [BatchPayments]
|
6894
|
+
def get_batch_payment(xero_tenant_id, batch_payment_id, opts = {})
|
6895
|
+
data, _status_code, _headers = get_batch_payment_with_http_info(xero_tenant_id, batch_payment_id, opts)
|
6896
|
+
data
|
6897
|
+
end
|
6898
|
+
|
6899
|
+
# Retrieves a specific batch payment using a unique batch payment Id
|
6900
|
+
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6901
|
+
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
6902
|
+
# @param [Hash] opts the optional parameters
|
6903
|
+
# @return [Array<(BatchPayments, Integer, Hash)>] BatchPayments data, response status code and response headers
|
6904
|
+
def get_batch_payment_with_http_info(xero_tenant_id, batch_payment_id, options = {})
|
6905
|
+
opts = options.dup
|
6906
|
+
if @api_client.config.debugging
|
6907
|
+
@api_client.config.logger.debug 'Calling API: AccountingApi.get_batch_payment ...'
|
6908
|
+
end
|
6909
|
+
# verify the required parameter 'xero_tenant_id' is set
|
6910
|
+
if @api_client.config.client_side_validation && xero_tenant_id.nil?
|
6911
|
+
fail ArgumentError, "Missing the required parameter 'xero_tenant_id' when calling AccountingApi.get_batch_payment"
|
6912
|
+
end
|
6913
|
+
# verify the required parameter 'batch_payment_id' is set
|
6914
|
+
if @api_client.config.client_side_validation && batch_payment_id.nil?
|
6915
|
+
fail ArgumentError, "Missing the required parameter 'batch_payment_id' when calling AccountingApi.get_batch_payment"
|
6916
|
+
end
|
6917
|
+
# resource path
|
6918
|
+
local_var_path = '/BatchPayments/{BatchPaymentID}'.sub('{' + 'BatchPaymentID' + '}', batch_payment_id.to_s)
|
6919
|
+
|
6920
|
+
# camelize keys of incoming `where` opts
|
6921
|
+
opts[:'where'] = @api_client.parameterize_where(opts[:'where']) if !opts[:'where'].nil?
|
6922
|
+
|
6923
|
+
# query parameters
|
6924
|
+
query_params = opts[:query_params] || {}
|
6925
|
+
|
6926
|
+
# XeroAPI's `IDs` convention openapi-generator does not snake_case properly.. manual over-riding `i_ds` malformations:
|
6927
|
+
query_params[:'IDs'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
6928
|
+
query_params[:'ContactIDs'] = @api_client.build_collection_param(opts[:'contact_ids'], :csv) if !opts[:'contact_ids'].nil?
|
6929
|
+
|
6930
|
+
# header parameters
|
6931
|
+
header_params = opts[:header_params] || {}
|
6932
|
+
# HTTP header 'Accept' (if needed)
|
6933
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
6934
|
+
header_params[:'xero-tenant-id'] = xero_tenant_id
|
6935
|
+
|
6936
|
+
# form parameters
|
6937
|
+
form_params = opts[:form_params] || {}
|
6938
|
+
|
6939
|
+
# http body (model)
|
6940
|
+
post_body = opts[:body]
|
6941
|
+
|
6942
|
+
# return_type
|
6943
|
+
return_type = opts[:return_type] || 'BatchPayments'
|
6944
|
+
|
6945
|
+
# auth_names
|
6946
|
+
auth_names = opts[:auth_names] || ['OAuth2']
|
6947
|
+
|
6948
|
+
new_options = opts.merge(
|
6949
|
+
:header_params => header_params,
|
6950
|
+
:query_params => query_params,
|
6951
|
+
:form_params => form_params,
|
6952
|
+
:body => post_body,
|
6953
|
+
:auth_names => auth_names,
|
6954
|
+
:return_type => return_type
|
6955
|
+
)
|
6956
|
+
|
6957
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, "AccountingApi", new_options)
|
6958
|
+
if @api_client.config.debugging
|
6959
|
+
@api_client.config.logger.debug "API called: AccountingApi#get_batch_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
6960
|
+
end
|
6961
|
+
return data, status_code, headers
|
6962
|
+
end
|
6963
|
+
|
6889
6964
|
# Retrieves history from a specific batch payment
|
6890
6965
|
# @param xero_tenant_id [String] Xero identifier for Tenant
|
6891
6966
|
# @param batch_payment_id [String] Unique identifier for BatchPayment
|
@@ -99,10 +99,10 @@ module XeroRuby
|
|
99
99
|
# @param project_id [String] You can create a task on a specified projectId
|
100
100
|
# @param task_create_or_update [TaskCreateOrUpdate] The task object you are creating
|
101
101
|
# @param [Hash] opts the optional parameters
|
102
|
-
# @return [
|
102
|
+
# @return [Task]
|
103
103
|
def create_task(xero_tenant_id, project_id, task_create_or_update, opts = {})
|
104
|
-
create_task_with_http_info(xero_tenant_id, project_id, task_create_or_update, opts)
|
105
|
-
|
104
|
+
data, _status_code, _headers = create_task_with_http_info(xero_tenant_id, project_id, task_create_or_update, opts)
|
105
|
+
data
|
106
106
|
end
|
107
107
|
|
108
108
|
# Allows you to create a task
|
@@ -111,7 +111,7 @@ module XeroRuby
|
|
111
111
|
# @param project_id [String] You can create a task on a specified projectId
|
112
112
|
# @param task_create_or_update [TaskCreateOrUpdate] The task object you are creating
|
113
113
|
# @param [Hash] opts the optional parameters
|
114
|
-
# @return [Array<(
|
114
|
+
# @return [Array<(Task, Integer, Hash)>] Task data, response status code and response headers
|
115
115
|
def create_task_with_http_info(xero_tenant_id, project_id, task_create_or_update, options = {})
|
116
116
|
opts = options.dup
|
117
117
|
if @api_client.config.debugging
|
@@ -157,7 +157,7 @@ module XeroRuby
|
|
157
157
|
post_body = opts[:body] || @api_client.object_to_http_body(task_create_or_update)
|
158
158
|
|
159
159
|
# return_type
|
160
|
-
return_type = opts[:return_type]
|
160
|
+
return_type = opts[:return_type] || 'Task'
|
161
161
|
|
162
162
|
# auth_names
|
163
163
|
auth_names = opts[:auth_names] || ['OAuth2']
|
data/lib/xero-ruby/api_client.rb
CHANGED
@@ -196,7 +196,12 @@ module XeroRuby
|
|
196
196
|
|
197
197
|
def decode_jwt(tkn, verify=true)
|
198
198
|
if verify == true
|
199
|
-
|
199
|
+
|
200
|
+
response = Faraday.get('https://identity.xero.com/.well-known/openid-configuration/jwks') do |req|
|
201
|
+
req.headers['User-Agent'] = @user_agent
|
202
|
+
end
|
203
|
+
|
204
|
+
jwks_data = JSON.parse(response.body)
|
200
205
|
jwk_set = JSON::JWK::Set.new(jwks_data)
|
201
206
|
JSON::JWT.decode(tkn, jwk_set)
|
202
207
|
else
|
@@ -230,6 +235,7 @@ module XeroRuby
|
|
230
235
|
response = Faraday.post("#{@config.token_url}#{path}") do |req|
|
231
236
|
req.headers['Authorization'] = "Basic " + Base64.strict_encode64("#{@client_id}:#{@client_secret}")
|
232
237
|
req.headers['Content-Type'] = 'application/x-www-form-urlencoded'
|
238
|
+
req.headers['User-Agent'] = @user_agent
|
233
239
|
req.body = URI.encode_www_form(data)
|
234
240
|
end
|
235
241
|
return_error(response) unless response.success?
|
@@ -116,6 +116,13 @@ module XeroRuby::Accounting
|
|
116
116
|
TXRCREINPUT ||= "TXRCREINPUT".freeze
|
117
117
|
TXRCESSINPUT ||= "TXRCESSINPUT".freeze
|
118
118
|
TXRCTSINPUT ||= "TXRCTSINPUT".freeze
|
119
|
+
CAPEXINPUT ||= "CAPEXINPUT".freeze
|
120
|
+
UNDEFINED ||= "UNDEFINED".freeze
|
121
|
+
CAPEXOUTPUT ||= "CAPEXOUTPUT".freeze
|
122
|
+
ZEROEXPOUTPUT ||= "ZEROEXPOUTPUT".freeze
|
123
|
+
GOODSIMPORT ||= "GOODSIMPORT".freeze
|
124
|
+
NONEINPUT ||= "NONEINPUT".freeze
|
125
|
+
NOTREPORTED ||= "NOTREPORTED".freeze
|
119
126
|
|
120
127
|
# Boolean to describe if tax rate can be used for asset accounts i.e. true,false
|
121
128
|
attr_accessor :can_apply_to_assets
|
@@ -274,7 +281,7 @@ module XeroRuby::Accounting
|
|
274
281
|
def valid?
|
275
282
|
status_validator = EnumAttributeValidator.new('String', ["ACTIVE", "DELETED", "ARCHIVED", "PENDING"])
|
276
283
|
return false unless status_validator.valid?(@status)
|
277
|
-
report_tax_type_validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33INPUT", "TXRCREINPUT", "TXRCESSINPUT", "TXRCTSINPUT"])
|
284
|
+
report_tax_type_validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33INPUT", "TXRCREINPUT", "TXRCESSINPUT", "TXRCTSINPUT", "CAPEXINPUT", "UNDEFINED", "CAPEXOUTPUT", "ZEROEXPOUTPUT", "GOODSIMPORT", "NONEINPUT", "NOTREPORTED"])
|
278
285
|
return false unless report_tax_type_validator.valid?(@report_tax_type)
|
279
286
|
true
|
280
287
|
end
|
@@ -292,7 +299,7 @@ module XeroRuby::Accounting
|
|
292
299
|
# Custom attribute writer method checking allowed values (enum).
|
293
300
|
# @param [Object] report_tax_type Object to be assigned
|
294
301
|
def report_tax_type=(report_tax_type)
|
295
|
-
validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33INPUT", "TXRCREINPUT", "TXRCESSINPUT", "TXRCTSINPUT"])
|
302
|
+
validator = EnumAttributeValidator.new('String', ["AVALARA", "BASEXCLUDED", "CAPITALSALESOUTPUT", "CAPITALEXPENSESINPUT", "ECOUTPUT", "ECOUTPUTSERVICES", "ECINPUT", "ECACQUISITIONS", "EXEMPTEXPENSES", "EXEMPTINPUT", "EXEMPTOUTPUT", "GSTONIMPORTS", "INPUT", "INPUTTAXED", "MOSSSALES", "NONE", "NONEOUTPUT", "OUTPUT", "PURCHASESINPUT", "SALESOUTPUT", "EXEMPTCAPITAL", "EXEMPTEXPORT", "CAPITALEXINPUT", "GSTONCAPIMPORTS", "GSTONCAPITALIMPORTS", "REVERSECHARGES", "PAYMENTS", "INVOICE", "CASH", "ACCRUAL", "FLATRATECASH", "FLATRATEACCRUAL", "ACCRUALS", "TXCA", "SRCAS", "DSOUTPUT", "BLINPUT2", "EPINPUT", "IMINPUT2", "MEINPUT", "IGDSINPUT2", "ESN33OUTPUT", "OPINPUT", "OSOUTPUT", "TXN33INPUT", "TXESSINPUT", "TXREINPUT", "TXPETINPUT", "NRINPUT", "ES33OUTPUT", "ZERORATEDINPUT", "ZERORATEDOUTPUT", "DRCHARGESUPPLY", "DRCHARGE", "CAPINPUT", "CAPIMPORTS", "IMINPUT", "INPUT2", "CIUINPUT", "SRINPUT", "OUTPUT2", "SROUTPUT", "CAPOUTPUT", "SROUTPUT2", "CIUOUTPUT", "ZROUTPUT", "ZREXPORT", "ACC28PLUS", "ACCUPTO28", "OTHEROUTPUT", "SHOUTPUT", "ZRINPUT", "BADDEBT", "OTHERINPUT", "BADDEBTRELIEF", "IGDSINPUT3", "SROVR", "TOURISTREFUND", "TXRCN33INPUT", "TXRCREINPUT", "TXRCESSINPUT", "TXRCTSINPUT", "CAPEXINPUT", "UNDEFINED", "CAPEXOUTPUT", "ZEROEXPOUTPUT", "GOODSIMPORT", "NONEINPUT", "NOTREPORTED"])
|
296
303
|
unless validator.valid?(report_tax_type)
|
297
304
|
fail ArgumentError, "invalid value for \"report_tax_type\", must be one of #{validator.allowable_values}."
|
298
305
|
end
|
@@ -14,115 +14,147 @@ require 'date'
|
|
14
14
|
|
15
15
|
module XeroRuby::Accounting
|
16
16
|
class TimeZone
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
CENTRALEUROPESTANDARDTIME ||= "CENTRALEUROPESTANDARDTIME".freeze
|
23
|
-
ROMANCESTANDARDTIME ||= "ROMANCESTANDARDTIME".freeze
|
24
|
-
CENTRALEUROPEANSTANDARDTIME ||= "CENTRALEUROPEANSTANDARDTIME".freeze
|
25
|
-
WCENTRALAFRICASTANDARDTIME ||= "WCENTRALAFRICASTANDARDTIME".freeze
|
26
|
-
NAMIBIASTANDARDTIME ||= "NAMIBIASTANDARDTIME".freeze
|
27
|
-
JORDANSTANDARDTIME ||= "JORDANSTANDARDTIME".freeze
|
28
|
-
GTBSTANDARDTIME ||= "GTBSTANDARDTIME".freeze
|
29
|
-
MIDDLEEASTSTANDARDTIME ||= "MIDDLEEASTSTANDARDTIME".freeze
|
30
|
-
EGYPTSTANDARDTIME ||= "EGYPTSTANDARDTIME".freeze
|
31
|
-
SYRIASTANDARDTIME ||= "SYRIASTANDARDTIME".freeze
|
32
|
-
EEUROPESTANDARDTIME ||= "EEUROPESTANDARDTIME".freeze
|
33
|
-
SOUTHAFRICASTANDARDTIME ||= "SOUTHAFRICASTANDARDTIME".freeze
|
34
|
-
FLESTANDARDTIME ||= "FLESTANDARDTIME".freeze
|
35
|
-
TURKEYSTANDARDTIME ||= "TURKEYSTANDARDTIME".freeze
|
36
|
-
ISRAELSTANDARDTIME ||= "ISRAELSTANDARDTIME".freeze
|
37
|
-
KALININGRADSTANDARDTIME ||= "KALININGRADSTANDARDTIME".freeze
|
38
|
-
LIBYASTANDARDTIME ||= "LIBYASTANDARDTIME".freeze
|
17
|
+
AFGHANISTANSTANDARDTIME ||= "AFGHANISTANSTANDARDTIME".freeze
|
18
|
+
ALASKANSTANDARDTIME ||= "ALASKANSTANDARDTIME".freeze
|
19
|
+
ALEUTIANSTANDARDTIME ||= "ALEUTIANSTANDARDTIME".freeze
|
20
|
+
ALTAISTANDARDTIME ||= "ALTAISTANDARDTIME".freeze
|
21
|
+
ARABIANSTANDARDTIME ||= "ARABIANSTANDARDTIME".freeze
|
39
22
|
ARABICSTANDARDTIME ||= "ARABICSTANDARDTIME".freeze
|
40
23
|
ARABSTANDARDTIME ||= "ARABSTANDARDTIME".freeze
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
24
|
+
ARGENTINASTANDARDTIME ||= "ARGENTINASTANDARDTIME".freeze
|
25
|
+
ASTRAKHANSTANDARDTIME ||= "ASTRAKHANSTANDARDTIME".freeze
|
26
|
+
ATLANTICSTANDARDTIME ||= "ATLANTICSTANDARDTIME".freeze
|
27
|
+
AUSCENTRALSTANDARDTIME ||= "AUSCENTRALSTANDARDTIME".freeze
|
28
|
+
AUSCENTRALWSTANDARDTIME ||= "AUSCENTRALWSTANDARDTIME".freeze
|
29
|
+
AUSEASTERNSTANDARDTIME ||= "AUSEASTERNSTANDARDTIME".freeze
|
46
30
|
AZERBAIJANSTANDARDTIME ||= "AZERBAIJANSTANDARDTIME".freeze
|
47
|
-
|
48
|
-
|
49
|
-
|
31
|
+
AZORESSTANDARDTIME ||= "AZORESSTANDARDTIME".freeze
|
32
|
+
BAHIASTANDARDTIME ||= "BAHIASTANDARDTIME".freeze
|
33
|
+
BANGLADESHSTANDARDTIME ||= "BANGLADESHSTANDARDTIME".freeze
|
34
|
+
BELARUSSTANDARDTIME ||= "BELARUSSTANDARDTIME".freeze
|
35
|
+
BOUGAINVILLESTANDARDTIME ||= "BOUGAINVILLESTANDARDTIME".freeze
|
36
|
+
CANADACENTRALSTANDARDTIME ||= "CANADACENTRALSTANDARDTIME".freeze
|
37
|
+
CAPEVERDESTANDARDTIME ||= "CAPEVERDESTANDARDTIME".freeze
|
50
38
|
CAUCASUSSTANDARDTIME ||= "CAUCASUSSTANDARDTIME".freeze
|
51
|
-
|
52
|
-
|
53
|
-
EKATERINBURGSTANDARDTIME ||= "EKATERINBURGSTANDARDTIME".freeze
|
54
|
-
PAKISTANSTANDARDTIME ||= "PAKISTANSTANDARDTIME".freeze
|
55
|
-
INDIASTANDARDTIME ||= "INDIASTANDARDTIME".freeze
|
56
|
-
SRILANKASTANDARDTIME ||= "SRILANKASTANDARDTIME".freeze
|
57
|
-
NEPALSTANDARDTIME ||= "NEPALSTANDARDTIME".freeze
|
39
|
+
CENAUSTRALIASTANDARDTIME ||= "CENAUSTRALIASTANDARDTIME".freeze
|
40
|
+
CENTRALAMERICASTANDARDTIME ||= "CENTRALAMERICASTANDARDTIME".freeze
|
58
41
|
CENTRALASIASTANDARDTIME ||= "CENTRALASIASTANDARDTIME".freeze
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
42
|
+
CENTRALBRAZILIANSTANDARDTIME ||= "CENTRALBRAZILIANSTANDARDTIME".freeze
|
43
|
+
CENTRALEUROPEANSTANDARDTIME ||= "CENTRALEUROPEANSTANDARDTIME".freeze
|
44
|
+
CENTRALEUROPESTANDARDTIME ||= "CENTRALEUROPESTANDARDTIME".freeze
|
45
|
+
CENTRALPACIFICSTANDARDTIME ||= "CENTRALPACIFICSTANDARDTIME".freeze
|
46
|
+
CENTRALSTANDARDTIME ||= "CENTRALSTANDARDTIME".freeze
|
47
|
+
CENTRALSTANDARDTIME_MEXICO ||= "CENTRALSTANDARDTIME(MEXICO)".freeze
|
48
|
+
CHATHAMISLANDSSTANDARDTIME ||= "CHATHAMISLANDSSTANDARDTIME".freeze
|
64
49
|
CHINASTANDARDTIME ||= "CHINASTANDARDTIME".freeze
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
KOREASTANDARDTIME ||= "KOREASTANDARDTIME".freeze
|
72
|
-
YAKUTSKSTANDARDTIME ||= "YAKUTSKSTANDARDTIME".freeze
|
73
|
-
CENAUSTRALIASTANDARDTIME ||= "CENAUSTRALIASTANDARDTIME".freeze
|
74
|
-
AUSCENTRALSTANDARDTIME ||= "AUSCENTRALSTANDARDTIME".freeze
|
50
|
+
CUBASTANDARDTIME ||= "CUBASTANDARDTIME".freeze
|
51
|
+
DATELINESTANDARDTIME ||= "DATELINESTANDARDTIME".freeze
|
52
|
+
EAFRICASTANDARDTIME ||= "EAFRICASTANDARDTIME".freeze
|
53
|
+
EASTERISLANDSTANDARDTIME ||= "EASTERISLANDSTANDARDTIME".freeze
|
54
|
+
EASTERNSTANDARDTIME ||= "EASTERNSTANDARDTIME".freeze
|
55
|
+
EASTERNSTANDARDTIME_MEXICO ||= "EASTERNSTANDARDTIME(MEXICO)".freeze
|
75
56
|
EAUSTRALIASTANDARDTIME ||= "EAUSTRALIASTANDARDTIME".freeze
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
VLADIVOSTOKSTANDARDTIME ||= "VLADIVOSTOKSTANDARDTIME".freeze
|
81
|
-
RUSSIATIMEZONE10 ||= "RUSSIATIMEZONE10".freeze
|
82
|
-
CENTRALPACIFICSTANDARDTIME ||= "CENTRALPACIFICSTANDARDTIME".freeze
|
83
|
-
RUSSIATIMEZONE11 ||= "RUSSIATIMEZONE11".freeze
|
84
|
-
NEWZEALANDSTANDARDTIME ||= "NEWZEALANDSTANDARDTIME".freeze
|
85
|
-
UTC12 ||= "UTC+12".freeze
|
86
|
-
UTC13 ||= "UTC+13".freeze
|
57
|
+
EEUROPESTANDARDTIME ||= "EEUROPESTANDARDTIME".freeze
|
58
|
+
EGYPTSTANDARDTIME ||= "EGYPTSTANDARDTIME".freeze
|
59
|
+
EKATERINBURGSTANDARDTIME ||= "EKATERINBURGSTANDARDTIME".freeze
|
60
|
+
ESOUTHAMERICASTANDARDTIME ||= "ESOUTHAMERICASTANDARDTIME".freeze
|
87
61
|
FIJISTANDARDTIME ||= "FIJISTANDARDTIME".freeze
|
62
|
+
FLESTANDARDTIME ||= "FLESTANDARDTIME".freeze
|
63
|
+
GEORGIANSTANDARDTIME ||= "GEORGIANSTANDARDTIME".freeze
|
64
|
+
GMTSTANDARDTIME ||= "GMTSTANDARDTIME".freeze
|
65
|
+
GREENLANDSTANDARDTIME ||= "GREENLANDSTANDARDTIME".freeze
|
66
|
+
GREENWICHSTANDARDTIME ||= "GREENWICHSTANDARDTIME".freeze
|
67
|
+
GTBSTANDARDTIME ||= "GTBSTANDARDTIME".freeze
|
68
|
+
HAITISTANDARDTIME ||= "HAITISTANDARDTIME".freeze
|
69
|
+
HAWAIIANSTANDARDTIME ||= "HAWAIIANSTANDARDTIME".freeze
|
70
|
+
INDIASTANDARDTIME ||= "INDIASTANDARDTIME".freeze
|
71
|
+
IRANSTANDARDTIME ||= "IRANSTANDARDTIME".freeze
|
72
|
+
ISRAELSTANDARDTIME ||= "ISRAELSTANDARDTIME".freeze
|
73
|
+
JORDANSTANDARDTIME ||= "JORDANSTANDARDTIME".freeze
|
74
|
+
KALININGRADSTANDARDTIME ||= "KALININGRADSTANDARDTIME".freeze
|
88
75
|
KAMCHATKASTANDARDTIME ||= "KAMCHATKASTANDARDTIME".freeze
|
89
|
-
|
90
|
-
|
76
|
+
KOREASTANDARDTIME ||= "KOREASTANDARDTIME".freeze
|
77
|
+
LIBYASTANDARDTIME ||= "LIBYASTANDARDTIME".freeze
|
91
78
|
LINEISLANDSSTANDARDTIME ||= "LINEISLANDSSTANDARDTIME".freeze
|
92
|
-
|
93
|
-
|
94
|
-
|
79
|
+
LORDHOWESTANDARDTIME ||= "LORDHOWESTANDARDTIME".freeze
|
80
|
+
MAGADANSTANDARDTIME ||= "MAGADANSTANDARDTIME".freeze
|
81
|
+
MAGALLANESSTANDARDTIME ||= "MAGALLANESSTANDARDTIME".freeze
|
82
|
+
MARQUESASSTANDARDTIME ||= "MARQUESASSTANDARDTIME".freeze
|
83
|
+
MAURITIUSSTANDARDTIME ||= "MAURITIUSSTANDARDTIME".freeze
|
95
84
|
MIDATLANTICSTANDARDTIME ||= "MIDATLANTICSTANDARDTIME".freeze
|
96
|
-
|
97
|
-
ARGENTINASTANDARDTIME ||= "ARGENTINASTANDARDTIME".freeze
|
98
|
-
SAEASTERNSTANDARDTIME ||= "SAEASTERNSTANDARDTIME".freeze
|
99
|
-
GREENLANDSTANDARDTIME ||= "GREENLANDSTANDARDTIME".freeze
|
85
|
+
MIDDLEEASTSTANDARDTIME ||= "MIDDLEEASTSTANDARDTIME".freeze
|
100
86
|
MONTEVIDEOSTANDARDTIME ||= "MONTEVIDEOSTANDARDTIME".freeze
|
101
|
-
|
87
|
+
MOROCCOSTANDARDTIME ||= "MOROCCOSTANDARDTIME".freeze
|
88
|
+
MOUNTAINSTANDARDTIME ||= "MOUNTAINSTANDARDTIME".freeze
|
89
|
+
MOUNTAINSTANDARDTIME_MEXICO ||= "MOUNTAINSTANDARDTIME(MEXICO)".freeze
|
90
|
+
MYANMARSTANDARDTIME ||= "MYANMARSTANDARDTIME".freeze
|
91
|
+
NAMIBIASTANDARDTIME ||= "NAMIBIASTANDARDTIME".freeze
|
92
|
+
NCENTRALASIASTANDARDTIME ||= "NCENTRALASIASTANDARDTIME".freeze
|
93
|
+
NEPALSTANDARDTIME ||= "NEPALSTANDARDTIME".freeze
|
102
94
|
NEWFOUNDLANDSTANDARDTIME ||= "NEWFOUNDLANDSTANDARDTIME".freeze
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
95
|
+
NEWZEALANDSTANDARDTIME ||= "NEWZEALANDSTANDARDTIME".freeze
|
96
|
+
NORFOLKSTANDARDTIME ||= "NORFOLKSTANDARDTIME".freeze
|
97
|
+
NORTHASIAEASTSTANDARDTIME ||= "NORTHASIAEASTSTANDARDTIME".freeze
|
98
|
+
NORTHASIASTANDARDTIME ||= "NORTHASIASTANDARDTIME".freeze
|
99
|
+
NORTHKOREASTANDARDTIME ||= "NORTHKOREASTANDARDTIME".freeze
|
100
|
+
OMSKSTANDARDTIME ||= "OMSKSTANDARDTIME".freeze
|
107
101
|
PACIFICSASTANDARDTIME ||= "PACIFICSASTANDARDTIME".freeze
|
108
|
-
|
102
|
+
PACIFICSTANDARDTIME ||= "PACIFICSTANDARDTIME".freeze
|
103
|
+
PACIFICSTANDARDTIME_MEXICO ||= "PACIFICSTANDARDTIME(MEXICO)".freeze
|
104
|
+
PAKISTANSTANDARDTIME ||= "PAKISTANSTANDARDTIME".freeze
|
105
|
+
PARAGUAYSTANDARDTIME ||= "PARAGUAYSTANDARDTIME".freeze
|
106
|
+
QYZYLORDASTANDARDTIME ||= "QYZYLORDASTANDARDTIME".freeze
|
107
|
+
ROMANCESTANDARDTIME ||= "ROMANCESTANDARDTIME".freeze
|
108
|
+
RUSSIANSTANDARDTIME ||= "RUSSIANSTANDARDTIME".freeze
|
109
|
+
RUSSIATIMEZONE10 ||= "RUSSIATIMEZONE10".freeze
|
110
|
+
RUSSIATIMEZONE11 ||= "RUSSIATIMEZONE11".freeze
|
111
|
+
RUSSIATIMEZONE3 ||= "RUSSIATIMEZONE3".freeze
|
112
|
+
SAEASTERNSTANDARDTIME ||= "SAEASTERNSTANDARDTIME".freeze
|
113
|
+
SAINTPIERRESTANDARDTIME ||= "SAINTPIERRESTANDARDTIME".freeze
|
114
|
+
SAKHALINSTANDARDTIME ||= "SAKHALINSTANDARDTIME".freeze
|
115
|
+
SAMOASTANDARDTIME ||= "SAMOASTANDARDTIME".freeze
|
116
|
+
SAOTOMESTANDARDTIME ||= "SAOTOMESTANDARDTIME".freeze
|
109
117
|
SAPACIFICSTANDARDTIME ||= "SAPACIFICSTANDARDTIME".freeze
|
110
|
-
|
118
|
+
SARATOVSTANDARDTIME ||= "SARATOVSTANDARDTIME".freeze
|
119
|
+
SAWESTERNSTANDARDTIME ||= "SAWESTERNSTANDARDTIME".freeze
|
120
|
+
SEASIASTANDARDTIME ||= "SEASIASTANDARDTIME".freeze
|
121
|
+
SINGAPORESTANDARDTIME ||= "SINGAPORESTANDARDTIME".freeze
|
122
|
+
SOUTHAFRICASTANDARDTIME ||= "SOUTHAFRICASTANDARDTIME".freeze
|
123
|
+
SOUTHSUDANSTANDARDTIME ||= "SOUTHSUDANSTANDARDTIME".freeze
|
124
|
+
SRILANKASTANDARDTIME ||= "SRILANKASTANDARDTIME".freeze
|
125
|
+
SUDANSTANDARDTIME ||= "SUDANSTANDARDTIME".freeze
|
126
|
+
SYRIASTANDARDTIME ||= "SYRIASTANDARDTIME".freeze
|
127
|
+
TAIPEISTANDARDTIME ||= "TAIPEISTANDARDTIME".freeze
|
128
|
+
TASMANIASTANDARDTIME ||= "TASMANIASTANDARDTIME".freeze
|
129
|
+
TOCANTINSSTANDARDTIME ||= "TOCANTINSSTANDARDTIME".freeze
|
130
|
+
TOKYOSTANDARDTIME ||= "TOKYOSTANDARDTIME".freeze
|
131
|
+
TOMSKSTANDARDTIME ||= "TOMSKSTANDARDTIME".freeze
|
132
|
+
TONGASTANDARDTIME ||= "TONGASTANDARDTIME".freeze
|
133
|
+
TRANSBAIKALSTANDARDTIME ||= "TRANSBAIKALSTANDARDTIME".freeze
|
134
|
+
TURKEYSTANDARDTIME ||= "TURKEYSTANDARDTIME".freeze
|
135
|
+
TURKSANDCAICOSSTANDARDTIME ||= "TURKSANDCAICOSSTANDARDTIME".freeze
|
136
|
+
ULAANBAATARSTANDARDTIME ||= "ULAANBAATARSTANDARDTIME".freeze
|
111
137
|
USEASTERNSTANDARDTIME ||= "USEASTERNSTANDARDTIME".freeze
|
112
|
-
CENTRALAMERICASTANDARDTIME ||= "CENTRALAMERICASTANDARDTIME".freeze
|
113
|
-
CENTRALSTANDARDTIME ||= "CENTRALSTANDARDTIME".freeze
|
114
|
-
CENTRALSTANDARDTIME_MEXICO ||= "CENTRALSTANDARDTIME(MEXICO)".freeze
|
115
|
-
CANADACENTRALSTANDARDTIME ||= "CANADACENTRALSTANDARDTIME".freeze
|
116
138
|
USMOUNTAINSTANDARDTIME ||= "USMOUNTAINSTANDARDTIME".freeze
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
139
|
+
UTC ||= "UTC".freeze
|
140
|
+
UTC12 ||= "UTC+12".freeze
|
141
|
+
UTC13 ||= "UTC+13".freeze
|
142
|
+
UTC02 ||= "UTC02".freeze
|
143
|
+
UTC08 ||= "UTC08".freeze
|
144
|
+
UTC09 ||= "UTC09".freeze
|
123
145
|
UTC11 ||= "UTC11".freeze
|
124
|
-
|
125
|
-
|
146
|
+
VENEZUELASTANDARDTIME ||= "VENEZUELASTANDARDTIME".freeze
|
147
|
+
VLADIVOSTOKSTANDARDTIME ||= "VLADIVOSTOKSTANDARDTIME".freeze
|
148
|
+
VOLGOGRADSTANDARDTIME ||= "VOLGOGRADSTANDARDTIME".freeze
|
149
|
+
WAUSTRALIASTANDARDTIME ||= "WAUSTRALIASTANDARDTIME".freeze
|
150
|
+
WCENTRALAFRICASTANDARDTIME ||= "WCENTRALAFRICASTANDARDTIME".freeze
|
151
|
+
WESTASIASTANDARDTIME ||= "WESTASIASTANDARDTIME".freeze
|
152
|
+
WESTBANKSTANDARDTIME ||= "WESTBANKSTANDARDTIME".freeze
|
153
|
+
WESTPACIFICSTANDARDTIME ||= "WESTPACIFICSTANDARDTIME".freeze
|
154
|
+
WEUROPESTANDARDTIME ||= "WEUROPESTANDARDTIME".freeze
|
155
|
+
WMONGOLIASTANDARDTIME ||= "WMONGOLIASTANDARDTIME".freeze
|
156
|
+
YAKUTSKSTANDARDTIME ||= "YAKUTSKSTANDARDTIME".freeze
|
157
|
+
YUKONSTANDARDTIME ||= "YUKONSTANDARDTIME".freeze
|
126
158
|
|
127
159
|
# Builds the enum from string
|
128
160
|
# @param [String] The enum value in the form of the string
|