Liking cljdoc? Tell your friends :D

gllue-sdk.core


build-gllue-eventclj

(build-gllue-event {:keys [external_id dateAdded]})

cache-responseclj

(cache-response atom-m fetch-func key)

create-applicationclj

(create-application conf payload)
(create-application conf payload user-email)

Create an application in Gllue

Examples: (create-application @conf {:joborder_id 48144, :candidate_ids [1023659]})

Create an application in Gllue

Examples:
(create-application @conf {:joborder_id 48144, :candidate_ids [1023659]})
raw docstring

create-candidateclj

(create-candidate conf payload)
(create-candidate conf payload user-email)

Create a candidate in Gllue

Examples: ;; create a test candidate (create-candidate @conf {:englishName "[TEST] a test candidate"})

;; create by another user (create-candidate @conf {:englishName "[TEST] a test candidate"} "flash@cgptalent.com")

;; create with email and type (create-candidate @conf {:englishName "Flash iCloud Tester" :email "idisblueflash@icloud.com" :type "candidate"})

Create a candidate in Gllue

Examples:
;; create a test candidate
(create-candidate @conf {:englishName "[TEST] a test candidate"})

;; create by another user
(create-candidate
  @conf
  {:englishName "[TEST] a test candidate"}
  "flash@cgptalent.com")

;; create with email and type
(create-candidate @conf {:englishName "Flash iCloud Tester"
                         :email       "idisblueflash@icloud.com"
                         :type        "candidate"})
raw docstring

create-clientclj

(create-client conf payload)

Create a company in Gllue

Examples: (create-client @conf {:name "[TEST] a test company 123"})

Create a company in Gllue

Examples:
(create-client @conf {:name "[TEST] a test company 123"})
raw docstring

create-contractclj

(create-contract conf payload)

create-job-orderclj

(create-job-order conf payload)

create-userclj

(create-user conf payload)

fetch-all-assignmentsclj

(fetch-all-assignments conf params)

fetch-all-candidatesclj

(fetch-all-candidates conf params)

Fetch all pages of candidates from Gllue.

Examples: see the examples in fetch-candidates

Fetch all pages of candidates from Gllue.

Examples:
see the examples in fetch-candidates
raw docstring

fetch-all-citiesclj

(fetch-all-cities conf params)

Fetch all pages of cities from Gllue.

Examples: user=> (fetch-all-cities @conf {:gql {:id__s "670,1669,1670,1677,1678"} :paginate_by 3 :fields "id,name"})

Fetch all pages of cities from Gllue.

Examples:
user=> (fetch-all-cities
         @conf
         {:gql         {:id__s "670,1669,1670,1677,1678"}
          :paginate_by 3
          :fields      "id,name"})
raw docstring

fetch-all-interviewsclj

(fetch-all-interviews conf params)

Fetch all interviews from Gllue.

Examples: ;; fetch by date range (fetch-all-interviews @conf {:gql {:dateAdded__day_range "2023-03-05,2023-03-10"} :fields "id,status"})

Fetch all interviews from Gllue.

Examples:
;; fetch by date range
(fetch-all-interviews
  @conf
  {:gql    {:dateAdded__day_range "2023-03-05,2023-03-10"}
   :fields "id,status"})
raw docstring

fetch-all-invoicesclj

(fetch-all-invoices conf params)

Fetch all invoices from Gllue.

Examples: ;; fetch by date range (fetch-all-invoices @conf {:gql {:dateAdded__day_range "2023-03-05,2023-03-10"} :fields "id,status"})

Fetch all invoices from Gllue.

Examples:
;; fetch by date range
(fetch-all-invoices
  @conf
  {:gql    {:dateAdded__day_range "2023-03-05,2023-03-10"}
   :fields "id,status"})
raw docstring

fetch-assignmentsclj

(fetch-assignments conf params)

fetch-candidatesclj

(fetch-candidates conf params)

Fetch candidates from Gllue.

Examples: ;; fetch by email keywords (fetch-candidates @conf {:gql {:email__s "flash@cgp"} :fields "id,email,source,public_attachment_set"})

;; fetch removed candidate by id (fetch-candidates @conf {:gql {:id__eq 988304 :is_deleted true} :fields "id,addedBy__name"})

;; fetch hands-off info by id (fetch-candidates @conf {:gql {:id__eq "558060"} :fields "id,company__clientcontract_set__is_handsoff,contractInfo"})

Fetch candidates from Gllue.

 Examples:
 ;; fetch by email keywords
(fetch-candidates
  @conf
  {:gql    {:email__s "flash@cgp"}
   :fields "id,email,source,public_attachment_set"})

;; fetch removed candidate by id
(fetch-candidates
  @conf
  {:gql    {:id__eq 988304 :is_deleted true}
   :fields "id,addedBy__name"})

;; fetch hands-off info by id
(fetch-candidates
  @conf
  {:gql    {:id__eq "558060"}
   :fields "id,company__clientcontract_set__is_handsoff,contractInfo"})
raw docstring

fetch-citiesclj

(fetch-cities conf params)

fetch-clientsclj

(fetch-clients conf params)

Fetch Company from Gllue.

Examples: ;; fetch type by id (fetch-clients @conf {:gql {:id__eq 1375053} :fields "id,type"})

;; fetch removed company (fetch-clients @conf {:gql {:id__eq 1375160 :is_deleted true}})

;; fetch by id with contract info (fetch-clients @conf {:gql {:id__eq 197925} :fields "id,clientcontract_set__is_handsoff"})

Fetch Company from Gllue.

Examples:
;; fetch type by id
(fetch-clients @conf
               {:gql    {:id__eq 1375053}
                :fields "id,type"})

;; fetch removed company
(fetch-clients @conf
               {:gql {:id__eq 1375160 :is_deleted true}})


;; fetch by id with contract info
(fetch-clients
  @conf
  {:gql    {:id__eq 197925}
   :fields "id,clientcontract_set__is_handsoff"})
raw docstring

fetch-contractsclj

(fetch-contracts conf params)

Fetch contracts from Gllue.

Examples: ;; fetch Legal Entity by id (fetch-contracts @conf {:gql {:id__eq 930} :fields "id,gllueext_LegalEntity"})

Fetch contracts from Gllue.

Examples:
;; fetch Legal Entity by id
(fetch-contracts @conf
                {:gql    {:id__eq 930}
                 :fields "id,gllueext_LegalEntity"})
raw docstring

fetch-cv-sentsclj

(fetch-cv-sents conf params)

fetch-industriesclj

(fetch-industries conf params)

Fetch industries from Gllue.

Examples: ;; fetch by id (fetch-industries @conf {:gql {:id__eq 191} :fields "id,name"})

Fetch industries from Gllue.

Examples:
;; fetch by id
(fetch-industries @conf {:gql    {:id__eq 191}
                         :fields "id,name"})
raw docstring

fetch-interviewsclj

(fetch-interviews conf params)

fetch-invoicesclj

(fetch-invoices conf params)

Fetch invoices from Gllue.

Examples: user=>(fetch-invoices @conf {:gql {:id__eq 11339} :fields "id,status,user__team__code,gllueext_InvoiceCurrency"})

Fetch invoices from Gllue.

Examples:
user=>(fetch-invoices @conf {:gql    {:id__eq 11339}
                             :fields "id,status,user__team__code,gllueext_InvoiceCurrency"})
raw docstring

fetch-job-ordersclj

(fetch-job-orders conf params)

Fetch Job Orders from Gllue

Example: ;; fetch related client industry by date range 2023-03-05, 2023-03-10 (fetch-job-orders @conf {:gql {:dateAdded__day_range "2023-03-05,2023-03-10"} :fields "client__id,id,addedBy__id,dateAdded,client__industry__id,client__industry_name"})

;; fetch by id (fetch-job-orders @conf {:gql {:id__eq 123}})

Fetch Job Orders from Gllue

Example:
;; fetch related client industry by date range 2023-03-05, 2023-03-10
(fetch-job-orders
  @conf {:gql    {:dateAdded__day_range "2023-03-05,2023-03-10"}
         :fields "client__id,id,addedBy__id,dateAdded,client__industry__id,client__industry_name"})

;; fetch by id
(fetch-job-orders @conf {:gql {:id__eq 123}})
raw docstring

fetch-job-submissionsclj

(fetch-job-submissions conf params)

Fetch Job Submissions from Gllue.

Examples: ;; fetch candidate email by id (fetch-job-submissions @conf {:gql {:id__eq 483289} :fields "id,max_status,candidate__email"})

Fetch Job Submissions from Gllue.

Examples:
;; fetch candidate email by id
(fetch-job-submissions
  @conf
  {:gql    {:id__eq 483289}
   :fields "id,max_status,candidate__email"})
raw docstring

fetch-notesclj

(fetch-notes conf params)

fetch-placementsclj

(fetch-placements conf params)

fetch-red-invoice-logclj

(fetch-red-invoice-log invoice-id)

fetch-teamsclj

(fetch-teams conf params)

fetch-update-logclj

(fetch-update-log conf params)

fetch-usersclj

(fetch-users conf params)

Fetch users from Gllue.

Examples: ;; fetch active user by keyword (fetch-users @conf {:gql {:keyword "diana" :status__s "Active" :user_type__s "user"} :fields "id,email"})

Fetch users from Gllue.

 Examples:
 ;; fetch active user by keyword
(fetch-users @conf {:gql    {:keyword      "diana"
                             :status__s    "Active"
                             :user_type__s "user"}
                    :fields  "id,email"})
raw docstring

filter-logs-by-field-valueclj

(filter-logs-by-field-value response
                            {:keys [look-at field valid-changes]
                             :or {valid-changes nil}})

investigate-update-logclj

(investigate-update-log brand candidate-id)

remove-client-by-idclj

(remove-client-by-id conf id)

Remove a company in Gllue

Examples: (remove-client-by-id @conf 1377507)

;; bulk remove clients by ids (->> [1375206 1375198 1375160] (mapv #(remove-client-by-id @conf %)) (map #(:body %)))

Remove a company in Gllue

Examples:
(remove-client-by-id @conf 1377507)

;; bulk remove clients by ids
(->> [1375206 1375198 1375160]
     (mapv #(remove-client-by-id @conf %))
     (map #(:body %)))
raw docstring

remove-contract-by-idclj

(remove-contract-by-id conf id)

remove-job-order-by-idclj

(remove-job-order-by-id conf id)

remove-user-by-idclj

(remove-user-by-id conf id)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close