mastercard_mcon 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 71c12cfc58692481aa066206cb3aea920c10ae94
4
- data.tar.gz: 1a500928e045dab48d5fc1fb2a229c7f43c2b1f9
2
+ SHA256:
3
+ metadata.gz: 007aee9a6804aa48e1a92e855f3842942661a8222664883367b8be1a3d4745d4
4
+ data.tar.gz: cedac3b5ae539ab3e8b9c1a30c8afd4f8efb06df0a60b0c4dcc3e6c8fcbd932f
5
5
  SHA512:
6
- metadata.gz: abafebabb1f16350ff96aa8a16745dcc15d6d14e25042848e683bdb81c203a020a980119abc87aeee9585a1b014f8c54bc57a1a4e339e31161bd2cab020f06b2
7
- data.tar.gz: ee1f376998cebceef687e11347dc6f0e80e0fbc32ec7df9bdbd941d8a8649929bac120647f8b38264719ae449f11e24d58b698f65ee7c1785f340c32119ce010
6
+ metadata.gz: c90ef5882abc07b76bd7233b1b1c02728be0e6c00508a54c5d82b1683bf84f67a7570e5c401f54c94a6430b96cfe814304b5f22c8fbcd43fdef9e107da8c186c
7
+ data.tar.gz: 27951efcad4c9dff025b6716e14baaf78a99305dae9fdfb78b0cc06fe8d53cbc92e6b1ec9e911e95ae71eb2cca379890add57c2fb94ba8c0bf37efe20d28baf2
@@ -37,11 +37,11 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '0ab2eca7-2aca-4302-a471-25cad70355d6' => OperationConfig.new("/loyalty/v1/airport/dmc", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits"]),
41
- '649961ce-cb01-4d23-85e4-45aabb03992a' => OperationConfig.new("/loyalty/v1/airport/history", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","transactionDateFrom","transactionDateTo"]),
42
- '5bacd640-04b4-4f7f-a173-9dc09abe2445' => OperationConfig.new("/loyalty/v1/airport/lounges", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","searchText","preferredLanguage"]),
43
- 'e72cca8b-54a1-4491-a187-b0517fde7086' => OperationConfig.new("/loyalty/v1/airport/lounges/{loungeId}/detail", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","preferredLanguage"]),
44
- '35009fad-d908-42db-89f8-fd234f2f35d6' => OperationConfig.new("/loyalty/v1/users/{userId}/airport", "query", ["x-client-correlation-id"], ["panLastFourDigits"]),
40
+ 'f31383f4-77d8-41a3-bd2a-a1dd2c5ab102' => OperationConfig.new("/loyalty/v1/airport/dmc", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits"]),
41
+ '52c307f7-adbe-4772-96a7-d606bc0704ff' => OperationConfig.new("/loyalty/v1/airport/history", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","preferredLanguage","transactionDateFrom","transactionDateTo"]),
42
+ 'c96fa1fc-ca66-4639-a08d-6235394a919d' => OperationConfig.new("/loyalty/v1/airport/lounges", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","searchText","preferredLanguage"]),
43
+ '61e3633c-115e-42c5-98af-4237141019f4' => OperationConfig.new("/loyalty/v1/airport/lounges/{loungeCode}/detail", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","preferredLanguage"]),
44
+ 'd256fb8d-b654-43b4-a97e-2d1f185bd0da' => OperationConfig.new("/loyalty/v1/users/{userId}/airport", "query", ["x-client-correlation-id"], ["panLastFourDigits"]),
45
45
 
46
46
  }
47
47
 
@@ -74,7 +74,7 @@ module MasterCard
74
74
  #@raise [APIException] an exception from the response status
75
75
  #
76
76
 
77
- return self.execute("0ab2eca7-2aca-4302-a471-25cad70355d6",Airport.new(criteria))
77
+ return self.execute("f31383f4-77d8-41a3-bd2a-a1dd2c5ab102",Airport.new(criteria))
78
78
  end
79
79
 
80
80
 
@@ -91,7 +91,7 @@ module MasterCard
91
91
  #@raise [APIException] an exception from the response status
92
92
  #
93
93
 
94
- return self.execute("649961ce-cb01-4d23-85e4-45aabb03992a",Airport.new(criteria))
94
+ return self.execute("52c307f7-adbe-4772-96a7-d606bc0704ff",Airport.new(criteria))
95
95
  end
96
96
 
97
97
 
@@ -108,7 +108,7 @@ module MasterCard
108
108
  #@raise [APIException] an exception from the response status
109
109
  #
110
110
 
111
- return self.execute("5bacd640-04b4-4f7f-a173-9dc09abe2445",Airport.new(criteria))
111
+ return self.execute("c96fa1fc-ca66-4639-a08d-6235394a919d",Airport.new(criteria))
112
112
  end
113
113
 
114
114
 
@@ -125,7 +125,7 @@ module MasterCard
125
125
  #@raise [APIException] an exception from the response status
126
126
  #
127
127
 
128
- return self.execute("e72cca8b-54a1-4491-a187-b0517fde7086",Airport.new(criteria))
128
+ return self.execute("61e3633c-115e-42c5-98af-4237141019f4",Airport.new(criteria))
129
129
  end
130
130
 
131
131
 
@@ -142,7 +142,7 @@ module MasterCard
142
142
  #@raise [APIException] an exception from the response status
143
143
  #
144
144
 
145
- return self.execute("35009fad-d908-42db-89f8-fd234f2f35d6",Airport.new(criteria))
145
+ return self.execute("d256fb8d-b654-43b4-a97e-2d1f185bd0da",Airport.new(criteria))
146
146
  end
147
147
 
148
148
 
@@ -37,12 +37,12 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'e696812d-aba2-4de1-bde9-b3130454fb6e' => OperationConfig.new("/loyalty/v1/benefits/assigned", "query", ["x-client-correlation-id"], ["ica","userId","panLastFourDigits","channel","preferredLanguage"]),
41
- '3cd4d420-ed39-42ce-b081-22e55ae2a3eb' => OperationConfig.new("/loyalty/v1/benefits/{benefitId}/detail", "query", ["x-client-correlation-id"], ["ica","channel","preferredLanguage"]),
42
- 'e6e93030-1745-4ce0-b4cc-eb5e242f635d' => OperationConfig.new("/loyalty/v1/benefits", "query", ["x-client-correlation-id"], ["ica","cardProductType","channel","preferredLanguage"]),
43
- '4068afbe-8eaa-467a-b094-8b3b33502bee' => OperationConfig.new("/loyalty/v1/benefits", "create", ["x-client-correlation-id"], []),
44
- '153f9592-da8a-4de1-8641-e7f840ea4bbc' => OperationConfig.new("/loyalty/v1/benefits/programterms", "query", ["x-client-correlation-id"], ["ica","preferredLanguage"]),
45
- 'd5b2a3d9-5db8-49d8-991f-46386a846a55' => OperationConfig.new("/loyalty/v1/users/{userId}/benefits", "query", ["x-client-correlation-id"], ["panLastFourDigits"]),
40
+ '23aa63ec-82a4-4135-bde2-7f90dc27ebdf' => OperationConfig.new("/loyalty/v1/benefits/assigned", "query", ["x-client-correlation-id"], ["ica","userId","panLastFourDigits","channel","preferredLanguage"]),
41
+ 'da6073ef-5bb2-4feb-ad63-05b118f76205' => OperationConfig.new("/loyalty/v1/benefits/{benefitId}/detail", "query", ["x-client-correlation-id"], ["ica","channel","preferredLanguage"]),
42
+ 'c501d04f-0914-46be-a385-f8811487604f' => OperationConfig.new("/loyalty/v1/benefits", "query", ["x-client-correlation-id"], ["ica","cardProductType","channel","preferredLanguage"]),
43
+ 'b0b687dc-88eb-4ad5-82b8-434ce76ac3d0' => OperationConfig.new("/loyalty/v1/benefits", "create", ["x-client-correlation-id"], []),
44
+ '6bd3a165-8714-4d48-b3d8-dc921330b37a' => OperationConfig.new("/loyalty/v1/benefits/programterms", "query", ["x-client-correlation-id"], ["ica","preferredLanguage"]),
45
+ 'f234385e-e12b-4d76-b217-7fc2a5123d95' => OperationConfig.new("/loyalty/v1/users/{userId}/benefits", "query", ["x-client-correlation-id"], ["panLastFourDigits"]),
46
46
 
47
47
  }
48
48
 
@@ -75,7 +75,7 @@ module MasterCard
75
75
  #@raise [APIException] an exception from the response status
76
76
  #
77
77
 
78
- return self.execute("e696812d-aba2-4de1-bde9-b3130454fb6e",Benefits.new(criteria))
78
+ return self.execute("23aa63ec-82a4-4135-bde2-7f90dc27ebdf",Benefits.new(criteria))
79
79
  end
80
80
 
81
81
 
@@ -92,7 +92,7 @@ module MasterCard
92
92
  #@raise [APIException] an exception from the response status
93
93
  #
94
94
 
95
- return self.execute("3cd4d420-ed39-42ce-b081-22e55ae2a3eb",Benefits.new(criteria))
95
+ return self.execute("da6073ef-5bb2-4feb-ad63-05b118f76205",Benefits.new(criteria))
96
96
  end
97
97
 
98
98
 
@@ -109,7 +109,7 @@ module MasterCard
109
109
  #@raise [APIException] an exception from the response status
110
110
  #
111
111
 
112
- return self.execute("e6e93030-1745-4ce0-b4cc-eb5e242f635d",Benefits.new(criteria))
112
+ return self.execute("c501d04f-0914-46be-a385-f8811487604f",Benefits.new(criteria))
113
113
  end
114
114
 
115
115
 
@@ -120,7 +120,7 @@ module MasterCard
120
120
  #@param Dict mapObj, containing the required parameters to create a new object
121
121
  #@return [Benefits] of the response of created instance.
122
122
  #@raise [APIException] an exception from the response status
123
- return self.execute("4068afbe-8eaa-467a-b094-8b3b33502bee", Benefits.new(mapObj))
123
+ return self.execute("b0b687dc-88eb-4ad5-82b8-434ce76ac3d0", Benefits.new(mapObj))
124
124
  end
125
125
 
126
126
 
@@ -142,7 +142,7 @@ module MasterCard
142
142
  #@raise [APIException] an exception from the response status
143
143
  #
144
144
 
145
- return self.execute("153f9592-da8a-4de1-8641-e7f840ea4bbc",Benefits.new(criteria))
145
+ return self.execute("6bd3a165-8714-4d48-b3d8-dc921330b37a",Benefits.new(criteria))
146
146
  end
147
147
 
148
148
 
@@ -159,7 +159,7 @@ module MasterCard
159
159
  #@raise [APIException] an exception from the response status
160
160
  #
161
161
 
162
- return self.execute("d5b2a3d9-5db8-49d8-991f-46386a846a55",Benefits.new(criteria))
162
+ return self.execute("f234385e-e12b-4d76-b217-7fc2a5123d95",Benefits.new(criteria))
163
163
  end
164
164
 
165
165
 
@@ -32,16 +32,16 @@ require "mastercard/core/baseobject"
32
32
  module MasterCard
33
33
  module API
34
34
  module McOn
35
- class User < MasterCard::Core::Model::BaseObject
35
+ class BundleProfile < MasterCard::Core::Model::BaseObject
36
36
  include MasterCard::Core::Model
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'f6f55c0f-e33d-43c2-9d2d-41ad36577c2f' => OperationConfig.new("/bundle/profile/v1/users", "create", ["x-client-correlation-id"], []),
41
- '10dd5d03-d9ac-479c-9802-6aaaef5e3956' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "delete", ["x-client-correlation-id"], []),
42
- 'be9df249-571e-411d-93cd-6534f326bd70' => OperationConfig.new("/bundle/profile/v1/users/{userId}/patch", "create", ["x-client-correlation-id"], []),
43
- '8f140e62-f337-4f91-8669-835904cd8fa7' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "read", ["x-client-correlation-id"], []),
44
- 'a5601ce3-f0a5-4892-a4b7-ab51b5cdd4e7' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "update", ["x-client-correlation-id"], []),
40
+ 'ccff9a33-58af-4940-b9e8-1558edd52538' => OperationConfig.new("/bundle/profile/v1/users", "create", ["x-client-correlation-id"], []),
41
+ 'c2c54b4d-2b23-4ae7-b537-0d1f94ec7b83' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "delete", ["x-client-correlation-id"], []),
42
+ 'd74ab067-a623-4398-b1f6-c821d7f948a5' => OperationConfig.new("/bundle/profile/v1/users/{userId}/patch", "create", ["x-client-correlation-id"], []),
43
+ '0db1446a-d974-4d1b-93ba-bb671d16b172' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "read", ["x-client-correlation-id"], []),
44
+ 'ae94a9c0-80b9-4fa8-b71e-2ffddd7c94cb' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "update", ["x-client-correlation-id"], []),
45
45
 
