ZOHOCRMSDK8_0 1.0.0 → 2.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.
- checksums.yaml +4 -4
- data/src/ZOHOCRMSDK8_0.rb +2 -1
- data/src/com/zoho/crm/api/fields/fields.rb +19 -0
- data/src/com/zoho/crm/api/fields/history_tracking.rb +58 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/status.rb +0 -2
- data/src/com/zoho/crm/api/layouts/section_field.rb +19 -0
- data/src/com/zoho/crm/api/modules/module_fields.rb +19 -0
- data/src/com/zoho/crm/api/util/constants.rb +1 -1
- data/src/resources/json_details.json +1 -1
- data/src/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83a1bef9776e43312e7ff023969de9312c160617d0e3beecaeb5ee8099e4d87e
|
4
|
+
data.tar.gz: '080db8d5d0868a7f6f23922663603557e0ed8ace4cdec48daec62b3fc4406aac'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccc11b2fcab9f9a10480da01ab1be96dbeb3089e5b2ed8c4b5bede73d98b5bbeb7e71eca34618b314ca265e0b8c917d12ab325b92ac502fd941dd15f8e19275e
|
7
|
+
data.tar.gz: 2ecb6bb4fdce3ad895dd0be0bec22a9840b9507dc7a95d841a4c9b996cb5150fb35f2eec567f0650ba72c962fba931f41b07bad03d2d64f6e2766e60b4fd7221
|
data/src/ZOHOCRMSDK8_0.rb
CHANGED
@@ -1616,4 +1616,5 @@ require 'com/zoho/crm/api/fields/lookup_layout.rb'
|
|
1616
1616
|
require 'com/zoho/crm/api/fields/linking_module.rb'
|
1617
1617
|
require 'com/zoho/crm/api/signals/response_handler.rb'
|
1618
1618
|
require 'com/zoho/crm/api/signals/signals_operations.rb'
|
1619
|
-
require 'com/zoho/crm/api/signals_notifications/api_exception.rb'
|
1619
|
+
require 'com/zoho/crm/api/signals_notifications/api_exception.rb'
|
1620
|
+
require 'com/zoho/crm/api/inventory_mass_convert/response_wrapper.rb'
|
@@ -76,6 +76,7 @@ module ZOHOCRMSDK
|
|
76
76
|
@pick_list_values = nil
|
77
77
|
@crypt = nil
|
78
78
|
@tooltip = nil
|
79
|
+
@history_tracking_enabled = nil
|
79
80
|
@history_tracking = nil
|
80
81
|
@association_details = nil
|
81
82
|
@allowed_modules = nil
|
@@ -1279,6 +1280,24 @@ module ZOHOCRMSDK
|
|
1279
1280
|
@key_modified['tooltip'] = 1
|
1280
1281
|
end
|
1281
1282
|
|
1283
|
+
# The method to get the history_tracking_enabled
|
1284
|
+
# @return A Boolean value
|
1285
|
+
|
1286
|
+
def history_tracking_enabled
|
1287
|
+
@history_tracking_enabled
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
# The method to set the value to history_tracking_enabled
|
1291
|
+
# @param history_tracking_enabled [Boolean] A Boolean
|
1292
|
+
|
1293
|
+
def history_tracking_enabled=(history_tracking_enabled)
|
1294
|
+
if history_tracking_enabled!=nil and ! [true, false].include?history_tracking_enabled
|
1295
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: history_tracking_enabled EXPECTED TYPE: Boolean', nil, nil)
|
1296
|
+
end
|
1297
|
+
@history_tracking_enabled = history_tracking_enabled
|
1298
|
+
@key_modified['history_tracking_enabled'] = 1
|
1299
|
+
end
|
1300
|
+
|
1282
1301
|
# The method to get the history_tracking
|
1283
1302
|
# @return An instance of HistoryTracking
|
1284
1303
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require_relative '../modules/minified_module'
|
2
|
+
require_relative '../util/choice'
|
2
3
|
require_relative '../util/model'
|
3
4
|
|
4
5
|
module ZOHOCRMSDK
|
@@ -8,11 +9,68 @@ module ZOHOCRMSDK
|
|
8
9
|
|
9
10
|
# Creates an instance of HistoryTracking
|
10
11
|
def initialize
|
12
|
+
@related_list_name = nil
|
13
|
+
@duration_configuration = nil
|
14
|
+
@followed_fields = nil
|
11
15
|
@module_1 = nil
|
12
16
|
@duration_configured_field = nil
|
13
17
|
@key_modified = Hash.new
|
14
18
|
end
|
15
19
|
|
20
|
+
# The method to get the related_list_name
|
21
|
+
# @return A String value
|
22
|
+
|
23
|
+
def related_list_name
|
24
|
+
@related_list_name
|
25
|
+
end
|
26
|
+
|
27
|
+
# The method to set the value to related_list_name
|
28
|
+
# @param related_list_name [String] A String
|
29
|
+
|
30
|
+
def related_list_name=(related_list_name)
|
31
|
+
if related_list_name!=nil and !related_list_name.is_a? String
|
32
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: related_list_name EXPECTED TYPE: String', nil, nil)
|
33
|
+
end
|
34
|
+
@related_list_name = related_list_name
|
35
|
+
@key_modified['related_list_name'] = 1
|
36
|
+
end
|
37
|
+
|
38
|
+
# The method to get the duration_configuration
|
39
|
+
# @return An instance of Util::Choice
|
40
|
+
|
41
|
+
def duration_configuration
|
42
|
+
@duration_configuration
|
43
|
+
end
|
44
|
+
|
45
|
+
# The method to set the value to duration_configuration
|
46
|
+
# @param duration_configuration [Util::Choice] An instance of Util::Choice
|
47
|
+
|
48
|
+
def duration_configuration=(duration_configuration)
|
49
|
+
if duration_configuration!=nil and !duration_configuration.is_a? Util::Choice
|
50
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: duration_configuration EXPECTED TYPE: Util::Choice', nil, nil)
|
51
|
+
end
|
52
|
+
@duration_configuration = duration_configuration
|
53
|
+
@key_modified['duration_configuration'] = 1
|
54
|
+
end
|
55
|
+
|
56
|
+
# The method to get the followed_fields
|
57
|
+
# @return An instance of Array
|
58
|
+
|
59
|
+
def followed_fields
|
60
|
+
@followed_fields
|
61
|
+
end
|
62
|
+
|
63
|
+
# The method to set the value to followed_fields
|
64
|
+
# @param followed_fields [Array] An instance of Array
|
65
|
+
|
66
|
+
def followed_fields=(followed_fields)
|
67
|
+
if followed_fields!=nil and !followed_fields.is_a? Array
|
68
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: followed_fields EXPECTED TYPE: Array', nil, nil)
|
69
|
+
end
|
70
|
+
@followed_fields = followed_fields
|
71
|
+
@key_modified['followed_fields'] = 1
|
72
|
+
end
|
73
|
+
|
16
74
|
# The method to get the module
|
17
75
|
# @return An instance of HistoryTrackingModule
|
18
76
|
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require_relative '../util/model'
|
2
|
+
|
3
|
+
module ZOHOCRMSDK
|
4
|
+
module InventoryMassConvert
|
5
|
+
require_relative 'response_handler'
|
6
|
+
class ResponseWrapper
|
7
|
+
include Util::Model
|
8
|
+
include ResponseHandler
|
9
|
+
|
10
|
+
# Creates an instance of ResponseWrapper
|
11
|
+
def initialize
|
12
|
+
@data = nil
|
13
|
+
@key_modified = Hash.new
|
14
|
+
end
|
15
|
+
|
16
|
+
# The method to get the data
|
17
|
+
# @return An instance of Array
|
18
|
+
|
19
|
+
def data
|
20
|
+
@data
|
21
|
+
end
|
22
|
+
|
23
|
+
# The method to set the value to data
|
24
|
+
# @param data [Array] An instance of Array
|
25
|
+
|
26
|
+
def data=(data)
|
27
|
+
if data!=nil and !data.is_a? Array
|
28
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: data EXPECTED TYPE: Array', nil, nil)
|
29
|
+
end
|
30
|
+
@data = data
|
31
|
+
@key_modified['data'] = 1
|
32
|
+
end
|
33
|
+
|
34
|
+
# The method to check if the user has modified the given key
|
35
|
+
# @param key [String] A String
|
36
|
+
# @return A Integer value
|
37
|
+
|
38
|
+
def is_key_modified(key)
|
39
|
+
if key!=nil and !key.is_a? String
|
40
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: key EXPECTED TYPE: String', nil, nil)
|
41
|
+
end
|
42
|
+
if @key_modified.key?(key)
|
43
|
+
return @key_modified[key]
|
44
|
+
end
|
45
|
+
|
46
|
+
nil
|
47
|
+
end
|
48
|
+
|
49
|
+
# The method to mark the given key as modified
|
50
|
+
# @param key [String] A String
|
51
|
+
# @param modification [Integer] A Integer
|
52
|
+
|
53
|
+
def set_key_modified(key, modification)
|
54
|
+
if key!=nil and !key.is_a? String
|
55
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: key EXPECTED TYPE: String', nil, nil)
|
56
|
+
end
|
57
|
+
if modification!=nil and !modification.is_a? Integer
|
58
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: modification EXPECTED TYPE: Integer', nil, nil)
|
59
|
+
end
|
60
|
+
@key_modified[key] = modification
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -113,6 +113,7 @@ module ZOHOCRMSDK
|
|
113
113
|
@auto_number_71 = nil
|
114
114
|
@crypt = nil
|
115
115
|
@tooltip = nil
|
116
|
+
@history_tracking_enabled = nil
|
116
117
|
@history_tracking = nil
|
117
118
|
@association_details = nil
|
118
119
|
@additional_column = nil
|
@@ -1474,6 +1475,24 @@ module ZOHOCRMSDK
|
|
1474
1475
|
@key_modified['tooltip'] = 1
|
1475
1476
|
end
|
1476
1477
|
|
1478
|
+
# The method to get the history_tracking_enabled
|
1479
|
+
# @return A Boolean value
|
1480
|
+
|
1481
|
+
def history_tracking_enabled
|
1482
|
+
@history_tracking_enabled
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
# The method to set the value to history_tracking_enabled
|
1486
|
+
# @param history_tracking_enabled [Boolean] A Boolean
|
1487
|
+
|
1488
|
+
def history_tracking_enabled=(history_tracking_enabled)
|
1489
|
+
if history_tracking_enabled!=nil and ! [true, false].include?history_tracking_enabled
|
1490
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: history_tracking_enabled EXPECTED TYPE: Boolean', nil, nil)
|
1491
|
+
end
|
1492
|
+
@history_tracking_enabled = history_tracking_enabled
|
1493
|
+
@key_modified['history_tracking_enabled'] = 1
|
1494
|
+
end
|
1495
|
+
|
1477
1496
|
# The method to get the history_tracking
|
1478
1497
|
# @return An instance of Fields::HistoryTracking
|
1479
1498
|
|
@@ -105,6 +105,7 @@ module ZOHOCRMSDK
|
|
105
105
|
@auto_number_65 = nil
|
106
106
|
@crypt = nil
|
107
107
|
@tooltip = nil
|
108
|
+
@history_tracking_enabled = nil
|
108
109
|
@history_tracking = nil
|
109
110
|
@association_details = nil
|
110
111
|
@additional_column = nil
|
@@ -1359,6 +1360,24 @@ module ZOHOCRMSDK
|
|
1359
1360
|
@key_modified['tooltip'] = 1
|
1360
1361
|
end
|
1361
1362
|
|
1363
|
+
# The method to get the history_tracking_enabled
|
1364
|
+
# @return A Boolean value
|
1365
|
+
|
1366
|
+
def history_tracking_enabled
|
1367
|
+
@history_tracking_enabled
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# The method to set the value to history_tracking_enabled
|
1371
|
+
# @param history_tracking_enabled [Boolean] A Boolean
|
1372
|
+
|
1373
|
+
def history_tracking_enabled=(history_tracking_enabled)
|
1374
|
+
if history_tracking_enabled!=nil and ! [true, false].include?history_tracking_enabled
|
1375
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: history_tracking_enabled EXPECTED TYPE: Boolean', nil, nil)
|
1376
|
+
end
|
1377
|
+
@history_tracking_enabled = history_tracking_enabled
|
1378
|
+
@key_modified['history_tracking_enabled'] = 1
|
1379
|
+
end
|
1380
|
+
|
1362
1381
|
# The method to get the history_tracking
|
1363
1382
|
# @return An instance of Fields::HistoryTracking
|
1364
1383
|
|