(project_string_id)
| 12 | methods = ['POST']) |
| 13 | @limiter.limit("3 per day") |
| 14 | def new_plan_api(project_string_id): |
| 15 | """ |
| 16 | |
| 17 | """ |
| 18 | spec_list = [ |
| 19 | {"premium_plan_user_count": { |
| 20 | 'kind': int, |
| 21 | 'required': True |
| 22 | } |
| 23 | }, |
| 24 | {"plan_template_public_name": { |
| 25 | 'kind': str, |
| 26 | 'required': True |
| 27 | } |
| 28 | }, |
| 29 | {"calculated_charge": { |
| 30 | 'kind': int, |
| 31 | 'required': True |
| 32 | } |
| 33 | }, |
| 34 | {"annual_pricing": { |
| 35 | 'kind': bool, |
| 36 | 'required': True |
| 37 | } |
| 38 | }, |
| 39 | {"per_user_final": { |
| 40 | 'kind': int, |
| 41 | 'required': True |
| 42 | } |
| 43 | }, |
| 44 | {"marketing_promo_code": { |
| 45 | 'kind': str, |
| 46 | 'required': False |
| 47 | } |
| 48 | }, |
| 49 | {"marketing_promo_rate_found": { |
| 50 | 'kind': str, |
| 51 | 'required': False |
| 52 | } |
| 53 | }, |
| 54 | {"marketing_plan_rate": { |
| 55 | 'kind': int, |
| 56 | 'required': False |
| 57 | } |
| 58 | }, |
| 59 | {"marketing_savings": { |
| 60 | 'kind': int, |
| 61 | 'required': False |
| 62 | } |
| 63 | }, |
| 64 | {"marketing_total": { |
| 65 | 'kind': int, |
| 66 | 'required': False |
| 67 | } |
| 68 | }, |
| 69 | {"roi_monthly_engineering_cost": { |
| 70 | 'kind': int, |
| 71 | 'required': False |
nothing calls this directly
no test coverage detected