46
46
  }
47
47
 
@@ -63,12 +63,12 @@ module MasterCard
63
63
 
64
64
  def self.createUser(mapObj)
65
65
  #
66
- #Creates object of type User
66
+ #Creates object of type BundleProfile
67
67
  #
68
68
  #@param Dict mapObj, containing the required parameters to create a new object
69
- #@return [User] of the response of created instance.
69
+ #@return [BundleProfile] of the response of created instance.
70
70
  #@raise [APIException] an exception from the response status
71
- return self.execute("f6f55c0f-e33d-43c2-9d2d-41ad36577c2f", User.new(mapObj))
71
+ return self.execute("ccff9a33-58af-4940-b9e8-1558edd52538", BundleProfile.new(mapObj))
72
72
  end
73
73
 
74
74
 
@@ -81,15 +81,15 @@ module MasterCard
81
81
 
82
82
 
83
83
  def self.deleteUserById(id, map = nil)
84
- #Delete object of type User by id
84
+ #Delete object of type BundleProfile by id
85
85
 
86
86
  #@param [String] id
87
87
  #@param [Dict] map, containing additional parameters
88
- #@return [User] of the response of the deleted instance.
88
+ #@return [BundleProfile] of the response of the deleted instance.
89
89
  #@raise [APIException] an exception from the response status
