@gambulls-org/gambulls-apis 3.0.210 → 3.0.211
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/models/ApiSportsbookCreditBetByBatchPostRequest.js +1 -0
- package/models/ApiSportsbookCreditBetByBatchPostRequest.ts +1 -0
- package/models/ApiSportsbookCreditBetPostRequest.js +2 -3
- package/models/ApiSportsbookCreditBetPostRequest.ts +4 -4
- package/models/ApiSportsbookCreditBetPostRequestOrderBetsInner.js +1 -0
- package/models/ApiSportsbookCreditBetPostRequestOrderBetsInner.ts +1 -0
- package/package.json +1 -1
|
@@ -57,6 +57,7 @@ exports.ApiSportsbookCreditBetPostRequestBetStateEnum = {
|
|
|
57
57
|
* @export
|
|
58
58
|
*/
|
|
59
59
|
exports.ApiSportsbookCreditBetPostRequestViewTypeIDEnum = {
|
|
60
|
+
NUMBER_0: 0,
|
|
60
61
|
NUMBER_1: 1,
|
|
61
62
|
NUMBER_2: 2,
|
|
62
63
|
NUMBER_3: 3,
|
|
@@ -103,8 +104,6 @@ function instanceOfApiSportsbookCreditBetPostRequest(value) {
|
|
|
103
104
|
return false;
|
|
104
105
|
if (!('betCommission' in value) || value['betCommission'] === undefined)
|
|
105
106
|
return false;
|
|
106
|
-
if (!('viewTypeID' in value) || value['viewTypeID'] === undefined)
|
|
107
|
-
return false;
|
|
108
107
|
if (!('trackingId' in value) || value['trackingId'] === undefined)
|
|
109
108
|
return false;
|
|
110
109
|
if (!('ipAddress' in value) || value['ipAddress'] === undefined)
|
|
@@ -139,7 +138,7 @@ function ApiSportsbookCreditBetPostRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
139
138
|
'possibleWin': json['PossibleWin'],
|
|
140
139
|
'operationItems': (json['OperationItems'].map(ApiSportsbookCreditBetPostRequestOperationItemsInner_1.ApiSportsbookCreditBetPostRequestOperationItemsInnerFromJSON)),
|
|
141
140
|
'betCommission': json['BetCommission'],
|
|
142
|
-
'viewTypeID': json['ViewTypeID'],
|
|
141
|
+
'viewTypeID': json['ViewTypeID'] == null ? undefined : json['ViewTypeID'],
|
|
143
142
|
'betTaxAmount': json['BetTaxAmount'] == null ? undefined : json['BetTaxAmount'],
|
|
144
143
|
'trackingId': json['TrackingId'],
|
|
145
144
|
'ipAddress': json['IpAddress'],
|
|
@@ -130,7 +130,7 @@ export interface ApiSportsbookCreditBetPostRequest {
|
|
|
130
130
|
* @type {number}
|
|
131
131
|
* @memberof ApiSportsbookCreditBetPostRequest
|
|
132
132
|
*/
|
|
133
|
-
viewTypeID
|
|
133
|
+
viewTypeID?: ApiSportsbookCreditBetPostRequestViewTypeIDEnum;
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
136
136
|
* @type {number}
|
|
@@ -190,7 +190,7 @@ export interface ApiSportsbookCreditBetPostRequest {
|
|
|
190
190
|
* @type {string}
|
|
191
191
|
* @memberof ApiSportsbookCreditBetPostRequest
|
|
192
192
|
*/
|
|
193
|
-
partnerBetId?: string;
|
|
193
|
+
partnerBetId?: string | null;
|
|
194
194
|
/**
|
|
195
195
|
*
|
|
196
196
|
* @type {number}
|
|
@@ -247,6 +247,7 @@ export type ApiSportsbookCreditBetPostRequestBetStateEnum = typeof ApiSportsbook
|
|
|
247
247
|
* @export
|
|
248
248
|
*/
|
|
249
249
|
export const ApiSportsbookCreditBetPostRequestViewTypeIDEnum = {
|
|
250
|
+
NUMBER_0: 0,
|
|
250
251
|
NUMBER_1: 1,
|
|
251
252
|
NUMBER_2: 2,
|
|
252
253
|
NUMBER_3: 3,
|
|
@@ -284,7 +285,6 @@ export function instanceOfApiSportsbookCreditBetPostRequest(value: object): valu
|
|
|
284
285
|
if (!('possibleWin' in value) || value['possibleWin'] === undefined) return false;
|
|
285
286
|
if (!('operationItems' in value) || value['operationItems'] === undefined) return false;
|
|
286
287
|
if (!('betCommission' in value) || value['betCommission'] === undefined) return false;
|
|
287
|
-
if (!('viewTypeID' in value) || value['viewTypeID'] === undefined) return false;
|
|
288
288
|
if (!('trackingId' in value) || value['trackingId'] === undefined) return false;
|
|
289
289
|
if (!('ipAddress' in value) || value['ipAddress'] === undefined) return false;
|
|
290
290
|
if (!('order' in value) || value['order'] === undefined) return false;
|
|
@@ -317,7 +317,7 @@ export function ApiSportsbookCreditBetPostRequestFromJSONTyped(json: any, ignore
|
|
|
317
317
|
'possibleWin': json['PossibleWin'],
|
|
318
318
|
'operationItems': ((json['OperationItems'] as Array<any>).map(ApiSportsbookCreditBetPostRequestOperationItemsInnerFromJSON)),
|
|
319
319
|
'betCommission': json['BetCommission'],
|
|
320
|
-
'viewTypeID': json['ViewTypeID'],
|
|
320
|
+
'viewTypeID': json['ViewTypeID'] == null ? undefined : json['ViewTypeID'],
|
|
321
321
|
'betTaxAmount': json['BetTaxAmount'] == null ? undefined : json['BetTaxAmount'],
|
|
322
322
|
'trackingId': json['TrackingId'],
|
|
323
323
|
'ipAddress': json['IpAddress'],
|