memori-client 0.1.0 → 0.1.2

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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/memori_client/backend/resources.rb +3 -0
  3. data/lib/memori_client/backend/v1/asset.rb +51 -25
  4. data/lib/memori_client/backend/v2/action_log.rb +19 -7
  5. data/lib/memori_client/backend/v2/analysis.rb +54 -0
  6. data/lib/memori_client/backend/v2/asset.rb +79 -23
  7. data/lib/memori_client/backend/v2/badge.rb +34 -17
  8. data/lib/memori_client/backend/v2/completion_config.rb +202 -0
  9. data/lib/memori_client/backend/v2/consumption_log.rb +31 -10
  10. data/lib/memori_client/backend/v2/import_export.rb +246 -78
  11. data/lib/memori_client/backend/v2/integration.rb +95 -47
  12. data/lib/memori_client/backend/v2/invitation.rb +129 -59
  13. data/lib/memori_client/backend/v2/memori.rb +652 -313
  14. data/lib/memori_client/backend/v2/memori_list.rb +65 -31
  15. data/lib/memori_client/backend/v2/notification.rb +13 -7
  16. data/lib/memori_client/backend/v2/process.rb +70 -0
  17. data/lib/memori_client/backend/v2/tenant.rb +192 -102
  18. data/lib/memori_client/backend/v2/user.rb +1058 -547
  19. data/lib/memori_client/engine/resources.rb +4 -3
  20. data/lib/memori_client/engine/v2/chat_log.rb +51 -13
  21. data/lib/memori_client/engine/v2/completion_log.rb +1 -1
  22. data/lib/memori_client/engine/v2/context_var.rb +20 -10
  23. data/lib/memori_client/engine/v2/correlation_pair.rb +48 -23
  24. data/lib/memori_client/engine/v2/custom_dictionary.rb +76 -37
  25. data/lib/memori_client/engine/v2/dialog.rb +107 -57
  26. data/lib/memori_client/engine/v2/event_log.rb +54 -13
  27. data/lib/memori_client/engine/v2/expert_reference.rb +176 -0
  28. data/lib/memori_client/engine/v2/function.rb +220 -0
  29. data/lib/memori_client/engine/v2/intent.rb +175 -85
  30. data/lib/memori_client/engine/v2/localization_key.rb +72 -36
  31. data/lib/memori_client/engine/v2/medium.rb +92 -43
  32. data/lib/memori_client/engine/v2/memori.rb +7 -1
  33. data/lib/memori_client/engine/v2/memory.rb +343 -91
  34. data/lib/memori_client/engine/v2/nlp.rb +65 -128
  35. data/lib/memori_client/engine/v2/person.rb +88 -43
  36. data/lib/memori_client/engine/v2/prompted_question.rb +1 -1
  37. data/lib/memori_client/engine/v2/search.rb +240 -52
  38. data/lib/memori_client/engine/v2/session.rb +41 -22
  39. data/lib/memori_client/engine/v2/stat.rb +11 -42
  40. data/lib/memori_client/engine/v2/topic.rb +88 -0
  41. data/lib/memori_client/engine/v2/unanswered_question.rb +54 -26
  42. data/lib/memori_client/engine/v2/user.rb +152 -0
  43. data/lib/memori_client/engine/v2/web_hook.rb +80 -34
  44. metadata +9 -2
@@ -1,51 +1,69 @@
1
- # Generated on 2023-10-20 07:44:40 +0000
1
+ # Generated on 2025-01-27 16:56:16 +0000
2
2
  class MemoriClient::Engine::V2::Dialog < MemoriClient::Engine::Resource
3
- # POST /memori/v2/TextEnteredEvent/{strSessionID}
3
+ # `POST /memori/v2/TextEnteredEvent/{strSessionID}`
4
+ #
4
5
  # Submits a Text Entered event to the session's Dialog State Machine.
5
- # Params list:
6
+ #
7
+ #
6
8
  # @param [string] strSessionID The session ID. required
7
- # @param [object] payload request payload. optional
8
- # @param [string] payload.text . required
9
- # enter_text(strSessionID:, payload: {})
9
+ #
10
+ # @param [Hash] payload request payload. optional
11
+ #
12
+ # @param [String] payload.text . optional
13
+ #
14
+ # `enter_text(strSessionID:, payload: {})`
10
15
  def self.enter_text(strSessionID:, payload: {})
11
16
  args = build_arguments(binding)
12
17
  payload_keys = [
13
18
  'text',
14
19
  ]
15
- payload_required_keys = %w[text]
20
+ payload_required_keys = %w[]
16
21
  validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
17
22
 
18
23
  exec_http_request('post', '/memori/v2/TextEnteredEvent/{strSessionID}', **args)
19
24
  end
20
25
 
21
- # POST /memori/v2/DateChangedEvent/{strSessionID}
26
+ # `POST /memori/v2/DateChangedEvent/{strSessionID}`
27
+ #
22
28
  # Submits a Date Changed event to the session's Dialog State Machine.
23
- # Params list:
29
+ #
30
+ #
24
31
  # @param [string] strSessionID The session ID. required
25
- # @param [object] payload request payload. optional
26
- # @param [string] payload.date . required
27
- # change_date(strSessionID:, payload: {})
32
+ #
33
+ # @param [Hash] payload request payload. optional
34
+ #
35
+ # @param [String] payload.date . optional
36
+ #
37
+ # `change_date(strSessionID:, payload: {})`
28
38
  def self.change_date(strSessionID:, payload: {})
29
39
  args = build_arguments(binding)
30
40
  payload_keys = [
31
41
  'date',
32
42
  ]
33
- payload_required_keys = %w[date]
43
+ payload_required_keys = %w[]
34
44
  validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
35
45
 
36
46
  exec_http_request('post', '/memori/v2/DateChangedEvent/{strSessionID}', **args)
37
47
  end
38
48
 
39
- # POST /memori/v2/PlaceChangedEvent/{strSessionID}
49
+ # `POST /memori/v2/PlaceChangedEvent/{strSessionID}`
50
+ #
40
51
  # Submits a Place Changed event to the session's Dialog State Machine.
41
- # Params list:
52
+ #
53
+ #
42
54
  # @param [string] strSessionID The session ID. required
43
- # @param [object] payload request payload. optional
44
- # @param [string] payload.placeName . optional
45
- # @param [number] payload.latitude . optional
46
- # @param [number] payload.longitude . optional
47
- # @param [number] payload.uncertaintyKm . optional
48
- # change_place(strSessionID:, payload: {})
55
+ #
56
+ # @param [Hash] payload request payload. optional
57
+ #
58
+ # @param [String] payload.placeName . optional
59
+ #
60
+ # @param [Number] payload.latitude . optional
61
+ #
62
+ # @param [Number] payload.longitude . optional
63
+ #
64
+ # @param [Number] payload.uncertaintyKm . optional
65
+ #
66
+ # `change_place(strSessionID:, payload: {})`
49
67
  def self.change_place(strSessionID:, payload: {})
50
68
  args = build_arguments(binding)
51
69
  payload_keys = [
@@ -60,83 +78,110 @@ class MemoriClient::Engine::V2::Dialog < MemoriClient::Engine::Resource
60
78
  exec_http_request('post', '/memori/v2/PlaceChangedEvent/{strSessionID}', **args)
61
79
  end
62
80
 
63
- # POST /memori/v2/TagChangedEvent/{strSessionID}
81
+ # `POST /memori/v2/TagChangedEvent/{strSessionID}`
82
+ #
64
83
  # Submits a Tag Changed event to the session's Dialog State Machine.
65
- # Params list:
84
+ #
85
+ #
66
86
  # @param [string] strSessionID The session ID. required
67
- # @param [object] payload request payload. optional
68
- # @param [string] payload.tag . required
69
- # change_tag(strSessionID:, payload: {})
87
+ #
88
+ # @param [Hash] payload request payload. optional
89
+ #
90
+ # @param [String] payload.tag . optional
91
+ #
92
+ # `change_tag(strSessionID:, payload: {})`
70
93
  def self.change_tag(strSessionID:, payload: {})
71
94
  args = build_arguments(binding)
72
95
  payload_keys = [
73
96
  'tag',
74
97
  ]
75
- payload_required_keys = %w[tag]
98
+ payload_required_keys = %w[]
76
99
  validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
77
100
 
78
101
  exec_http_request('post', '/memori/v2/TagChangedEvent/{strSessionID}', **args)
79
102
  end
80
103
 
81
- # POST /memori/v2/TimeoutEvent/{strSessionID}
104
+ # `POST /memori/v2/TimeoutEvent/{strSessionID}`
105
+ #
82
106
  # Submits a Timeout event to the session's Dialog State Machine.
83
- # Params list:
107
+ #
108
+ #
84
109
  # @param [string] strSessionID The session ID. required
85
- # timeout(strSessionID:)
110
+ #
111
+ # `timeout(strSessionID:)`
86
112
  def self.timeout(strSessionID:)
87
113
  args = build_arguments(binding)
88
114
 
89
115
  exec_http_request('post', '/memori/v2/TimeoutEvent/{strSessionID}', **args)
90
116
  end
91
117
 
92
- # POST /memori/v2/MediumSelectedEvent/{strSessionID}
118
+ # `POST /memori/v2/MediumSelectedEvent/{strSessionID}`
119
+ #
93
120
  # Submits a Medium Selected event to the session's Dialog State Machine.
94
- # Params list:
121
+ #
122
+ #
95
123
  # @param [string] strSessionID The session ID. required
96
- # @param [object] payload request payload. optional
97
- # @param [] payload.medium . required
98
- # select_medium(strSessionID:, payload: {})
124
+ #
125
+ # @param [Hash] payload request payload. optional
126
+ #
127
+ # @param [] payload.medium . optional
128
+ #
129
+ # `select_medium(strSessionID:, payload: {})`
99
130
  def self.select_medium(strSessionID:, payload: {})
100
131
  args = build_arguments(binding)
101
132
  payload_keys = [
102
133
  'medium',
103
134
  ]
104
- payload_required_keys = %w[medium]
135
+ payload_required_keys = %w[]
105
136
  validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
106
137
 
107
138
  exec_http_request('post', '/memori/v2/MediumSelectedEvent/{strSessionID}', **args)
108
139
  end
109
140
 
110
- # POST /memori/v2/DateSelectedEvent/{strSessionID}
141
+ # `POST /memori/v2/DateSelectedEvent/{strSessionID}`
142
+ #
111
143
  # Submits a Date Selected event to the session's Dialog State Machine.
112
- # Params list:
144
+ #
145
+ #
113
146
  # @param [string] strSessionID The session ID. required
114
- # @param [object] payload request payload. optional
115
- # @param [string] payload.date . required
116
- # @param [number] payload.uncertaintyDays . optional
117
- # select_date(strSessionID:, payload: {})
147
+ #
148
+ # @param [Hash] payload request payload. optional
149
+ #
150
+ # @param [String] payload.date . optional
151
+ #
152
+ # @param [Number] payload.uncertaintyDays . optional
153
+ #
154
+ # `select_date(strSessionID:, payload: {})`
118
155
  def self.select_date(strSessionID:, payload: {})
119
156
  args = build_arguments(binding)
120
157
  payload_keys = [
121
158
  'date',
122
159
  'uncertaintyDays',
123
160
  ]
124
- payload_required_keys = %w[date]
161
+ payload_required_keys = %w[]
125
162
  validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
126
163
 
127
164
  exec_http_request('post', '/memori/v2/DateSelectedEvent/{strSessionID}', **args)
128
165
  end
129
166
 
130
- # POST /memori/v2/PlaceSelectedEvent/{strSessionID}
167
+ # `POST /memori/v2/PlaceSelectedEvent/{strSessionID}`
168
+ #
131
169
  # Submits a Place Selected event to the session's Dialog State Machine.
132
- # Params list:
170
+ #
171
+ #
133
172
  # @param [string] strSessionID The session ID. required
134
- # @param [object] payload request payload. optional
135
- # @param [string] payload.placeName . optional
136
- # @param [number] payload.latitude . optional
137
- # @param [number] payload.longitude . optional
138
- # @param [number] payload.uncertaintyKm . optional
139
- # select_place(strSessionID:, payload: {})
173
+ #
174
+ # @param [Hash] payload request payload. optional
175
+ #
176
+ # @param [String] payload.placeName . optional
177
+ #
178
+ # @param [Number] payload.latitude . optional
179
+ #
180
+ # @param [Number] payload.longitude . optional
181
+ #
182
+ # @param [Number] payload.uncertaintyKm . optional
183
+ #
184
+ # `select_place(strSessionID:, payload: {})`
140
185
  def self.select_place(strSessionID:, payload: {})
141
186
  args = build_arguments(binding)
142
187
  payload_keys = [
@@ -151,19 +196,24 @@ class MemoriClient::Engine::V2::Dialog < MemoriClient::Engine::Resource
151
196
  exec_http_request('post', '/memori/v2/PlaceSelectedEvent/{strSessionID}', **args)
152
197
  end
153
198
 
154
- # POST /memori/v2/TagSelectedEvent/{strSessionID}
199
+ # `POST /memori/v2/TagSelectedEvent/{strSessionID}`
200
+ #
155
201
  # Submits a Tag Selected event to the session's Dialog State Machine.
156
- # Params list:
202
+ #
203
+ #
157
204
  # @param [string] strSessionID The session ID. required
158
- # @param [object] payload request payload. optional
159
- # @param [string] payload.tag . required
160
- # select_tag(strSessionID:, payload: {})
205
+ #
206
+ # @param [Hash] payload request payload. optional
207
+ #
208
+ # @param [String] payload.tag . optional
209
+ #
210
+ # `select_tag(strSessionID:, payload: {})`
161
211
  def self.select_tag(strSessionID:, payload: {})
162
212
  args = build_arguments(binding)
163
213
  payload_keys = [
164
214
  'tag',
165
215
  ]
166
- payload_required_keys = %w[tag]
216
+ payload_required_keys = %w[]
167
217
  validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
168
218
 
169
219
  exec_http_request('post', '/memori/v2/TagSelectedEvent/{strSessionID}', **args)
@@ -1,57 +1,98 @@
1
- # Generated on 2023-10-20 07:44:40 +0000
1
+ # Generated on 2025-01-27 16:56:16 +0000
2
2
  class MemoriClient::Engine::V2::EventLog < MemoriClient::Engine::Resource
3
- # GET /memori/v2/EventLogs/{strSessionID}/{strDateFrom}/{strDateTo}
3
+ # `GET /memori/v2/EventLogs/{strSessionID}/{strDateFrom}/{strDateTo}`
4
+ #
4
5
  # Gets the Event Log objects for the Memori of the current session in a specific date interval.
5
- # Params list:
6
+ #
7
+ #
6
8
  # @param [string] strSessionID The session ID. required
9
+ #
7
10
  # @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
11
+ #
8
12
  # @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
9
- # list_memori_event_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)
13
+ #
14
+ # `list_memori_event_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)`
10
15
  def self.list_memori_event_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)
11
16
  args = build_arguments(binding)
12
17
 
13
18
  exec_http_request('get', '/memori/v2/EventLogs/{strSessionID}/{strDateFrom}/{strDateTo}', **args)
14
19
  end
15
20
 
16
- # GET /memori/v2/MemoryEventLogs/{strSessionID}/{strMemoryID}/{strDateFrom}/{strDateTo}
21
+ # `GET /memori/v2/MemoryEventLogs/{strSessionID}/{strMemoryID}/{strDateFrom}/{strDateTo}`
22
+ #
17
23
  # Gets the Event Log objects for a specific Memory object in a specific date interval.
18
- # Params list:
24
+ #
25
+ #
19
26
  # @param [string] strSessionID The session ID. required
27
+ #
20
28
  # @param [string] strMemoryID The Memory object ID. required
29
+ #
21
30
  # @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
31
+ #
22
32
  # @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
23
- # list_memory_event_logs(strSessionID:, strMemoryID:, strDateFrom: nil, strDateTo: nil)
33
+ #
34
+ # `list_memory_event_logs(strSessionID:, strMemoryID:, strDateFrom: nil, strDateTo: nil)`
24
35
  def self.list_memory_event_logs(strSessionID:, strMemoryID:, strDateFrom: nil, strDateTo: nil)
25
36
  args = build_arguments(binding)
26
37
 
27
38
  exec_http_request('get', '/memori/v2/MemoryEventLogs/{strSessionID}/{strMemoryID}/{strDateFrom}/{strDateTo}', **args)
28
39
  end
29
40
 
30
- # GET /memori/v2/IntentEventLogs/{strSessionID}/{strIntentID}/{strDateFrom}/{strDateTo}
41
+ # `GET /memori/v2/IntentEventLogs/{strSessionID}/{strIntentID}/{strDateFrom}/{strDateTo}`
42
+ #
31
43
  # Gets the Event Log objects for a specific Intent object in a specific date interval.
32
- # Params list:
44
+ #
45
+ #
33
46
  # @param [string] strSessionID The session ID. required
47
+ #
34
48
  # @param [string] strIntentID The Intent object ID. required
49
+ #
35
50
  # @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
51
+ #
36
52
  # @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
37
- # list_intent_event_logs(strSessionID:, strIntentID:, strDateFrom: nil, strDateTo: nil)
53
+ #
54
+ # `list_intent_event_logs(strSessionID:, strIntentID:, strDateFrom: nil, strDateTo: nil)`
38
55
  def self.list_intent_event_logs(strSessionID:, strIntentID:, strDateFrom: nil, strDateTo: nil)
39
56
  args = build_arguments(binding)
40
57
 
41
58
  exec_http_request('get', '/memori/v2/IntentEventLogs/{strSessionID}/{strIntentID}/{strDateFrom}/{strDateTo}', **args)
42
59
  end
43
60
 
44
- # GET /memori/v2/SessionEventLogs/{strSessionID}/{strEventLogSessionID}
61
+ # `GET /memori/v2/SessionEventLogs/{strSessionID}/{strEventLogSessionID}`
62
+ #
45
63
  # Gets the Event Log objects for the Memori of the current session recorded during a specific other session.
46
- # Params list:
64
+ #
65
+ #
47
66
  # @param [string] strSessionID The session ID. required
67
+ #
48
68
  # @param [string] strEventLogSessionID The session ID for which Event Log objects are being searched. required
49
- # list_session_event_logs(strSessionID:, strEventLogSessionID:)
69
+ #
70
+ # `list_session_event_logs(strSessionID:, strEventLogSessionID:)`
50
71
  def self.list_session_event_logs(strSessionID:, strEventLogSessionID:)
51
72
  args = build_arguments(binding)
52
73
 
53
74
  exec_http_request('get', '/memori/v2/SessionEventLogs/{strSessionID}/{strEventLogSessionID}', **args)
54
75
  end
55
76
 
77
+ # `GET /memori/v2/UserEventLogs/{strSessionID}/{strUserID}/{strDateFrom}/{strDateTo}`
78
+ #
79
+ # Gets the Event Log objects for the Memori of the current session created by a specific User.
80
+ #
81
+ #
82
+ # @param [string] strSessionID The session ID. required
83
+ #
84
+ # @param [string] strUserID The user ID for which Event Log objects are being searched. required
85
+ #
86
+ # @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
87
+ #
88
+ # @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
89
+ #
90
+ # `list_user_event_logs(strSessionID:, strUserID:, strDateFrom: nil, strDateTo: nil)`
91
+ def self.list_user_event_logs(strSessionID:, strUserID:, strDateFrom: nil, strDateTo: nil)
92
+ args = build_arguments(binding)
93
+
94
+ exec_http_request('get', '/memori/v2/UserEventLogs/{strSessionID}/{strUserID}/{strDateFrom}/{strDateTo}', **args)
95
+ end
96
+
56
97
 
57
98
  end
@@ -0,0 +1,176 @@
1
+ # Generated on 2025-01-27 16:56:16 +0000
2
+ class MemoriClient::Engine::V2::ExpertReference < MemoriClient::Engine::Resource
3
+ # `GET /memori/v2/ExpertReferences/{strSessionID}`
4
+ #
5
+ # Lists all Expert Reference objects.
6
+ #
7
+ #
8
+ # @param [string] strSessionID The session ID. required
9
+ #
10
+ # `list_expert_references(strSessionID:)`
11
+ def self.list_expert_references(strSessionID:)
12
+ args = build_arguments(binding)
13
+
14
+ exec_http_request('get', '/memori/v2/ExpertReferences/{strSessionID}', **args)
15
+ end
16
+
17
+ # `GET /memori/v2/ExpertReferences/{strSessionID}/{from}/{howMany}`
18
+ #
19
+ # Lists Expert Reference objects with pagination.
20
+ #
21
+ #
22
+ # @param [string] strSessionID The session ID. required
23
+ #
24
+ # @param [integer] from The 0-based index of the first Expert Reference object to list. required
25
+ #
26
+ # @param [integer] howMany The number of the Expert Reference objects to list. required
27
+ #
28
+ # `list_expert_references_paginated(strSessionID:, from:, howMany:)`
29
+ def self.list_expert_references_paginated(strSessionID:, from:, howMany:)
30
+ args = build_arguments(binding)
31
+
32
+ exec_http_request('get', '/memori/v2/ExpertReferences/{strSessionID}/{from}/{howMany}', **args)
33
+ end
34
+
35
+ # `GET /memori/v2/ExpertReference/{strSessionID}/{strExpertReferenceID}`
36
+ #
37
+ # Gets the details of an Expert Reference object.
38
+ #
39
+ #
40
+ # @param [string] strSessionID The session ID. required
41
+ #
42
+ # @param [string] strExpertReferenceID The Expert Reference object ID. required
43
+ #
44
+ # `get_expert_reference(strSessionID:, strExpertReferenceID:)`
45
+ def self.get_expert_reference(strSessionID:, strExpertReferenceID:)
46
+ args = build_arguments(binding)
47
+
48
+ exec_http_request('get', '/memori/v2/ExpertReference/{strSessionID}/{strExpertReferenceID}', **args)
49
+ end
50
+
51
+ # `PATCH /memori/v2/ExpertReference/{strSessionID}/{strExpertReferenceID}`
52
+ #
53
+ # Updates an existing Expert Reference object.
54
+ #
55
+ #
56
+ # @param [string] strSessionID The session ID. required
57
+ #
58
+ # @param [string] strExpertReferenceID The Expert Reference object ID. required
59
+ #
60
+ # @param [Hash] payload request payload. optional
61
+ #
62
+ # @param [String] payload.expertID . optional
63
+ #
64
+ # @param [String] payload.name . optional
65
+ #
66
+ # @param [String] payload.description . optional
67
+ #
68
+ # @param [Boolean] payload.default . optional
69
+ #
70
+ # @param [String] payload.expertMemoriID . optional
71
+ #
72
+ # @param [String] payload.expertPassword . optional
73
+ #
74
+ # @param [String] payload.expertBaseURL . optional
75
+ #
76
+ # @param [String] payload.creationTimestamp . optional
77
+ #
78
+ # @param [String] payload.creationSessionID . optional
79
+ #
80
+ # @param [String] payload.lastChangeTimestamp . optional
81
+ #
82
+ # @param [String] payload.lastChangeSessionID . optional
83
+ #
84
+ # `update_expert_reference(strSessionID:, strExpertReferenceID:, payload: {})`
85
+ def self.update_expert_reference(strSessionID:, strExpertReferenceID:, payload: {})
86
+ args = build_arguments(binding)
87
+ payload_keys = [
88
+ 'creationSessionID',
89
+ 'creationTimestamp',
90
+ 'default',
91
+ 'description',
92
+ 'expertBaseURL',
93
+ 'expertID',
94
+ 'expertMemoriID',
95
+ 'expertPassword',
96
+ 'lastChangeSessionID',
97
+ 'lastChangeTimestamp',
98
+ 'name',
99
+ ]
100
+ payload_required_keys = %w[]
101
+ validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
102
+
103
+ exec_http_request('patch', '/memori/v2/ExpertReference/{strSessionID}/{strExpertReferenceID}', **args)
104
+ end
105
+
106
+ # `DELETE /memori/v2/ExpertReference/{strSessionID}/{strExpertReferenceID}`
107
+ #
108
+ # Removes an existing Expert Reference object.
109
+ #
110
+ #
111
+ # @param [string] strSessionID The session ID. required
112
+ #
113
+ # @param [string] strExpertReferenceID The Expert Reference object ID. required
114
+ #
115
+ # `remove_expert_reference(strSessionID:, strExpertReferenceID:)`
116
+ def self.remove_expert_reference(strSessionID:, strExpertReferenceID:)
117
+ args = build_arguments(binding)
118
+
119
+ exec_http_request('delete', '/memori/v2/ExpertReference/{strSessionID}/{strExpertReferenceID}', **args)
120
+ end
121
+
122
+ # `POST /memori/v2/ExpertReference/{strSessionID}`
123
+ #
124
+ # Adds a new Expert Reference object.
125
+ #
126
+ #
127
+ # @param [string] strSessionID The session ID. required
128
+ #
129
+ # @param [Hash] payload request payload. optional
130
+ #
131
+ # @param [String] payload.expertID . optional
132
+ #
133
+ # @param [String] payload.name . optional
134
+ #
135
+ # @param [String] payload.description . optional
136
+ #
137
+ # @param [Boolean] payload.default . optional
138
+ #
139
+ # @param [String] payload.expertMemoriID . optional
140
+ #
141
+ # @param [String] payload.expertPassword . optional
142
+ #
143
+ # @param [String] payload.expertBaseURL . optional
144
+ #
145
+ # @param [String] payload.creationTimestamp . optional
146
+ #
147
+ # @param [String] payload.creationSessionID . optional
148
+ #
149
+ # @param [String] payload.lastChangeTimestamp . optional
150
+ #
151
+ # @param [String] payload.lastChangeSessionID . optional
152
+ #
153
+ # `add_expert_reference(strSessionID:, payload: {})`
154
+ def self.add_expert_reference(strSessionID:, payload: {})
155
+ args = build_arguments(binding)
156
+ payload_keys = [
157
+ 'creationSessionID',
158
+ 'creationTimestamp',
159
+ 'default',
160
+ 'description',
161
+ 'expertBaseURL',
162
+ 'expertID',
163
+ 'expertMemoriID',
164
+ 'expertPassword',
165
+ 'lastChangeSessionID',
166
+ 'lastChangeTimestamp',
167
+ 'name',
168
+ ]
169
+ payload_required_keys = %w[]
170
+ validate_payload!(args[:payload], keys: payload_keys, required: payload_required_keys)
171
+
172
+ exec_http_request('post', '/memori/v2/ExpertReference/{strSessionID}', **args)
173
+ end
174
+
175
+
176
+ end