90
90
 
91
91
 
92
- mapObj = User.new
92
+ mapObj = BundleProfile.new
93
93
  if !(id.nil? || id.to_s.empty?)
94
94
  mapObj.set("id", id)
95
95
  end
@@ -101,20 +101,20 @@ module MasterCard
101
101
  end
102
102
  end
103
103
 
104
- return self.execute("10dd5d03-d9ac-479c-9802-6aaaef5e3956", mapObj)
104
+ return self.execute("c2c54b4d-2b23-4ae7-b537-0d1f94ec7b83", mapObj)
105
105
  end
106
106
 
107
107
 
108
108
  def deleteUser
109
109
  #
110
- #Delete object of type User
110
+ #Delete object of type BundleProfile
111
111
 
112
112
  #@param [String] id
113
- #@return [User] of the response of the deleted instance.
113
+ #@return [BundleProfile] of the response of the deleted instance.
114
114
  #@raise [APIException] an exception from the response status
115
115
  #
116
116
 
117
- return self.class.execute("10dd5d03-d9ac-479c-9802-6aaaef5e3956", self)
117
+ return self.class.execute("c2c54b4d-2b23-4ae7-b537-0d1f94ec7b83", self)
118
118
  end
119
119
 
120
120
 
@@ -122,12 +122,12 @@ module MasterCard
122
122
 
