ZOHOCRMSDK2_1 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/src/ZOHOCRMSDK2_1.rb +1 -0
  3. data/src/com/zoho/api/authenticator/oauth_token.rb +0 -0
  4. data/src/com/zoho/api/authenticator/store/db_store.rb +0 -0
  5. data/src/com/zoho/api/authenticator/store/file_store.rb +0 -0
  6. data/src/com/zoho/api/authenticator/store/token_store.rb +0 -0
  7. data/src/com/zoho/api/authenticator/token.rb +0 -0
  8. data/src/com/zoho/api/logger/sdk_logger.rb +0 -0
  9. data/src/com/zoho/crm/api/dc/au_datacenter.rb +0 -0
  10. data/src/com/zoho/crm/api/dc/cn_datacenter.rb +0 -0
  11. data/src/com/zoho/crm/api/dc/datacenter.rb +0 -0
  12. data/src/com/zoho/crm/api/dc/eu_datacenter.rb +0 -0
  13. data/src/com/zoho/crm/api/dc/in_datacenter.rb +0 -0
  14. data/src/com/zoho/crm/api/dc/jp_datacenter.rb +21 -0
  15. data/src/com/zoho/crm/api/dc/us_datacenter.rb +0 -0
  16. data/src/com/zoho/crm/api/exception/sdk_exception.rb +0 -0
  17. data/src/com/zoho/crm/api/header.rb +0 -0
  18. data/src/com/zoho/crm/api/header_map.rb +0 -0
  19. data/src/com/zoho/crm/api/initializer.rb +17 -0
  20. data/src/com/zoho/crm/api/param.rb +0 -0
  21. data/src/com/zoho/crm/api/parameter_map.rb +0 -0
  22. data/src/com/zoho/crm/api/request_proxy.rb +0 -0
  23. data/src/com/zoho/crm/api/sdk_config.rb +0 -0
  24. data/src/com/zoho/crm/api/user_signature.rb +0 -0
  25. data/src/com/zoho/crm/api/util/api_http_connector.rb +0 -0
  26. data/src/com/zoho/crm/api/util/api_response.rb +0 -0
  27. data/src/com/zoho/crm/api/util/choice.rb +0 -0
  28. data/src/com/zoho/crm/api/util/common_api_handler.rb +0 -0
  29. data/src/com/zoho/crm/api/util/constants.rb +1 -1
  30. data/src/com/zoho/crm/api/util/converter.rb +0 -0
  31. data/src/com/zoho/crm/api/util/data_type_converter.rb +0 -0
  32. data/src/com/zoho/crm/api/util/downloader.rb +0 -0
  33. data/src/com/zoho/crm/api/util/form_data_converter.rb +0 -0
  34. data/src/com/zoho/crm/api/util/header_param_validator.rb +0 -0
  35. data/src/com/zoho/crm/api/util/json_converter.rb +0 -0
  36. data/src/com/zoho/crm/api/util/model.rb +0 -0
  37. data/src/com/zoho/crm/api/util/module_fields_handler.rb +0 -0
  38. data/src/com/zoho/crm/api/util/stream_wrapper.rb +0 -0
  39. data/src/com/zoho/crm/api/util/utility.rb +0 -0
  40. data/src/resources/JSONDetails.json +1 -1
  41. data/src/version.rb +1 -1
  42. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6dcfa2149d4615e343f349421dd639e7ac7aebbe0f63ac2359a124041de4c9ca
4
- data.tar.gz: e50e76d39aa81d1ae7f82a7a1d1049d74a8faf4b6686279edb4769ade6ce57e0
3
+ metadata.gz: 29a91b72ce71becc94eef1396b25748e81f549bd8a788e88eac97639656602ba
4
+ data.tar.gz: 0160dae0d67c55318f416aeff7d96225b5fb6cb6f297d796ee805bdb8ce2c736
5
5
  SHA512:
6
- metadata.gz: eaa7476a713fddb6a4b76c01a7f041079e4285e8659148ff10d02381e60a913c62a6211d172b581bf556631253edde0f0f0a10501d383026dec21831d911a562
7
- data.tar.gz: 44565f7ac20399287fb612e3e7bb64bb2ee148438269f6ef8fb027b0a857c9bbbf39e567db0602e6781250d1da4cffa7612e20790c8c582b303009bf36ddb541
6
+ metadata.gz: bca014f9c5d511622e51926f2d5e69d39dfebc4d361f01e270f35f4f41dec09d3982f0930d357bb2570bfd0034c51d57a439ac2f405a7d23da99fb43d428c453
7
+ data.tar.gz: 3e63bc92601ea63a6d68b2fab06e95aa4b2a5b19444178bb194d757c1237a3278228883fbf06f46552ddc3ad631630ccf4323187f180807c5eafee05e498d371
data/src/ZOHOCRMSDK2_1.rb CHANGED
@@ -311,6 +311,7 @@ require 'com/zoho/crm/api/dc/au_datacenter.rb'
311
311
  require 'com/zoho/crm/api/dc/cn_datacenter.rb'
312
312
  require 'com/zoho/crm/api/dc/us_datacenter.rb'
313
313
  require 'com/zoho/crm/api/dc/datacenter.rb'
314
+ require 'com/zoho/crm/api/dc/jp_datacenter.rb'
314
315
  require 'com/zoho/crm/api/assignment_rules/assignment_rules_operations.rb'
315
316
  require 'com/zoho/crm/api/assignment_rules/assignment_rule.rb'
316
317
  require 'com/zoho/crm/api/assignment_rules/response_wrapper.rb'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,21 @@
1
+ require_relative 'datacenter'
2
+
3
+ module ZOHOCRMSDK
4
+ module DC
5
+ class JPDataCenter < DataCenter
6
+ def initialize; end
7
+
8
+ def get_iam_url
9
+ 'https://accounts.zoho.jp/oauth/v2/token'
10
+ end
11
+
12
+ def get_file_upload_url
13
+ 'https://content.zohoapis.jp'
14
+ end
15
+
16
+ PRODUCTION = Environment.new('https://www.zohoapis.jp', JPDataCenter.new.get_iam_url, JPDataCenter.new.get_file_upload_url,"jp_prd")
17
+ SANDBOX = Environment.new('https://sandbox.zohoapis.jp', JPDataCenter.new.get_iam_url, JPDataCenter.new.get_file_upload_url,"jp_sdb")
18
+ DEVELOPER = Environment.new('https://developer.zohoapis.jp', JPDataCenter.new.get_iam_url, JPDataCenter.new.get_file_upload_url,"jp_dev")
19
+ end
20
+ end
21
+ end
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,20 @@
1
+ =begin
2
+ Copyright (c) 2021, ZOHO CORPORATION PRIVATE LIMITED
3
+ All rights reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ =end
17
+
1
18
  require 'uri'
2
19
  require 'net/http'
3
20
  require 'cgi'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -161,7 +161,7 @@ module ZOHOCRMSDK
161
161
 
162
162
  ZOHO_SDK = 'X-ZOHO-SDK'
163
163
 
164
- SDK_VERSION = '1.0.0'
164
+ SDK_VERSION = '1.1.0'
165
165
 
166
166
  SET_CONTENT_TYPE_HEADER = ['/crm/bulk/v2.1/read', '/crm/bulk/v2.1/write']
167
167
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes