diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5742def0..cae8889d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,7 +1,7 @@ ## These are the standard rules for all EasyPost public repositories. ## -* @EasyPost/team-shippers @EasyPost/easypost-public-maintainers +* @EasyPost/easypost-public-maintainers # The devtools team owns the codeowners file, this is for auditing purposes .github/CODEOWNERS @easypost/dev-tools diff --git a/official/guides/partner-white-label-guide/csharp/configure-recharge.cs b/official/guides/partner-white-label-guide/csharp/configure-recharge.cs deleted file mode 100644 index ddec1139..00000000 --- a/official/guides/partner-white-label-guide/csharp/configure-recharge.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using EasyPost; -using Newtonsoft.Json; - -namespace EasyPostExamples -{ - public class Examples - { - public static async Task Main() - { - var client = new EasyPost.Client(new EasyPost.ClientConfiguration("EASYPOST_API_KEY")); - - EasyPost.Parameters.User.Update parameters = new() - { - RechargeThreshold = "50.00", - }; - - EasyPost.Models.API.User me = await client.User.RetrieveMe(); - - me = await client.User.Update(me.Id!, parameters); - } - } -} diff --git a/official/guides/partner-white-label-guide/curl/configure-recharge.sh b/official/guides/partner-white-label-guide/curl/configure-recharge.sh deleted file mode 100644 index 89b7f3b8..00000000 --- a/official/guides/partner-white-label-guide/curl/configure-recharge.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl -X PUT "https://api.easypost.com/v2/users" \ - -u ":" \ - -H "Content-Type: application/json" \ - -d '{ - "recharge_amount": "100.00", - "secondary_recharge_amount": "50.00", - "recharge_threshold": "25.00", -}' diff --git a/official/guides/partner-white-label-guide/golang/configure-recharge.go b/official/guides/partner-white-label-guide/golang/configure-recharge.go deleted file mode 100644 index bcbe32e7..00000000 --- a/official/guides/partner-white-label-guide/golang/configure-recharge.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "github.com/EasyPost/easypost-go/v4" -) - -func configureRecharge() { - client := easypost.New("EASYPOST_API_KEY") - - _, _ = client.RetrieveMe() - rechargeThreshold := "50.00" - - _, _ = client.UpdateUser( - &easypost.UserOptions{ - RechargeAmount: &rechargeThreshold, - }, - ) -} diff --git a/official/guides/partner-white-label-guide/java/configure-recharge.java b/official/guides/partner-white-label-guide/java/configure-recharge.java deleted file mode 100644 index 31bad603..00000000 --- a/official/guides/partner-white-label-guide/java/configure-recharge.java +++ /dev/null @@ -1,18 +0,0 @@ -package referral; - -import java.util.HashMap; - -import com.easypost.service.EasyPostClient; -import com.easypost.exception.EasyPostException; - -public class RetrieveReferralUsers { - public static void main(String[] args) throws EasyPostException { - EasyPostClient client = new EasyPostClient("EASYPOST_API_KEY"); - - Map params = new HashMap(); - params.put("recharge_threshold", "50.00"); - - User me = client.user.retrieveMe(); - me = client.user.update(me.getId(), params); - } -} diff --git a/official/guides/partner-white-label-guide/node/configure-recharge.js b/official/guides/partner-white-label-guide/node/configure-recharge.js deleted file mode 100644 index b6e13127..00000000 --- a/official/guides/partner-white-label-guide/node/configure-recharge.js +++ /dev/null @@ -1,10 +0,0 @@ -const EasyPostClient = require('@easypost/api'); - -const client = new EasyPostClient('EASYPOST_API_KEY'); - -(async () => { - let user; - user = client.User.retrieveMe(); - user = client.User.update(user.id, { recharge_threshold: '50.00' }); - console.log(user); -})(); diff --git a/official/guides/partner-white-label-guide/php/configure-recharge.php b/official/guides/partner-white-label-guide/php/configure-recharge.php deleted file mode 100644 index 97a4d39a..00000000 --- a/official/guides/partner-white-label-guide/php/configure-recharge.php +++ /dev/null @@ -1,12 +0,0 @@ -user->retrieveMe(); - -$updatedUser = $client->user->update( - $user->id, - ['recharge_threshold' => '50.00'] -); - -echo $updatedUser; diff --git a/official/guides/partner-white-label-guide/python/configure-recharge.py b/official/guides/partner-white-label-guide/python/configure-recharge.py deleted file mode 100644 index cf6f6d4c..00000000 --- a/official/guides/partner-white-label-guide/python/configure-recharge.py +++ /dev/null @@ -1,9 +0,0 @@ -import easypost - -client = easypost.EasyPostClient("EASYPOST_API_KEY") - -user = client.user.retrieve_me() - -updated_user = client.user.update(user.id, recharge_threshold="50.00") - -print(updated_user) diff --git a/official/guides/partner-white-label-guide/ruby/configure-recharge.rb b/official/guides/partner-white-label-guide/ruby/configure-recharge.rb deleted file mode 100644 index 60a335e2..00000000 --- a/official/guides/partner-white-label-guide/ruby/configure-recharge.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'easypost' - -client = EasyPost::Client.new(api_key: 'EASYPOST_API_KEY') - -retrieved_user = client.user.retrieve_me - -user = client.user.update(retrieved_user.id, recharge_amount: '50.00') - -puts user