123
123
  def self.patchUser(mapObj)
124
124
  #
125
- #Creates object of type User
125
+ #Creates object of type BundleProfile
126
126
  #
127
127
  #@param Dict mapObj, containing the required parameters to create a new object
128
- #@return [User] of the response of created instance.
128
+ #@return [BundleProfile] of the response of created instance.
129
129
  #@raise [APIException] an exception from the response status
130
- return self.execute("be9df249-571e-411d-93cd-6534f326bd70", User.new(mapObj))
130
+ return self.execute("d74ab067-a623-4398-b1f6-c821d7f948a5", BundleProfile.new(mapObj))
131
131
  end
132
132
 
133
133
 
@@ -142,13 +142,13 @@ module MasterCard
142
142
 
143
143
  def self.readUser(id, criteria = nil)
144
144
  #
145
- #Returns objects of type User by id and optional criteria
145
+ #Returns objects of type BundleProfile by id and optional criteria
146
146
  #@param [String] id
147
147
  #@param [Dict] criteria
148
- #@return [User] object representing the response
148
+ #@return [BundleProfile] object representing the response
149
149
  #@raise [APIException] an exception from the response status
150
150
 
151
- mapObj = User.new
151
+ mapObj = BundleProfile.new
152
152
  if !(id.nil? || id.to_s.empty?)
153
153
  mapObj.set("id", id)
154
154
  end
@@ -160,7 +160,7 @@ module MasterCard
160
160
  end
161
161
  end
162
162
 
163
- return self.execute("8f140e62-f337-4f91-8669-835904cd8fa7",User.new(mapObj))
163
+ return self.execute("0db1446a-d974-4d1b-93ba-bb671d16b172",BundleProfile.new(mapObj))
164
164
  end
165
165
 
166
166
 
@@ -168,12 +168,12 @@ module MasterCard
168
168
 
169
169
  def updateUser
170
170
  #
171
- #Updates an object of type User
171
+ #Updates an object of type BundleProfile
172
172
  #
173
- #@return [User] object representing the response.
173
+ #@return [BundleProfile] object representing the response.
174
174
  #@raise [APIException] an exception from the response status
175
175
  #
176
- return self.class.execute("a5601ce3-f0a5-4892-a4b7-ab51b5cdd4e7",self)
176
+ return self.class.execute("ae94a9c0-80b9-4fa8-b71e-2ffddd7c94cb",self)
177
177
  end
178
178
 
179
179
 
@@ -37,8 +37,8 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '66f3f38a-a9e6-41a0-b226-9f8798b2b703' => OperationConfig.new("/loyalty/v1/insurance/claim", "create", ["x-client-correlation-id"], []),
41
- '1662d0ff-4d26-43ab-b0b6-27dc15081ec6' => OperationConfig.new("/loyalty/v1/insurance/tokenizeUserData", "create", ["x-client-correlation-id"], []),
40
+ 'fa4917ab-1a67-4948-a88d-cc7ba900662d' => OperationConfig.new("/loyalty/v1/insurance/claim", "create", ["x-client-correlation-id"], []),
41
+ '873b4853-2336-449f-a1a8-897ab39792b0' => OperationConfig.new("/loyalty/v1/insurance/tokenizeUserData", "create", ["x-client-correlation-id"], []),
42
42
 
43
43
  }
44
44
 
@@ -65,7 +65,7 @@ module MasterCard
65
65
  #@param Dict mapObj, containing the required parameters to create a new object
66
66
  #@return [Insurance] of the response of created instance.
67
67
  #@raise [APIException] an exception from the response status
68
- return self.execute("66f3f38a-a9e6-41a0-b226-9f8798b2b703", Insurance.new(mapObj))
68
+ return self.execute("fa4917ab-1a67-4948-a88d-cc7ba900662d", Insurance.new(mapObj))
69
69
  end
70
70
 
71
71
 
@@ -81,7 +81,7 @@ module MasterCard
81
81
  #@param Dict mapObj, containing the required parameters to create a new object
82
82
  #@return [Insurance] of the response of created instance.
83
83
  #@raise [APIException] an exception from the response status
84
- return self.execute("1662d0ff-4d26-43ab-b0b6-27dc15081ec6", Insurance.new(mapObj))
84
+ return self.execute("873b4853-2336-449f-a1a8-897ab39792b0", Insurance.new(mapObj))
85
85
  end
86
86
 
87
87
 
