   { v4: createId } = require 'node-uuid'
 
   {secure, dash, signature}        = require 'bongo'
+
+  {partition} = require 'bongo/lib/util'
 
   {permit}              = require '../group/permissionset'
 

      JGroup.one _id: @product.category, (err, group)->
        callback err, unless err then group.slug

  fetchCoupon: (type, callback) ->
    recurly.fetchCoupon @couponCodes[type], callback

          (signature Object, Object, Function)
        ]
        updateProducts:
          (signature Object, Function)
        checkQuota:
          (signature Object, Function)
        fetchCoupon:
          (signature String, Function)
