@opexa/portal-sdk 0.59.102 → 0.59.104
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.
- package/dist/{chunk-3N7UZTY4.js → chunk-PJ5KOKMM.js} +36 -8
- package/dist/chunk-PJ5KOKMM.js.map +1 -0
- package/dist/index.cjs +74 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +41 -13
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +33 -5
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +2 -2
- package/dist/services/index.d.ts +2 -2
- package/dist/services/index.js +1 -1
- package/dist/{types-I8np3BFE.d.ts → types-BeygYXfu.d.ts} +47 -1
- package/dist/{types-CUBmWbvW.d.cts → types-C8DqYp7P.d.cts} +47 -1
- package/package.json +7 -12
- package/dist/chunk-3N7UZTY4.js.map +0 -1
package/dist/services/index.cjs
CHANGED
|
@@ -148,11 +148,30 @@ var MEMBER_REBATES_QUERY = gql`
|
|
|
148
148
|
}
|
|
149
149
|
description
|
|
150
150
|
name
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
rebatePercentageMode
|
|
152
|
+
rebatePercentageSettings {
|
|
153
|
+
gameCategories {
|
|
154
|
+
gameProvider
|
|
155
|
+
gameType
|
|
156
|
+
percentage
|
|
157
|
+
}
|
|
158
|
+
games {
|
|
159
|
+
game
|
|
160
|
+
percentage
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
rebatePercentageSettingsPerMemberLevel {
|
|
164
|
+
level
|
|
165
|
+
gameCategories {
|
|
166
|
+
gameProvider
|
|
167
|
+
gameType
|
|
168
|
+
percentage
|
|
169
|
+
}
|
|
170
|
+
games {
|
|
171
|
+
game
|
|
172
|
+
percentage
|
|
173
|
+
}
|
|
174
|
+
}
|
|
156
175
|
type
|
|
157
176
|
dateTimeCreated
|
|
158
177
|
}
|
|
@@ -4823,6 +4842,15 @@ var AuthService = class {
|
|
|
4823
4842
|
error: createOperationError("InvalidReCAPTCHAResponseError")
|
|
4824
4843
|
};
|
|
4825
4844
|
}
|
|
4845
|
+
if (input.type === "NAME_AND_PASSWORD" && res.status === 401) {
|
|
4846
|
+
return {
|
|
4847
|
+
ok: false,
|
|
4848
|
+
error: statusCodeToOperationError(
|
|
4849
|
+
res.status,
|
|
4850
|
+
"Invalid username or password"
|
|
4851
|
+
)
|
|
4852
|
+
};
|
|
4853
|
+
}
|
|
4826
4854
|
return {
|
|
4827
4855
|
ok: false,
|
|
4828
4856
|
error: statusCodeToOperationError(res.status)
|