Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat(trunk): channels pack & change sim calls classic routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy DE CESARE committed Mar 16, 2018
1 parent 06e47c9 commit 5a5bbdc
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 16 deletions.
14 changes: 10 additions & 4 deletions dist/ovh-api-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -8450,22 +8450,22 @@ angular.module("ovh-api-services").service("OvhApiOrderTelephonyLexi", ["$resour
},
getSimultaneousLines: {
method: "GET",
url: "/order/telephony/lines/:serviceName/addSimultaneousLines",
url: "/order/telephony/lines/:serviceName/updateSimultaneousChannels",
isArray: false
},
orderSimultaneousLines: {
method: "POST",
url: "/order/telephony/lines/:serviceName/addSimultaneousLines",
url: "/order/telephony/lines/:serviceName/updateSimultaneousChannels",
isArray: false
},
getSimultaneousTrunkLines: {
method: "GET",
url: "/order/telephony/trunks/:serviceName/addSimultaneousLines",
url: "/order/telephony/trunks/:serviceName/updateSimultaneousChannels",
isArray: false
},
orderSimultaneousTrunkLines: {
method: "POST",
url: "/order/telephony/trunks/:serviceName/addSimultaneousLines",
url: "/order/telephony/trunks/:serviceName/updateSimultaneousChannels",
isArray: false
}
});
Expand Down Expand Up @@ -17525,6 +17525,12 @@ angular.module("ovh-api-services").service("OvhApiTelephonyTrunkLexi", ["$resour
return $resource("/telephony/:billingAccount/trunk/:serviceName", {
billingAccount: "@billingAccount",
serviceName: "@serviceName"
}, {
getChannelsPacksRepartition: {
method: "GET",
url: "/telephony/:billingAccount/trunk/:serviceName/channelsPacksRepartition",
isArray: false
}
});

}]);
Expand Down
17 changes: 9 additions & 8 deletions dist/ovh-api-services.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/order/telephony/order-telephony.lexi.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,22 +100,22 @@ angular.module("ovh-api-services").service("OvhApiOrderTelephonyLexi", function
},
getSimultaneousLines: {
method: "GET",
url: "/order/telephony/lines/:serviceName/addSimultaneousLines",
url: "/order/telephony/lines/:serviceName/updateSimultaneousChannels",
isArray: false
},
orderSimultaneousLines: {
method: "POST",
url: "/order/telephony/lines/:serviceName/addSimultaneousLines",
url: "/order/telephony/lines/:serviceName/updateSimultaneousChannels",
isArray: false
},
getSimultaneousTrunkLines: {
method: "GET",
url: "/order/telephony/trunks/:serviceName/addSimultaneousLines",
url: "/order/telephony/trunks/:serviceName/updateSimultaneousChannels",
isArray: false
},
orderSimultaneousTrunkLines: {
method: "POST",
url: "/order/telephony/trunks/:serviceName/addSimultaneousLines",
url: "/order/telephony/trunks/:serviceName/updateSimultaneousChannels",
isArray: false
}
});
Expand Down
6 changes: 6 additions & 0 deletions src/telephony/trunk/telephony.trunk.lexi.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ angular.module("ovh-api-services").service("OvhApiTelephonyTrunkLexi", function
return $resource("/telephony/:billingAccount/trunk/:serviceName", {
billingAccount: "@billingAccount",
serviceName: "@serviceName"
}, {
getChannelsPacksRepartition: {
method: "GET",
url: "/telephony/:billingAccount/trunk/:serviceName/channelsPacksRepartition",
isArray: false
}
});

});

0 comments on commit 5a5bbdc

Please sign in to comment.