@agent-proxy-kit/puraroute-mcp-server 0.0.0-stage → 0.1.0

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 (33) hide show
  1. package/DISCLOSURE +1 -0
  2. package/LICENSE +15 -0
  3. package/README.md +2 -2
  4. package/bundle/adapter-policy.json +11 -0
  5. package/bundle/brand.json +9 -0
  6. package/bundle/bundle-manifest.json +34 -0
  7. package/bundle/business-openapi.yaml +3518 -0
  8. package/bundle/run-mcp.mjs +38 -0
  9. package/bundle/setup.mjs +27 -0
  10. package/bundle/skill/puraroute-proxy/SKILL.md +26 -0
  11. package/bundle/skill/puraroute-proxy/examples/connection-cases.md +33 -0
  12. package/bundle/skill/puraroute-proxy/references/connection-formats.md +40 -0
  13. package/bundle/skill/puraroute-proxy/references/products.md +9 -0
  14. package/bundle/skill/puraroute-proxy/references/setup.md +14 -0
  15. package/bundle/skill/puraroute-proxy/references/troubleshooting.md +17 -0
  16. package/bundle/skill/puraroute-proxy/references/verified-contract.md +34 -0
  17. package/bundle/skill/puraroute-proxy/references/workflows.md +33 -0
  18. package/bundle/skill/puraroute-proxy/references/zh-CN.md +11 -0
  19. package/bundle/tool-constraints.json +28 -0
  20. package/dist/brand.js +40 -0
  21. package/dist/catalog/input-validator.js +40 -0
  22. package/dist/catalog/load.js +137 -0
  23. package/dist/catalog/operations.js +83 -0
  24. package/dist/catalog/project-schema.js +192 -0
  25. package/dist/cli.js +135 -0
  26. package/dist/config.js +32 -0
  27. package/dist/runtime/execute-operation.js +161 -0
  28. package/dist/runtime/register-openapi.js +12 -0
  29. package/dist/runtime/register-tools.js +4 -0
  30. package/dist/runtime/response.js +44 -0
  31. package/dist/runtime/secrets.js +5 -0
  32. package/dist/transports/stdio.js +14 -0
  33. package/package.json +33 -4
@@ -0,0 +1,3518 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Proxy Business API
4
+ version: 1.0.0
5
+ description: Customer proxy account, resource, and order operations.
6
+ servers:
7
+ - url: /gin/open-api/v1
8
+ security:
9
+ - ApiKeyAuth: []
10
+ paths:
11
+ /wallet/balance:
12
+ get:
13
+ operationId: getWalletBalance
14
+ summary: Get wallet balance
15
+ description: Read the available account balance for business API purchases.
16
+ parameters:
17
+ - $ref: "#/components/parameters/Language"
18
+ - $ref: "#/components/parameters/TraceId"
19
+ responses:
20
+ "200":
21
+ description: Business API response
22
+ content:
23
+ application/json:
24
+ schema:
25
+ oneOf:
26
+ - $ref: "#/components/schemas/DynamicResponseGetWalletBalance"
27
+ - $ref: "#/components/schemas/DynamicApiError"
28
+ headers:
29
+ Cache-Control:
30
+ schema:
31
+ type: string
32
+ X-TRACE-ID:
33
+ schema:
34
+ type: string
35
+ default:
36
+ description: Business API response
37
+ security:
38
+ - ApiKeyAuth: []
39
+ /dynamic/regions:
40
+ get:
41
+ operationId: listDynamicRegions
42
+ summary: List dynamic proxy regions
43
+ description: Find selectable countries, provinces, or cities for dynamic proxies.
44
+ parameters:
45
+ - name: level
46
+ in: query
47
+ required: true
48
+ schema:
49
+ type: string
50
+ enum:
51
+ - COUNTRY
52
+ - PROVINCE
53
+ - CITY
54
+ style: form
55
+ explode: false
56
+ allowReserved: false
57
+ - name: parent_code
58
+ in: query
59
+ required: false
60
+ schema:
61
+ type: string
62
+ minLength: 1
63
+ maxLength: 64
64
+ style: form
65
+ explode: false
66
+ allowReserved: false
67
+ - $ref: "#/components/parameters/Language"
68
+ - $ref: "#/components/parameters/TraceId"
69
+ responses:
70
+ "200":
71
+ description: Business API response
72
+ content:
73
+ application/json:
74
+ schema:
75
+ oneOf:
76
+ - $ref: "#/components/schemas/DynamicResponseListDynamicRegions"
77
+ - $ref: "#/components/schemas/DynamicApiError"
78
+ headers:
79
+ Cache-Control:
80
+ schema:
81
+ type: string
82
+ X-TRACE-ID:
83
+ schema:
84
+ type: string
85
+ default:
86
+ description: Business API response
87
+ security:
88
+ - ApiKeyAuth: []
89
+ /dynamic/traffic/products:
90
+ get:
91
+ operationId: listDynamicTrafficProducts
92
+ summary: List dynamic traffic products
93
+ description: Read available dynamic proxy traffic products and current prices.
94
+ parameters:
95
+ - $ref: "#/components/parameters/Language"
96
+ - $ref: "#/components/parameters/TraceId"
97
+ responses:
98
+ "200":
99
+ description: Business API response
100
+ content:
101
+ application/json:
102
+ schema:
103
+ oneOf:
104
+ - $ref: "#/components/schemas/DynamicResponseListDynamicTrafficProducts"
105
+ - $ref: "#/components/schemas/DynamicApiError"
106
+ headers:
107
+ Cache-Control:
108
+ schema:
109
+ type: string
110
+ X-TRACE-ID:
111
+ schema:
112
+ type: string
113
+ default:
114
+ description: Business API response
115
+ security:
116
+ - ApiKeyAuth: []
117
+ /dynamic/traffic/purchases:
118
+ post:
119
+ operationId: purchaseDynamicTraffic
120
+ summary: Purchase dynamic traffic
121
+ description: Submit a dynamic traffic purchase after checking price and balance.
122
+ parameters:
123
+ - $ref: "#/components/parameters/Language"
124
+ - $ref: "#/components/parameters/TraceId"
125
+ requestBody:
126
+ required: true
127
+ content:
128
+ application/json:
129
+ schema:
130
+ $ref: "#/components/schemas/OpenApiDynamicTrafficPurchaseReq"
131
+ responses:
132
+ "200":
133
+ description: Business API response
134
+ content:
135
+ application/json:
136
+ schema:
137
+ oneOf:
138
+ - $ref: "#/components/schemas/DynamicResponsePurchaseDynamicTraffic"
139
+ - $ref: "#/components/schemas/DynamicApiError"
140
+ headers:
141
+ Cache-Control:
142
+ schema:
143
+ type: string
144
+ X-TRACE-ID:
145
+ schema:
146
+ type: string
147
+ default:
148
+ description: Business API response
149
+ security:
150
+ - ApiKeyAuth: []
151
+ /dynamic/traffic/balance:
152
+ get:
153
+ operationId: getDynamicTrafficBalance
154
+ summary: Get dynamic traffic balance
155
+ description: Read available and used dynamic proxy traffic.
156
+ parameters:
157
+ - $ref: "#/components/parameters/Language"
158
+ - $ref: "#/components/parameters/TraceId"
159
+ responses:
160
+ "200":
161
+ description: Business API response
162
+ content:
163
+ application/json:
164
+ schema:
165
+ oneOf:
166
+ - $ref: "#/components/schemas/DynamicResponseGetDynamicTrafficBalance"
167
+ - $ref: "#/components/schemas/DynamicApiError"
168
+ headers:
169
+ Cache-Control:
170
+ schema:
171
+ type: string
172
+ X-TRACE-ID:
173
+ schema:
174
+ type: string
175
+ default:
176
+ description: Business API response
177
+ security:
178
+ - ApiKeyAuth: []
179
+ /dynamic/traffic/usage/daily:
180
+ get:
181
+ operationId: listDynamicDailyUsage
182
+ summary: List daily dynamic traffic usage
183
+ description: Read daily traffic usage for the requested period and account.
184
+ parameters:
185
+ - name: dynamic_account_id
186
+ in: query
187
+ required: false
188
+ schema:
189
+ type: string
190
+ style: form
191
+ explode: false
192
+ allowReserved: false
193
+ - name: stat_date_start
194
+ in: query
195
+ required: false
196
+ schema:
197
+ type: string
198
+ format: date
199
+ style: form
200
+ explode: false
201
+ allowReserved: false
202
+ - name: stat_date_end
203
+ in: query
204
+ required: false
205
+ schema:
206
+ type: string
207
+ format: date
208
+ style: form
209
+ explode: false
210
+ allowReserved: false
211
+ - name: page_no
212
+ in: query
213
+ required: false
214
+ schema:
215
+ type: integer
216
+ format: int64
217
+ default: 1
218
+ minimum: 1
219
+ style: form
220
+ explode: false
221
+ allowReserved: false
222
+ - name: page_size
223
+ in: query
224
+ required: false
225
+ schema:
226
+ type: integer
227
+ format: int64
228
+ default: 20
229
+ minimum: 1
230
+ maximum: 100
231
+ style: form
232
+ explode: false
233
+ allowReserved: false
234
+ - $ref: "#/components/parameters/Language"
235
+ - $ref: "#/components/parameters/TraceId"
236
+ responses:
237
+ "200":
238
+ description: Business API response
239
+ content:
240
+ application/json:
241
+ schema:
242
+ oneOf:
243
+ - $ref: "#/components/schemas/DynamicResponseListDynamicDailyUsage"
244
+ - $ref: "#/components/schemas/DynamicApiError"
245
+ headers:
246
+ Cache-Control:
247
+ schema:
248
+ type: string
249
+ X-TRACE-ID:
250
+ schema:
251
+ type: string
252
+ default:
253
+ description: Business API response
254
+ security:
255
+ - ApiKeyAuth: []
256
+ /dynamic/traffic/lots:
257
+ get:
258
+ operationId: listEffectiveDynamicTrafficLots
259
+ summary: List active traffic lots
260
+ description: Read currently effective dynamic traffic lots.
261
+ parameters:
262
+ - name: page_no
263
+ in: query
264
+ required: false
265
+ schema:
266
+ type: integer
267
+ format: int64
268
+ default: 1
269
+ minimum: 1
270
+ style: form
271
+ explode: false
272
+ allowReserved: false
273
+ - name: page_size
274
+ in: query
275
+ required: false
276
+ schema:
277
+ type: integer
278
+ format: int64
279
+ default: 20
280
+ minimum: 1
281
+ maximum: 100
282
+ style: form
283
+ explode: false
284
+ allowReserved: false
285
+ - $ref: "#/components/parameters/Language"
286
+ - $ref: "#/components/parameters/TraceId"
287
+ responses:
288
+ "200":
289
+ description: Business API response
290
+ content:
291
+ application/json:
292
+ schema:
293
+ oneOf:
294
+ - $ref: "#/components/schemas/DynamicResponseListEffectiveDynamicTrafficLots"
295
+ - $ref: "#/components/schemas/DynamicApiError"
296
+ headers:
297
+ Cache-Control:
298
+ schema:
299
+ type: string
300
+ X-TRACE-ID:
301
+ schema:
302
+ type: string
303
+ default:
304
+ description: Business API response
305
+ security:
306
+ - ApiKeyAuth: []
307
+ /dynamic/traffic/orders:
308
+ get:
309
+ operationId: listDynamicTrafficOrders
310
+ summary: List dynamic traffic orders
311
+ description: Find existing traffic purchase orders.
312
+ parameters:
313
+ - name: order_no
314
+ in: query
315
+ required: false
316
+ schema:
317
+ type: string
318
+ style: form
319
+ explode: false
320
+ allowReserved: false
321
+ - name: status
322
+ in: query
323
+ required: false
324
+ schema:
325
+ type: string
326
+ enum:
327
+ - PROCESSING
328
+ - COMPLETED
329
+ - FAILED
330
+ style: form
331
+ explode: false
332
+ allowReserved: false
333
+ - name: create_time_start
334
+ in: query
335
+ required: false
336
+ schema:
337
+ type: string
338
+ format: date-time
339
+ style: form
340
+ explode: false
341
+ allowReserved: false
342
+ - name: create_time_end
343
+ in: query
344
+ required: false
345
+ schema:
346
+ type: string
347
+ format: date-time
348
+ style: form
349
+ explode: false
350
+ allowReserved: false
351
+ - name: page_no
352
+ in: query
353
+ required: false
354
+ schema:
355
+ type: integer
356
+ format: int64
357
+ default: 1
358
+ minimum: 1
359
+ style: form
360
+ explode: false
361
+ allowReserved: false
362
+ - name: page_size
363
+ in: query
364
+ required: false
365
+ schema:
366
+ type: integer
367
+ format: int64
368
+ default: 20
369
+ minimum: 1
370
+ maximum: 100
371
+ style: form
372
+ explode: false
373
+ allowReserved: false
374
+ - $ref: "#/components/parameters/Language"
375
+ - $ref: "#/components/parameters/TraceId"
376
+ responses:
377
+ "200":
378
+ description: Business API response
379
+ content:
380
+ application/json:
381
+ schema:
382
+ oneOf:
383
+ - $ref: "#/components/schemas/DynamicResponseListDynamicTrafficOrders"
384
+ - $ref: "#/components/schemas/DynamicApiError"
385
+ headers:
386
+ Cache-Control:
387
+ schema:
388
+ type: string
389
+ X-TRACE-ID:
390
+ schema:
391
+ type: string
392
+ default:
393
+ description: Business API response
394
+ security:
395
+ - ApiKeyAuth: []
396
+ /dynamic/traffic/orders/{order_no}:
397
+ get:
398
+ operationId: getDynamicTrafficOrder
399
+ summary: Get dynamic traffic order
400
+ description: Read the status and details of one traffic order.
401
+ parameters:
402
+ - name: order_no
403
+ in: path
404
+ required: true
405
+ schema:
406
+ type: string
407
+ style: simple
408
+ explode: false
409
+ - $ref: "#/components/parameters/Language"
410
+ - $ref: "#/components/parameters/TraceId"
411
+ responses:
412
+ "200":
413
+ description: Business API response
414
+ content:
415
+ application/json:
416
+ schema:
417
+ oneOf:
418
+ - $ref: "#/components/schemas/DynamicResponseGetDynamicTrafficOrder"
419
+ - $ref: "#/components/schemas/DynamicApiError"
420
+ headers:
421
+ Cache-Control:
422
+ schema:
423
+ type: string
424
+ X-TRACE-ID:
425
+ schema:
426
+ type: string
427
+ default:
428
+ description: Business API response
429
+ security:
430
+ - ApiKeyAuth: []
431
+ /dynamic/accounts:
432
+ get:
433
+ operationId: listDynamicAccounts
434
+ summary: List dynamic proxy accounts
435
+ description: Find existing dynamic accounts and their statuses.
436
+ parameters:
437
+ - name: resource_status
438
+ in: query
439
+ required: false
440
+ schema:
441
+ type: string
442
+ enum:
443
+ - ACTIVE
444
+ - REMOVED
445
+ style: form
446
+ explode: false
447
+ allowReserved: false
448
+ - name: user_enabled
449
+ in: query
450
+ required: false
451
+ schema:
452
+ type: boolean
453
+ style: form
454
+ explode: false
455
+ allowReserved: false
456
+ - name: flow_blocked
457
+ in: query
458
+ required: false
459
+ schema:
460
+ type: boolean
461
+ style: form
462
+ explode: false
463
+ allowReserved: false
464
+ - name: available
465
+ in: query
466
+ required: false
467
+ schema:
468
+ type: boolean
469
+ style: form
470
+ explode: false
471
+ allowReserved: false
472
+ - name: sub_account_keyword
473
+ in: query
474
+ required: false
475
+ schema:
476
+ type: string
477
+ style: form
478
+ explode: false
479
+ allowReserved: false
480
+ - name: page_no
481
+ in: query
482
+ required: false
483
+ schema:
484
+ type: integer
485
+ format: int64
486
+ default: 1
487
+ minimum: 1
488
+ style: form
489
+ explode: false
490
+ allowReserved: false
491
+ - name: page_size
492
+ in: query
493
+ required: false
494
+ schema:
495
+ type: integer
496
+ format: int64
497
+ default: 20
498
+ minimum: 1
499
+ maximum: 100
500
+ style: form
501
+ explode: false
502
+ allowReserved: false
503
+ - $ref: "#/components/parameters/Language"
504
+ - $ref: "#/components/parameters/TraceId"
505
+ responses:
506
+ "200":
507
+ description: Business API response
508
+ content:
509
+ application/json:
510
+ schema:
511
+ oneOf:
512
+ - $ref: "#/components/schemas/DynamicResponseListDynamicAccounts"
513
+ - $ref: "#/components/schemas/DynamicApiError"
514
+ headers:
515
+ Cache-Control:
516
+ schema:
517
+ type: string
518
+ X-TRACE-ID:
519
+ schema:
520
+ type: string
521
+ default:
522
+ description: Business API response
523
+ security:
524
+ - ApiKeyAuth: []
525
+ post:
526
+ operationId: createDynamicAccount
527
+ summary: Create a dynamic proxy account
528
+ description: Create an account for an existing dynamic proxy service.
529
+ parameters:
530
+ - $ref: "#/components/parameters/Language"
531
+ - $ref: "#/components/parameters/TraceId"
532
+ requestBody:
533
+ required: true
534
+ content:
535
+ application/json:
536
+ schema:
537
+ $ref: "#/components/schemas/OpenApiDynamicAccountCreateReq"
538
+ responses:
539
+ "200":
540
+ description: Business API response
541
+ content:
542
+ application/json:
543
+ schema:
544
+ oneOf:
545
+ - $ref: "#/components/schemas/DynamicResponseCreateDynamicAccount"
546
+ - $ref: "#/components/schemas/DynamicApiError"
547
+ headers:
548
+ Cache-Control:
549
+ schema:
550
+ type: string
551
+ X-TRACE-ID:
552
+ schema:
553
+ type: string
554
+ default:
555
+ description: Business API response
556
+ security:
557
+ - ApiKeyAuth: []
558
+ /dynamic/accounts/{id}:
559
+ get:
560
+ operationId: getDynamicAccount
561
+ summary: Get dynamic account details
562
+ description: Read status and settings for a dynamic proxy account.
563
+ parameters:
564
+ - name: id
565
+ in: path
566
+ required: true
567
+ schema:
568
+ type: string
569
+ style: simple
570
+ explode: false
571
+ - $ref: "#/components/parameters/Language"
572
+ - $ref: "#/components/parameters/TraceId"
573
+ responses:
574
+ "200":
575
+ description: Business API response
576
+ content:
577
+ application/json:
578
+ schema:
579
+ oneOf:
580
+ - $ref: "#/components/schemas/DynamicResponseGetDynamicAccount"
581
+ - $ref: "#/components/schemas/DynamicApiError"
582
+ headers:
583
+ Cache-Control:
584
+ schema:
585
+ type: string
586
+ X-TRACE-ID:
587
+ schema:
588
+ type: string
589
+ default:
590
+ description: Business API response
591
+ security:
592
+ - ApiKeyAuth: []
593
+ patch:
594
+ operationId: updateDynamicAccountLimit
595
+ summary: Update dynamic account limit
596
+ description: Change the configured usage limit for a selected dynamic account.
597
+ parameters:
598
+ - name: id
599
+ in: path
600
+ required: true
601
+ schema:
602
+ type: string
603
+ style: simple
604
+ explode: false
605
+ - $ref: "#/components/parameters/Language"
606
+ - $ref: "#/components/parameters/TraceId"
607
+ requestBody:
608
+ required: true
609
+ content:
610
+ application/json:
611
+ schema:
612
+ $ref: "#/components/schemas/OpenApiDynamicAccountLimitReq"
613
+ responses:
614
+ "200":
615
+ description: Business API response
616
+ content:
617
+ application/json:
618
+ schema:
619
+ oneOf:
620
+ - $ref: "#/components/schemas/DynamicResponseUpdateDynamicAccountLimit"
621
+ - $ref: "#/components/schemas/DynamicApiError"
622
+ headers:
623
+ Cache-Control:
624
+ schema:
625
+ type: string
626
+ X-TRACE-ID:
627
+ schema:
628
+ type: string
629
+ default:
630
+ description: Business API response
631
+ security:
632
+ - ApiKeyAuth: []
633
+ /dynamic/accounts/{id}/status:
634
+ patch:
635
+ operationId: setDynamicAccountStatus
636
+ summary: Set dynamic account status
637
+ description: Enable or disable a selected dynamic proxy account.
638
+ parameters:
639
+ - name: id
640
+ in: path
641
+ required: true
642
+ schema:
643
+ type: string
644
+ style: simple
645
+ explode: false
646
+ - $ref: "#/components/parameters/Language"
647
+ - $ref: "#/components/parameters/TraceId"
648
+ requestBody:
649
+ required: true
650
+ content:
651
+ application/json:
652
+ schema:
653
+ $ref: "#/components/schemas/OpenApiDynamicAccountStatusReq"
654
+ responses:
655
+ "200":
656
+ description: Business API response
657
+ content:
658
+ application/json:
659
+ schema:
660
+ oneOf:
661
+ - $ref: "#/components/schemas/DynamicResponseSetDynamicAccountStatus"
662
+ - $ref: "#/components/schemas/DynamicApiError"
663
+ headers:
664
+ Cache-Control:
665
+ schema:
666
+ type: string
667
+ X-TRACE-ID:
668
+ schema:
669
+ type: string
670
+ default:
671
+ description: Business API response
672
+ security:
673
+ - ApiKeyAuth: []
674
+ /dynamic/accounts/{id}/proxy-credentials:
675
+ post:
676
+ operationId: generateDynamicProxyCredentials
677
+ summary: Generate dynamic proxy credentials
678
+ description: Obtain connection credentials for a selected dynamic account.
679
+ parameters:
680
+ - name: id
681
+ in: path
682
+ required: true
683
+ schema:
684
+ type: string
685
+ style: simple
686
+ explode: false
687
+ - $ref: "#/components/parameters/Language"
688
+ - $ref: "#/components/parameters/TraceId"
689
+ requestBody:
690
+ required: true
691
+ content:
692
+ application/json:
693
+ schema:
694
+ $ref: "#/components/schemas/OpenApiProxyCredentialsReq"
695
+ responses:
696
+ "200":
697
+ description: Business API response
698
+ content:
699
+ application/json:
700
+ schema:
701
+ oneOf:
702
+ - $ref: "#/components/schemas/DynamicResponseGenerateDynamicProxyCredentials"
703
+ - $ref: "#/components/schemas/DynamicApiError"
704
+ headers:
705
+ Cache-Control:
706
+ schema:
707
+ type: string
708
+ X-TRACE-ID:
709
+ schema:
710
+ type: string
711
+ default:
712
+ description: Business API response
713
+ security:
714
+ - ApiKeyAuth: []
715
+ /static/regions:
716
+ get:
717
+ operationId: listStaticRegions
718
+ summary: List static proxy regions
719
+ description: Find selectable regions for static proxies.
720
+ parameters:
721
+ - name: static_type
722
+ in: query
723
+ required: false
724
+ schema:
725
+ type: string
726
+ enum:
727
+ - ISP
728
+ - ISP_NATIVE
729
+ - ISP_CARRIER_NATIVE
730
+ style: form
731
+ explode: true
732
+ allowReserved: false
733
+ - $ref: "#/components/parameters/Language"
734
+ - $ref: "#/components/parameters/TraceId"
735
+ responses:
736
+ "200":
737
+ description: Business API response
738
+ content:
739
+ application/json:
740
+ schema:
741
+ oneOf:
742
+ - $ref: "#/components/schemas/ListStaticRegionsResponse"
743
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
744
+ headers:
745
+ Cache-Control:
746
+ schema:
747
+ type: string
748
+ X-TRACE-ID:
749
+ schema:
750
+ type: string
751
+ default:
752
+ description: Business API response
753
+ security:
754
+ - ApiKeyAuth: []
755
+ /static/inventory:
756
+ post:
757
+ operationId: getStaticInventory
758
+ summary: Check static proxy inventory
759
+ description: Read available static proxy stock for the requested selection.
760
+ parameters:
761
+ - $ref: "#/components/parameters/Language"
762
+ - $ref: "#/components/parameters/TraceId"
763
+ requestBody:
764
+ required: true
765
+ content:
766
+ application/json:
767
+ schema:
768
+ $ref: "#/components/schemas/OpenApiStaticInventoryReq"
769
+ responses:
770
+ "200":
771
+ description: Business API response
772
+ content:
773
+ application/json:
774
+ schema:
775
+ oneOf:
776
+ - $ref: "#/components/schemas/GetStaticInventoryResponse"
777
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
778
+ headers:
779
+ Cache-Control:
780
+ schema:
781
+ type: string
782
+ X-TRACE-ID:
783
+ schema:
784
+ type: string
785
+ default:
786
+ description: Business API response
787
+ security:
788
+ - ApiKeyAuth: []
789
+ /static/purchase-quotes:
790
+ post:
791
+ operationId: quoteStaticPurchase
792
+ summary: Quote static proxy purchase
793
+ description: Calculate the current price for a proposed static proxy purchase.
794
+ parameters:
795
+ - $ref: "#/components/parameters/Language"
796
+ - $ref: "#/components/parameters/TraceId"
797
+ requestBody:
798
+ required: true
799
+ content:
800
+ application/json:
801
+ schema:
802
+ $ref: "#/components/schemas/OpenApiStaticPurchaseQuoteReq"
803
+ responses:
804
+ "200":
805
+ description: Business API response
806
+ content:
807
+ application/json:
808
+ schema:
809
+ oneOf:
810
+ - $ref: "#/components/schemas/QuoteStaticPurchaseResponse"
811
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
812
+ headers:
813
+ Cache-Control:
814
+ schema:
815
+ type: string
816
+ X-TRACE-ID:
817
+ schema:
818
+ type: string
819
+ default:
820
+ description: Business API response
821
+ security:
822
+ - ApiKeyAuth: []
823
+ /static/purchase-orders:
824
+ get:
825
+ operationId: listStaticPurchaseOrders
826
+ summary: List static purchase orders
827
+ description: Find existing static proxy purchase orders.
828
+ parameters:
829
+ - name: order_no
830
+ in: query
831
+ required: false
832
+ schema:
833
+ type: string
834
+ minLength: 1
835
+ style: form
836
+ explode: true
837
+ allowReserved: false
838
+ - name: create_time_start
839
+ in: query
840
+ required: false
841
+ schema:
842
+ type: string
843
+ format: date-time
844
+ style: form
845
+ explode: true
846
+ allowReserved: false
847
+ - name: create_time_end
848
+ in: query
849
+ required: false
850
+ schema:
851
+ type: string
852
+ format: date-time
853
+ style: form
854
+ explode: true
855
+ allowReserved: false
856
+ - name: status
857
+ in: query
858
+ required: false
859
+ schema:
860
+ type: string
861
+ enum:
862
+ - UNFULFILLED
863
+ - PROCESSING
864
+ - SUCCESS
865
+ - PARTIAL_SUCCESS
866
+ - FAILED
867
+ style: form
868
+ explode: true
869
+ allowReserved: false
870
+ - name: page_no
871
+ in: query
872
+ required: false
873
+ schema:
874
+ type: integer
875
+ format: int64
876
+ minimum: 1
877
+ default: 1
878
+ style: form
879
+ explode: true
880
+ allowReserved: false
881
+ - name: page_size
882
+ in: query
883
+ required: false
884
+ schema:
885
+ type: integer
886
+ format: int64
887
+ minimum: 1
888
+ maximum: 100
889
+ default: 20
890
+ style: form
891
+ explode: true
892
+ allowReserved: false
893
+ - $ref: "#/components/parameters/Language"
894
+ - $ref: "#/components/parameters/TraceId"
895
+ responses:
896
+ "200":
897
+ description: Business API response
898
+ content:
899
+ application/json:
900
+ schema:
901
+ oneOf:
902
+ - $ref: "#/components/schemas/ListStaticPurchaseOrdersResponse"
903
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
904
+ headers:
905
+ Cache-Control:
906
+ schema:
907
+ type: string
908
+ X-TRACE-ID:
909
+ schema:
910
+ type: string
911
+ default:
912
+ description: Business API response
913
+ security:
914
+ - ApiKeyAuth: []
915
+ post:
916
+ operationId: createStaticPurchaseOrder
917
+ summary: Place a static proxy order
918
+ description: Submit a static proxy purchase order after checking the quote and stock.
919
+ parameters:
920
+ - $ref: "#/components/parameters/Language"
921
+ - $ref: "#/components/parameters/TraceId"
922
+ requestBody:
923
+ required: true
924
+ content:
925
+ application/json:
926
+ schema:
927
+ $ref: "#/components/schemas/OpenApiStaticPurchaseOrderCreateReq"
928
+ responses:
929
+ "200":
930
+ description: Business API response
931
+ content:
932
+ application/json:
933
+ schema:
934
+ oneOf:
935
+ - $ref: "#/components/schemas/CreateStaticPurchaseOrderResponse"
936
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
937
+ headers:
938
+ Cache-Control:
939
+ schema:
940
+ type: string
941
+ X-TRACE-ID:
942
+ schema:
943
+ type: string
944
+ default:
945
+ description: Business API response
946
+ security:
947
+ - ApiKeyAuth: []
948
+ /static/purchase-orders/{order_no}:
949
+ get:
950
+ operationId: getStaticPurchaseOrder
951
+ summary: Get static purchase order
952
+ description: Read the status and details of one static proxy order.
953
+ parameters:
954
+ - name: order_no
955
+ in: path
956
+ required: true
957
+ schema:
958
+ type: string
959
+ minLength: 1
960
+ style: simple
961
+ explode: false
962
+ - $ref: "#/components/parameters/Language"
963
+ - $ref: "#/components/parameters/TraceId"
964
+ responses:
965
+ "200":
966
+ description: Business API response
967
+ content:
968
+ application/json:
969
+ schema:
970
+ oneOf:
971
+ - $ref: "#/components/schemas/GetStaticPurchaseOrderResponse"
972
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
973
+ headers:
974
+ Cache-Control:
975
+ schema:
976
+ type: string
977
+ X-TRACE-ID:
978
+ schema:
979
+ type: string
980
+ default:
981
+ description: Business API response
982
+ security:
983
+ - ApiKeyAuth: []
984
+ /static/resources:
985
+ get:
986
+ operationId: listStaticResources
987
+ summary: List static proxy resources
988
+ description: Find current static proxy resources and their connection details.
989
+ parameters:
990
+ - name: static_type
991
+ in: query
992
+ required: false
993
+ schema:
994
+ type: string
995
+ enum:
996
+ - ISP
997
+ - ISP_NATIVE
998
+ - ISP_CARRIER_NATIVE
999
+ style: form
1000
+ explode: true
1001
+ allowReserved: false
1002
+ - name: region_code
1003
+ in: query
1004
+ required: false
1005
+ schema:
1006
+ type: string
1007
+ minLength: 1
1008
+ style: form
1009
+ explode: true
1010
+ allowReserved: false
1011
+ - name: resource_status
1012
+ in: query
1013
+ required: false
1014
+ schema:
1015
+ type: string
1016
+ enum:
1017
+ - ACTIVE
1018
+ - EXPIRED
1019
+ - REFUNDED
1020
+ style: form
1021
+ explode: true
1022
+ allowReserved: false
1023
+ - name: expire_time_start
1024
+ in: query
1025
+ required: false
1026
+ schema:
1027
+ type: string
1028
+ format: date-time
1029
+ style: form
1030
+ explode: true
1031
+ allowReserved: false
1032
+ - name: expire_time_end
1033
+ in: query
1034
+ required: false
1035
+ schema:
1036
+ type: string
1037
+ format: date-time
1038
+ style: form
1039
+ explode: true
1040
+ allowReserved: false
1041
+ - name: ip_keyword
1042
+ in: query
1043
+ required: false
1044
+ schema:
1045
+ type: string
1046
+ minLength: 1
1047
+ maxLength: 64
1048
+ pattern: ^[0-9A-Fa-f:.]+$
1049
+ style: form
1050
+ explode: true
1051
+ allowReserved: false
1052
+ - name: page_no
1053
+ in: query
1054
+ required: false
1055
+ schema:
1056
+ type: integer
1057
+ format: int64
1058
+ minimum: 1
1059
+ default: 1
1060
+ style: form
1061
+ explode: true
1062
+ allowReserved: false
1063
+ - name: page_size
1064
+ in: query
1065
+ required: false
1066
+ schema:
1067
+ type: integer
1068
+ format: int64
1069
+ minimum: 1
1070
+ maximum: 100
1071
+ default: 20
1072
+ style: form
1073
+ explode: true
1074
+ allowReserved: false
1075
+ - $ref: "#/components/parameters/Language"
1076
+ - $ref: "#/components/parameters/TraceId"
1077
+ responses:
1078
+ "200":
1079
+ description: Business API response
1080
+ content:
1081
+ application/json:
1082
+ schema:
1083
+ oneOf:
1084
+ - $ref: "#/components/schemas/ListStaticResourcesResponse"
1085
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
1086
+ headers:
1087
+ Cache-Control:
1088
+ schema:
1089
+ type: string
1090
+ X-TRACE-ID:
1091
+ schema:
1092
+ type: string
1093
+ default:
1094
+ description: Business API response
1095
+ security:
1096
+ - ApiKeyAuth: []
1097
+ /static/renewal-quotes:
1098
+ post:
1099
+ operationId: quoteStaticRenewal
1100
+ summary: Quote static proxy renewal
1101
+ description: Calculate the current price for a proposed resource renewal.
1102
+ parameters:
1103
+ - $ref: "#/components/parameters/Language"
1104
+ - $ref: "#/components/parameters/TraceId"
1105
+ requestBody:
1106
+ required: true
1107
+ content:
1108
+ application/json:
1109
+ schema:
1110
+ $ref: "#/components/schemas/OpenApiStaticRenewalQuoteReq"
1111
+ responses:
1112
+ "200":
1113
+ description: Business API response
1114
+ content:
1115
+ application/json:
1116
+ schema:
1117
+ oneOf:
1118
+ - $ref: "#/components/schemas/QuoteStaticRenewalResponse"
1119
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
1120
+ headers:
1121
+ Cache-Control:
1122
+ schema:
1123
+ type: string
1124
+ X-TRACE-ID:
1125
+ schema:
1126
+ type: string
1127
+ default:
1128
+ description: Business API response
1129
+ security:
1130
+ - ApiKeyAuth: []
1131
+ /static/renewal-orders:
1132
+ get:
1133
+ operationId: listStaticRenewalOrders
1134
+ summary: List static renewal orders
1135
+ description: Find existing static proxy renewal orders.
1136
+ parameters:
1137
+ - name: order_no
1138
+ in: query
1139
+ required: false
1140
+ schema:
1141
+ type: string
1142
+ minLength: 1
1143
+ style: form
1144
+ explode: true
1145
+ allowReserved: false
1146
+ - name: create_time_start
1147
+ in: query
1148
+ required: false
1149
+ schema:
1150
+ type: string
1151
+ format: date-time
1152
+ style: form
1153
+ explode: true
1154
+ allowReserved: false
1155
+ - name: create_time_end
1156
+ in: query
1157
+ required: false
1158
+ schema:
1159
+ type: string
1160
+ format: date-time
1161
+ style: form
1162
+ explode: true
1163
+ allowReserved: false
1164
+ - name: status
1165
+ in: query
1166
+ required: false
1167
+ schema:
1168
+ type: string
1169
+ enum:
1170
+ - PROCESSING
1171
+ - COMPLETED
1172
+ - FAILED
1173
+ style: form
1174
+ explode: true
1175
+ allowReserved: false
1176
+ - name: page_no
1177
+ in: query
1178
+ required: false
1179
+ schema:
1180
+ type: integer
1181
+ format: int64
1182
+ minimum: 1
1183
+ default: 1
1184
+ style: form
1185
+ explode: true
1186
+ allowReserved: false
1187
+ - name: page_size
1188
+ in: query
1189
+ required: false
1190
+ schema:
1191
+ type: integer
1192
+ format: int64
1193
+ minimum: 1
1194
+ maximum: 100
1195
+ default: 20
1196
+ style: form
1197
+ explode: true
1198
+ allowReserved: false
1199
+ - $ref: "#/components/parameters/Language"
1200
+ - $ref: "#/components/parameters/TraceId"
1201
+ responses:
1202
+ "200":
1203
+ description: Business API response
1204
+ content:
1205
+ application/json:
1206
+ schema:
1207
+ oneOf:
1208
+ - $ref: "#/components/schemas/ListStaticRenewalOrdersResponse"
1209
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
1210
+ headers:
1211
+ Cache-Control:
1212
+ schema:
1213
+ type: string
1214
+ X-TRACE-ID:
1215
+ schema:
1216
+ type: string
1217
+ default:
1218
+ description: Business API response
1219
+ security:
1220
+ - ApiKeyAuth: []
1221
+ post:
1222
+ operationId: createStaticRenewalOrder
1223
+ summary: Renew a static proxy resource
1224
+ description: Submit renewal for a selected static proxy resource after checking
1225
+ the quote.
1226
+ parameters:
1227
+ - $ref: "#/components/parameters/Language"
1228
+ - $ref: "#/components/parameters/TraceId"
1229
+ requestBody:
1230
+ required: true
1231
+ content:
1232
+ application/json:
1233
+ schema:
1234
+ $ref: "#/components/schemas/OpenApiStaticRenewalOrderCreateReq"
1235
+ responses:
1236
+ "200":
1237
+ description: Business API response
1238
+ content:
1239
+ application/json:
1240
+ schema:
1241
+ oneOf:
1242
+ - $ref: "#/components/schemas/CreateStaticRenewalOrderResponse"
1243
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
1244
+ headers:
1245
+ Cache-Control:
1246
+ schema:
1247
+ type: string
1248
+ X-TRACE-ID:
1249
+ schema:
1250
+ type: string
1251
+ default:
1252
+ description: Business API response
1253
+ security:
1254
+ - ApiKeyAuth: []
1255
+ /static/renewal-orders/{order_no}:
1256
+ get:
1257
+ operationId: getStaticRenewalOrder
1258
+ summary: Get static renewal order
1259
+ description: Read the status and details of one renewal order.
1260
+ parameters:
1261
+ - name: order_no
1262
+ in: path
1263
+ required: true
1264
+ schema:
1265
+ type: string
1266
+ minLength: 1
1267
+ style: simple
1268
+ explode: false
1269
+ - $ref: "#/components/parameters/Language"
1270
+ - $ref: "#/components/parameters/TraceId"
1271
+ responses:
1272
+ "200":
1273
+ description: Business API response
1274
+ content:
1275
+ application/json:
1276
+ schema:
1277
+ oneOf:
1278
+ - $ref: "#/components/schemas/GetStaticRenewalOrderResponse"
1279
+ - $ref: "#/components/schemas/StaticApiErrorResponse"
1280
+ headers:
1281
+ Cache-Control:
1282
+ schema:
1283
+ type: string
1284
+ X-TRACE-ID:
1285
+ schema:
1286
+ type: string
1287
+ default:
1288
+ description: Business API response
1289
+ security:
1290
+ - ApiKeyAuth: []
1291
+ components:
1292
+ securitySchemes:
1293
+ ApiKeyAuth:
1294
+ type: apiKey
1295
+ in: header
1296
+ name: X-API-Key
1297
+ parameters:
1298
+ Language:
1299
+ name: X-LANG
1300
+ in: header
1301
+ required: false
1302
+ style: simple
1303
+ explode: false
1304
+ schema:
1305
+ type: string
1306
+ default: en_US
1307
+ TraceId:
1308
+ name: X-TRACE-ID
1309
+ in: header
1310
+ required: false
1311
+ style: simple
1312
+ explode: false
1313
+ schema:
1314
+ type: string
1315
+ schemas:
1316
+ OpenApiDynamicTrafficPurchaseReq:
1317
+ type: object
1318
+ properties:
1319
+ request_no:
1320
+ type: string
1321
+ minLength: 1
1322
+ maxLength: 64
1323
+ pattern: ^[A-Za-z0-9_-]{1,64}$
1324
+ product_code:
1325
+ type: string
1326
+ minLength: 1
1327
+ maxLength: 64
1328
+ traffic_gb:
1329
+ type: string
1330
+ pattern: ^(?!0+(?:\.0+)?$)[0-9]+(?:\.[0-9]{1,6})?$
1331
+ additionalProperties: false
1332
+ required:
1333
+ - request_no
1334
+ - product_code
1335
+ - traffic_gb
1336
+ OpenApiDynamicAccountCreateReq:
1337
+ type: object
1338
+ properties:
1339
+ request_no:
1340
+ type: string
1341
+ minLength: 1
1342
+ maxLength: 64
1343
+ pattern: ^[A-Za-z0-9_-]{1,64}$
1344
+ sub_account:
1345
+ type: string
1346
+ limit_traffic_gb:
1347
+ type: string
1348
+ nullable: true
1349
+ pattern: ^[0-9]+(?:\.0{1,6})?$
1350
+ additionalProperties: false
1351
+ required:
1352
+ - request_no
1353
+ - sub_account
1354
+ OpenApiDynamicAccountLimitReq:
1355
+ type: object
1356
+ properties:
1357
+ limit_traffic_gb:
1358
+ type: string
1359
+ pattern: ^[0-9]+(?:\.0{1,6})?$
1360
+ additionalProperties: false
1361
+ required:
1362
+ - limit_traffic_gb
1363
+ OpenApiDynamicAccountStatusReq:
1364
+ type: object
1365
+ properties:
1366
+ user_enabled:
1367
+ type: boolean
1368
+ additionalProperties: false
1369
+ required:
1370
+ - user_enabled
1371
+ OpenApiProxyCredentialsReq:
1372
+ type: object
1373
+ properties:
1374
+ country_code:
1375
+ type: string
1376
+ nullable: true
1377
+ province_code:
1378
+ type: string
1379
+ nullable: true
1380
+ city_code:
1381
+ type: string
1382
+ nullable: true
1383
+ rotation_type:
1384
+ type: string
1385
+ enum:
1386
+ - ROTATING
1387
+ - STICKY
1388
+ session_duration_minutes:
1389
+ type: integer
1390
+ format: int32
1391
+ minimum: 1
1392
+ maximum: 2147483647
1393
+ nullable: true
1394
+ additionalProperties: false
1395
+ required:
1396
+ - rotation_type
1397
+ OpenApiWalletBalanceVO:
1398
+ type: object
1399
+ properties:
1400
+ available_balance:
1401
+ type: string
1402
+ pattern: ^-?[0-9]+\.[0-9]{4}$
1403
+ currency:
1404
+ type: string
1405
+ enum:
1406
+ - USD
1407
+ additionalProperties: false
1408
+ required:
1409
+ - available_balance
1410
+ - currency
1411
+ OpenApiDynamicRegionVO:
1412
+ type: object
1413
+ properties:
1414
+ region_code:
1415
+ type: string
1416
+ name:
1417
+ type: string
1418
+ level:
1419
+ type: string
1420
+ enum:
1421
+ - COUNTRY
1422
+ - PROVINCE
1423
+ - CITY
1424
+ parent_code:
1425
+ type: string
1426
+ nullable: true
1427
+ has_children:
1428
+ type: boolean
1429
+ additionalProperties: false
1430
+ required:
1431
+ - region_code
1432
+ - name
1433
+ - level
1434
+ - parent_code
1435
+ - has_children
1436
+ OpenApiDynamicTrafficProductTierVO:
1437
+ type: object
1438
+ properties:
1439
+ min_exclusive:
1440
+ type: string
1441
+ nullable: true
1442
+ pattern: ^[0-9]+\.[0-9]{6}$
1443
+ max_inclusive:
1444
+ type: string
1445
+ nullable: true
1446
+ pattern: ^[0-9]+\.[0-9]{6}$
1447
+ unit_price:
1448
+ type: string
1449
+ pattern: ^[0-9]+\.[0-9]{6}$
1450
+ additionalProperties: false
1451
+ required:
1452
+ - min_exclusive
1453
+ - max_inclusive
1454
+ - unit_price
1455
+ OpenApiDynamicTrafficProductVO:
1456
+ type: object
1457
+ properties:
1458
+ product_code:
1459
+ type: string
1460
+ name:
1461
+ type: string
1462
+ fixed_traffic_gb:
1463
+ type: string
1464
+ nullable: true
1465
+ pattern: ^[0-9]+\.[0-9]{6}$
1466
+ allow_custom_quantity:
1467
+ type: boolean
1468
+ min_purchase_gb:
1469
+ type: string
1470
+ nullable: true
1471
+ pattern: ^[0-9]+\.[0-9]{6}$
1472
+ max_purchase_gb:
1473
+ type: string
1474
+ nullable: true
1475
+ pattern: ^[0-9]+\.[0-9]{6}$
1476
+ purchase_step_gb:
1477
+ type: string
1478
+ nullable: true
1479
+ pattern: ^[0-9]+\.[0-9]{6}$
1480
+ valid_days:
1481
+ type: integer
1482
+ format: int32
1483
+ nullable: true
1484
+ currency:
1485
+ type: string
1486
+ tiers:
1487
+ type: array
1488
+ items:
1489
+ $ref: "#/components/schemas/OpenApiDynamicTrafficProductTierVO"
1490
+ additionalProperties: false
1491
+ required:
1492
+ - product_code
1493
+ - name
1494
+ - fixed_traffic_gb
1495
+ - allow_custom_quantity
1496
+ - min_purchase_gb
1497
+ - max_purchase_gb
1498
+ - purchase_step_gb
1499
+ - valid_days
1500
+ - currency
1501
+ - tiers
1502
+ OpenApiDynamicTrafficPurchaseVO:
1503
+ type: object
1504
+ properties:
1505
+ order_no:
1506
+ type: string
1507
+ status:
1508
+ type: string
1509
+ enum:
1510
+ - COMPLETED
1511
+ product_code:
1512
+ type: string
1513
+ traffic_gb:
1514
+ type: string
1515
+ pattern: ^[0-9]+\.[0-9]{6}$
1516
+ order_amount:
1517
+ type: string
1518
+ pattern: ^[0-9]+\.[0-9]{4}$
1519
+ currency:
1520
+ type: string
1521
+ enum:
1522
+ - USD
1523
+ traffic_lot_id:
1524
+ type: string
1525
+ finish_time:
1526
+ type: string
1527
+ nullable: true
1528
+ format: date-time
1529
+ additionalProperties: false
1530
+ required:
1531
+ - order_no
1532
+ - status
1533
+ - product_code
1534
+ - traffic_gb
1535
+ - order_amount
1536
+ - currency
1537
+ - traffic_lot_id
1538
+ - finish_time
1539
+ OpenApiDynamicTrafficBalanceVO:
1540
+ type: object
1541
+ properties:
1542
+ purchased_traffic_gb:
1543
+ type: string
1544
+ pattern: ^[0-9]+\.[0-9]{6}$
1545
+ consumed_traffic_gb:
1546
+ type: string
1547
+ pattern: ^[0-9]+\.[0-9]{6}$
1548
+ expired_traffic_gb:
1549
+ type: string
1550
+ pattern: ^[0-9]+\.[0-9]{6}$
1551
+ adjusted_traffic_gb:
1552
+ type: string
1553
+ pattern: ^-?[0-9]+\.[0-9]{6}$
1554
+ available_traffic_gb:
1555
+ type: string
1556
+ pattern: ^-?[0-9]+\.[0-9]{6}$
1557
+ balance_state:
1558
+ type: string
1559
+ enum:
1560
+ - POSITIVE
1561
+ - NON_POSITIVE
1562
+ last_calc_time:
1563
+ type: string
1564
+ nullable: true
1565
+ format: date-time
1566
+ update_time:
1567
+ type: string
1568
+ nullable: true
1569
+ format: date-time
1570
+ additionalProperties: false
1571
+ required:
1572
+ - purchased_traffic_gb
1573
+ - consumed_traffic_gb
1574
+ - expired_traffic_gb
1575
+ - adjusted_traffic_gb
1576
+ - available_traffic_gb
1577
+ - balance_state
1578
+ - last_calc_time
1579
+ - update_time
1580
+ OpenApiDynamicDailyUsageVO:
1581
+ type: object
1582
+ properties:
1583
+ id:
1584
+ type: string
1585
+ dynamic_account_id:
1586
+ type: string
1587
+ sub_account:
1588
+ type: string
1589
+ stat_date:
1590
+ type: string
1591
+ format: date
1592
+ usage_traffic_gb:
1593
+ type: string
1594
+ pattern: ^[0-9]+\.[0-9]{6}$
1595
+ last_sync_time:
1596
+ type: string
1597
+ nullable: true
1598
+ format: date-time
1599
+ additionalProperties: false
1600
+ required:
1601
+ - id
1602
+ - dynamic_account_id
1603
+ - sub_account
1604
+ - stat_date
1605
+ - usage_traffic_gb
1606
+ - last_sync_time
1607
+ OpenApiDynamicTrafficLotVO:
1608
+ type: object
1609
+ properties:
1610
+ id:
1611
+ type: string
1612
+ purchased_traffic_gb:
1613
+ type: string
1614
+ pattern: ^[0-9]+\.[0-9]{6}$
1615
+ consumed_traffic_gb:
1616
+ type: string
1617
+ pattern: ^[0-9]+\.[0-9]{6}$
1618
+ expired_traffic_gb:
1619
+ type: string
1620
+ pattern: ^[0-9]+\.[0-9]{6}$
1621
+ remaining_traffic_gb:
1622
+ type: string
1623
+ pattern: ^[0-9]+\.[0-9]{6}$
1624
+ status:
1625
+ type: string
1626
+ enum:
1627
+ - ACTIVE
1628
+ - DEPLETED
1629
+ - EXPIRED
1630
+ effective_time:
1631
+ type: string
1632
+ nullable: true
1633
+ format: date-time
1634
+ expire_time:
1635
+ type: string
1636
+ nullable: true
1637
+ format: date-time
1638
+ create_time:
1639
+ type: string
1640
+ nullable: true
1641
+ format: date-time
1642
+ additionalProperties: false
1643
+ required:
1644
+ - id
1645
+ - purchased_traffic_gb
1646
+ - consumed_traffic_gb
1647
+ - expired_traffic_gb
1648
+ - remaining_traffic_gb
1649
+ - status
1650
+ - effective_time
1651
+ - expire_time
1652
+ - create_time
1653
+ OpenApiDynamicTrafficOrderListVO:
1654
+ type: object
1655
+ properties:
1656
+ order_no:
1657
+ type: string
1658
+ status:
1659
+ type: string
1660
+ enum:
1661
+ - PROCESSING
1662
+ - COMPLETED
1663
+ - FAILED
1664
+ product_code:
1665
+ type: string
1666
+ traffic_gb:
1667
+ type: string
1668
+ pattern: ^[0-9]+\.[0-9]{6}$
1669
+ order_amount:
1670
+ type: string
1671
+ pattern: ^[0-9]+\.[0-9]{4}$
1672
+ currency:
1673
+ type: string
1674
+ traffic_lot_id:
1675
+ type: string
1676
+ nullable: true
1677
+ finish_time:
1678
+ type: string
1679
+ nullable: true
1680
+ format: date-time
1681
+ create_time:
1682
+ type: string
1683
+ nullable: true
1684
+ format: date-time
1685
+ additionalProperties: false
1686
+ required:
1687
+ - order_no
1688
+ - status
1689
+ - product_code
1690
+ - traffic_gb
1691
+ - order_amount
1692
+ - currency
1693
+ - traffic_lot_id
1694
+ - finish_time
1695
+ - create_time
1696
+ OpenApiDynamicTrafficOrderVO:
1697
+ type: object
1698
+ properties:
1699
+ order_no:
1700
+ type: string
1701
+ status:
1702
+ type: string
1703
+ enum:
1704
+ - PROCESSING
1705
+ - COMPLETED
1706
+ - FAILED
1707
+ product_code:
1708
+ type: string
1709
+ traffic_gb:
1710
+ type: string
1711
+ pattern: ^[0-9]+\.[0-9]{6}$
1712
+ order_amount:
1713
+ type: string
1714
+ pattern: ^[0-9]+\.[0-9]{4}$
1715
+ currency:
1716
+ type: string
1717
+ traffic_lot_id:
1718
+ type: string
1719
+ nullable: true
1720
+ finish_time:
1721
+ type: string
1722
+ nullable: true
1723
+ format: date-time
1724
+ create_time:
1725
+ type: string
1726
+ nullable: true
1727
+ format: date-time
1728
+ valid_days:
1729
+ type: integer
1730
+ format: int32
1731
+ nullable: true
1732
+ traffic_lot:
1733
+ type: object
1734
+ properties:
1735
+ id:
1736
+ type: string
1737
+ purchased_traffic_gb:
1738
+ type: string
1739
+ pattern: ^[0-9]+\.[0-9]{6}$
1740
+ consumed_traffic_gb:
1741
+ type: string
1742
+ pattern: ^[0-9]+\.[0-9]{6}$
1743
+ expired_traffic_gb:
1744
+ type: string
1745
+ pattern: ^[0-9]+\.[0-9]{6}$
1746
+ remaining_traffic_gb:
1747
+ type: string
1748
+ pattern: ^[0-9]+\.[0-9]{6}$
1749
+ status:
1750
+ type: string
1751
+ enum:
1752
+ - ACTIVE
1753
+ - DEPLETED
1754
+ - EXPIRED
1755
+ effective_time:
1756
+ type: string
1757
+ nullable: true
1758
+ format: date-time
1759
+ expire_time:
1760
+ type: string
1761
+ nullable: true
1762
+ format: date-time
1763
+ create_time:
1764
+ type: string
1765
+ nullable: true
1766
+ format: date-time
1767
+ additionalProperties: false
1768
+ required:
1769
+ - id
1770
+ - purchased_traffic_gb
1771
+ - consumed_traffic_gb
1772
+ - expired_traffic_gb
1773
+ - remaining_traffic_gb
1774
+ - status
1775
+ - effective_time
1776
+ - expire_time
1777
+ - create_time
1778
+ nullable: true
1779
+ additionalProperties: false
1780
+ required:
1781
+ - order_no
1782
+ - status
1783
+ - product_code
1784
+ - traffic_gb
1785
+ - order_amount
1786
+ - currency
1787
+ - traffic_lot_id
1788
+ - finish_time
1789
+ - create_time
1790
+ - valid_days
1791
+ - traffic_lot
1792
+ OpenApiDynamicAccountControlVO:
1793
+ type: object
1794
+ properties:
1795
+ id:
1796
+ type: string
1797
+ resource_status:
1798
+ type: string
1799
+ enum:
1800
+ - ACTIVE
1801
+ - REMOVED
1802
+ user_enabled:
1803
+ type: boolean
1804
+ flow_blocked:
1805
+ type: boolean
1806
+ available:
1807
+ type: boolean
1808
+ control_pending:
1809
+ type: boolean
1810
+ additionalProperties: false
1811
+ required:
1812
+ - id
1813
+ - resource_status
1814
+ - user_enabled
1815
+ - flow_blocked
1816
+ - available
1817
+ - control_pending
1818
+ OpenApiDynamicAccountVO:
1819
+ type: object
1820
+ properties:
1821
+ id:
1822
+ type: string
1823
+ sub_account:
1824
+ type: string
1825
+ password:
1826
+ type: string
1827
+ format: password
1828
+ limit_traffic_gb:
1829
+ type: string
1830
+ nullable: true
1831
+ pattern: ^[0-9]+\.[0-9]{6}$
1832
+ lifetime_used_gb:
1833
+ type: string
1834
+ pattern: ^[0-9]+\.[0-9]{6}$
1835
+ resource_status:
1836
+ type: string
1837
+ enum:
1838
+ - ACTIVE
1839
+ - REMOVED
1840
+ user_enabled:
1841
+ type: boolean
1842
+ flow_blocked:
1843
+ type: boolean
1844
+ available:
1845
+ type: boolean
1846
+ control_pending:
1847
+ type: boolean
1848
+ last_usage_sync_time:
1849
+ type: string
1850
+ nullable: true
1851
+ format: date-time
1852
+ create_time:
1853
+ type: string
1854
+ nullable: true
1855
+ format: date-time
1856
+ update_time:
1857
+ type: string
1858
+ nullable: true
1859
+ format: date-time
1860
+ additionalProperties: false
1861
+ required:
1862
+ - id
1863
+ - sub_account
1864
+ - password
1865
+ - limit_traffic_gb
1866
+ - lifetime_used_gb
1867
+ - resource_status
1868
+ - user_enabled
1869
+ - flow_blocked
1870
+ - available
1871
+ - control_pending
1872
+ - last_usage_sync_time
1873
+ - create_time
1874
+ - update_time
1875
+ OpenApiDynamicAccountUpdateVO:
1876
+ type: object
1877
+ properties:
1878
+ id:
1879
+ type: string
1880
+ sub_account:
1881
+ type: string
1882
+ limit_traffic_gb:
1883
+ type: string
1884
+ nullable: true
1885
+ pattern: ^[0-9]+\.[0-9]{6}$
1886
+ lifetime_used_gb:
1887
+ type: string
1888
+ pattern: ^[0-9]+\.[0-9]{6}$
1889
+ resource_status:
1890
+ type: string
1891
+ enum:
1892
+ - ACTIVE
1893
+ - REMOVED
1894
+ user_enabled:
1895
+ type: boolean
1896
+ flow_blocked:
1897
+ type: boolean
1898
+ available:
1899
+ type: boolean
1900
+ control_pending:
1901
+ type: boolean
1902
+ update_time:
1903
+ type: string
1904
+ nullable: true
1905
+ format: date-time
1906
+ additionalProperties: false
1907
+ required:
1908
+ - id
1909
+ - sub_account
1910
+ - limit_traffic_gb
1911
+ - lifetime_used_gb
1912
+ - resource_status
1913
+ - user_enabled
1914
+ - flow_blocked
1915
+ - available
1916
+ - control_pending
1917
+ - update_time
1918
+ OpenApiProxyCredentialsVO:
1919
+ type: object
1920
+ properties:
1921
+ proxy_username:
1922
+ type: string
1923
+ password:
1924
+ type: string
1925
+ format: password
1926
+ host:
1927
+ type: string
1928
+ http_port:
1929
+ type: integer
1930
+ format: int32
1931
+ socks5_port:
1932
+ type: integer
1933
+ format: int32
1934
+ additionalProperties: false
1935
+ required:
1936
+ - proxy_username
1937
+ - password
1938
+ - host
1939
+ - http_port
1940
+ - socks5_port
1941
+ DynamicApiError:
1942
+ type: object
1943
+ properties:
1944
+ code:
1945
+ type: integer
1946
+ format: int32
1947
+ not:
1948
+ enum:
1949
+ - 0
1950
+ msg:
1951
+ type: string
1952
+ data:
1953
+ type: object
1954
+ nullable: true
1955
+ enum:
1956
+ - null
1957
+ next:
1958
+ type: string
1959
+ nullable: true
1960
+ enum:
1961
+ - null
1962
+ additionalProperties: false
1963
+ required:
1964
+ - code
1965
+ - msg
1966
+ - data
1967
+ - next
1968
+ OpenApiDynamicDailyUsagePage:
1969
+ type: object
1970
+ properties:
1971
+ list:
1972
+ type: array
1973
+ items:
1974
+ $ref: "#/components/schemas/OpenApiDynamicDailyUsageVO"
1975
+ total:
1976
+ type: integer
1977
+ format: int64
1978
+ minimum: 0
1979
+ page_no:
1980
+ type: integer
1981
+ format: int64
1982
+ minimum: 1
1983
+ page_size:
1984
+ type: integer
1985
+ format: int64
1986
+ minimum: 1
1987
+ maximum: 100
1988
+ additionalProperties: false
1989
+ required:
1990
+ - list
1991
+ - total
1992
+ - page_no
1993
+ - page_size
1994
+ OpenApiDynamicTrafficLotPage:
1995
+ type: object
1996
+ properties:
1997
+ list:
1998
+ type: array
1999
+ items:
2000
+ $ref: "#/components/schemas/OpenApiDynamicTrafficLotVO"
2001
+ total:
2002
+ type: integer
2003
+ format: int64
2004
+ minimum: 0
2005
+ page_no:
2006
+ type: integer
2007
+ format: int64
2008
+ minimum: 1
2009
+ page_size:
2010
+ type: integer
2011
+ format: int64
2012
+ minimum: 1
2013
+ maximum: 100
2014
+ additionalProperties: false
2015
+ required:
2016
+ - list
2017
+ - total
2018
+ - page_no
2019
+ - page_size
2020
+ OpenApiDynamicTrafficOrderPage:
2021
+ type: object
2022
+ properties:
2023
+ list:
2024
+ type: array
2025
+ items:
2026
+ $ref: "#/components/schemas/OpenApiDynamicTrafficOrderListVO"
2027
+ total:
2028
+ type: integer
2029
+ format: int64
2030
+ minimum: 0
2031
+ page_no:
2032
+ type: integer
2033
+ format: int64
2034
+ minimum: 1
2035
+ page_size:
2036
+ type: integer
2037
+ format: int64
2038
+ minimum: 1
2039
+ maximum: 100
2040
+ additionalProperties: false
2041
+ required:
2042
+ - list
2043
+ - total
2044
+ - page_no
2045
+ - page_size
2046
+ OpenApiDynamicAccountPage:
2047
+ type: object
2048
+ properties:
2049
+ list:
2050
+ type: array
2051
+ items:
2052
+ $ref: "#/components/schemas/OpenApiDynamicAccountVO"
2053
+ total:
2054
+ type: integer
2055
+ format: int64
2056
+ minimum: 0
2057
+ page_no:
2058
+ type: integer
2059
+ format: int64
2060
+ minimum: 1
2061
+ page_size:
2062
+ type: integer
2063
+ format: int64
2064
+ minimum: 1
2065
+ maximum: 100
2066
+ additionalProperties: false
2067
+ required:
2068
+ - list
2069
+ - total
2070
+ - page_no
2071
+ - page_size
2072
+ DynamicResponseGetWalletBalance:
2073
+ type: object
2074
+ properties:
2075
+ code:
2076
+ type: integer
2077
+ format: int32
2078
+ enum:
2079
+ - 0
2080
+ msg:
2081
+ type: string
2082
+ enum:
2083
+ - success
2084
+ data:
2085
+ $ref: "#/components/schemas/OpenApiWalletBalanceVO"
2086
+ next:
2087
+ type: string
2088
+ nullable: true
2089
+ enum:
2090
+ - null
2091
+ additionalProperties: false
2092
+ required:
2093
+ - code
2094
+ - msg
2095
+ - data
2096
+ - next
2097
+ DynamicResponseListDynamicRegions:
2098
+ type: object
2099
+ properties:
2100
+ code:
2101
+ type: integer
2102
+ format: int32
2103
+ enum:
2104
+ - 0
2105
+ msg:
2106
+ type: string
2107
+ enum:
2108
+ - success
2109
+ data:
2110
+ type: array
2111
+ items:
2112
+ $ref: "#/components/schemas/OpenApiDynamicRegionVO"
2113
+ next:
2114
+ type: string
2115
+ nullable: true
2116
+ enum:
2117
+ - null
2118
+ additionalProperties: false
2119
+ required:
2120
+ - code
2121
+ - msg
2122
+ - data
2123
+ - next
2124
+ DynamicResponseListDynamicTrafficProducts:
2125
+ type: object
2126
+ properties:
2127
+ code:
2128
+ type: integer
2129
+ format: int32
2130
+ enum:
2131
+ - 0
2132
+ msg:
2133
+ type: string
2134
+ enum:
2135
+ - success
2136
+ data:
2137
+ type: array
2138
+ items:
2139
+ $ref: "#/components/schemas/OpenApiDynamicTrafficProductVO"
2140
+ next:
2141
+ type: string
2142
+ nullable: true
2143
+ enum:
2144
+ - null
2145
+ additionalProperties: false
2146
+ required:
2147
+ - code
2148
+ - msg
2149
+ - data
2150
+ - next
2151
+ DynamicResponsePurchaseDynamicTraffic:
2152
+ type: object
2153
+ properties:
2154
+ code:
2155
+ type: integer
2156
+ format: int32
2157
+ enum:
2158
+ - 0
2159
+ msg:
2160
+ type: string
2161
+ enum:
2162
+ - success
2163
+ data:
2164
+ $ref: "#/components/schemas/OpenApiDynamicTrafficPurchaseVO"
2165
+ next:
2166
+ type: string
2167
+ nullable: true
2168
+ enum:
2169
+ - null
2170
+ additionalProperties: false
2171
+ required:
2172
+ - code
2173
+ - msg
2174
+ - data
2175
+ - next
2176
+ DynamicResponseGetDynamicTrafficBalance:
2177
+ type: object
2178
+ properties:
2179
+ code:
2180
+ type: integer
2181
+ format: int32
2182
+ enum:
2183
+ - 0
2184
+ msg:
2185
+ type: string
2186
+ enum:
2187
+ - success
2188
+ data:
2189
+ $ref: "#/components/schemas/OpenApiDynamicTrafficBalanceVO"
2190
+ next:
2191
+ type: string
2192
+ nullable: true
2193
+ enum:
2194
+ - null
2195
+ additionalProperties: false
2196
+ required:
2197
+ - code
2198
+ - msg
2199
+ - data
2200
+ - next
2201
+ DynamicResponseListDynamicDailyUsage:
2202
+ type: object
2203
+ properties:
2204
+ code:
2205
+ type: integer
2206
+ format: int32
2207
+ enum:
2208
+ - 0
2209
+ msg:
2210
+ type: string
2211
+ enum:
2212
+ - success
2213
+ data:
2214
+ $ref: "#/components/schemas/OpenApiDynamicDailyUsagePage"
2215
+ next:
2216
+ type: string
2217
+ nullable: true
2218
+ enum:
2219
+ - null
2220
+ additionalProperties: false
2221
+ required:
2222
+ - code
2223
+ - msg
2224
+ - data
2225
+ - next
2226
+ DynamicResponseListEffectiveDynamicTrafficLots:
2227
+ type: object
2228
+ properties:
2229
+ code:
2230
+ type: integer
2231
+ format: int32
2232
+ enum:
2233
+ - 0
2234
+ msg:
2235
+ type: string
2236
+ enum:
2237
+ - success
2238
+ data:
2239
+ $ref: "#/components/schemas/OpenApiDynamicTrafficLotPage"
2240
+ next:
2241
+ type: string
2242
+ nullable: true
2243
+ enum:
2244
+ - null
2245
+ additionalProperties: false
2246
+ required:
2247
+ - code
2248
+ - msg
2249
+ - data
2250
+ - next
2251
+ DynamicResponseListDynamicTrafficOrders:
2252
+ type: object
2253
+ properties:
2254
+ code:
2255
+ type: integer
2256
+ format: int32
2257
+ enum:
2258
+ - 0
2259
+ msg:
2260
+ type: string
2261
+ enum:
2262
+ - success
2263
+ data:
2264
+ $ref: "#/components/schemas/OpenApiDynamicTrafficOrderPage"
2265
+ next:
2266
+ type: string
2267
+ nullable: true
2268
+ enum:
2269
+ - null
2270
+ additionalProperties: false
2271
+ required:
2272
+ - code
2273
+ - msg
2274
+ - data
2275
+ - next
2276
+ DynamicResponseGetDynamicTrafficOrder:
2277
+ type: object
2278
+ properties:
2279
+ code:
2280
+ type: integer
2281
+ format: int32
2282
+ enum:
2283
+ - 0
2284
+ msg:
2285
+ type: string
2286
+ enum:
2287
+ - success
2288
+ data:
2289
+ $ref: "#/components/schemas/OpenApiDynamicTrafficOrderVO"
2290
+ next:
2291
+ type: string
2292
+ nullable: true
2293
+ enum:
2294
+ - null
2295
+ additionalProperties: false
2296
+ required:
2297
+ - code
2298
+ - msg
2299
+ - data
2300
+ - next
2301
+ DynamicResponseCreateDynamicAccount:
2302
+ type: object
2303
+ properties:
2304
+ code:
2305
+ type: integer
2306
+ format: int32
2307
+ enum:
2308
+ - 0
2309
+ msg:
2310
+ type: string
2311
+ enum:
2312
+ - success
2313
+ data:
2314
+ $ref: "#/components/schemas/OpenApiDynamicAccountVO"
2315
+ next:
2316
+ type: string
2317
+ nullable: true
2318
+ enum:
2319
+ - null
2320
+ additionalProperties: false
2321
+ required:
2322
+ - code
2323
+ - msg
2324
+ - data
2325
+ - next
2326
+ DynamicResponseListDynamicAccounts:
2327
+ type: object
2328
+ properties:
2329
+ code:
2330
+ type: integer
2331
+ format: int32
2332
+ enum:
2333
+ - 0
2334
+ msg:
2335
+ type: string
2336
+ enum:
2337
+ - success
2338
+ data:
2339
+ $ref: "#/components/schemas/OpenApiDynamicAccountPage"
2340
+ next:
2341
+ type: string
2342
+ nullable: true
2343
+ enum:
2344
+ - null
2345
+ additionalProperties: false
2346
+ required:
2347
+ - code
2348
+ - msg
2349
+ - data
2350
+ - next
2351
+ DynamicResponseGetDynamicAccount:
2352
+ type: object
2353
+ properties:
2354
+ code:
2355
+ type: integer
2356
+ format: int32
2357
+ enum:
2358
+ - 0
2359
+ msg:
2360
+ type: string
2361
+ enum:
2362
+ - success
2363
+ data:
2364
+ $ref: "#/components/schemas/OpenApiDynamicAccountVO"
2365
+ next:
2366
+ type: string
2367
+ nullable: true
2368
+ enum:
2369
+ - null
2370
+ additionalProperties: false
2371
+ required:
2372
+ - code
2373
+ - msg
2374
+ - data
2375
+ - next
2376
+ DynamicResponseUpdateDynamicAccountLimit:
2377
+ type: object
2378
+ properties:
2379
+ code:
2380
+ type: integer
2381
+ format: int32
2382
+ enum:
2383
+ - 0
2384
+ msg:
2385
+ type: string
2386
+ enum:
2387
+ - success
2388
+ data:
2389
+ $ref: "#/components/schemas/OpenApiDynamicAccountUpdateVO"
2390
+ next:
2391
+ type: string
2392
+ nullable: true
2393
+ enum:
2394
+ - null
2395
+ additionalProperties: false
2396
+ required:
2397
+ - code
2398
+ - msg
2399
+ - data
2400
+ - next
2401
+ DynamicResponseSetDynamicAccountStatus:
2402
+ type: object
2403
+ properties:
2404
+ code:
2405
+ type: integer
2406
+ format: int32
2407
+ enum:
2408
+ - 0
2409
+ msg:
2410
+ type: string
2411
+ enum:
2412
+ - success
2413
+ data:
2414
+ $ref: "#/components/schemas/OpenApiDynamicAccountControlVO"
2415
+ next:
2416
+ type: string
2417
+ nullable: true
2418
+ enum:
2419
+ - null
2420
+ additionalProperties: false
2421
+ required:
2422
+ - code
2423
+ - msg
2424
+ - data
2425
+ - next
2426
+ DynamicResponseGenerateDynamicProxyCredentials:
2427
+ type: object
2428
+ properties:
2429
+ code:
2430
+ type: integer
2431
+ format: int32
2432
+ enum:
2433
+ - 0
2434
+ msg:
2435
+ type: string
2436
+ enum:
2437
+ - success
2438
+ data:
2439
+ $ref: "#/components/schemas/OpenApiProxyCredentialsVO"
2440
+ next:
2441
+ type: string
2442
+ nullable: true
2443
+ enum:
2444
+ - null
2445
+ additionalProperties: false
2446
+ required:
2447
+ - code
2448
+ - msg
2449
+ - data
2450
+ - next
2451
+ OpenApiStaticInventoryVO:
2452
+ type: object
2453
+ properties:
2454
+ static_type:
2455
+ type: string
2456
+ enum:
2457
+ - ISP
2458
+ - ISP_NATIVE
2459
+ - ISP_CARRIER_NATIVE
2460
+ region_code:
2461
+ type: string
2462
+ available_quantity:
2463
+ type: integer
2464
+ format: int32
2465
+ in_stock:
2466
+ type: boolean
2467
+ checked_time:
2468
+ type: string
2469
+ format: date-time
2470
+ nullable: true
2471
+ additionalProperties: false
2472
+ required:
2473
+ - static_type
2474
+ - region_code
2475
+ - available_quantity
2476
+ - in_stock
2477
+ - checked_time
2478
+ OpenApiStaticPurchaseCreateRegionVO:
2479
+ type: object
2480
+ properties:
2481
+ region_code:
2482
+ type: string
2483
+ quantity:
2484
+ type: integer
2485
+ format: int32
2486
+ order_amount:
2487
+ type: string
2488
+ pattern: ^-?\d+\.\d{4}$
2489
+ additionalProperties: false
2490
+ required:
2491
+ - region_code
2492
+ - quantity
2493
+ - order_amount
2494
+ OpenApiStaticPurchaseCreateVO:
2495
+ type: object
2496
+ properties:
2497
+ order_no:
2498
+ type: string
2499
+ status:
2500
+ type: string
2501
+ enum:
2502
+ - UNFULFILLED
2503
+ - PROCESSING
2504
+ - SUCCESS
2505
+ - PARTIAL_SUCCESS
2506
+ - FAILED
2507
+ static_type:
2508
+ type: string
2509
+ enum:
2510
+ - ISP
2511
+ - ISP_NATIVE
2512
+ - ISP_CARRIER_NATIVE
2513
+ duration_days:
2514
+ type: integer
2515
+ format: int32
2516
+ quantity:
2517
+ type: integer
2518
+ format: int32
2519
+ order_amount:
2520
+ type: string
2521
+ pattern: ^-?\d+\.\d{4}$
2522
+ currency:
2523
+ type: string
2524
+ create_time:
2525
+ type: string
2526
+ format: date-time
2527
+ nullable: true
2528
+ regions:
2529
+ type: array
2530
+ items:
2531
+ $ref: "#/components/schemas/OpenApiStaticPurchaseCreateRegionVO"
2532
+ additionalProperties: false
2533
+ required:
2534
+ - order_no
2535
+ - status
2536
+ - static_type
2537
+ - duration_days
2538
+ - quantity
2539
+ - order_amount
2540
+ - currency
2541
+ - create_time
2542
+ - regions
2543
+ OpenApiStaticPurchaseOrderDetailVO:
2544
+ type: object
2545
+ properties:
2546
+ order_no:
2547
+ type: string
2548
+ status:
2549
+ type: string
2550
+ enum:
2551
+ - UNFULFILLED
2552
+ - PROCESSING
2553
+ - SUCCESS
2554
+ - PARTIAL_SUCCESS
2555
+ - FAILED
2556
+ static_type:
2557
+ type: string
2558
+ enum:
2559
+ - ISP
2560
+ - ISP_NATIVE
2561
+ - ISP_CARRIER_NATIVE
2562
+ duration_days:
2563
+ type: integer
2564
+ format: int32
2565
+ quantity:
2566
+ type: integer
2567
+ format: int32
2568
+ fulfilled_quantity:
2569
+ type: integer
2570
+ format: int32
2571
+ order_amount:
2572
+ type: string
2573
+ pattern: ^-?\d+\.\d{4}$
2574
+ currency:
2575
+ type: string
2576
+ create_time:
2577
+ type: string
2578
+ format: date-time
2579
+ nullable: true
2580
+ finish_time:
2581
+ type: string
2582
+ format: date-time
2583
+ nullable: true
2584
+ regions:
2585
+ type: array
2586
+ items:
2587
+ $ref: "#/components/schemas/OpenApiStaticPurchaseRegionDetailVO"
2588
+ additionalProperties: false
2589
+ required:
2590
+ - order_no
2591
+ - status
2592
+ - static_type
2593
+ - duration_days
2594
+ - quantity
2595
+ - fulfilled_quantity
2596
+ - order_amount
2597
+ - currency
2598
+ - create_time
2599
+ - finish_time
2600
+ - regions
2601
+ OpenApiStaticPurchaseOrderVO:
2602
+ type: object
2603
+ properties:
2604
+ order_no:
2605
+ type: string
2606
+ status:
2607
+ type: string
2608
+ enum:
2609
+ - UNFULFILLED
2610
+ - PROCESSING
2611
+ - SUCCESS
2612
+ - PARTIAL_SUCCESS
2613
+ - FAILED
2614
+ static_type:
2615
+ type: string
2616
+ enum:
2617
+ - ISP
2618
+ - ISP_NATIVE
2619
+ - ISP_CARRIER_NATIVE
2620
+ duration_days:
2621
+ type: integer
2622
+ format: int32
2623
+ quantity:
2624
+ type: integer
2625
+ format: int32
2626
+ fulfilled_quantity:
2627
+ type: integer
2628
+ format: int32
2629
+ order_amount:
2630
+ type: string
2631
+ pattern: ^-?\d+\.\d{4}$
2632
+ currency:
2633
+ type: string
2634
+ create_time:
2635
+ type: string
2636
+ format: date-time
2637
+ nullable: true
2638
+ finish_time:
2639
+ type: string
2640
+ format: date-time
2641
+ nullable: true
2642
+ regions:
2643
+ type: array
2644
+ items:
2645
+ $ref: "#/components/schemas/OpenApiStaticPurchaseRegionVO"
2646
+ additionalProperties: false
2647
+ required:
2648
+ - order_no
2649
+ - status
2650
+ - static_type
2651
+ - duration_days
2652
+ - quantity
2653
+ - fulfilled_quantity
2654
+ - order_amount
2655
+ - currency
2656
+ - create_time
2657
+ - finish_time
2658
+ - regions
2659
+ OpenApiStaticPurchaseRegionDetailVO:
2660
+ type: object
2661
+ properties:
2662
+ region_code:
2663
+ type: string
2664
+ quantity:
2665
+ type: integer
2666
+ format: int32
2667
+ fulfilled_quantity:
2668
+ type: integer
2669
+ format: int32
2670
+ order_amount:
2671
+ type: string
2672
+ pattern: ^-?\d+\.\d{4}$
2673
+ status:
2674
+ type: string
2675
+ enum:
2676
+ - WAIT_PAY
2677
+ - PROCESSING
2678
+ - SUCCESS
2679
+ - FAILED
2680
+ resources:
2681
+ type: array
2682
+ items:
2683
+ $ref: "#/components/schemas/OpenApiStaticResourceVO"
2684
+ additionalProperties: false
2685
+ required:
2686
+ - region_code
2687
+ - quantity
2688
+ - fulfilled_quantity
2689
+ - order_amount
2690
+ - status
2691
+ - resources
2692
+ OpenApiStaticPurchaseRegionVO:
2693
+ type: object
2694
+ properties:
2695
+ region_code:
2696
+ type: string
2697
+ quantity:
2698
+ type: integer
2699
+ format: int32
2700
+ fulfilled_quantity:
2701
+ type: integer
2702
+ format: int32
2703
+ order_amount:
2704
+ type: string
2705
+ pattern: ^-?\d+\.\d{4}$
2706
+ status:
2707
+ type: string
2708
+ enum:
2709
+ - WAIT_PAY
2710
+ - PROCESSING
2711
+ - SUCCESS
2712
+ - FAILED
2713
+ additionalProperties: false
2714
+ required:
2715
+ - region_code
2716
+ - quantity
2717
+ - fulfilled_quantity
2718
+ - order_amount
2719
+ - status
2720
+ OpenApiStaticQuoteVO:
2721
+ type: object
2722
+ properties:
2723
+ order_amount:
2724
+ type: string
2725
+ pattern: ^-?\d+\.\d{4}$
2726
+ currency:
2727
+ type: string
2728
+ additionalProperties: false
2729
+ required:
2730
+ - order_amount
2731
+ - currency
2732
+ OpenApiStaticRegionVO:
2733
+ type: object
2734
+ properties:
2735
+ static_type:
2736
+ type: string
2737
+ enum:
2738
+ - ISP
2739
+ - ISP_NATIVE
2740
+ - ISP_CARRIER_NATIVE
2741
+ region_code:
2742
+ type: string
2743
+ name:
2744
+ type: string
2745
+ additionalProperties: false
2746
+ required:
2747
+ - static_type
2748
+ - region_code
2749
+ - name
2750
+ OpenApiStaticRenewalCreateVO:
2751
+ type: object
2752
+ properties:
2753
+ order_no:
2754
+ type: string
2755
+ status:
2756
+ type: string
2757
+ enum:
2758
+ - PROCESSING
2759
+ duration_days:
2760
+ type: integer
2761
+ format: int32
2762
+ total_quantity:
2763
+ type: integer
2764
+ format: int32
2765
+ order_amount:
2766
+ type: string
2767
+ pattern: ^-?\d+\.\d{4}$
2768
+ currency:
2769
+ type: string
2770
+ create_time:
2771
+ type: string
2772
+ format: date-time
2773
+ nullable: true
2774
+ additionalProperties: false
2775
+ required:
2776
+ - order_no
2777
+ - status
2778
+ - duration_days
2779
+ - total_quantity
2780
+ - order_amount
2781
+ - currency
2782
+ - create_time
2783
+ OpenApiStaticRenewalOrderDetailVO:
2784
+ type: object
2785
+ properties:
2786
+ order_no:
2787
+ type: string
2788
+ status:
2789
+ type: string
2790
+ enum:
2791
+ - PROCESSING
2792
+ - COMPLETED
2793
+ - FAILED
2794
+ duration_days:
2795
+ type: integer
2796
+ format: int32
2797
+ total_quantity:
2798
+ type: integer
2799
+ format: int32
2800
+ order_amount:
2801
+ type: string
2802
+ pattern: ^-?\d+\.\d{4}$
2803
+ currency:
2804
+ type: string
2805
+ create_time:
2806
+ type: string
2807
+ format: date-time
2808
+ nullable: true
2809
+ finish_time:
2810
+ type: string
2811
+ format: date-time
2812
+ nullable: true
2813
+ resources:
2814
+ type: array
2815
+ items:
2816
+ $ref: "#/components/schemas/OpenApiStaticRenewalResourceVO"
2817
+ additionalProperties: false
2818
+ required:
2819
+ - order_no
2820
+ - status
2821
+ - duration_days
2822
+ - total_quantity
2823
+ - order_amount
2824
+ - currency
2825
+ - create_time
2826
+ - finish_time
2827
+ - resources
2828
+ OpenApiStaticRenewalOrderVO:
2829
+ type: object
2830
+ properties:
2831
+ order_no:
2832
+ type: string
2833
+ status:
2834
+ type: string
2835
+ enum:
2836
+ - PROCESSING
2837
+ - COMPLETED
2838
+ - FAILED
2839
+ duration_days:
2840
+ type: integer
2841
+ format: int32
2842
+ total_quantity:
2843
+ type: integer
2844
+ format: int32
2845
+ order_amount:
2846
+ type: string
2847
+ pattern: ^-?\d+\.\d{4}$
2848
+ currency:
2849
+ type: string
2850
+ create_time:
2851
+ type: string
2852
+ format: date-time
2853
+ nullable: true
2854
+ finish_time:
2855
+ type: string
2856
+ format: date-time
2857
+ nullable: true
2858
+ additionalProperties: false
2859
+ required:
2860
+ - order_no
2861
+ - status
2862
+ - duration_days
2863
+ - total_quantity
2864
+ - order_amount
2865
+ - currency
2866
+ - create_time
2867
+ - finish_time
2868
+ OpenApiStaticRenewalResourceVO:
2869
+ type: object
2870
+ properties:
2871
+ resource_id:
2872
+ type: string
2873
+ status:
2874
+ type: string
2875
+ enum:
2876
+ - PROCESSING
2877
+ - COMPLETED
2878
+ - FAILED
2879
+ expire_time:
2880
+ type: string
2881
+ format: date-time
2882
+ nullable: true
2883
+ duration_days:
2884
+ type: integer
2885
+ format: int32
2886
+ finish_time:
2887
+ type: string
2888
+ format: date-time
2889
+ nullable: true
2890
+ additionalProperties: false
2891
+ required:
2892
+ - resource_id
2893
+ - status
2894
+ - expire_time
2895
+ - duration_days
2896
+ - finish_time
2897
+ OpenApiStaticResourceVO:
2898
+ type: object
2899
+ properties:
2900
+ id:
2901
+ type: string
2902
+ static_type:
2903
+ type: string
2904
+ enum:
2905
+ - ISP
2906
+ - ISP_NATIVE
2907
+ - ISP_CARRIER_NATIVE
2908
+ region_code:
2909
+ type: string
2910
+ region_name:
2911
+ type: string
2912
+ host:
2913
+ type: string
2914
+ nullable: true
2915
+ ip:
2916
+ type: string
2917
+ nullable: true
2918
+ port:
2919
+ type: integer
2920
+ format: int32
2921
+ nullable: true
2922
+ account:
2923
+ type: string
2924
+ nullable: true
2925
+ password:
2926
+ type: string
2927
+ nullable: true
2928
+ format: password
2929
+ protocol:
2930
+ type: string
2931
+ enum:
2932
+ - HTTP
2933
+ - SOCKS5
2934
+ resource_status:
2935
+ type: string
2936
+ enum:
2937
+ - ACTIVE
2938
+ - EXPIRED
2939
+ - REFUNDED
2940
+ buy_time:
2941
+ type: string
2942
+ format: date-time
2943
+ nullable: true
2944
+ expire_time:
2945
+ type: string
2946
+ format: date-time
2947
+ nullable: true
2948
+ create_time:
2949
+ type: string
2950
+ format: date-time
2951
+ nullable: true
2952
+ update_time:
2953
+ type: string
2954
+ format: date-time
2955
+ nullable: true
2956
+ additionalProperties: false
2957
+ required:
2958
+ - id
2959
+ - static_type
2960
+ - region_code
2961
+ - region_name
2962
+ - host
2963
+ - ip
2964
+ - port
2965
+ - account
2966
+ - password
2967
+ - protocol
2968
+ - resource_status
2969
+ - buy_time
2970
+ - expire_time
2971
+ - create_time
2972
+ - update_time
2973
+ OpenApiStaticInventoryReq:
2974
+ type: object
2975
+ properties:
2976
+ static_type:
2977
+ type: string
2978
+ enum:
2979
+ - ISP
2980
+ - ISP_NATIVE
2981
+ - ISP_CARRIER_NATIVE
2982
+ region_codes:
2983
+ type: array
2984
+ items:
2985
+ type: string
2986
+ minLength: 1
2987
+ pattern: .*\S.*
2988
+ minItems: 1
2989
+ uniqueItems: true
2990
+ duration_days:
2991
+ default: 90
2992
+ anyOf:
2993
+ - type: integer
2994
+ format: int32
2995
+ minimum: 1
2996
+ maximum: 2147483647
2997
+ nullable: true
2998
+ - type: number
2999
+ minimum: 1
3000
+ maximum: 2147483647
3001
+ - type: string
3002
+ additionalProperties: false
3003
+ required:
3004
+ - static_type
3005
+ - region_codes
3006
+ OpenApiStaticPurchaseQuoteReq:
3007
+ type: object
3008
+ properties:
3009
+ static_type:
3010
+ type: string
3011
+ enum:
3012
+ - ISP
3013
+ - ISP_NATIVE
3014
+ - ISP_CARRIER_NATIVE
3015
+ region_code:
3016
+ type: string
3017
+ minLength: 1
3018
+ pattern: .*\S.*
3019
+ duration_days:
3020
+ type: integer
3021
+ format: int32
3022
+ minimum: 1
3023
+ maximum: 2147483647
3024
+ quantity:
3025
+ type: integer
3026
+ format: int32
3027
+ minimum: 1
3028
+ maximum: 300
3029
+ additionalProperties: false
3030
+ required:
3031
+ - static_type
3032
+ - region_code
3033
+ - duration_days
3034
+ - quantity
3035
+ OpenApiStaticPurchaseRegionReq:
3036
+ type: object
3037
+ properties:
3038
+ region_code:
3039
+ type: string
3040
+ minLength: 1
3041
+ pattern: .*\S.*
3042
+ quantity:
3043
+ type: integer
3044
+ format: int32
3045
+ minimum: 1
3046
+ maximum: 300
3047
+ additionalProperties: false
3048
+ required:
3049
+ - region_code
3050
+ - quantity
3051
+ OpenApiStaticPurchaseOrderCreateReq:
3052
+ type: object
3053
+ properties:
3054
+ request_no:
3055
+ type: string
3056
+ minLength: 1
3057
+ maxLength: 64
3058
+ pattern: ^[A-Za-z0-9_-]{1,64}$
3059
+ static_type:
3060
+ type: string
3061
+ enum:
3062
+ - ISP
3063
+ - ISP_NATIVE
3064
+ - ISP_CARRIER_NATIVE
3065
+ duration_days:
3066
+ type: integer
3067
+ format: int32
3068
+ minimum: 1
3069
+ maximum: 2147483647
3070
+ regions:
3071
+ type: array
3072
+ items:
3073
+ $ref: "#/components/schemas/OpenApiStaticPurchaseRegionReq"
3074
+ minItems: 1
3075
+ callback_url:
3076
+ type: string
3077
+ format: uri
3078
+ maxLength: 2048
3079
+ nullable: true
3080
+ additionalProperties: false
3081
+ required:
3082
+ - request_no
3083
+ - static_type
3084
+ - duration_days
3085
+ - regions
3086
+ OpenApiStaticRenewalQuoteReq:
3087
+ type: object
3088
+ properties:
3089
+ resource_ids:
3090
+ type: array
3091
+ items:
3092
+ type: string
3093
+ minLength: 1
3094
+ pattern: .*\S.*
3095
+ minItems: 1
3096
+ duration_days:
3097
+ type: integer
3098
+ format: int32
3099
+ minimum: 1
3100
+ maximum: 2147483647
3101
+ additionalProperties: false
3102
+ required:
3103
+ - resource_ids
3104
+ - duration_days
3105
+ OpenApiStaticRenewalOrderCreateReq:
3106
+ type: object
3107
+ properties:
3108
+ request_no:
3109
+ type: string
3110
+ minLength: 1
3111
+ maxLength: 64
3112
+ pattern: ^[A-Za-z0-9_-]{1,64}$
3113
+ resource_ids:
3114
+ type: array
3115
+ items:
3116
+ type: string
3117
+ minLength: 1
3118
+ pattern: .*\S.*
3119
+ minItems: 1
3120
+ duration_days:
3121
+ type: integer
3122
+ format: int32
3123
+ minimum: 1
3124
+ maximum: 2147483647
3125
+ callback_url:
3126
+ type: string
3127
+ format: uri
3128
+ maxLength: 2048
3129
+ nullable: true
3130
+ additionalProperties: false
3131
+ required:
3132
+ - request_no
3133
+ - resource_ids
3134
+ - duration_days
3135
+ StaticApiErrorResponse:
3136
+ type: object
3137
+ properties:
3138
+ code:
3139
+ type: integer
3140
+ format: int32
3141
+ not:
3142
+ enum:
3143
+ - 0
3144
+ msg:
3145
+ type: string
3146
+ data:
3147
+ type: object
3148
+ nullable: true
3149
+ enum:
3150
+ - null
3151
+ next:
3152
+ type: string
3153
+ nullable: true
3154
+ enum:
3155
+ - null
3156
+ additionalProperties: false
3157
+ required:
3158
+ - code
3159
+ - msg
3160
+ - data
3161
+ - next
3162
+ ListStaticRegionsResponse:
3163
+ type: object
3164
+ properties:
3165
+ code:
3166
+ type: integer
3167
+ format: int32
3168
+ enum:
3169
+ - 0
3170
+ msg:
3171
+ type: string
3172
+ enum:
3173
+ - success
3174
+ data:
3175
+ type: array
3176
+ items:
3177
+ $ref: "#/components/schemas/OpenApiStaticRegionVO"
3178
+ next:
3179
+ type: string
3180
+ nullable: true
3181
+ enum:
3182
+ - null
3183
+ additionalProperties: false
3184
+ required:
3185
+ - code
3186
+ - msg
3187
+ - data
3188
+ - next
3189
+ GetStaticInventoryResponse:
3190
+ type: object
3191
+ properties:
3192
+ code:
3193
+ type: integer
3194
+ format: int32
3195
+ enum:
3196
+ - 0
3197
+ msg:
3198
+ type: string
3199
+ enum:
3200
+ - success
3201
+ data:
3202
+ type: array
3203
+ items:
3204
+ $ref: "#/components/schemas/OpenApiStaticInventoryVO"
3205
+ next:
3206
+ type: string
3207
+ nullable: true
3208
+ enum:
3209
+ - null
3210
+ additionalProperties: false
3211
+ required:
3212
+ - code
3213
+ - msg
3214
+ - data
3215
+ - next
3216
+ QuoteStaticPurchaseResponse:
3217
+ type: object
3218
+ properties:
3219
+ code:
3220
+ type: integer
3221
+ format: int32
3222
+ enum:
3223
+ - 0
3224
+ msg:
3225
+ type: string
3226
+ enum:
3227
+ - success
3228
+ data:
3229
+ $ref: "#/components/schemas/OpenApiStaticQuoteVO"
3230
+ next:
3231
+ type: string
3232
+ nullable: true
3233
+ enum:
3234
+ - null
3235
+ additionalProperties: false
3236
+ required:
3237
+ - code
3238
+ - msg
3239
+ - data
3240
+ - next
3241
+ CreateStaticPurchaseOrderResponse:
3242
+ type: object
3243
+ properties:
3244
+ code:
3245
+ type: integer
3246
+ format: int32
3247
+ enum:
3248
+ - 0
3249
+ msg:
3250
+ type: string
3251
+ enum:
3252
+ - success
3253
+ data:
3254
+ $ref: "#/components/schemas/OpenApiStaticPurchaseCreateVO"
3255
+ next:
3256
+ type: string
3257
+ nullable: true
3258
+ enum:
3259
+ - null
3260
+ additionalProperties: false
3261
+ required:
3262
+ - code
3263
+ - msg
3264
+ - data
3265
+ - next
3266
+ StaticPurchaseOrdersPage:
3267
+ type: object
3268
+ properties:
3269
+ list:
3270
+ type: array
3271
+ items:
3272
+ $ref: "#/components/schemas/OpenApiStaticPurchaseOrderVO"
3273
+ total:
3274
+ type: integer
3275
+ format: int64
3276
+ minimum: 0
3277
+ page_no:
3278
+ type: integer
3279
+ format: int64
3280
+ minimum: 1
3281
+ page_size:
3282
+ type: integer
3283
+ format: int64
3284
+ minimum: 1
3285
+ maximum: 100
3286
+ additionalProperties: false
3287
+ required:
3288
+ - list
3289
+ - total
3290
+ - page_no
3291
+ - page_size
3292
+ ListStaticPurchaseOrdersResponse:
3293
+ type: object
3294
+ properties:
3295
+ code:
3296
+ type: integer
3297
+ format: int32
3298
+ enum:
3299
+ - 0
3300
+ msg:
3301
+ type: string
3302
+ enum:
3303
+ - success
3304
+ data:
3305
+ $ref: "#/components/schemas/StaticPurchaseOrdersPage"
3306
+ next:
3307
+ type: string
3308
+ nullable: true
3309
+ enum:
3310
+ - null
3311
+ additionalProperties: false
3312
+ required:
3313
+ - code
3314
+ - msg
3315
+ - data
3316
+ - next
3317
+ GetStaticPurchaseOrderResponse:
3318
+ type: object
3319
+ properties:
3320
+ code:
3321
+ type: integer
3322
+ format: int32
3323
+ enum:
3324
+ - 0
3325
+ msg:
3326
+ type: string
3327
+ enum:
3328
+ - success
3329
+ data:
3330
+ $ref: "#/components/schemas/OpenApiStaticPurchaseOrderDetailVO"
3331
+ next:
3332
+ type: string
3333
+ nullable: true
3334
+ enum:
3335
+ - null
3336
+ additionalProperties: false
3337
+ required:
3338
+ - code
3339
+ - msg
3340
+ - data
3341
+ - next
3342
+ StaticResourcesPage:
3343
+ type: object
3344
+ properties:
3345
+ list:
3346
+ type: array
3347
+ items:
3348
+ $ref: "#/components/schemas/OpenApiStaticResourceVO"
3349
+ total:
3350
+ type: integer
3351
+ format: int64
3352
+ minimum: 0
3353
+ page_no:
3354
+ type: integer
3355
+ format: int64
3356
+ minimum: 1
3357
+ page_size:
3358
+ type: integer
3359
+ format: int64
3360
+ minimum: 1
3361
+ maximum: 100
3362
+ additionalProperties: false
3363
+ required:
3364
+ - list
3365
+ - total
3366
+ - page_no
3367
+ - page_size
3368
+ ListStaticResourcesResponse:
3369
+ type: object
3370
+ properties:
3371
+ code:
3372
+ type: integer
3373
+ format: int32
3374
+ enum:
3375
+ - 0
3376
+ msg:
3377
+ type: string
3378
+ enum:
3379
+ - success
3380
+ data:
3381
+ $ref: "#/components/schemas/StaticResourcesPage"
3382
+ next:
3383
+ type: string
3384
+ nullable: true
3385
+ enum:
3386
+ - null
3387
+ additionalProperties: false
3388
+ required:
3389
+ - code
3390
+ - msg
3391
+ - data
3392
+ - next
3393
+ QuoteStaticRenewalResponse:
3394
+ type: object
3395
+ properties:
3396
+ code:
3397
+ type: integer
3398
+ format: int32
3399
+ enum:
3400
+ - 0
3401
+ msg:
3402
+ type: string
3403
+ enum:
3404
+ - success
3405
+ data:
3406
+ $ref: "#/components/schemas/OpenApiStaticQuoteVO"
3407
+ next:
3408
+ type: string
3409
+ nullable: true
3410
+ enum:
3411
+ - null
3412
+ additionalProperties: false
3413
+ required:
3414
+ - code
3415
+ - msg
3416
+ - data
3417
+ - next
3418
+ CreateStaticRenewalOrderResponse:
3419
+ type: object
3420
+ properties:
3421
+ code:
3422
+ type: integer
3423
+ format: int32
3424
+ enum:
3425
+ - 0
3426
+ msg:
3427
+ type: string
3428
+ enum:
3429
+ - success
3430
+ data:
3431
+ $ref: "#/components/schemas/OpenApiStaticRenewalCreateVO"
3432
+ next:
3433
+ type: string
3434
+ nullable: true
3435
+ enum:
3436
+ - null
3437
+ additionalProperties: false
3438
+ required:
3439
+ - code
3440
+ - msg
3441
+ - data
3442
+ - next
3443
+ StaticRenewalOrdersPage:
3444
+ type: object
3445
+ properties:
3446
+ list:
3447
+ type: array
3448
+ items:
3449
+ $ref: "#/components/schemas/OpenApiStaticRenewalOrderVO"
3450
+ total:
3451
+ type: integer
3452
+ format: int64
3453
+ minimum: 0
3454
+ page_no:
3455
+ type: integer
3456
+ format: int64
3457
+ minimum: 1
3458
+ page_size:
3459
+ type: integer
3460
+ format: int64
3461
+ minimum: 1
3462
+ maximum: 100
3463
+ additionalProperties: false
3464
+ required:
3465
+ - list
3466
+ - total
3467
+ - page_no
3468
+ - page_size
3469
+ ListStaticRenewalOrdersResponse:
3470
+ type: object
3471
+ properties:
3472
+ code:
3473
+ type: integer
3474
+ format: int32
3475
+ enum:
3476
+ - 0
3477
+ msg:
3478
+ type: string
3479
+ enum:
3480
+ - success
3481
+ data:
3482
+ $ref: "#/components/schemas/StaticRenewalOrdersPage"
3483
+ next:
3484
+ type: string
3485
+ nullable: true
3486
+ enum:
3487
+ - null
3488
+ additionalProperties: false
3489
+ required:
3490
+ - code
3491
+ - msg
3492
+ - data
3493
+ - next
3494
+ GetStaticRenewalOrderResponse:
3495
+ type: object
3496
+ properties:
3497
+ code:
3498
+ type: integer
3499
+ format: int32
3500
+ enum:
3501
+ - 0
3502
+ msg:
3503
+ type: string
3504
+ enum:
3505
+ - success
3506
+ data:
3507
+ $ref: "#/components/schemas/OpenApiStaticRenewalOrderDetailVO"
3508
+ next:
3509
+ type: string
3510
+ nullable: true
3511
+ enum:
3512
+ - null
3513
+ additionalProperties: false
3514
+ required:
3515
+ - code
3516
+ - msg
3517
+ - data
3518
+ - next