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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12fa0e4d6d6576ee36e90e919f1a08b97d7e2aade2dce5ede276833712bdb940
4
- data.tar.gz: cdcb38d33c1ee06012879123fde6a738d8318d9bd30cdce04b54d09677a39ce2
3
+ metadata.gz: 83a1bef9776e43312e7ff023969de9312c160617d0e3beecaeb5ee8099e4d87e
4
+ data.tar.gz: '080db8d5d0868a7f6f23922663603557e0ed8ace4cdec48daec62b3fc4406aac'
5
5
  SHA512:
6
- metadata.gz: 8178776b801b038018d54293e83f8855cec6ccd54c9eb3f1c5ddfd194187558bce421ad781b18552740357573e932696f43f0da5642359cc16ffbd0122ca85c1
7
- data.tar.gz: 1728633a52d512f7df122d63ea45188130e9c50de27085c50432ddf690493e826181afe5175ac70c8a38743509a68d4f3bd7ea39675c41612ab026a1bc4f8f40
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
@@ -2,10 +2,8 @@ require_relative '../util/model'
2
2
 
3
3
  module ZOHOCRMSDK
4
4
  module InventoryMassConvert
5
- require_relative 'response_handler'
6
5
  class Status
7
6
  include Util::Model
8
- include ResponseHandler
9
7
 
10
8
  # Creates an instance of Status
11
9
  def initialize
@@ -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
 
@@ -177,7 +177,7 @@ module ZOHOCRMSDK
177
177
 
178
178
  ZOHO_SDK = 'X-ZOHO-SDK'
179
179
 
180
- SDK_VERSION = '1.0.0'
180
+ SDK_VERSION = '2.0.0'
181
181
 
182
182
  SET_CONTENT_TYPE_HEADER = ['/crm/bulk/v8/read', '/crm/bulk/v8/write']
183
183