@@ -37,19 +37,19 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '891eb3fc-32f8-4a9e-af20-60620acdd5ab' => OperationConfig.new("/loyalty/v1/offers", "query", ["x-client-correlation-id"], ["userId","preferredLanguage","sort","category","featured","favorite","partner","latitude","longitude","searchRadius"]),
41
- '543c230a-5f71-4c0a-837d-140439c3ca82' => OperationConfig.new("/loyalty/v1/offers/{offerId}/activate", "create", ["x-client-correlation-id"], []),
42
- '34bf6ba1-6d83-4152-a497-41f28f7a4863' => OperationConfig.new("/loyalty/v1/offers/{offerId}/detail", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
43
- 'a875f3d8-0894-4597-8e65-2e1e33c00f61' => OperationConfig.new("/loyalty/v1/offers/{offerId}/favorite", "create", ["x-client-correlation-id"], []),
44
- '3a237122-9c7b-417f-b0c1-f3ac803b5507' => OperationConfig.new("/loyalty/v1/offers/{offerId}/redeem", "create", ["x-client-correlation-id"], []),
45
- '1646df12-f8c3-406c-a9a5-532de4b6f495' => OperationConfig.new("/loyalty/v1/offers/{offerId}/unfavorite", "create", ["x-client-correlation-id"], []),
46
- 'f8bf2153-0d21-4a5d-a6c3-6bdcfe5e1122' => OperationConfig.new("/loyalty/v1/offers/promo", "create", ["x-client-correlation-id"], []),
47
- '9151e342-2c08-46fe-ac90-77498b436bb5' => OperationConfig.new("/loyalty/v1/offers/redeemed", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
48
- '0bd2dfe2-3bc1-40a4-8a69-c5cf04aa63d5' => OperationConfig.new("/loyalty/v1/points/expiring", "query", ["x-client-correlation-id"], ["userId"]),
49
- '749e8383-1da9-4687-9c90-d772ca0ad6fa' => OperationConfig.new("/loyalty/v1/points", "query", ["x-client-correlation-id"], ["userId"]),
50
- 'f96af6ac-3e2d-404e-81f2-2185288ffe6c' => OperationConfig.new("/loyalty/v1/users/{userId}/offers", "query", ["x-client-correlation-id"], []),
51
- '59f49ef9-2ce9-4b5f-8253-041542c2c844' => OperationConfig.new("/loyalty/v1/vouchers", "query", ["x-client-correlation-id"], ["userId"]),
52
- 'e23c7df9-4187-48bb-b6b9-896897601cf7' => OperationConfig.new("/loyalty/v1/vouchers/{voucherId}/detail", "query", ["x-client-correlation-id"], ["userId"]),
40
+ '5892b910-2ea7-4c98-8b09-77ae08c54a15' => OperationConfig.new("/loyalty/v1/offers", "query", ["x-client-correlation-id"], ["userId","preferredLanguage","sort","category","featured","favorite","partner"]),
41
+ 'a8ca9113-dc6f-4050-b593-e70e43f5e338' => OperationConfig.new("/loyalty/v1/offers/{offerId}/activate", "create", ["x-client-correlation-id"], []),
42
+ '9e1f807c-ef33-4fd6-87c5-87f6ccfe0f82' => OperationConfig.new("/loyalty/v1/offers/{offerId}/detail", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
43
+ '5f0d5b7d-83d3-4279-a9f7-92ad9953a5ff' => OperationConfig.new("/loyalty/v1/offers/{offerId}/favorite", "create", ["x-client-correlation-id"], []),
44
+ '2183962d-aba8-4f1d-b6cf-325f7192aa87' => OperationConfig.new("/loyalty/v1/offers/{offerId}/redeem", "create", ["x-client-correlation-id"], []),
45
+ 'fc6debb0-fc50-487e-91bd-2889eac11735' => OperationConfig.new("/loyalty/v1/offers/{offerId}/unfavorite", "create", ["x-client-correlation-id"], []),
46
+ 'eb7846df-0f91-4fa6-a2c7-11b5bb153da0' => OperationConfig.new("/loyalty/v1/offers/promo", "create", ["x-client-correlation-id"], []),
47
+ '92c794bd-5e99-4619-9a0a-f280c9fc6d97' => OperationConfig.new("/loyalty/v1/offers/redeemed", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
48
+ 'f3741d6d-1b72-4116-bba5-3c9e0a90c3df' => OperationConfig.new("/loyalty/v1/points/expiring", "query", ["x-client-correlation-id"], ["userId"]),
49
+ 'cd7da981-da72-4720-9177-d82316c40088' => OperationConfig.new("/loyalty/v1/points", "query", ["x-client-correlation-id"], ["userId"]),
50
+ '42aec0d3-88ea-4b9f-ad85-fe2c28d7e30c' => OperationConfig.new("/loyalty/v1/users/{userId}/offers", "query", ["x-client-correlation-id"], []),
51
+ '557e5827-954c-427d-84dc-e3e74643201f' => OperationConfig.new("/loyalty/v1/vouchers", "query", ["x-client-correlation-id"], ["userId"]),
52
+ '058c47fb-6873-4a58-b396-9547aa4f076e' => OperationConfig.new("/loyalty/v1/vouchers/{voucherId}/detail", "query", ["x-client-correlation-id"], ["userId"]),
53
53
 
54
54
  }
55
55
 
@@ -82,7 +82,7 @@ module MasterCard
82
82
  #@raise [APIException] an exception from the response status
83
83
  #
84
84
 
85
- return self.execute("891eb3fc-32f8-4a9e-af20-60620acdd5ab",Offers.new(criteria))
85
+ return self.execute("5892b910-2ea7-4c98-8b09-77ae08c54a15",Offers.new(criteria))
86
86
  end
87
87
 
88
88
 
@@ -93,7 +93,7 @@ module MasterCard
93
93
  #@param Dict mapObj, containing the required parameters to create a new object
94
94
  #@return [Offers] of the response of created instance.
95
95
  #@raise [APIException] an exception from the response status
96
- return self.execute("543c230a-5f71-4c0a-837d-140439c3ca82", Offers.new(mapObj))
96
+ return self.execute("a8ca9113-dc6f-4050-b593-e70e43f5e338", Offers.new(mapObj))
97
97
  end
98
98
 
99
99
 
@@ -115,7 +115,7 @@ module MasterCard
115
115
  #@raise [APIException] an exception from the response status
116
116
  #
117
117
 
118
- return self.execute("34bf6ba1-6d83-4152-a497-41f28f7a4863",Offers.new(criteria))
118
+ return self.execute("9e1f807c-ef33-4fd6-87c5-87f6ccfe0f82",Offers.new(criteria))
119
119
  end
120
120
 
121
121
 
@@ -126,7 +126,7 @@ module MasterCard
126
126
  #@param Dict mapObj, containing the required parameters to create a new object
127
127
  #@return [Offers] of the response of created instance.
128
128
  #@raise [APIException] an exception from the response status
129
- return self.execute("a875f3d8-0894-4597-8e65-2e1e33c00f61", Offers.new(mapObj))
129
+ return self.execute("5f0d5b7d-83d3-4279-a9f7-92ad9953a5ff", Offers.new(mapObj))
130
130
  end
131
131
 
132
132
 
@@ -142,7 +142,7 @@ module MasterCard
142
142
  #@param Dict mapObj, containing the required parameters to create a new object
143
143
  #@return [Offers] of the response of created instance.
144
144
  #@raise [APIException] an exception from the response status
145
- return self.execute("3a237122-9c7b-417f-b0c1-f3ac803b5507", Offers.new(mapObj))
145
+ return self.execute("2183962d-aba8-4f1d-b6cf-325f7192aa87", Offers.new(mapObj))
146
146
  end
147
147
 
148
148
 
@@ -158,7 +158,7 @@ module MasterCard
158
158
  #@param Dict mapObj, containing the required parameters to create a new object
159
159
  #@return [Offers] of the response of created instance.
160
160
  #@raise [APIException] an exception from the response status
161
- return self.execute("1646df12-f8c3-406c-a9a5-532de4b6f495", Offers.new(mapObj))
161
+ return self.execute("fc6debb0-fc50-487e-91bd-2889eac11735", Offers.new(mapObj))
162
162
  end
163
163
 
164
164
 
@@ -174,7 +174,7 @@ module MasterCard
174
174
  #@param Dict mapObj, containing the required parameters to create a new object
175
175
  #@return [Offers] of the response of created instance.
176
176
  #@raise [APIException] an exception from the response status
177
- return self.execute("f8bf2153-0d21-4a5d-a6c3-6bdcfe5e1122", Offers.new(mapObj))
177
+ return self.execute("eb7846df-0f91-4fa6-a2c7-11b5bb153da0", Offers.new(mapObj))
178
178
  end
179
179
 
180
180
 
@@ -196,7 +196,7 @@ module MasterCard
196
196
  #@raise [APIException] an exception from the response status
197
197
  #
198
198
 
199
- return self.execute("9151e342-2c08-46fe-ac90-77498b436bb5",Offers.new(criteria))
199
+ return self.execute("92c794bd-5e99-4619-9a0a-f280c9fc6d97",Offers.new(criteria))
200
200
  end
201
201
 
202
202
 
@@ -213,7 +213,7 @@ module MasterCard
213
213
  #@raise [APIException] an exception from the response status
214
214
  #
215
215
 
216
- return self.execute("0bd2dfe2-3bc1-40a4-8a69-c5cf04aa63d5",Offers.new(criteria))
216
+ return self.execute("f3741d6d-1b72-4116-bba5-3c9e0a90c3df",Offers.new(criteria))
217
217
  end
218
218
 
219
219
 
@@ -230,7 +230,7 @@ module MasterCard
230
230
  #@raise [APIException] an exception from the response status
231
231
  #
232
232
 
233
- return self.execute("749e8383-1da9-4687-9c90-d772ca0ad6fa",Offers.new(criteria))
233
+ return self.execute("cd7da981-da72-4720-9177-d82316c40088",Offers.new(criteria))
234
234
  end
235
235
 
236
236
 
@@ -247,7 +247,7 @@ module MasterCard
247
247
  #@raise [APIException] an exception from the response status
248
248
  #
249
249
 
250
- return self.execute("f96af6ac-3e2d-404e-81f2-2185288ffe6c",Offers.new(criteria))
250
+ return self.execute("42aec0d3-88ea-4b9f-ad85-fe2c28d7e30c",Offers.new(criteria))
251
251
  end
252
252
 
253
253
 
@@ -264,7 +264,7 @@ module MasterCard
264
264
  #@raise [APIException] an exception from the response status
265
265
  #
266
266
 
267
- return self.execute("59f49ef9-2ce9-4b5f-8253-041542c2c844",Offers.new(criteria))
267
+ return self.execute("557e5827-954c-427d-84dc-e3e74643201f",Offers.new(criteria))
268
268
  end
269
269
 
270
270
 
@@ -281,7 +281,7 @@ module MasterCard
281
281
  #@raise [APIException] an exception from the response status
282
282
  #
283
283
 
284
- return self.execute("e23c7df9-4187-48bb-b6b9-896897601cf7",Offers.new(criteria))
284
+ return self.execute("058c47fb-6873-4a58-b396-9547aa4f076e",Offers.new(criteria))
285
285
  end
286
286
 
287
287
 
@@ -71,7 +71,7 @@ module MasterCard
71
71
  end
72
72
 
73
73
  def getVersion
74
- return "mc-on:1.0.2"
74
+ return "mc-on:1.0.3"
75
75
  end
76
76
 
77
77
  def getJsonNative
@@ -37,8 +37,8 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'b9660096-a648-4afb-9f67-78ad6a2beba2' => OperationConfig.new("/loyalty/v1/users/{userId}/wifi", "query", ["x-client-correlation-id"], []),
41
- '4d50203f-51ac-4f52-8274-0da86805f0aa' => OperationConfig.new("/loyalty/v1/wifi", "query", ["x-client-correlation-id"], ["latitude","longitude","radius"]),
40
+ 'f983a2b0-b814-47ce-9e26-ea9accf0cd98' => OperationConfig.new("/loyalty/v1/users/{userId}/wifi", "query", ["x-client-correlation-id"], []),
41
+ 'e6f80ad9-f784-4fab-ad15-d78b21ceded6' => OperationConfig.new("/loyalty/v1/wifi", "query", ["x-client-correlation-id"], ["latitude","longitude","radius"]),
42
42
 
43
43
  }
44
44
 
@@ -71,7 +71,7 @@ module MasterCard
71
71
  #@raise [APIException] an exception from the response status
72
72
  #
73
73
 
74
- return self.execute("b9660096-a648-4afb-9f67-78ad6a2beba2",Wifi.new(criteria))
74
+ return self.execute("f983a2b0-b814-47ce-9e26-ea9accf0cd98",Wifi.new(criteria))
75
75
  end
76
76
 
77
77
 
@@ -88,7 +88,7 @@ module MasterCard
88
88
  #@raise [APIException] an exception from the response status
89
89
  #
90
90
 
91
- return self.execute("4d50203f-51ac-4f52-8274-0da86805f0aa",Wifi.new(criteria))
91
+ return self.execute("e6f80ad9-f784-4fab-ad15-d78b21ceded6",Wifi.new(criteria))
92
92
  end
93
93
 
94
94
 
@@ -4,7 +4,7 @@ require 'mastercard/api/mcon/resourceconfig'
4
4
 
5
5
  require 'mastercard/api/mcon/airport'
6
6
  require 'mastercard/api/mcon/benefits'
7
+ require 'mastercard/api/mcon/bundleprofile'
7
8
  require 'mastercard/api/mcon/insurance'
8
9
  require 'mastercard/api/mcon/offers'
9
- require 'mastercard/api/mcon/user'
10
10
  require 'mastercard/api/mcon/wifi'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_mcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-14 00:00:00.000000000 Z
11
+ date: 2018-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -53,10 +53,10 @@ extra_rdoc_files: []
53
53
  files:
54
54
  - lib/mastercard/api/mcon/airport.rb
55
55
  - lib/mastercard/api/mcon/benefits.rb
56
+ - lib/mastercard/api/mcon/bundleprofile.rb
56
57
  - lib/mastercard/api/mcon/insurance.rb
57
58
  - lib/mastercard/api/mcon/offers.rb
58
59
  - lib/mastercard/api/mcon/resourceconfig.rb
59
- - lib/mastercard/api/mcon/user.rb
60
60
  - lib/mastercard/api/mcon/wifi.rb
61
61
  - lib/mastercard_mcon.rb
62
62
  homepage: https://developer.mastercard.com
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubyforge_project:
82
- rubygems_version: 2.5.1
82
+ rubygems_version: 2.7.7
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: MasterCard McOn SDK