(build-gllue-event {:keys [external_id dateAdded]})(cache-response atom-m fetch-func key)(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]})(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"})(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"})(create-contract conf payload)(create-job-order conf payload)(create-user conf payload)(fetch-all-assignments conf params)(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
(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"})(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"})(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"})(fetch-assignments conf params)(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"})(fetch-cities conf params)(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"})(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"})(fetch-cv-sents conf params)(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"})(fetch-interviews conf params)(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"})(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}})(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"})(fetch-notes conf params)(fetch-placements conf params)(fetch-red-invoice-log invoice-id)(fetch-teams conf params)(fetch-update-log conf params)(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"})(filter-logs-by-field-value response
{:keys [look-at field valid-changes]
:or {valid-changes nil}})(investigate-update-log brand candidate-id)(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 %)))(remove-contract-by-id conf id)(remove-job-order-by-id conf id)(remove-user-by-id conf id)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |