Matteo Scandolo | fbd486c | 2016-04-13 10:19:55 -0700 | [diff] [blame] | 1 | (function() { |
| 2 | 'use strict'; |
Matteo Scandolo | 4b3bf7f | 2016-04-12 11:38:40 -0700 | [diff] [blame] | 3 | |
Matteo Scandolo | fbd486c | 2016-04-13 10:19:55 -0700 | [diff] [blame] | 4 | angular.module('xos.helpers') |
Matteo Scandolo | 717352a | 2016-04-13 17:23:28 -0700 | [diff] [blame] | 5 | /** |
| 6 | * @ngdoc service |
| 7 | * @name xos.helpers.Subscribers |
Matteo Scandolo | dfcfd75 | 2016-05-03 14:35:03 -0700 | [diff] [blame] | 8 | * @description Angular resource to fetch Subscribers |
Matteo Scandolo | 717352a | 2016-04-13 17:23:28 -0700 | [diff] [blame] | 9 | **/ |
Matteo Scandolo | fbd486c | 2016-04-13 10:19:55 -0700 | [diff] [blame] | 10 | .service('Subscribers', function($resource){ |
Matteo Scandolo | dfcfd75 | 2016-05-03 14:35:03 -0700 | [diff] [blame] | 11 | return $resource('/api/tenant/cord/subscriber/:id/', { id: '@id' }, { |
| 12 | update: { method: 'PUT' }, |
| 13 | /** |
| 14 | * @ngdoc method |
| 15 | * @name xos.helpers.Subscribers#View-a-Subscriber-Features-Detail |
| 16 | * @methodOf xos.helpers.Subscribers |
| 17 | * @description |
| 18 | * View-a-Subscriber-Features-Detail |
| 19 | **/ |
| 20 | 'View-a-Subscriber-Features-Detail': { |
| 21 | method: 'GET', |
| 22 | isArray: false, |
| 23 | url: '/api/tenant/cord/subscriber/:id/features/' |
| 24 | }, |
| 25 | /** |
| 26 | * @ngdoc method |
| 27 | * @name xos.helpers.Subscribers#Read-Subscriber-uplink_speed |
| 28 | * @methodOf xos.helpers.Subscribers |
| 29 | * @description |
| 30 | * Read-Subscriber-uplink_speed |
| 31 | **/ |
| 32 | 'Read-Subscriber-uplink_speed': { |
| 33 | method: 'GET', |
| 34 | isArray: false, |
| 35 | url: '/api/tenant/cord/subscriber/:id/features/uplink_speed/' |
| 36 | }, |
| 37 | /** |
| 38 | * @ngdoc method |
| 39 | * @name xos.helpers.Subscribers#Update-Subscriber-uplink_speed |
| 40 | * @methodOf xos.helpers.Subscribers |
| 41 | * @description |
| 42 | * Update-Subscriber-uplink_speed |
| 43 | **/ |
| 44 | 'Update-Subscriber-uplink_speed': { |
| 45 | method: 'PUT', |
| 46 | isArray: false, |
| 47 | url: '/api/tenant/cord/subscriber/:id/features/uplink_speed/' |
| 48 | }, |
| 49 | /** |
| 50 | * @ngdoc method |
| 51 | * @name xos.helpers.Subscribers#Read-Subscriber-downlink_speed |
| 52 | * @methodOf xos.helpers.Subscribers |
| 53 | * @description |
| 54 | * Read-Subscriber-downlink_speed |
| 55 | **/ |
| 56 | 'Read-Subscriber-downlink_speed': { |
| 57 | method: 'GET', |
| 58 | isArray: false, |
| 59 | url: '/api/tenant/cord/subscriber/:id/features/downlink_speed/' |
| 60 | }, |
| 61 | /** |
| 62 | * @ngdoc method |
| 63 | * @name xos.helpers.Subscribers#Update-Subscriber-downlink_speed |
| 64 | * @methodOf xos.helpers.Subscribers |
| 65 | * @description |
| 66 | * Update-Subscriber-downlink_speed |
| 67 | **/ |
| 68 | 'Update-Subscriber-downlink_speed': { |
| 69 | method: 'PUT', |
| 70 | isArray: false, |
| 71 | url: '/api/tenant/cord/subscriber/:id/features/downlink_speed/' |
| 72 | }, |
| 73 | /** |
| 74 | * @ngdoc method |
| 75 | * @name xos.helpers.Subscribers#Read-Subscriber-cdn |
| 76 | * @methodOf xos.helpers.Subscribers |
| 77 | * @description |
| 78 | * Read-Subscriber-cdn |
| 79 | **/ |
| 80 | 'Read-Subscriber-cdn': { |
| 81 | method: 'GET', |
| 82 | isArray: false, |
| 83 | url: '/api/tenant/cord/subscriber/:id/features/cdn/' |
| 84 | }, |
| 85 | /** |
| 86 | * @ngdoc method |
| 87 | * @name xos.helpers.Subscribers#Update-Subscriber-cdn |
| 88 | * @methodOf xos.helpers.Subscribers |
| 89 | * @description |
| 90 | * Update-Subscriber-cdn |
| 91 | **/ |
| 92 | 'Update-Subscriber-cdn': { |
| 93 | method: 'PUT', |
| 94 | isArray: false, |
| 95 | url: '/api/tenant/cord/subscriber/:id/features/cdn/' |
| 96 | }, |
| 97 | /** |
| 98 | * @ngdoc method |
| 99 | * @name xos.helpers.Subscribers#Read-Subscriber-uverse |
| 100 | * @methodOf xos.helpers.Subscribers |
| 101 | * @description |
| 102 | * Read-Subscriber-uverse |
| 103 | **/ |
| 104 | 'Read-Subscriber-uverse': { |
| 105 | method: 'GET', |
| 106 | isArray: false, |
| 107 | url: '/api/tenant/cord/subscriber/:id/features/uverse/' |
| 108 | }, |
| 109 | /** |
| 110 | * @ngdoc method |
| 111 | * @name xos.helpers.Subscribers#Update-Subscriber-uverse |
| 112 | * @methodOf xos.helpers.Subscribers |
| 113 | * @description |
| 114 | * Update-Subscriber-uverse |
| 115 | **/ |
| 116 | 'Update-Subscriber-uverse': { |
| 117 | method: 'PUT', |
| 118 | isArray: false, |
| 119 | url: '/api/tenant/cord/subscriber/:id/features/uverse/' |
| 120 | }, |
| 121 | /** |
| 122 | * @ngdoc method |
| 123 | * @name xos.helpers.Subscribers#Read-Subscriber-status |
| 124 | * @methodOf xos.helpers.Subscribers |
| 125 | * @description |
| 126 | * Read-Subscriber-status |
| 127 | **/ |
| 128 | 'Read-Subscriber-status': { |
| 129 | method: 'GET', |
| 130 | isArray: false, |
| 131 | url: '/api/tenant/cord/subscriber/:id/features/status/' |
| 132 | }, |
| 133 | /** |
| 134 | * @ngdoc method |
| 135 | * @name xos.helpers.Subscribers#Update-Subscriber-status |
| 136 | * @methodOf xos.helpers.Subscribers |
| 137 | * @description |
| 138 | * Update-Subscriber-status |
| 139 | **/ |
| 140 | 'Update-Subscriber-status': { |
| 141 | method: 'PUT', |
| 142 | isArray: false, |
| 143 | url: '/api/tenant/cord/subscriber/:id/features/status/' |
| 144 | } |
| 145 | }) |
Matteo Scandolo | fbd486c | 2016-04-13 10:19:55 -0700 | [diff] [blame] | 146 | }) |
| 147 | })(); |