nomba-python 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl
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.
- nomba/__init__.py +1 -1
- nomba/data/nomba_openapi.json +470 -11
- nomba/models.py +31 -171
- nomba/resources/airtime_data.py +0 -228
- nomba/resources/betting.py +0 -132
- nomba/resources/cabletv.py +24 -120
- nomba/resources/electricity.py +6 -138
- {nomba_python-0.4.0.dist-info → nomba_python-0.5.0.dist-info}/METADATA +15 -15
- {nomba_python-0.4.0.dist-info → nomba_python-0.5.0.dist-info}/RECORD +11 -11
- {nomba_python-0.4.0.dist-info → nomba_python-0.5.0.dist-info}/WHEEL +0 -0
- {nomba_python-0.4.0.dist-info → nomba_python-0.5.0.dist-info}/licenses/LICENSE +0 -0
nomba/__init__.py
CHANGED
nomba/data/nomba_openapi.json
CHANGED
|
@@ -9961,9 +9961,19 @@
|
|
|
9961
9961
|
},
|
|
9962
9962
|
"description": {
|
|
9963
9963
|
"type": "string",
|
|
9964
|
-
"example": "
|
|
9964
|
+
"example": "SUCCESS",
|
|
9965
9965
|
"description": "Response description"
|
|
9966
9966
|
},
|
|
9967
|
+
"message": {
|
|
9968
|
+
"type": "string",
|
|
9969
|
+
"example": "SUCCESS",
|
|
9970
|
+
"description": "Response message"
|
|
9971
|
+
},
|
|
9972
|
+
"status": {
|
|
9973
|
+
"type": "boolean",
|
|
9974
|
+
"example": true,
|
|
9975
|
+
"description": "Request status"
|
|
9976
|
+
},
|
|
9967
9977
|
"data": {
|
|
9968
9978
|
"$ref": "#/components/schemas/DataPlanList"
|
|
9969
9979
|
}
|
|
@@ -9971,8 +9981,23 @@
|
|
|
9971
9981
|
"required": [
|
|
9972
9982
|
"code",
|
|
9973
9983
|
"description",
|
|
9984
|
+
"message",
|
|
9985
|
+
"status",
|
|
9974
9986
|
"data"
|
|
9975
9987
|
]
|
|
9988
|
+
},
|
|
9989
|
+
"example": {
|
|
9990
|
+
"code": "00",
|
|
9991
|
+
"description": "SUCCESS",
|
|
9992
|
+
"message": "SUCCESS",
|
|
9993
|
+
"status": true,
|
|
9994
|
+
"data": [
|
|
9995
|
+
{"plan": "110MB Daily Plan", "amount": 100, "productId": "mtn1"},
|
|
9996
|
+
{"plan": "1GB + 1.5mins 1 day Plan", "amount": 500, "productId": "mtn16"},
|
|
9997
|
+
{"plan": "2.7GB+5mins Monthly Plan", "amount": 2000, "productId": "mtn6"},
|
|
9998
|
+
{"plan": "7GB Monthly Plan", "amount": 3500, "productId": "mtn30"},
|
|
9999
|
+
{"plan": "20GB Monthly Plan - 30days", "amount": 7500, "productId": "mtn5"}
|
|
10000
|
+
]
|
|
9976
10001
|
}
|
|
9977
10002
|
}
|
|
9978
10003
|
},
|
|
@@ -12251,6 +12276,189 @@
|
|
|
12251
12276
|
]
|
|
12252
12277
|
}
|
|
12253
12278
|
},
|
|
12279
|
+
"/v1/bill/cableTvProduct": {
|
|
12280
|
+
"get": {
|
|
12281
|
+
"description": "You can use this endpoint to fetch available cable TV subscription plans for a specific provider (DSTV, GOTV, Startimes, ShowMax)",
|
|
12282
|
+
"operationId": "Fetch cable TV plans",
|
|
12283
|
+
"parameters": [
|
|
12284
|
+
{
|
|
12285
|
+
"description": "The cable TV provider type",
|
|
12286
|
+
"example": "dstv",
|
|
12287
|
+
"in": "query",
|
|
12288
|
+
"name": "cableTvType",
|
|
12289
|
+
"required": true,
|
|
12290
|
+
"schema": {
|
|
12291
|
+
"type": "string",
|
|
12292
|
+
"enum": ["dstv", "gotv", "startimes", "showmax"]
|
|
12293
|
+
}
|
|
12294
|
+
},
|
|
12295
|
+
{
|
|
12296
|
+
"description": "The parent accountId of the business.",
|
|
12297
|
+
"in": "header",
|
|
12298
|
+
"name": "accountId",
|
|
12299
|
+
"schema": {
|
|
12300
|
+
"type": "string",
|
|
12301
|
+
"format": "uuid",
|
|
12302
|
+
"example": "890022ce-bae0-45c1-9b9d-ee7872e6ca27"
|
|
12303
|
+
},
|
|
12304
|
+
"required": true
|
|
12305
|
+
}
|
|
12306
|
+
],
|
|
12307
|
+
"responses": {
|
|
12308
|
+
"200": {
|
|
12309
|
+
"content": {
|
|
12310
|
+
"application/json": {
|
|
12311
|
+
"schema": {
|
|
12312
|
+
"type": "object",
|
|
12313
|
+
"properties": {
|
|
12314
|
+
"code": {
|
|
12315
|
+
"type": "string",
|
|
12316
|
+
"example": "00",
|
|
12317
|
+
"description": "Response Code"
|
|
12318
|
+
},
|
|
12319
|
+
"description": {
|
|
12320
|
+
"type": "string",
|
|
12321
|
+
"example": "SUCCESS",
|
|
12322
|
+
"description": "Response description"
|
|
12323
|
+
},
|
|
12324
|
+
"message": {
|
|
12325
|
+
"type": "string",
|
|
12326
|
+
"example": "SUCCESS",
|
|
12327
|
+
"description": "Response message"
|
|
12328
|
+
},
|
|
12329
|
+
"data": {
|
|
12330
|
+
"$ref": "#/components/schemas/CableTvPlanList"
|
|
12331
|
+
}
|
|
12332
|
+
},
|
|
12333
|
+
"required": [
|
|
12334
|
+
"code",
|
|
12335
|
+
"description",
|
|
12336
|
+
"message",
|
|
12337
|
+
"data"
|
|
12338
|
+
]
|
|
12339
|
+
},
|
|
12340
|
+
"example": {
|
|
12341
|
+
"code": "00",
|
|
12342
|
+
"description": "SUCCESS",
|
|
12343
|
+
"message": "SUCCESS",
|
|
12344
|
+
"data": [
|
|
12345
|
+
{"subScriptionType": "PADI", "amount": 4400.0},
|
|
12346
|
+
{"subScriptionType": "YANGA", "amount": 6000.0},
|
|
12347
|
+
{"subScriptionType": "CONFAM", "amount": 11000.0},
|
|
12348
|
+
{"subScriptionType": "COMPACT", "amount": 19000.0},
|
|
12349
|
+
{"subScriptionType": "COMPACT_PLUS", "amount": 30000.0},
|
|
12350
|
+
{"subScriptionType": "PREMIUM", "amount": 44500.0}
|
|
12351
|
+
]
|
|
12352
|
+
}
|
|
12353
|
+
}
|
|
12354
|
+
},
|
|
12355
|
+
"description": "OK - your request was successful.",
|
|
12356
|
+
"headers": {
|
|
12357
|
+
"X-Rate-Limit-Limit": {
|
|
12358
|
+
"description": "The number of allowed requests in the current period",
|
|
12359
|
+
"schema": {
|
|
12360
|
+
"type": "string",
|
|
12361
|
+
"example": "40"
|
|
12362
|
+
}
|
|
12363
|
+
},
|
|
12364
|
+
"X-Rate-Limit-Remaining": {
|
|
12365
|
+
"description": "The number of remaining requests in the current period",
|
|
12366
|
+
"schema": {
|
|
12367
|
+
"type": "string",
|
|
12368
|
+
"example": "39"
|
|
12369
|
+
}
|
|
12370
|
+
},
|
|
12371
|
+
"X-Rate-Limit-Window": {
|
|
12372
|
+
"description": "The specified rate limit window",
|
|
12373
|
+
"schema": {
|
|
12374
|
+
"type": "string",
|
|
12375
|
+
"example": "1s"
|
|
12376
|
+
}
|
|
12377
|
+
}
|
|
12378
|
+
}
|
|
12379
|
+
},
|
|
12380
|
+
"400": {
|
|
12381
|
+
"content": {
|
|
12382
|
+
"application/json": {
|
|
12383
|
+
"schema": {
|
|
12384
|
+
"$ref": "#/components/schemas/RequestError"
|
|
12385
|
+
}
|
|
12386
|
+
}
|
|
12387
|
+
},
|
|
12388
|
+
"description": "The request body sent by merchant did not pass the validation checks"
|
|
12389
|
+
},
|
|
12390
|
+
"401": {
|
|
12391
|
+
"content": {
|
|
12392
|
+
"application/json": {
|
|
12393
|
+
"schema": {
|
|
12394
|
+
"$ref": "#/components/schemas/AuthenticationError"
|
|
12395
|
+
}
|
|
12396
|
+
}
|
|
12397
|
+
},
|
|
12398
|
+
"description": "The access_token provided to access the resource is missing or invalid."
|
|
12399
|
+
},
|
|
12400
|
+
"403": {
|
|
12401
|
+
"content": {
|
|
12402
|
+
"application/json": {
|
|
12403
|
+
"schema": {
|
|
12404
|
+
"$ref": "#/components/schemas/AuthorizationError"
|
|
12405
|
+
}
|
|
12406
|
+
}
|
|
12407
|
+
},
|
|
12408
|
+
"description": "The client does not have the permissions to access this resource"
|
|
12409
|
+
},
|
|
12410
|
+
"404": {
|
|
12411
|
+
"content": {
|
|
12412
|
+
"application/json": {
|
|
12413
|
+
"schema": {
|
|
12414
|
+
"$ref": "#/components/schemas/RecordNotFoundError"
|
|
12415
|
+
}
|
|
12416
|
+
}
|
|
12417
|
+
},
|
|
12418
|
+
"description": "The record that the client is trying to access does not exist."
|
|
12419
|
+
},
|
|
12420
|
+
"429": {
|
|
12421
|
+
"content": {
|
|
12422
|
+
"application/json": {
|
|
12423
|
+
"schema": {
|
|
12424
|
+
"$ref": "#/components/schemas/RateLimitError"
|
|
12425
|
+
}
|
|
12426
|
+
}
|
|
12427
|
+
},
|
|
12428
|
+
"description": "The client has maxed out the number of calls within a time period on this resource."
|
|
12429
|
+
},
|
|
12430
|
+
"500": {
|
|
12431
|
+
"content": {
|
|
12432
|
+
"application/json": {
|
|
12433
|
+
"schema": {
|
|
12434
|
+
"$ref": "#/components/schemas/ServerError"
|
|
12435
|
+
}
|
|
12436
|
+
}
|
|
12437
|
+
},
|
|
12438
|
+
"description": "Downstream system error."
|
|
12439
|
+
},
|
|
12440
|
+
"default": {
|
|
12441
|
+
"content": {
|
|
12442
|
+
"application/json": {
|
|
12443
|
+
"schema": {
|
|
12444
|
+
"$ref": "#/components/schemas/RequestError"
|
|
12445
|
+
}
|
|
12446
|
+
}
|
|
12447
|
+
},
|
|
12448
|
+
"description": "Resource not available"
|
|
12449
|
+
}
|
|
12450
|
+
},
|
|
12451
|
+
"security": [
|
|
12452
|
+
{
|
|
12453
|
+
"BearerAuth": []
|
|
12454
|
+
}
|
|
12455
|
+
],
|
|
12456
|
+
"summary": "Fetch cable TV plans",
|
|
12457
|
+
"tags": [
|
|
12458
|
+
"Cable & Bill Payments"
|
|
12459
|
+
]
|
|
12460
|
+
}
|
|
12461
|
+
},
|
|
12254
12462
|
"/v1/bill/cabletv/lookup": {
|
|
12255
12463
|
"get": {
|
|
12256
12464
|
"description": "This endpoint is for fetching customer information data",
|
|
@@ -13497,9 +13705,19 @@
|
|
|
13497
13705
|
},
|
|
13498
13706
|
"description": {
|
|
13499
13707
|
"type": "string",
|
|
13500
|
-
"example": "
|
|
13708
|
+
"example": "SUCCESS",
|
|
13501
13709
|
"description": "Response description"
|
|
13502
13710
|
},
|
|
13711
|
+
"message": {
|
|
13712
|
+
"type": "string",
|
|
13713
|
+
"example": "SUCCESS",
|
|
13714
|
+
"description": "Response message"
|
|
13715
|
+
},
|
|
13716
|
+
"status": {
|
|
13717
|
+
"type": "boolean",
|
|
13718
|
+
"example": true,
|
|
13719
|
+
"description": "Request status"
|
|
13720
|
+
},
|
|
13503
13721
|
"data": {
|
|
13504
13722
|
"$ref": "#/components/schemas/DiscoList"
|
|
13505
13723
|
}
|
|
@@ -13507,8 +13725,28 @@
|
|
|
13507
13725
|
"required": [
|
|
13508
13726
|
"code",
|
|
13509
13727
|
"description",
|
|
13728
|
+
"message",
|
|
13729
|
+
"status",
|
|
13510
13730
|
"data"
|
|
13511
13731
|
]
|
|
13732
|
+
},
|
|
13733
|
+
"example": {
|
|
13734
|
+
"code": "00",
|
|
13735
|
+
"description": "SUCCESS",
|
|
13736
|
+
"message": "SUCCESS",
|
|
13737
|
+
"status": true,
|
|
13738
|
+
"data": [
|
|
13739
|
+
{"id": "phed", "name": "Port Harcourt (PHED)"},
|
|
13740
|
+
{"id": "jed", "name": "Jos Electric (JEDC)"},
|
|
13741
|
+
{"id": "kaduna", "name": "Kaduna Electric (KAEDCO)"},
|
|
13742
|
+
{"id": "ibedc", "name": "Ibadan Electric (IBEDC)"},
|
|
13743
|
+
{"id": "eko", "name": "Eko Electric (EKEDC)"},
|
|
13744
|
+
{"id": "benin", "name": "Benin Electric (BEDC)"},
|
|
13745
|
+
{"id": "abuja", "name": "Abuja Electric (AEDC)"},
|
|
13746
|
+
{"id": "kano", "name": "Kano Electric (KEDCO)"},
|
|
13747
|
+
{"id": "ikeja", "name": "Ikeja Electric (IKEDC)"},
|
|
13748
|
+
{"id": "enugu", "name": "Enugu Electric (EEDC)"}
|
|
13749
|
+
]
|
|
13512
13750
|
}
|
|
13513
13751
|
}
|
|
13514
13752
|
},
|
|
@@ -13621,7 +13859,8 @@
|
|
|
13621
13859
|
},
|
|
13622
13860
|
"/v1/bill/electricity/lookup": {
|
|
13623
13861
|
"get": {
|
|
13624
|
-
"description": "This endpoint is
|
|
13862
|
+
"description": "**Deprecated.** This endpoint is deprecated and will be removed in a future release. Use `GET /v2/bill/electricity/lookup` instead, which also returns the customer's address.",
|
|
13863
|
+
"deprecated": true,
|
|
13625
13864
|
"operationId": "ELECTRICITY_CUSTOMER_LOOKUP",
|
|
13626
13865
|
"parameters": [
|
|
13627
13866
|
{
|
|
@@ -13782,6 +14021,184 @@
|
|
|
13782
14021
|
]
|
|
13783
14022
|
}
|
|
13784
14023
|
},
|
|
14024
|
+
"/v2/bill/electricity/lookup": {
|
|
14025
|
+
"get": {
|
|
14026
|
+
"description": "This endpoint is for fetching the customer's name and address from an electricity vending provider. Use it to confirm the customer's details before vending electricity.",
|
|
14027
|
+
"operationId": "ELECTRICITY_CUSTOMER_LOOKUP_V2",
|
|
14028
|
+
"parameters": [
|
|
14029
|
+
{
|
|
14030
|
+
"description": "disco",
|
|
14031
|
+
"example": "phed",
|
|
14032
|
+
"in": "query",
|
|
14033
|
+
"name": "disco",
|
|
14034
|
+
"schema": {
|
|
14035
|
+
"type": "string"
|
|
14036
|
+
}
|
|
14037
|
+
},
|
|
14038
|
+
{
|
|
14039
|
+
"description": "The parent accountId of the business.",
|
|
14040
|
+
"in": "header",
|
|
14041
|
+
"name": "accountId",
|
|
14042
|
+
"schema": {
|
|
14043
|
+
"type": "string",
|
|
14044
|
+
"format": "uuid",
|
|
14045
|
+
"example": "890022ce-bae0-45c1-9b9d-ee7872e6ca27"
|
|
14046
|
+
},
|
|
14047
|
+
"required": true
|
|
14048
|
+
},
|
|
14049
|
+
{
|
|
14050
|
+
"description": "customerId",
|
|
14051
|
+
"example": "12347899",
|
|
14052
|
+
"in": "query",
|
|
14053
|
+
"name": "customerId",
|
|
14054
|
+
"schema": {
|
|
14055
|
+
"type": "string"
|
|
14056
|
+
}
|
|
14057
|
+
}
|
|
14058
|
+
],
|
|
14059
|
+
"responses": {
|
|
14060
|
+
"200": {
|
|
14061
|
+
"content": {
|
|
14062
|
+
"application/json": {
|
|
14063
|
+
"schema": {
|
|
14064
|
+
"type": "object",
|
|
14065
|
+
"properties": {
|
|
14066
|
+
"code": {
|
|
14067
|
+
"type": "string",
|
|
14068
|
+
"example": "00",
|
|
14069
|
+
"description": "Response Code"
|
|
14070
|
+
},
|
|
14071
|
+
"description": {
|
|
14072
|
+
"type": "string",
|
|
14073
|
+
"example": "Success",
|
|
14074
|
+
"description": "Response description"
|
|
14075
|
+
},
|
|
14076
|
+
"data": {
|
|
14077
|
+
"type": "object",
|
|
14078
|
+
"description": "The customer's details as returned by the electricity provider",
|
|
14079
|
+
"properties": {
|
|
14080
|
+
"name": {
|
|
14081
|
+
"type": "string",
|
|
14082
|
+
"example": "John Doe",
|
|
14083
|
+
"description": "The name of the customer"
|
|
14084
|
+
},
|
|
14085
|
+
"address": {
|
|
14086
|
+
"type": "string",
|
|
14087
|
+
"example": "12 Adeola Odeku Street, Victoria Island, Lagos",
|
|
14088
|
+
"description": "The address of the customer. Returns `unknown` when the provider does not supply an address."
|
|
14089
|
+
}
|
|
14090
|
+
},
|
|
14091
|
+
"required": [
|
|
14092
|
+
"name",
|
|
14093
|
+
"address"
|
|
14094
|
+
]
|
|
14095
|
+
}
|
|
14096
|
+
},
|
|
14097
|
+
"required": [
|
|
14098
|
+
"code",
|
|
14099
|
+
"description",
|
|
14100
|
+
"data"
|
|
14101
|
+
]
|
|
14102
|
+
}
|
|
14103
|
+
}
|
|
14104
|
+
},
|
|
14105
|
+
"description": "OK - your request was successful.",
|
|
14106
|
+
"headers": {
|
|
14107
|
+
"X-Rate-Limit-Limit": {
|
|
14108
|
+
"description": "The number of allowed requests in the current period",
|
|
14109
|
+
"schema": {
|
|
14110
|
+
"type": "string",
|
|
14111
|
+
"example": "40"
|
|
14112
|
+
}
|
|
14113
|
+
},
|
|
14114
|
+
"X-Rate-Limit-Remaining": {
|
|
14115
|
+
"description": "The number of remaining requests in the current period",
|
|
14116
|
+
"schema": {
|
|
14117
|
+
"type": "string",
|
|
14118
|
+
"example": "39"
|
|
14119
|
+
}
|
|
14120
|
+
},
|
|
14121
|
+
"X-Rate-Limit-Window": {
|
|
14122
|
+
"description": "The specified rate limit window",
|
|
14123
|
+
"schema": {
|
|
14124
|
+
"type": "string",
|
|
14125
|
+
"example": "1s"
|
|
14126
|
+
}
|
|
14127
|
+
}
|
|
14128
|
+
}
|
|
14129
|
+
},
|
|
14130
|
+
"400": {
|
|
14131
|
+
"content": {
|
|
14132
|
+
"application/json": {
|
|
14133
|
+
"schema": {
|
|
14134
|
+
"$ref": "#/components/schemas/RequestError"
|
|
14135
|
+
}
|
|
14136
|
+
}
|
|
14137
|
+
},
|
|
14138
|
+
"description": "The request body sent by merchant did not pass the validation checks"
|
|
14139
|
+
},
|
|
14140
|
+
"401": {
|
|
14141
|
+
"content": {
|
|
14142
|
+
"application/json": {
|
|
14143
|
+
"schema": {
|
|
14144
|
+
"$ref": "#/components/schemas/AuthenticationError"
|
|
14145
|
+
}
|
|
14146
|
+
}
|
|
14147
|
+
},
|
|
14148
|
+
"description": "The access_token provided to access the resource is missing or invalid."
|
|
14149
|
+
},
|
|
14150
|
+
"403": {
|
|
14151
|
+
"content": {
|
|
14152
|
+
"application/json": {
|
|
14153
|
+
"schema": {
|
|
14154
|
+
"$ref": "#/components/schemas/AuthorizationError"
|
|
14155
|
+
}
|
|
14156
|
+
}
|
|
14157
|
+
},
|
|
14158
|
+
"description": "The client does not have the permissions to access this resource"
|
|
14159
|
+
},
|
|
14160
|
+
"404": {
|
|
14161
|
+
"content": {
|
|
14162
|
+
"application/json": {
|
|
14163
|
+
"schema": {
|
|
14164
|
+
"$ref": "#/components/schemas/RecordNotFoundError"
|
|
14165
|
+
}
|
|
14166
|
+
}
|
|
14167
|
+
},
|
|
14168
|
+
"description": "The record that the client is trying to access does not exist."
|
|
14169
|
+
},
|
|
14170
|
+
"429": {
|
|
14171
|
+
"content": {
|
|
14172
|
+
"application/json": {
|
|
14173
|
+
"schema": {
|
|
14174
|
+
"$ref": "#/components/schemas/RateLimitError"
|
|
14175
|
+
}
|
|
14176
|
+
}
|
|
14177
|
+
},
|
|
14178
|
+
"description": "The client has maxed out the number of calls within a time period on this resource."
|
|
14179
|
+
},
|
|
14180
|
+
"500": {
|
|
14181
|
+
"content": {
|
|
14182
|
+
"application/json": {
|
|
14183
|
+
"schema": {
|
|
14184
|
+
"$ref": "#/components/schemas/ServerError"
|
|
14185
|
+
}
|
|
14186
|
+
}
|
|
14187
|
+
},
|
|
14188
|
+
"description": "Downstream system error."
|
|
14189
|
+
}
|
|
14190
|
+
},
|
|
14191
|
+
"security": [
|
|
14192
|
+
{
|
|
14193
|
+
"BearerAuth": []
|
|
14194
|
+
}
|
|
14195
|
+
],
|
|
14196
|
+
"summary": "Fetch customer information from an electricity provider (v2)",
|
|
14197
|
+
"tags": [
|
|
14198
|
+
"Electricity Vending"
|
|
14199
|
+
]
|
|
14200
|
+
}
|
|
14201
|
+
},
|
|
13785
14202
|
"/v1/bill/electricity": {
|
|
13786
14203
|
"post": {
|
|
13787
14204
|
"description": "**Deprecated.** This endpoint is deprecated and will be removed in a future release. Use `POST /v2/bill/electricity` instead.",
|
|
@@ -22528,25 +22945,33 @@
|
|
|
22528
22945
|
"message"
|
|
22529
22946
|
]
|
|
22530
22947
|
},
|
|
22531
|
-
"
|
|
22948
|
+
"DataPlan": {
|
|
22532
22949
|
"type": "object",
|
|
22533
22950
|
"properties": {
|
|
22534
|
-
"amount": {
|
|
22535
|
-
"type": "integer",
|
|
22536
|
-
"format": "int64"
|
|
22537
|
-
},
|
|
22538
22951
|
"plan": {
|
|
22539
22952
|
"type": "string",
|
|
22540
|
-
"example": "
|
|
22953
|
+
"example": "1GB + 1.5mins 1 day Plan"
|
|
22954
|
+
},
|
|
22955
|
+
"amount": {
|
|
22956
|
+
"type": "integer",
|
|
22957
|
+
"format": "int64",
|
|
22958
|
+
"example": 500
|
|
22541
22959
|
},
|
|
22542
22960
|
"productId": {
|
|
22543
22961
|
"type": "string",
|
|
22544
22962
|
"description": "The unique identifier for this data plan. Pass this value as `productId` when purchasing to select this exact bundle.",
|
|
22545
|
-
"example": "
|
|
22963
|
+
"example": "mtn16"
|
|
22546
22964
|
}
|
|
22547
22965
|
}
|
|
22548
22966
|
},
|
|
22549
|
-
"
|
|
22967
|
+
"DataPlanList": {
|
|
22968
|
+
"type": "array",
|
|
22969
|
+
"description": "List of available data plans for the telco",
|
|
22970
|
+
"items": {
|
|
22971
|
+
"$ref": "#/components/schemas/DataPlan"
|
|
22972
|
+
}
|
|
22973
|
+
},
|
|
22974
|
+
"Disco": {
|
|
22550
22975
|
"type": "object",
|
|
22551
22976
|
"properties": {
|
|
22552
22977
|
"id": {
|
|
@@ -22559,6 +22984,40 @@
|
|
|
22559
22984
|
}
|
|
22560
22985
|
}
|
|
22561
22986
|
},
|
|
22987
|
+
"DiscoList": {
|
|
22988
|
+
"type": "array",
|
|
22989
|
+
"description": "List of all electricity providers/discos",
|
|
22990
|
+
"items": {
|
|
22991
|
+
"$ref": "#/components/schemas/Disco"
|
|
22992
|
+
}
|
|
22993
|
+
},
|
|
22994
|
+
"CableTvPlan": {
|
|
22995
|
+
"type": "object",
|
|
22996
|
+
"properties": {
|
|
22997
|
+
"subScriptionType": {
|
|
22998
|
+
"type": "string",
|
|
22999
|
+
"description": "The subscription plan type (e.g., COMPACT, PREMIUM, YANGA)",
|
|
23000
|
+
"example": "COMPACT"
|
|
23001
|
+
},
|
|
23002
|
+
"amount": {
|
|
23003
|
+
"type": "number",
|
|
23004
|
+
"format": "double",
|
|
23005
|
+
"description": "The amount for the subscription plan",
|
|
23006
|
+
"example": 19000.0
|
|
23007
|
+
}
|
|
23008
|
+
},
|
|
23009
|
+
"required": [
|
|
23010
|
+
"subScriptionType",
|
|
23011
|
+
"amount"
|
|
23012
|
+
]
|
|
23013
|
+
},
|
|
23014
|
+
"CableTvPlanList": {
|
|
23015
|
+
"type": "array",
|
|
23016
|
+
"description": "List of available cable TV subscription plans",
|
|
23017
|
+
"items": {
|
|
23018
|
+
"$ref": "#/components/schemas/CableTvPlan"
|
|
23019
|
+
}
|
|
23020
|
+
},
|
|
22562
23021
|
"BettingProvider": {
|
|
22563
23022
|
"type": "object",
|
|
22564
23023
|
"properties": {
|