@graph8/sdk 0.251.0 → 0.262.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/cli.js +216 -0
- package/dist/index.d.mts +105 -7
- package/dist/index.d.ts +105 -7
- package/dist/index.js +44 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +103 -7
- package/dist/react.d.ts +103 -7
- package/dist/react.js +62 -11
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +53 -12
- package/dist/react.mjs.map +1 -1
- package/dist/types/README.md +7 -0
- package/dist/types/agency.d.ts +20 -0
- package/dist/types/agentSetup.d.ts +57 -0
- package/dist/types/api.d.ts +127 -0
- package/dist/types/appClient.d.ts +99 -0
- package/dist/types/appPlatform.d.ts +269 -0
- package/dist/types/appTokens.d.ts +125 -0
- package/dist/types/apps.d.ts +130 -0
- package/dist/types/audiences.d.ts +88 -0
- package/dist/types/calendar.d.ts +55 -0
- package/dist/types/campaigns.d.ts +61 -0
- package/dist/types/chat.d.ts +35 -0
- package/dist/types/cli.d.ts +14 -0
- package/dist/types/companies.d.ts +123 -0
- package/dist/types/contacts.d.ts +200 -0
- package/dist/types/copilot.d.ts +31 -0
- package/dist/types/core.d.ts +1052 -0
- package/dist/types/deals.d.ts +215 -0
- package/dist/types/enrich.d.ts +51 -0
- package/dist/types/fields.d.ts +84 -0
- package/dist/types/forms.d.ts +16 -0
- package/dist/types/http.d.ts +141 -0
- package/dist/types/inbox.d.ts +123 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/intent.d.ts +196 -0
- package/dist/types/lists.d.ts +44 -0
- package/dist/types/mailboxes.d.ts +240 -0
- package/dist/types/marketplace.d.ts +62 -0
- package/dist/types/meetings.d.ts +70 -0
- package/dist/types/newsletter.d.ts +212 -0
- package/dist/types/notes.d.ts +57 -0
- package/dist/types/objects.d.ts +281 -0
- package/dist/types/pipelines.d.ts +135 -0
- package/dist/types/quotes.d.ts +143 -0
- package/dist/types/react.d.ts +978 -0
- package/dist/types/search.d.ts +99 -0
- package/dist/types/sequences.d.ts +255 -0
- package/dist/types/signals.d.ts +28 -0
- package/dist/types/skills.d.ts +176 -0
- package/dist/types/snippet.d.ts +24 -0
- package/dist/types/studio.d.ts +161 -0
- package/dist/types/tasks.d.ts +101 -0
- package/dist/types/types.d.ts +45 -0
- package/dist/types/utils.d.ts +21 -0
- package/dist/types/version.d.ts +10 -0
- package/dist/types/visitors.d.ts +29 -0
- package/dist/types/voice.d.ts +304 -0
- package/dist/types/webhooks.d.ts +71 -0
- package/dist/types/workflows.d.ts +229 -0
- package/docs/agents.md +748 -0
- package/docs/api/README.md +165 -0
- package/docs/api/accounts.d.ts +396 -0
- package/docs/api/accounts.md +644 -0
- package/docs/api/adCampaigns.d.ts +707 -0
- package/docs/api/adCampaigns.md +1091 -0
- package/docs/api/adCreatives.d.ts +996 -0
- package/docs/api/adCreatives.md +1708 -0
- package/docs/api/agency.d.ts +556 -0
- package/docs/api/agency.md +845 -0
- package/docs/api/agent.d.ts +330 -0
- package/docs/api/agent.md +514 -0
- package/docs/api/agents.d.ts +1622 -0
- package/docs/api/agents.md +2860 -0
- package/docs/api/aiInbox.d.ts +1984 -0
- package/docs/api/aiInbox.md +3490 -0
- package/docs/api/analytics.d.ts +1273 -0
- package/docs/api/analytics.md +2095 -0
- package/docs/api/apiKeys.d.ts +252 -0
- package/docs/api/apiKeys.md +318 -0
- package/docs/api/appDeployments.d.ts +236 -0
- package/docs/api/appDeployments.md +471 -0
- package/docs/api/appDomains.d.ts +171 -0
- package/docs/api/appDomains.md +281 -0
- package/docs/api/appLogs.d.ts +120 -0
- package/docs/api/appLogs.md +159 -0
- package/docs/api/appObjects.d.ts +415 -0
- package/docs/api/appObjects.md +568 -0
- package/docs/api/appPages.d.ts +557 -0
- package/docs/api/appPages.md +796 -0
- package/docs/api/appPlatformTokens.d.ts +123 -0
- package/docs/api/appPlatformTokens.md +172 -0
- package/docs/api/appointments.d.ts +2361 -0
- package/docs/api/appointments.md +3917 -0
- package/docs/api/apps.d.ts +822 -0
- package/docs/api/apps.md +1342 -0
- package/docs/api/assertUpsert.d.ts +286 -0
- package/docs/api/assertUpsert.md +370 -0
- package/docs/api/audienceSyncs.d.ts +259 -0
- package/docs/api/audienceSyncs.md +395 -0
- package/docs/api/brandKit.d.ts +686 -0
- package/docs/api/brandKit.md +1133 -0
- package/docs/api/bugReports.d.ts +181 -0
- package/docs/api/bugReports.md +268 -0
- package/docs/api/by-path.md +3260 -0
- package/docs/api/calendarInvites.d.ts +117 -0
- package/docs/api/calendarInvites.md +148 -0
- package/docs/api/campaignWorkflows.d.ts +152 -0
- package/docs/api/campaignWorkflows.md +200 -0
- package/docs/api/campaigns.d.ts +721 -0
- package/docs/api/campaigns.md +1236 -0
- package/docs/api/channels.d.ts +171 -0
- package/docs/api/channels.md +235 -0
- package/docs/api/cliCampaigns.d.ts +205 -0
- package/docs/api/cliCampaigns.md +256 -0
- package/docs/api/cliPipelines.d.ts +324 -0
- package/docs/api/cliPipelines.md +562 -0
- package/docs/api/clickHouse.d.ts +115 -0
- package/docs/api/clickHouse.md +138 -0
- package/docs/api/companies.d.ts +1636 -0
- package/docs/api/companies.md +2211 -0
- package/docs/api/companyIntelligence.d.ts +299 -0
- package/docs/api/companyIntelligence.md +488 -0
- package/docs/api/contacts.d.ts +2173 -0
- package/docs/api/contacts.md +3143 -0
- package/docs/api/content.d.ts +968 -0
- package/docs/api/content.md +1667 -0
- package/docs/api/contentGridSkills.d.ts +177 -0
- package/docs/api/contentGridSkills.md +271 -0
- package/docs/api/copilot.d.ts +1017 -0
- package/docs/api/copilot.md +1765 -0
- package/docs/api/crmSyncs.d.ts +215 -0
- package/docs/api/crmSyncs.md +301 -0
- package/docs/api/customerSuccess.d.ts +491 -0
- package/docs/api/customerSuccess.md +776 -0
- package/docs/api/deals.d.ts +1697 -0
- package/docs/api/deals.md +2436 -0
- package/docs/api/deliverability.d.ts +418 -0
- package/docs/api/deliverability.md +677 -0
- package/docs/api/desk.d.ts +1765 -0
- package/docs/api/desk.md +3007 -0
- package/docs/api/dialer.d.ts +1185 -0
- package/docs/api/dialer.md +2166 -0
- package/docs/api/dialerAnalytics.d.ts +187 -0
- package/docs/api/dialerAnalytics.md +257 -0
- package/docs/api/documents.d.ts +895 -0
- package/docs/api/documents.md +1440 -0
- package/docs/api/duplicates.d.ts +195 -0
- package/docs/api/duplicates.md +315 -0
- package/docs/api/eSign.d.ts +38 -0
- package/docs/api/eSign.md +54 -0
- package/docs/api/eSignature.d.ts +242 -0
- package/docs/api/eSignature.md +341 -0
- package/docs/api/enrichment.d.ts +3207 -0
- package/docs/api/enrichment.md +5225 -0
- package/docs/api/events.d.ts +115 -0
- package/docs/api/events.md +105 -0
- package/docs/api/fields.d.ts +482 -0
- package/docs/api/fields.md +566 -0
- package/docs/api/forms.d.ts +1012 -0
- package/docs/api/forms.md +1542 -0
- package/docs/api/gtmCampaigns.d.ts +662 -0
- package/docs/api/gtmCampaigns.md +1044 -0
- package/docs/api/gtmContext.d.ts +1187 -0
- package/docs/api/gtmContext.md +2112 -0
- package/docs/api/gtmDeliverability.d.ts +60 -0
- package/docs/api/gtmDeliverability.md +63 -0
- package/docs/api/gtmKnowledgeBase.d.ts +76 -0
- package/docs/api/gtmKnowledgeBase.md +91 -0
- package/docs/api/gtmLaunchHelpers.d.ts +123 -0
- package/docs/api/gtmLaunchHelpers.md +148 -0
- package/docs/api/gtmLibrary.d.ts +448 -0
- package/docs/api/gtmLibrary.md +780 -0
- package/docs/api/health.d.ts +39 -0
- package/docs/api/health.md +58 -0
- package/docs/api/imageLibrary.d.ts +341 -0
- package/docs/api/imageLibrary.md +569 -0
- package/docs/api/imports.d.ts +157 -0
- package/docs/api/imports.md +174 -0
- package/docs/api/inbox.d.ts +709 -0
- package/docs/api/inbox.md +1067 -0
- package/docs/api/install.d.ts +213 -0
- package/docs/api/install.md +317 -0
- package/docs/api/installedApps.d.ts +131 -0
- package/docs/api/installedApps.md +241 -0
- package/docs/api/integrationStatus.d.ts +142 -0
- package/docs/api/integrationStatus.md +205 -0
- package/docs/api/integrations.d.ts +2327 -0
- package/docs/api/integrations.md +3791 -0
- package/docs/api/intent.d.ts +482 -0
- package/docs/api/intent.md +858 -0
- package/docs/api/knowledge.d.ts +501 -0
- package/docs/api/knowledge.md +843 -0
- package/docs/api/knowledgeBase.d.ts +84 -0
- package/docs/api/knowledgeBase.md +96 -0
- package/docs/api/landingPages.d.ts +1411 -0
- package/docs/api/landingPages.md +2488 -0
- package/docs/api/leads.d.ts +133 -0
- package/docs/api/leads.md +180 -0
- package/docs/api/library.d.ts +217 -0
- package/docs/api/library.md +338 -0
- package/docs/api/linkedIn.d.ts +227 -0
- package/docs/api/linkedIn.md +289 -0
- package/docs/api/linkedInOutreach.d.ts +727 -0
- package/docs/api/linkedInOutreach.md +990 -0
- package/docs/api/lists.d.ts +1106 -0
- package/docs/api/lists.md +1609 -0
- package/docs/api/logs.d.ts +71 -0
- package/docs/api/logs.md +70 -0
- package/docs/api/mailboxes.d.ts +1050 -0
- package/docs/api/mailboxes.md +1690 -0
- package/docs/api/marketingIntelligence.d.ts +256 -0
- package/docs/api/marketingIntelligence.md +454 -0
- package/docs/api/marketplace.d.ts +3173 -0
- package/docs/api/marketplace.md +5953 -0
- package/docs/api/mcp.d.ts +69 -0
- package/docs/api/mcp.md +69 -0
- package/docs/api/me.d.ts +54 -0
- package/docs/api/me.md +56 -0
- package/docs/api/meetings.d.ts +539 -0
- package/docs/api/meetings.md +747 -0
- package/docs/api/newsletter.d.ts +1613 -0
- package/docs/api/newsletter.md +2746 -0
- package/docs/api/notes.d.ts +517 -0
- package/docs/api/notes.md +888 -0
- package/docs/api/notifications.d.ts +94 -0
- package/docs/api/notifications.md +105 -0
- package/docs/api/objects.d.ts +621 -0
- package/docs/api/objects.md +1098 -0
- package/docs/api/openSearch.d.ts +234 -0
- package/docs/api/openSearch.md +297 -0
- package/docs/api/ops.d.ts +299 -0
- package/docs/api/ops.md +339 -0
- package/docs/api/orgGovernance.d.ts +393 -0
- package/docs/api/orgGovernance.md +623 -0
- package/docs/api/orgVideos.d.ts +184 -0
- package/docs/api/orgVideos.md +252 -0
- package/docs/api/organizationSettings.d.ts +626 -0
- package/docs/api/organizationSettings.md +911 -0
- package/docs/api/phoneNumbers.d.ts +484 -0
- package/docs/api/phoneNumbers.md +777 -0
- package/docs/api/profile.d.ts +329 -0
- package/docs/api/profile.md +540 -0
- package/docs/api/programmaticPages.d.ts +400 -0
- package/docs/api/programmaticPages.md +626 -0
- package/docs/api/providerDomains.d.ts +866 -0
- package/docs/api/providerDomains.md +1446 -0
- package/docs/api/providerUsage.d.ts +129 -0
- package/docs/api/providerUsage.md +186 -0
- package/docs/api/public.d.ts +69 -0
- package/docs/api/public.md +78 -0
- package/docs/api/publicCopilot.d.ts +67 -0
- package/docs/api/publicCopilot.md +80 -0
- package/docs/api/publicSignals.d.ts +66 -0
- package/docs/api/publicSignals.md +71 -0
- package/docs/api/publicVisitors.d.ts +97 -0
- package/docs/api/publicVisitors.md +118 -0
- package/docs/api/quotes.d.ts +1564 -0
- package/docs/api/quotes.md +2553 -0
- package/docs/api/radar.d.ts +808 -0
- package/docs/api/radar.md +1431 -0
- package/docs/api/radarReports.d.ts +208 -0
- package/docs/api/radarReports.md +306 -0
- package/docs/api/recordRoles.d.ts +143 -0
- package/docs/api/recordRoles.md +175 -0
- package/docs/api/repos.d.ts +146 -0
- package/docs/api/repos.md +211 -0
- package/docs/api/research.d.ts +295 -0
- package/docs/api/research.md +534 -0
- package/docs/api/revenue.d.ts +402 -0
- package/docs/api/revenue.md +608 -0
- package/docs/api/revenueAnalytics.d.ts +147 -0
- package/docs/api/revenueAnalytics.md +212 -0
- package/docs/api/revenueLifecycle.d.ts +207 -0
- package/docs/api/revenueLifecycle.md +274 -0
- package/docs/api/revenueRecords.d.ts +372 -0
- package/docs/api/revenueRecords.md +563 -0
- package/docs/api/roles.d.ts +431 -0
- package/docs/api/roles.md +812 -0
- package/docs/api/salesCoach.d.ts +877 -0
- package/docs/api/salesCoach.md +1540 -0
- package/docs/api/sandbox.d.ts +210 -0
- package/docs/api/sandbox.md +380 -0
- package/docs/api/scans.d.ts +104 -0
- package/docs/api/scans.md +136 -0
- package/docs/api/scheduleBuy.d.ts +293 -0
- package/docs/api/scheduleBuy.md +431 -0
- package/docs/api/scraping.d.ts +266 -0
- package/docs/api/scraping.md +383 -0
- package/docs/api/sdrAnalytics.d.ts +138 -0
- package/docs/api/sdrAnalytics.md +246 -0
- package/docs/api/search.d.ts +598 -0
- package/docs/api/search.md +866 -0
- package/docs/api/seo.d.ts +447 -0
- package/docs/api/seo.md +660 -0
- package/docs/api/sequenceLifecycle.d.ts +439 -0
- package/docs/api/sequenceLifecycle.md +513 -0
- package/docs/api/sequences.d.ts +1936 -0
- package/docs/api/sequences.md +3232 -0
- package/docs/api/settings.d.ts +448 -0
- package/docs/api/settings.md +731 -0
- package/docs/api/signals.d.ts +1441 -0
- package/docs/api/signals.md +2526 -0
- package/docs/api/signatures.d.ts +719 -0
- package/docs/api/signatures.md +1247 -0
- package/docs/api/skills.d.ts +230 -0
- package/docs/api/skills.md +466 -0
- package/docs/api/snippet.d.ts +85 -0
- package/docs/api/snippet.md +106 -0
- package/docs/api/socialPublishing.d.ts +824 -0
- package/docs/api/socialPublishing.md +1245 -0
- package/docs/api/studioDocuments.d.ts +244 -0
- package/docs/api/studioDocuments.md +348 -0
- package/docs/api/support.d.ts +90 -0
- package/docs/api/support.md +76 -0
- package/docs/api/suppressions.d.ts +241 -0
- package/docs/api/suppressions.md +343 -0
- package/docs/api/surveys.d.ts +847 -0
- package/docs/api/surveys.md +1223 -0
- package/docs/api/tasks.d.ts +813 -0
- package/docs/api/tasks.md +1344 -0
- package/docs/api/teamMembers.d.ts +668 -0
- package/docs/api/teamMembers.md +1040 -0
- package/docs/api/teams.d.ts +784 -0
- package/docs/api/teams.md +1395 -0
- package/docs/api/usage.d.ts +277 -0
- package/docs/api/usage.md +389 -0
- package/docs/api/visitors.d.ts +690 -0
- package/docs/api/visitors.md +1075 -0
- package/docs/api/voice.d.ts +4661 -0
- package/docs/api/voice.md +7905 -0
- package/docs/api/webAnalytics.d.ts +964 -0
- package/docs/api/webAnalytics.md +1452 -0
- package/docs/api/webChat.d.ts +1704 -0
- package/docs/api/webChat.md +2048 -0
- package/docs/api/webhooks.d.ts +251 -0
- package/docs/api/webhooks.md +386 -0
- package/docs/api/websiteEditor.d.ts +324 -0
- package/docs/api/websiteEditor.md +517 -0
- package/docs/api/work.d.ts +2298 -0
- package/docs/api/work.md +3096 -0
- package/docs/api/workbench.d.ts +2962 -0
- package/docs/api/workbench.md +4884 -0
- package/docs/api/workflows.d.ts +1218 -0
- package/docs/api/workflows.md +2302 -0
- package/docs/sdk-clients.md +4339 -0
- package/package.json +10 -3
|
@@ -0,0 +1,3173 @@
|
|
|
1
|
+
/* Generated by sdk/js/scripts/generate-agent-docs.ts from developer-contract/openapi.json. Regenerated on every build. */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Types for `g8.api.marketplace` (Marketplace): 142 operations.
|
|
5
|
+
*
|
|
6
|
+
* For reading. In code, import from the package instead:
|
|
7
|
+
* import type { ApiInput, ApiOutput, G8Contract } from "@graph8/sdk";
|
|
8
|
+
* type In = ApiInput<"accept_my_offer_marketplace_me_offers__hiring_id__accept_post">;
|
|
9
|
+
*
|
|
10
|
+
* Reference with examples: marketplace.md
|
|
11
|
+
*/
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
|
|
14
|
+
/** `g8.api.marketplace.<member>` -> the operationId it calls. */
|
|
15
|
+
export interface MarketplaceMembers {
|
|
16
|
+
acceptMyOffer: "accept_my_offer_marketplace_me_offers__hiring_id__accept_post";
|
|
17
|
+
acknowledgeAllPendingTerms: "acknowledge_all_pending_terms_marketplace_terms_acknowledgements_ack_all_post";
|
|
18
|
+
activateCommissionPlan: "activate_commission_plan_marketplace_commissions_plans__version_id__activate_post";
|
|
19
|
+
addAgencyStatementLineItem: "add_agency_statement_line_item_marketplace_agencies__slug__service_statements__statement_id__line_items_post";
|
|
20
|
+
addMyPayoutMethod: "add_my_payout_method_marketplace_me_payout_account_methods_post";
|
|
21
|
+
addMyStatementLineItem: "add_my_statement_line_item_marketplace_me_service_statements__statement_id__line_items_post";
|
|
22
|
+
addOrgStatementLineItem: "add_org_statement_line_item_marketplace_org_service_statements__statement_id__line_items_post";
|
|
23
|
+
adminFunnel: "admin_funnel_marketplace_admin_analytics_funnel_get";
|
|
24
|
+
adminHires: "admin_hires_marketplace_admin_analytics_hires_get";
|
|
25
|
+
adminOperational: "admin_operational_marketplace_admin_analytics_operational_get";
|
|
26
|
+
adminRevenue: "admin_revenue_marketplace_admin_analytics_revenue_get";
|
|
27
|
+
allocateCommissionEntry: "allocate_commission_entry_marketplace_commissions_entries__entry_id__statement_post";
|
|
28
|
+
analyzeTalentMatch: "analyze_talent_match_marketplace_talent__sdr_id__match_analyze_post";
|
|
29
|
+
annotateMyInvoice: "annotate_my_invoice_marketplace_me_invoices__invoice_id__put";
|
|
30
|
+
applyToMarketplaceOpportunity: "apply_to_marketplace_opportunity_marketplace_opportunities__post_id__apply_post";
|
|
31
|
+
approveMyInvoice: "approve_my_invoice_marketplace_me_invoices__invoice_id__approve_post";
|
|
32
|
+
approveOrgInvoice: "approve_org_invoice_marketplace_org_invoices__invoice_id__approve_post";
|
|
33
|
+
approveOrgServiceStatement: "approve_org_service_statement_marketplace_org_service_statements__statement_id__approve_post";
|
|
34
|
+
browseTalent: "browse_talent_marketplace_talent_get";
|
|
35
|
+
certifyMyW8: "certify_my_w8_marketplace_me_payout_account_w8_certify_post";
|
|
36
|
+
clearAgencyRepVideoIntro: "clear_agency_rep_video_intro_marketplace_agencies__slug__reps__sdr_id__video_intro_delete";
|
|
37
|
+
createAgencyStatement: "create_agency_statement_marketplace_agencies__slug__service_statements_post";
|
|
38
|
+
createCommissionPlan: "create_commission_plan_marketplace_commissions_plans_post";
|
|
39
|
+
createMarketplaceJobPost: "create_marketplace_job_post_marketplace_job_posts_post";
|
|
40
|
+
createMyServiceStatement: "create_my_service_statement_marketplace_me_service_statements_post";
|
|
41
|
+
createOrgHiringMeeting: "create_org_hiring_meeting_marketplace_org_hirings__hiring_id__meetings_post";
|
|
42
|
+
deleteMarketplaceJobPost: "delete_marketplace_job_post_marketplace_job_posts__post_id__delete";
|
|
43
|
+
deleteMyPayoutMethod: "delete_my_payout_method_marketplace_me_payout_account_methods__account_id__delete";
|
|
44
|
+
deleteMyServiceStatement: "delete_my_service_statement_marketplace_me_service_statements__statement_id__delete";
|
|
45
|
+
deleteMyStatementLineItem: "delete_my_statement_line_item_marketplace_me_service_statements__statement_id__line_items__item_id__delete";
|
|
46
|
+
deleteOrgStatementLineItem: "delete_org_statement_line_item_marketplace_org_service_statements__statement_id__line_items__item_id__delete";
|
|
47
|
+
disputeOrgInvoice: "dispute_org_invoice_marketplace_org_invoices__invoice_id__dispute_post";
|
|
48
|
+
editAgencyRep: "edit_agency_rep_marketplace_agencies__slug__reps__sdr_id__patch";
|
|
49
|
+
endAgencyPlacement: "end_agency_placement_marketplace_agencies__slug__placements__hiring_id__end_post";
|
|
50
|
+
exportMarketplaceShortlist: "export_marketplace_shortlist_marketplace_shortlist_export_post";
|
|
51
|
+
fallBackToWise: "fall_back_to_wise_marketplace_me_payout_account_fallback_post";
|
|
52
|
+
getAgencyContracts: "get_agency_contracts_marketplace_agencies__slug__contracts_get";
|
|
53
|
+
getAgencyIntake: "get_agency_intake_marketplace_agencies__slug__intake_get";
|
|
54
|
+
getAgencyOpenRequests: "get_agency_open_requests_marketplace_agencies__slug__requests_get";
|
|
55
|
+
getAgencyPayouts: "get_agency_payouts_marketplace_agencies__slug__payouts_get";
|
|
56
|
+
getAgencyPlacements: "get_agency_placements_marketplace_agencies__slug__placements_get";
|
|
57
|
+
getAgencyRevenue: "get_agency_revenue_marketplace_agencies__slug__revenue_get";
|
|
58
|
+
getAgencyRoster: "get_agency_roster_marketplace_agencies__slug__roster_get";
|
|
59
|
+
getAgencyStatement: "get_agency_statement_marketplace_agencies__slug__service_statements__statement_id__get";
|
|
60
|
+
getMarketplaceContract: "get_marketplace_contract_marketplace_contracts__hiring_id__get";
|
|
61
|
+
getMarketplaceJobPost: "get_marketplace_job_post_marketplace_job_posts__post_id__get";
|
|
62
|
+
getMarketplaceOpportunity: "get_marketplace_opportunity_marketplace_opportunities__post_id__get";
|
|
63
|
+
getMyAgency: "get_my_agency_marketplace_me_agency_get";
|
|
64
|
+
getMyBankRequirements: "get_my_bank_requirements_marketplace_me_payout_account_bank_requirements_get";
|
|
65
|
+
getMyConnectDashboardLink: "get_my_connect_dashboard_link_marketplace_me_connect_dashboard_link_get";
|
|
66
|
+
getMyConnectOnboardingLink: "get_my_connect_onboarding_link_marketplace_me_connect_onboarding_link_get";
|
|
67
|
+
getMyConnectStatus: "get_my_connect_status_marketplace_me_connect_status_get";
|
|
68
|
+
getMyMarketplaceProfile: "get_my_marketplace_profile_marketplace_me_profile_get";
|
|
69
|
+
getMyMcpAccess: "get_my_mcp_access_marketplace_me_mcp_access_get";
|
|
70
|
+
getMyMeeting: "get_my_meeting_marketplace_me_meetings__meeting_id__get";
|
|
71
|
+
getMyPayoutAccount: "get_my_payout_account_marketplace_me_payout_account_get";
|
|
72
|
+
getMyPayoutLoginLink: "get_my_payout_login_link_marketplace_me_payout_account_login_link_get";
|
|
73
|
+
getMyPayoutOnboardingLink: "get_my_payout_onboarding_link_marketplace_me_payout_account_onboarding_link_get";
|
|
74
|
+
getMyServiceStatement: "get_my_service_statement_marketplace_me_service_statements__statement_id__get";
|
|
75
|
+
getMyW8Status: "get_my_w8_status_marketplace_me_payout_account_w8_status_get";
|
|
76
|
+
getMyWizardStatus: "get_my_wizard_status_marketplace_me_wizard_status_get";
|
|
77
|
+
getOrgHiring: "get_org_hiring_marketplace_org_hirings__hiring_id__get";
|
|
78
|
+
getOrgInvoice: "get_org_invoice_marketplace_org_invoices__invoice_id__get";
|
|
79
|
+
getOrgMarketplaceMeeting: "get_org_marketplace_meeting_marketplace_org_meetings__meeting_id__get";
|
|
80
|
+
getOrgServiceStatement: "get_org_service_statement_marketplace_org_service_statements__statement_id__get";
|
|
81
|
+
getOrgStatementCheckoutUrl: "get_org_statement_checkout_url_marketplace_org_service_statements__statement_id__checkout_url_get";
|
|
82
|
+
getTalentAgency: "get_talent_agency_marketplace_agencies__slug__get";
|
|
83
|
+
getTalentConversation: "get_talent_conversation_marketplace_talent__sdr_id__messages_get";
|
|
84
|
+
getTalentMatch: "get_talent_match_marketplace_talent__sdr_id__match_get";
|
|
85
|
+
getTalentProfile: "get_talent_profile_marketplace_talent__sdr_id__get";
|
|
86
|
+
hireTalent: "hire_talent_marketplace_talent__sdr_id__hire_post";
|
|
87
|
+
issueMyWorkCertificate: "issue_my_work_certificate_marketplace_me_work_certificates_post";
|
|
88
|
+
listAgencyStatementLineItems: "list_agency_statement_line_items_marketplace_agencies__slug__service_statements__statement_id__line_items_get";
|
|
89
|
+
listAgencyStatements: "list_agency_statements_marketplace_agencies__slug__service_statements_get";
|
|
90
|
+
listCommissionEntries: "list_commission_entries_marketplace_commissions_entries_get";
|
|
91
|
+
listCommissionPlans: "list_commission_plans_marketplace_commissions_plans_get";
|
|
92
|
+
listMarketplaceConversations: "list_marketplace_conversations_marketplace_conversations_get";
|
|
93
|
+
listMarketplaceJobPostApplications: "list_marketplace_job_post_applications_marketplace_job_posts__post_id__applications_get";
|
|
94
|
+
listMarketplaceJobPosts: "list_marketplace_job_posts_marketplace_job_posts_get";
|
|
95
|
+
listMarketplaceOpportunities: "list_marketplace_opportunities_marketplace_opportunities_get";
|
|
96
|
+
listMyConversations: "list_my_conversations_marketplace_me_messages_get";
|
|
97
|
+
listMyMarketplaceApplications: "list_my_marketplace_applications_marketplace_me_applications_get";
|
|
98
|
+
listMyMarketplaceContracts: "list_my_marketplace_contracts_marketplace_me_contracts_get";
|
|
99
|
+
listMyMarketplaceHirings: "list_my_marketplace_hirings_marketplace_me_hirings_get";
|
|
100
|
+
listMyMarketplaceInvoices: "list_my_marketplace_invoices_marketplace_me_invoices_get";
|
|
101
|
+
listMyMarketplaceOffers: "list_my_marketplace_offers_marketplace_me_offers_get";
|
|
102
|
+
listMyMeetings: "list_my_meetings_marketplace_me_meetings_get";
|
|
103
|
+
listMyPayoutMethods: "list_my_payout_methods_marketplace_me_payout_account_methods_get";
|
|
104
|
+
listMyPayouts: "list_my_payouts_marketplace_me_payouts_get";
|
|
105
|
+
listMyServiceStatements: "list_my_service_statements_marketplace_me_service_statements_get";
|
|
106
|
+
listMyStatementLineItems: "list_my_statement_line_items_marketplace_me_service_statements__statement_id__line_items_get";
|
|
107
|
+
listMyWorkCertificates: "list_my_work_certificates_marketplace_me_work_certificates_get";
|
|
108
|
+
listOrgMarketplaceHirings: "list_org_marketplace_hirings_marketplace_org_hirings_get";
|
|
109
|
+
listOrgMarketplaceInvoices: "list_org_marketplace_invoices_marketplace_org_invoices_get";
|
|
110
|
+
listOrgMarketplaceMeetings: "list_org_marketplace_meetings_marketplace_org_meetings_get";
|
|
111
|
+
listOrgServiceStatements: "list_org_service_statements_marketplace_org_service_statements_get";
|
|
112
|
+
listOrgStatementLineItems: "list_org_statement_line_items_marketplace_org_service_statements__statement_id__line_items_get";
|
|
113
|
+
listPendingTermsAcknowledgements: "list_pending_terms_acknowledgements_marketplace_terms_acknowledgements_pending_get";
|
|
114
|
+
listTalentAgencies: "list_talent_agencies_marketplace_agencies_get";
|
|
115
|
+
markMarketplaceConversationRead: "mark_marketplace_conversation_read_marketplace_conversations__conversation_id__read_post";
|
|
116
|
+
markMyConversationRead: "mark_my_conversation_read_marketplace_me_messages__conversation_id__read_post";
|
|
117
|
+
patchMarketplaceApplication: "patch_marketplace_application_marketplace_applications__application_id__patch";
|
|
118
|
+
previewCommission: "preview_commission_marketplace_commissions_preview_post";
|
|
119
|
+
publishAgencyRep: "publish_agency_rep_marketplace_agencies__slug__reps__sdr_id__publish_post";
|
|
120
|
+
recordCommissionEntry: "record_commission_entry_marketplace_commissions_entries_post";
|
|
121
|
+
refreshTalentMatch: "refresh_talent_match_marketplace_talent__sdr_id__match_refresh_post";
|
|
122
|
+
rejectMyOffer: "reject_my_offer_marketplace_me_offers__hiring_id__reject_post";
|
|
123
|
+
rejectOrgServiceStatement: "reject_org_service_statement_marketplace_org_service_statements__statement_id__reject_post";
|
|
124
|
+
removeAgencyRep: "remove_agency_rep_marketplace_agencies__slug__reps__sdr_id__delete";
|
|
125
|
+
replyToMarketplaceConversation: "reply_to_marketplace_conversation_marketplace_me_messages__conversation_id__reply_post";
|
|
126
|
+
requestChangesOnOrgStatement: "request_changes_on_org_statement_marketplace_org_service_statements__statement_id__request_changes_post";
|
|
127
|
+
requestTalentThroughAgency: "request_talent_through_agency_marketplace_talent__sdr_id__request_post";
|
|
128
|
+
resolveCommissionQuality: "resolve_commission_quality_marketplace_commissions_entries__entry_id__quality_post";
|
|
129
|
+
reverseCommissionEntry: "reverse_commission_entry_marketplace_commissions_entries__entry_id__reversals_post";
|
|
130
|
+
reviseMyServiceStatement: "revise_my_service_statement_marketplace_me_service_statements__statement_id__revise_post";
|
|
131
|
+
sendTalentMessage: "send_talent_message_marketplace_talent__sdr_id__messages_post";
|
|
132
|
+
setMarketplaceConversationState: "set_marketplace_conversation_state_marketplace_conversations__conversation_id__state_patch";
|
|
133
|
+
setMyConversationState: "set_my_conversation_state_marketplace_me_messages__conversation_id__state_patch";
|
|
134
|
+
setMyPrimaryPayoutMethod: "set_my_primary_payout_method_marketplace_me_payout_account_methods__account_id__set_primary_post";
|
|
135
|
+
setUpMyPayoutAccount: "set_up_my_payout_account_marketplace_me_payout_account_setup_post";
|
|
136
|
+
submitAgencyStatement: "submit_agency_statement_marketplace_agencies__slug__service_statements__statement_id__submit_post";
|
|
137
|
+
submitMyBankDetails: "submit_my_bank_details_marketplace_me_payout_account_bank_details_post";
|
|
138
|
+
submitMyInvoice: "submit_my_invoice_marketplace_me_invoices_post";
|
|
139
|
+
submitMyServiceStatement: "submit_my_service_statement_marketplace_me_service_statements__statement_id__submit_post";
|
|
140
|
+
syncMyWorkbench: "sync_my_workbench_marketplace_me_sync_workbench_post";
|
|
141
|
+
terminateOrgHiring: "terminate_org_hiring_marketplace_org_hirings__hiring_id__terminate_post";
|
|
142
|
+
unlistAgencyRep: "unlist_agency_rep_marketplace_agencies__slug__reps__sdr_id__unlist_post";
|
|
143
|
+
updateAgencyProfile: "update_agency_profile_marketplace_agencies__slug__patch";
|
|
144
|
+
updateAgencyStatement: "update_agency_statement_marketplace_agencies__slug__service_statements__statement_id__patch";
|
|
145
|
+
updateMarketplaceJobPost: "update_marketplace_job_post_marketplace_job_posts__post_id__patch";
|
|
146
|
+
updateMyMarketplaceProfile: "update_my_marketplace_profile_marketplace_me_profile_patch";
|
|
147
|
+
updateMyMeeting: "update_my_meeting_marketplace_me_meetings__meeting_id__patch";
|
|
148
|
+
updateMyRateCard: "update_my_rate_card_marketplace_me_rates_put";
|
|
149
|
+
updateMyServiceStatement: "update_my_service_statement_marketplace_me_service_statements__statement_id__patch";
|
|
150
|
+
updateOrgMarketplaceMeeting: "update_org_marketplace_meeting_marketplace_org_meetings__meeting_id__patch";
|
|
151
|
+
uploadAgencyRepVideoIntro: "upload_agency_rep_video_intro_marketplace_agencies__slug__reps__sdr_id__video_intro_post";
|
|
152
|
+
uploadAgencyResumes: "upload_agency_resumes_marketplace_agencies__slug__intake_upload_post";
|
|
153
|
+
uploadJobPostJd: "upload_job_post_jd_marketplace_job_posts__post_id__jd_post";
|
|
154
|
+
uploadMyHeadshot: "upload_my_headshot_marketplace_me_headshot_post";
|
|
155
|
+
uploadMyResume: "upload_my_resume_marketplace_me_resume_post";
|
|
156
|
+
uploadMyVideoIntro: "upload_my_video_intro_marketplace_me_video_intro_post";
|
|
157
|
+
withdrawOrgHiring: "withdraw_org_hiring_marketplace_org_hirings__hiring_id__withdraw_post";
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** Input and output of every `g8.api.marketplace` operation, keyed by operationId. */
|
|
161
|
+
export interface MarketplaceOperations {
|
|
162
|
+
/**
|
|
163
|
+
* POST /marketplace/me/offers/{hiring_id}/accept
|
|
164
|
+
* Accept a pending marketplace hire offer (SDR side)
|
|
165
|
+
* tier: billable · scope: marketplace:run
|
|
166
|
+
*/
|
|
167
|
+
accept_my_offer_marketplace_me_offers__hiring_id__accept_post: {
|
|
168
|
+
input: {
|
|
169
|
+
path: {
|
|
170
|
+
hiring_id: string;
|
|
171
|
+
};
|
|
172
|
+
headers?: {
|
|
173
|
+
"X-Target-Org-Id"?: string | null;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
output: ApiResponse_dict_str__Any__;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* POST /marketplace/terms-acknowledgements/ack-all
|
|
180
|
+
* Acknowledge All Pending Terms
|
|
181
|
+
* tier: billable · scope: marketplace:run
|
|
182
|
+
*/
|
|
183
|
+
acknowledge_all_pending_terms_marketplace_terms_acknowledgements_ack_all_post: {
|
|
184
|
+
input: {
|
|
185
|
+
headers?: {
|
|
186
|
+
"X-Target-Org-Id"?: string | null;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
output: ApiResponse_MarketplacePayload_;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* POST /marketplace/commissions/plans/{version_id}/activate
|
|
193
|
+
* Activate Commission Plan
|
|
194
|
+
* tier: billable · scope: marketplace:run
|
|
195
|
+
*/
|
|
196
|
+
activate_commission_plan_marketplace_commissions_plans__version_id__activate_post: {
|
|
197
|
+
input: {
|
|
198
|
+
path: {
|
|
199
|
+
/** Plan version id (UUID). */
|
|
200
|
+
version_id: string;
|
|
201
|
+
};
|
|
202
|
+
headers?: {
|
|
203
|
+
"X-Target-Org-Id"?: string | null;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
output: ApiResponse_MarketplacePayload_;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* POST /marketplace/agencies/{slug}/service-statements/{statement_id}/line-items
|
|
210
|
+
* Add Agency Statement Line Item
|
|
211
|
+
* tier: billable · scope: marketplace:run
|
|
212
|
+
*/
|
|
213
|
+
add_agency_statement_line_item_marketplace_agencies__slug__service_statements__statement_id__line_items_post: {
|
|
214
|
+
input: {
|
|
215
|
+
path: {
|
|
216
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
217
|
+
slug: string;
|
|
218
|
+
/** Service statement id (UUID). */
|
|
219
|
+
statement_id: string;
|
|
220
|
+
};
|
|
221
|
+
headers?: {
|
|
222
|
+
"X-Target-Org-Id"?: string | null;
|
|
223
|
+
};
|
|
224
|
+
body: LineItemCreateRequest;
|
|
225
|
+
};
|
|
226
|
+
output: ApiResponse_MarketplacePayload_;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* POST /marketplace/me/payout-account/methods
|
|
230
|
+
* Add My Payout Method
|
|
231
|
+
* tier: external · scope: marketplace:run
|
|
232
|
+
*/
|
|
233
|
+
add_my_payout_method_marketplace_me_payout_account_methods_post: {
|
|
234
|
+
input: {
|
|
235
|
+
headers?: {
|
|
236
|
+
"X-Target-Org-Id"?: string | null;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
output: ApiResponse_MarketplacePayload_;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* POST /marketplace/me/service-statements/{statement_id}/line-items
|
|
243
|
+
* Add My Statement Line Item
|
|
244
|
+
* tier: billable · scope: marketplace:run
|
|
245
|
+
*/
|
|
246
|
+
add_my_statement_line_item_marketplace_me_service_statements__statement_id__line_items_post: {
|
|
247
|
+
input: {
|
|
248
|
+
path: {
|
|
249
|
+
/** Service statement id (UUID). */
|
|
250
|
+
statement_id: string;
|
|
251
|
+
};
|
|
252
|
+
headers?: {
|
|
253
|
+
"X-Target-Org-Id"?: string | null;
|
|
254
|
+
};
|
|
255
|
+
body: LineItemCreateRequest;
|
|
256
|
+
};
|
|
257
|
+
output: ApiResponse_MarketplacePayload_;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* POST /marketplace/org/service-statements/{statement_id}/line-items
|
|
261
|
+
* Add Org Statement Line Item
|
|
262
|
+
* tier: billable · scope: marketplace:run
|
|
263
|
+
*/
|
|
264
|
+
add_org_statement_line_item_marketplace_org_service_statements__statement_id__line_items_post: {
|
|
265
|
+
input: {
|
|
266
|
+
path: {
|
|
267
|
+
/** Service statement id (UUID). */
|
|
268
|
+
statement_id: string;
|
|
269
|
+
};
|
|
270
|
+
headers?: {
|
|
271
|
+
"X-Target-Org-Id"?: string | null;
|
|
272
|
+
};
|
|
273
|
+
body: LineItemCreateRequest;
|
|
274
|
+
};
|
|
275
|
+
output: ApiResponse_MarketplacePayload_;
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* GET /marketplace/admin/analytics/funnel
|
|
279
|
+
* Section A — SDR supply funnel (platform admin only)
|
|
280
|
+
* tier: read · scope: marketplace:read
|
|
281
|
+
*/
|
|
282
|
+
admin_funnel_marketplace_admin_analytics_funnel_get: {
|
|
283
|
+
input: {
|
|
284
|
+
query: {
|
|
285
|
+
/** YYYY-MM-DD */
|
|
286
|
+
from: string;
|
|
287
|
+
/** YYYY-MM-DD */
|
|
288
|
+
to: string;
|
|
289
|
+
};
|
|
290
|
+
headers?: {
|
|
291
|
+
"X-Target-Org-Id"?: string | null;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
output: ApiResponse_dict_str__Any__;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* GET /marketplace/admin/analytics/hires
|
|
298
|
+
* Section C — hire conversion, termination, rehire metrics
|
|
299
|
+
* tier: read · scope: marketplace:read
|
|
300
|
+
*/
|
|
301
|
+
admin_hires_marketplace_admin_analytics_hires_get: {
|
|
302
|
+
input: {
|
|
303
|
+
query: {
|
|
304
|
+
/** YYYY-MM-DD */
|
|
305
|
+
from: string;
|
|
306
|
+
/** YYYY-MM-DD */
|
|
307
|
+
to: string;
|
|
308
|
+
/** day | week | month */
|
|
309
|
+
group_by?: string;
|
|
310
|
+
};
|
|
311
|
+
headers?: {
|
|
312
|
+
"X-Target-Org-Id"?: string | null;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
output: ApiResponse_dict_str__Any__;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* GET /marketplace/admin/analytics/operational
|
|
319
|
+
* Section F — operational health (SLAs, disputes, payouts)
|
|
320
|
+
* tier: read · scope: marketplace:read
|
|
321
|
+
*/
|
|
322
|
+
admin_operational_marketplace_admin_analytics_operational_get: {
|
|
323
|
+
input: {
|
|
324
|
+
query: {
|
|
325
|
+
/** YYYY-MM-DD */
|
|
326
|
+
from: string;
|
|
327
|
+
/** YYYY-MM-DD */
|
|
328
|
+
to: string;
|
|
329
|
+
};
|
|
330
|
+
headers?: {
|
|
331
|
+
"X-Target-Org-Id"?: string | null;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
output: ApiResponse_dict_str__Any__;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* GET /marketplace/admin/analytics/revenue
|
|
338
|
+
* Section D — GMV, net commission, money-loop distribution
|
|
339
|
+
* tier: read · scope: marketplace:read
|
|
340
|
+
*/
|
|
341
|
+
admin_revenue_marketplace_admin_analytics_revenue_get: {
|
|
342
|
+
input: {
|
|
343
|
+
query: {
|
|
344
|
+
/** YYYY-MM-DD */
|
|
345
|
+
from: string;
|
|
346
|
+
/** YYYY-MM-DD */
|
|
347
|
+
to: string;
|
|
348
|
+
/** day | week | month */
|
|
349
|
+
group_by?: string;
|
|
350
|
+
};
|
|
351
|
+
headers?: {
|
|
352
|
+
"X-Target-Org-Id"?: string | null;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
output: ApiResponse_dict_str__Any__;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* POST /marketplace/commissions/entries/{entry_id}/statement
|
|
359
|
+
* Allocate Commission Entry
|
|
360
|
+
* tier: billable · scope: marketplace:run
|
|
361
|
+
*/
|
|
362
|
+
allocate_commission_entry_marketplace_commissions_entries__entry_id__statement_post: {
|
|
363
|
+
input: {
|
|
364
|
+
path: {
|
|
365
|
+
/** Commission entry id (UUID). */
|
|
366
|
+
entry_id: string;
|
|
367
|
+
};
|
|
368
|
+
headers?: {
|
|
369
|
+
"X-Target-Org-Id"?: string | null;
|
|
370
|
+
};
|
|
371
|
+
body: Allocate;
|
|
372
|
+
};
|
|
373
|
+
output: ApiResponse_MarketplacePayload_;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* POST /marketplace/talent/{sdr_id}/match/analyze
|
|
377
|
+
* Analyze Talent Match
|
|
378
|
+
* tier: billable · scope: marketplace:run
|
|
379
|
+
*/
|
|
380
|
+
analyze_talent_match_marketplace_talent__sdr_id__match_analyze_post: {
|
|
381
|
+
input: {
|
|
382
|
+
path: {
|
|
383
|
+
/** Talent profile id (UUID). */
|
|
384
|
+
sdr_id: string;
|
|
385
|
+
};
|
|
386
|
+
headers?: {
|
|
387
|
+
"X-Target-Org-Id"?: string | null;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
output: ApiResponse_MarketplacePayload_;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* PUT /marketplace/me/invoices/{invoice_id}
|
|
394
|
+
* Annotate My Invoice
|
|
395
|
+
* tier: billable · scope: marketplace:run
|
|
396
|
+
*/
|
|
397
|
+
annotate_my_invoice_marketplace_me_invoices__invoice_id__put: {
|
|
398
|
+
input: {
|
|
399
|
+
path: {
|
|
400
|
+
/** Invoice id (UUID). Must be yours. */
|
|
401
|
+
invoice_id: string;
|
|
402
|
+
};
|
|
403
|
+
headers?: {
|
|
404
|
+
"X-Target-Org-Id"?: string | null;
|
|
405
|
+
};
|
|
406
|
+
body: InvoiceNotesRequest;
|
|
407
|
+
};
|
|
408
|
+
output: ApiResponse_MarketplacePayload_;
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* POST /marketplace/opportunities/{post_id}/apply
|
|
412
|
+
* Apply To Marketplace Opportunity
|
|
413
|
+
* tier: billable · scope: marketplace:run
|
|
414
|
+
*/
|
|
415
|
+
apply_to_marketplace_opportunity_marketplace_opportunities__post_id__apply_post: {
|
|
416
|
+
input: {
|
|
417
|
+
path: {
|
|
418
|
+
/** Job post id (UUID). */
|
|
419
|
+
post_id: string;
|
|
420
|
+
};
|
|
421
|
+
headers?: {
|
|
422
|
+
"X-Target-Org-Id"?: string | null;
|
|
423
|
+
};
|
|
424
|
+
body: OpportunityApplyRequest;
|
|
425
|
+
};
|
|
426
|
+
output: ApiResponse_MarketplacePayload_;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* POST /marketplace/me/invoices/{invoice_id}/approve
|
|
430
|
+
* SDR approves their own draft invoice (sdr_review → pending)
|
|
431
|
+
* tier: billable · scope: marketplace:run
|
|
432
|
+
*/
|
|
433
|
+
approve_my_invoice_marketplace_me_invoices__invoice_id__approve_post: {
|
|
434
|
+
input: {
|
|
435
|
+
path: {
|
|
436
|
+
invoice_id: string;
|
|
437
|
+
};
|
|
438
|
+
headers?: {
|
|
439
|
+
"X-Target-Org-Id"?: string | null;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
output: ApiResponse_dict_str__Any__;
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* POST /marketplace/org/invoices/{invoice_id}/approve
|
|
446
|
+
* Approve an SDR invoice → triggers immediate Stripe charge
|
|
447
|
+
* tier: billable · scope: marketplace:run
|
|
448
|
+
*/
|
|
449
|
+
approve_org_invoice_marketplace_org_invoices__invoice_id__approve_post: {
|
|
450
|
+
input: {
|
|
451
|
+
path: {
|
|
452
|
+
invoice_id: string;
|
|
453
|
+
};
|
|
454
|
+
headers?: {
|
|
455
|
+
"X-Target-Org-Id"?: string | null;
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
output: ApiResponse_dict_str__Any__;
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* POST /marketplace/org/service-statements/{statement_id}/approve
|
|
462
|
+
* Approve Org Service Statement
|
|
463
|
+
* tier: billable · scope: marketplace:run
|
|
464
|
+
*/
|
|
465
|
+
approve_org_service_statement_marketplace_org_service_statements__statement_id__approve_post: {
|
|
466
|
+
input: {
|
|
467
|
+
path: {
|
|
468
|
+
/** Service statement id (UUID). */
|
|
469
|
+
statement_id: string;
|
|
470
|
+
};
|
|
471
|
+
headers?: {
|
|
472
|
+
"X-Target-Org-Id"?: string | null;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
output: ApiResponse_MarketplacePayload_;
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* GET /marketplace/talent
|
|
479
|
+
* Browse available SDR/AE/GTM marketplace profiles
|
|
480
|
+
* tier: read · scope: marketplace:read
|
|
481
|
+
*/
|
|
482
|
+
browse_talent_marketplace_talent_get: {
|
|
483
|
+
input: {
|
|
484
|
+
query?: {
|
|
485
|
+
country_code?: string | null;
|
|
486
|
+
payout_track?: string | null;
|
|
487
|
+
/** sdr | ae | gtm_engineer */
|
|
488
|
+
role?: string | null;
|
|
489
|
+
/** open | limited | fully_booked */
|
|
490
|
+
availability?: string | null;
|
|
491
|
+
/** Certification tier (TitleCase, case-sensitive). AE tiers: 'Top Performer' | 'Leadership-track' | 'Senior' | 'Solid' | 'Transition'. SDR tiers: 'Strategic' | 'Data-Driven' | 'Independent' | 'Disciplined'. Canonical list lives in marketplace/usecases/admin_analytics/_shared.py::KNOWN_TIERS. Any other value silently returns an empty result set — that's the underlying DB filter behaviour, not a bug here. */
|
|
492
|
+
tier?: string | null;
|
|
493
|
+
limit?: number;
|
|
494
|
+
offset?: number;
|
|
495
|
+
};
|
|
496
|
+
headers?: {
|
|
497
|
+
"X-Target-Org-Id"?: string | null;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
output: ApiResponse_dict_str__Any__;
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* POST /marketplace/me/payout-account/w8-certify
|
|
504
|
+
* Certify My W8
|
|
505
|
+
* tier: billable · scope: marketplace:run
|
|
506
|
+
*/
|
|
507
|
+
certify_my_w8_marketplace_me_payout_account_w8_certify_post: {
|
|
508
|
+
input: {
|
|
509
|
+
headers?: {
|
|
510
|
+
"X-Target-Org-Id"?: string | null;
|
|
511
|
+
};
|
|
512
|
+
body: W8CertifyRequest;
|
|
513
|
+
};
|
|
514
|
+
output: ApiResponse_MarketplacePayload_;
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* DELETE /marketplace/agencies/{slug}/reps/{sdr_id}/video-intro
|
|
518
|
+
* Clear Agency Rep Video Intro
|
|
519
|
+
* tier: destructive · scope: marketplace:delete
|
|
520
|
+
*/
|
|
521
|
+
clear_agency_rep_video_intro_marketplace_agencies__slug__reps__sdr_id__video_intro_delete: {
|
|
522
|
+
input: {
|
|
523
|
+
path: {
|
|
524
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
525
|
+
slug: string;
|
|
526
|
+
/** Rep profile id (UUID). Must be on this agency's roster. */
|
|
527
|
+
sdr_id: string;
|
|
528
|
+
};
|
|
529
|
+
headers?: {
|
|
530
|
+
"X-Target-Org-Id"?: string | null;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
output: ApiResponse_MarketplacePayload_;
|
|
534
|
+
};
|
|
535
|
+
/**
|
|
536
|
+
* POST /marketplace/agencies/{slug}/service-statements
|
|
537
|
+
* Create Agency Statement
|
|
538
|
+
* tier: billable · scope: marketplace:run
|
|
539
|
+
*/
|
|
540
|
+
create_agency_statement_marketplace_agencies__slug__service_statements_post: {
|
|
541
|
+
input: {
|
|
542
|
+
path: {
|
|
543
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
544
|
+
slug: string;
|
|
545
|
+
};
|
|
546
|
+
headers?: {
|
|
547
|
+
"X-Target-Org-Id"?: string | null;
|
|
548
|
+
};
|
|
549
|
+
body: AgencyStatementCreateRequest;
|
|
550
|
+
};
|
|
551
|
+
output: ApiResponse_MarketplacePayload_;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* POST /marketplace/commissions/plans
|
|
555
|
+
* Create Commission Plan
|
|
556
|
+
* tier: billable · scope: marketplace:run
|
|
557
|
+
*/
|
|
558
|
+
create_commission_plan_marketplace_commissions_plans_post: {
|
|
559
|
+
input: {
|
|
560
|
+
headers?: {
|
|
561
|
+
"X-Target-Org-Id"?: string | null;
|
|
562
|
+
};
|
|
563
|
+
body: NewPlan;
|
|
564
|
+
};
|
|
565
|
+
output: ApiResponse_MarketplacePayload_;
|
|
566
|
+
};
|
|
567
|
+
/**
|
|
568
|
+
* POST /marketplace/job-posts
|
|
569
|
+
* Create a marketplace job post (Open Role)
|
|
570
|
+
* tier: billable · scope: marketplace:run
|
|
571
|
+
*/
|
|
572
|
+
create_marketplace_job_post_marketplace_job_posts_post: {
|
|
573
|
+
input: {
|
|
574
|
+
headers?: {
|
|
575
|
+
"X-Target-Org-Id"?: string | null;
|
|
576
|
+
};
|
|
577
|
+
body: JobPostCreate;
|
|
578
|
+
};
|
|
579
|
+
output: ApiResponse_dict_str__Any__;
|
|
580
|
+
};
|
|
581
|
+
/**
|
|
582
|
+
* POST /marketplace/me/service-statements
|
|
583
|
+
* Create My Service Statement
|
|
584
|
+
* tier: billable · scope: marketplace:run
|
|
585
|
+
*/
|
|
586
|
+
create_my_service_statement_marketplace_me_service_statements_post: {
|
|
587
|
+
input: {
|
|
588
|
+
headers?: {
|
|
589
|
+
"X-Target-Org-Id"?: string | null;
|
|
590
|
+
};
|
|
591
|
+
body: StatementCreateRequest;
|
|
592
|
+
};
|
|
593
|
+
output: ApiResponse_MarketplacePayload_;
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* POST /marketplace/org/hirings/{hiring_id}/meetings
|
|
597
|
+
* Create Org Hiring Meeting
|
|
598
|
+
* tier: billable · scope: marketplace:run
|
|
599
|
+
*/
|
|
600
|
+
create_org_hiring_meeting_marketplace_org_hirings__hiring_id__meetings_post: {
|
|
601
|
+
input: {
|
|
602
|
+
path: {
|
|
603
|
+
/** Your org's hiring id (UUID). */
|
|
604
|
+
hiring_id: string;
|
|
605
|
+
};
|
|
606
|
+
headers?: {
|
|
607
|
+
"X-Target-Org-Id"?: string | null;
|
|
608
|
+
};
|
|
609
|
+
body: MeetingCreateRequest;
|
|
610
|
+
};
|
|
611
|
+
output: ApiResponse_MarketplacePayload_;
|
|
612
|
+
};
|
|
613
|
+
/**
|
|
614
|
+
* DELETE /marketplace/job-posts/{post_id}
|
|
615
|
+
* Delete a job post the org owns
|
|
616
|
+
* tier: destructive · scope: marketplace:delete
|
|
617
|
+
*/
|
|
618
|
+
delete_marketplace_job_post_marketplace_job_posts__post_id__delete: {
|
|
619
|
+
input: {
|
|
620
|
+
path: {
|
|
621
|
+
post_id: string;
|
|
622
|
+
};
|
|
623
|
+
query?: {
|
|
624
|
+
force?: boolean;
|
|
625
|
+
};
|
|
626
|
+
headers?: {
|
|
627
|
+
"X-Target-Org-Id"?: string | null;
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
output: void;
|
|
631
|
+
};
|
|
632
|
+
/**
|
|
633
|
+
* DELETE /marketplace/me/payout-account/methods/{account_id}
|
|
634
|
+
* Delete My Payout Method
|
|
635
|
+
* tier: destructive · scope: marketplace:delete
|
|
636
|
+
*/
|
|
637
|
+
delete_my_payout_method_marketplace_me_payout_account_methods__account_id__delete: {
|
|
638
|
+
input: {
|
|
639
|
+
path: {
|
|
640
|
+
/** Payout method id (UUID). */
|
|
641
|
+
account_id: string;
|
|
642
|
+
};
|
|
643
|
+
headers?: {
|
|
644
|
+
"X-Target-Org-Id"?: string | null;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
output: ApiResponse_MarketplacePayload_;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* DELETE /marketplace/me/service-statements/{statement_id}
|
|
651
|
+
* Delete My Service Statement
|
|
652
|
+
* tier: destructive · scope: marketplace:delete
|
|
653
|
+
*/
|
|
654
|
+
delete_my_service_statement_marketplace_me_service_statements__statement_id__delete: {
|
|
655
|
+
input: {
|
|
656
|
+
path: {
|
|
657
|
+
/** Service statement id (UUID). */
|
|
658
|
+
statement_id: string;
|
|
659
|
+
};
|
|
660
|
+
headers?: {
|
|
661
|
+
"X-Target-Org-Id"?: string | null;
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
output: ApiResponse_MarketplacePayload_;
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* DELETE /marketplace/me/service-statements/{statement_id}/line-items/{item_id}
|
|
668
|
+
* Delete My Statement Line Item
|
|
669
|
+
* tier: destructive · scope: marketplace:delete
|
|
670
|
+
*/
|
|
671
|
+
delete_my_statement_line_item_marketplace_me_service_statements__statement_id__line_items__item_id__delete: {
|
|
672
|
+
input: {
|
|
673
|
+
path: {
|
|
674
|
+
/** Service statement id (UUID). */
|
|
675
|
+
statement_id: string;
|
|
676
|
+
/** Line item id (UUID). */
|
|
677
|
+
item_id: string;
|
|
678
|
+
};
|
|
679
|
+
headers?: {
|
|
680
|
+
"X-Target-Org-Id"?: string | null;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
output: ApiResponse_MarketplacePayload_;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* DELETE /marketplace/org/service-statements/{statement_id}/line-items/{item_id}
|
|
687
|
+
* Delete Org Statement Line Item
|
|
688
|
+
* tier: destructive · scope: marketplace:delete
|
|
689
|
+
*/
|
|
690
|
+
delete_org_statement_line_item_marketplace_org_service_statements__statement_id__line_items__item_id__delete: {
|
|
691
|
+
input: {
|
|
692
|
+
path: {
|
|
693
|
+
/** Service statement id (UUID). */
|
|
694
|
+
statement_id: string;
|
|
695
|
+
/** Line item id (UUID). */
|
|
696
|
+
item_id: string;
|
|
697
|
+
};
|
|
698
|
+
headers?: {
|
|
699
|
+
"X-Target-Org-Id"?: string | null;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
output: ApiResponse_MarketplacePayload_;
|
|
703
|
+
};
|
|
704
|
+
/**
|
|
705
|
+
* POST /marketplace/org/invoices/{invoice_id}/dispute
|
|
706
|
+
* Dispute an SDR invoice within the grace period
|
|
707
|
+
* tier: billable · scope: marketplace:run
|
|
708
|
+
*/
|
|
709
|
+
dispute_org_invoice_marketplace_org_invoices__invoice_id__dispute_post: {
|
|
710
|
+
input: {
|
|
711
|
+
path: {
|
|
712
|
+
invoice_id: string;
|
|
713
|
+
};
|
|
714
|
+
headers?: {
|
|
715
|
+
"X-Target-Org-Id"?: string | null;
|
|
716
|
+
};
|
|
717
|
+
body: DisputeInvoiceRequest;
|
|
718
|
+
};
|
|
719
|
+
output: ApiResponse_dict_str__Any__;
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* PATCH /marketplace/agencies/{slug}/reps/{sdr_id}
|
|
723
|
+
* Edit Agency Rep
|
|
724
|
+
* tier: billable · scope: marketplace:run
|
|
725
|
+
*/
|
|
726
|
+
edit_agency_rep_marketplace_agencies__slug__reps__sdr_id__patch: {
|
|
727
|
+
input: {
|
|
728
|
+
path: {
|
|
729
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
730
|
+
slug: string;
|
|
731
|
+
/** Rep profile id (UUID). Must be on this agency's roster. */
|
|
732
|
+
sdr_id: string;
|
|
733
|
+
};
|
|
734
|
+
headers?: {
|
|
735
|
+
"X-Target-Org-Id"?: string | null;
|
|
736
|
+
};
|
|
737
|
+
body: Record<string, unknown>;
|
|
738
|
+
};
|
|
739
|
+
output: ApiResponse_MarketplacePayload_;
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* POST /marketplace/agencies/{slug}/placements/{hiring_id}/end
|
|
743
|
+
* End Agency Placement
|
|
744
|
+
* tier: destructive · scope: marketplace:delete
|
|
745
|
+
*/
|
|
746
|
+
end_agency_placement_marketplace_agencies__slug__placements__hiring_id__end_post: {
|
|
747
|
+
input: {
|
|
748
|
+
path: {
|
|
749
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
750
|
+
slug: string;
|
|
751
|
+
/** Placement/hiring id (UUID). */
|
|
752
|
+
hiring_id: string;
|
|
753
|
+
};
|
|
754
|
+
headers?: {
|
|
755
|
+
"X-Target-Org-Id"?: string | null;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
output: ApiResponse_MarketplacePayload_;
|
|
759
|
+
};
|
|
760
|
+
/**
|
|
761
|
+
* POST /marketplace/shortlist/export
|
|
762
|
+
* Export Marketplace Shortlist
|
|
763
|
+
* tier: billable · scope: marketplace:run
|
|
764
|
+
*/
|
|
765
|
+
export_marketplace_shortlist_marketplace_shortlist_export_post: {
|
|
766
|
+
input: {
|
|
767
|
+
headers?: {
|
|
768
|
+
"X-Target-Org-Id"?: string | null;
|
|
769
|
+
};
|
|
770
|
+
body: ShortlistExportRequest;
|
|
771
|
+
};
|
|
772
|
+
output: ApiResponse_MarketplacePayload_;
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* POST /marketplace/me/payout-account/fallback
|
|
776
|
+
* Fall Back To Wise
|
|
777
|
+
* tier: destructive · scope: marketplace:delete
|
|
778
|
+
*/
|
|
779
|
+
fall_back_to_wise_marketplace_me_payout_account_fallback_post: {
|
|
780
|
+
input: {
|
|
781
|
+
headers?: {
|
|
782
|
+
"X-Target-Org-Id"?: string | null;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
output: ApiResponse_MarketplacePayload_;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* GET /marketplace/agencies/{slug}/contracts
|
|
789
|
+
* Get Agency Contracts
|
|
790
|
+
* tier: read · scope: marketplace:read
|
|
791
|
+
*/
|
|
792
|
+
get_agency_contracts_marketplace_agencies__slug__contracts_get: {
|
|
793
|
+
input: {
|
|
794
|
+
path: {
|
|
795
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
796
|
+
slug: string;
|
|
797
|
+
};
|
|
798
|
+
headers?: {
|
|
799
|
+
"X-Target-Org-Id"?: string | null;
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
output: ApiResponse_MarketplacePayload_;
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* GET /marketplace/agencies/{slug}/intake
|
|
806
|
+
* Get Agency Intake
|
|
807
|
+
* tier: read · scope: marketplace:read
|
|
808
|
+
*/
|
|
809
|
+
get_agency_intake_marketplace_agencies__slug__intake_get: {
|
|
810
|
+
input: {
|
|
811
|
+
path: {
|
|
812
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
813
|
+
slug: string;
|
|
814
|
+
};
|
|
815
|
+
query?: {
|
|
816
|
+
/** Newest first. Capped at 500. */
|
|
817
|
+
limit?: number;
|
|
818
|
+
};
|
|
819
|
+
headers?: {
|
|
820
|
+
"X-Target-Org-Id"?: string | null;
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
output: ApiResponse_MarketplacePayload_;
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* GET /marketplace/agencies/{slug}/requests
|
|
827
|
+
* Get Agency Open Requests
|
|
828
|
+
* tier: read · scope: marketplace:read
|
|
829
|
+
*/
|
|
830
|
+
get_agency_open_requests_marketplace_agencies__slug__requests_get: {
|
|
831
|
+
input: {
|
|
832
|
+
path: {
|
|
833
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
834
|
+
slug: string;
|
|
835
|
+
};
|
|
836
|
+
headers?: {
|
|
837
|
+
"X-Target-Org-Id"?: string | null;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* GET /marketplace/agencies/{slug}/payouts
|
|
844
|
+
* Get Agency Payouts
|
|
845
|
+
* tier: read · scope: marketplace:read
|
|
846
|
+
*/
|
|
847
|
+
get_agency_payouts_marketplace_agencies__slug__payouts_get: {
|
|
848
|
+
input: {
|
|
849
|
+
path: {
|
|
850
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
851
|
+
slug: string;
|
|
852
|
+
};
|
|
853
|
+
query?: {
|
|
854
|
+
limit?: number;
|
|
855
|
+
offset?: number;
|
|
856
|
+
};
|
|
857
|
+
headers?: {
|
|
858
|
+
"X-Target-Org-Id"?: string | null;
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* GET /marketplace/agencies/{slug}/placements
|
|
865
|
+
* Get Agency Placements
|
|
866
|
+
* tier: read · scope: marketplace:read
|
|
867
|
+
*/
|
|
868
|
+
get_agency_placements_marketplace_agencies__slug__placements_get: {
|
|
869
|
+
input: {
|
|
870
|
+
path: {
|
|
871
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
872
|
+
slug: string;
|
|
873
|
+
};
|
|
874
|
+
query?: {
|
|
875
|
+
/** active | terminated | pending_acceptance */
|
|
876
|
+
status?: string | null;
|
|
877
|
+
};
|
|
878
|
+
headers?: {
|
|
879
|
+
"X-Target-Org-Id"?: string | null;
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* GET /marketplace/agencies/{slug}/revenue
|
|
886
|
+
* Get Agency Revenue
|
|
887
|
+
* tier: read · scope: marketplace:read
|
|
888
|
+
*/
|
|
889
|
+
get_agency_revenue_marketplace_agencies__slug__revenue_get: {
|
|
890
|
+
input: {
|
|
891
|
+
path: {
|
|
892
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
893
|
+
slug: string;
|
|
894
|
+
};
|
|
895
|
+
headers?: {
|
|
896
|
+
"X-Target-Org-Id"?: string | null;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
output: ApiResponse_MarketplacePayload_;
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* GET /marketplace/agencies/{slug}/roster
|
|
903
|
+
* Get Agency Roster
|
|
904
|
+
* tier: read · scope: marketplace:read
|
|
905
|
+
*/
|
|
906
|
+
get_agency_roster_marketplace_agencies__slug__roster_get: {
|
|
907
|
+
input: {
|
|
908
|
+
path: {
|
|
909
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
910
|
+
slug: string;
|
|
911
|
+
};
|
|
912
|
+
headers?: {
|
|
913
|
+
"X-Target-Org-Id"?: string | null;
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
917
|
+
};
|
|
918
|
+
/**
|
|
919
|
+
* GET /marketplace/agencies/{slug}/service-statements/{statement_id}
|
|
920
|
+
* Get Agency Statement
|
|
921
|
+
* tier: read · scope: marketplace:read
|
|
922
|
+
*/
|
|
923
|
+
get_agency_statement_marketplace_agencies__slug__service_statements__statement_id__get: {
|
|
924
|
+
input: {
|
|
925
|
+
path: {
|
|
926
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
927
|
+
slug: string;
|
|
928
|
+
/** Service statement id (UUID). */
|
|
929
|
+
statement_id: string;
|
|
930
|
+
};
|
|
931
|
+
headers?: {
|
|
932
|
+
"X-Target-Org-Id"?: string | null;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
output: ApiResponse_MarketplacePayload_;
|
|
936
|
+
};
|
|
937
|
+
/**
|
|
938
|
+
* GET /marketplace/contracts/{hiring_id}
|
|
939
|
+
* Get Marketplace Contract
|
|
940
|
+
* tier: read · scope: marketplace:read
|
|
941
|
+
*/
|
|
942
|
+
get_marketplace_contract_marketplace_contracts__hiring_id__get: {
|
|
943
|
+
input: {
|
|
944
|
+
path: {
|
|
945
|
+
/** Hiring id (UUID). */
|
|
946
|
+
hiring_id: string;
|
|
947
|
+
};
|
|
948
|
+
headers?: {
|
|
949
|
+
"X-Target-Org-Id"?: string | null;
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
output: ApiResponse_MarketplacePayload_;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* GET /marketplace/job-posts/{post_id}
|
|
956
|
+
* Get one job post the org owns
|
|
957
|
+
* tier: read · scope: marketplace:read
|
|
958
|
+
*/
|
|
959
|
+
get_marketplace_job_post_marketplace_job_posts__post_id__get: {
|
|
960
|
+
input: {
|
|
961
|
+
path: {
|
|
962
|
+
post_id: string;
|
|
963
|
+
};
|
|
964
|
+
headers?: {
|
|
965
|
+
"X-Target-Org-Id"?: string | null;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
output: ApiResponse_dict_str__Any__;
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* GET /marketplace/opportunities/{post_id}
|
|
972
|
+
* Get Marketplace Opportunity
|
|
973
|
+
* tier: read · scope: marketplace:read
|
|
974
|
+
*/
|
|
975
|
+
get_marketplace_opportunity_marketplace_opportunities__post_id__get: {
|
|
976
|
+
input: {
|
|
977
|
+
path: {
|
|
978
|
+
/** Job post id (UUID). */
|
|
979
|
+
post_id: string;
|
|
980
|
+
};
|
|
981
|
+
headers?: {
|
|
982
|
+
"X-Target-Org-Id"?: string | null;
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
output: ApiResponse_MarketplacePayload_;
|
|
986
|
+
};
|
|
987
|
+
/**
|
|
988
|
+
* GET /marketplace/me/agency
|
|
989
|
+
* Get My Agency
|
|
990
|
+
* tier: read · scope: marketplace:read
|
|
991
|
+
*/
|
|
992
|
+
get_my_agency_marketplace_me_agency_get: {
|
|
993
|
+
input: {
|
|
994
|
+
headers?: {
|
|
995
|
+
"X-Target-Org-Id"?: string | null;
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
output: ApiResponse_MarketplacePayload_;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* GET /marketplace/me/payout-account/bank-requirements
|
|
1002
|
+
* Get My Bank Requirements
|
|
1003
|
+
* tier: read · scope: marketplace:read
|
|
1004
|
+
*/
|
|
1005
|
+
get_my_bank_requirements_marketplace_me_payout_account_bank_requirements_get: {
|
|
1006
|
+
input: {
|
|
1007
|
+
query: {
|
|
1008
|
+
/** ISO 4217, e.g. `GBP`. The required fields DIFFER per currency. */
|
|
1009
|
+
currency: string;
|
|
1010
|
+
};
|
|
1011
|
+
headers?: {
|
|
1012
|
+
"X-Target-Org-Id"?: string | null;
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* GET /marketplace/me/connect/dashboard-link
|
|
1019
|
+
* Get My Connect Dashboard Link
|
|
1020
|
+
* tier: external · scope: marketplace:run
|
|
1021
|
+
*/
|
|
1022
|
+
get_my_connect_dashboard_link_marketplace_me_connect_dashboard_link_get: {
|
|
1023
|
+
input: {
|
|
1024
|
+
headers?: {
|
|
1025
|
+
"X-Target-Org-Id"?: string | null;
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* GET /marketplace/me/connect/onboarding-link
|
|
1032
|
+
* Get My Connect Onboarding Link
|
|
1033
|
+
* tier: external · scope: marketplace:run
|
|
1034
|
+
*/
|
|
1035
|
+
get_my_connect_onboarding_link_marketplace_me_connect_onboarding_link_get: {
|
|
1036
|
+
input: {
|
|
1037
|
+
headers?: {
|
|
1038
|
+
"X-Target-Org-Id"?: string | null;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* GET /marketplace/me/connect/status
|
|
1045
|
+
* Get the caller's Stripe Connect onboarding status
|
|
1046
|
+
* tier: read · scope: marketplace:read
|
|
1047
|
+
*/
|
|
1048
|
+
get_my_connect_status_marketplace_me_connect_status_get: {
|
|
1049
|
+
input: {
|
|
1050
|
+
headers?: {
|
|
1051
|
+
"X-Target-Org-Id"?: string | null;
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
output: ApiResponse_MarketplaceConnectStatusResponse_;
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* GET /marketplace/me/profile
|
|
1058
|
+
* Get the caller's marketplace SDR profile
|
|
1059
|
+
* tier: read · scope: marketplace:read
|
|
1060
|
+
*/
|
|
1061
|
+
get_my_marketplace_profile_marketplace_me_profile_get: {
|
|
1062
|
+
input: {
|
|
1063
|
+
headers?: {
|
|
1064
|
+
"X-Target-Org-Id"?: string | null;
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
output: ApiResponse_MarketplaceProfileResponse_;
|
|
1068
|
+
};
|
|
1069
|
+
/**
|
|
1070
|
+
* GET /marketplace/me/mcp-access
|
|
1071
|
+
* Get My Mcp Access
|
|
1072
|
+
* tier: read · scope: marketplace:read
|
|
1073
|
+
*/
|
|
1074
|
+
get_my_mcp_access_marketplace_me_mcp_access_get: {
|
|
1075
|
+
input: {
|
|
1076
|
+
headers?: {
|
|
1077
|
+
"X-Target-Org-Id"?: string | null;
|
|
1078
|
+
};
|
|
1079
|
+
};
|
|
1080
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* GET /marketplace/me/meetings/{meeting_id}
|
|
1084
|
+
* Get a single meeting (SDR side)
|
|
1085
|
+
* tier: read · scope: marketplace:read
|
|
1086
|
+
*/
|
|
1087
|
+
get_my_meeting_marketplace_me_meetings__meeting_id__get: {
|
|
1088
|
+
input: {
|
|
1089
|
+
path: {
|
|
1090
|
+
meeting_id: string;
|
|
1091
|
+
};
|
|
1092
|
+
headers?: {
|
|
1093
|
+
"X-Target-Org-Id"?: string | null;
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
output: ApiResponse_MarketplaceMeetingDetail_;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* GET /marketplace/me/payout-account
|
|
1100
|
+
* Get the caller's payout account status
|
|
1101
|
+
* tier: read · scope: marketplace:read
|
|
1102
|
+
*/
|
|
1103
|
+
get_my_payout_account_marketplace_me_payout_account_get: {
|
|
1104
|
+
input: {
|
|
1105
|
+
headers?: {
|
|
1106
|
+
"X-Target-Org-Id"?: string | null;
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
output: ApiResponse_MarketplacePayoutAccountResponse_;
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* GET /marketplace/me/payout-account/login-link
|
|
1113
|
+
* Get My Payout Login Link
|
|
1114
|
+
* tier: external · scope: marketplace:run
|
|
1115
|
+
*/
|
|
1116
|
+
get_my_payout_login_link_marketplace_me_payout_account_login_link_get: {
|
|
1117
|
+
input: {
|
|
1118
|
+
query?: {
|
|
1119
|
+
/** Payout method id. Omit to act on your PRIMARY method - the one money is sent to today. */
|
|
1120
|
+
account_id?: string | null;
|
|
1121
|
+
};
|
|
1122
|
+
headers?: {
|
|
1123
|
+
"X-Target-Org-Id"?: string | null;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1127
|
+
};
|
|
1128
|
+
/**
|
|
1129
|
+
* GET /marketplace/me/payout-account/onboarding-link
|
|
1130
|
+
* Get My Payout Onboarding Link
|
|
1131
|
+
* tier: external · scope: marketplace:run
|
|
1132
|
+
*/
|
|
1133
|
+
get_my_payout_onboarding_link_marketplace_me_payout_account_onboarding_link_get: {
|
|
1134
|
+
input: {
|
|
1135
|
+
query?: {
|
|
1136
|
+
/** Payout method id. Omit to act on your PRIMARY method - the one money is sent to today. */
|
|
1137
|
+
account_id?: string | null;
|
|
1138
|
+
};
|
|
1139
|
+
headers?: {
|
|
1140
|
+
"X-Target-Org-Id"?: string | null;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* GET /marketplace/me/service-statements/{statement_id}
|
|
1147
|
+
* Get My Service Statement
|
|
1148
|
+
* tier: read · scope: marketplace:read
|
|
1149
|
+
*/
|
|
1150
|
+
get_my_service_statement_marketplace_me_service_statements__statement_id__get: {
|
|
1151
|
+
input: {
|
|
1152
|
+
path: {
|
|
1153
|
+
/** Service statement id (UUID). */
|
|
1154
|
+
statement_id: string;
|
|
1155
|
+
};
|
|
1156
|
+
headers?: {
|
|
1157
|
+
"X-Target-Org-Id"?: string | null;
|
|
1158
|
+
};
|
|
1159
|
+
};
|
|
1160
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* GET /marketplace/me/payout-account/w8-status
|
|
1164
|
+
* Get My W8 Status
|
|
1165
|
+
* tier: read · scope: marketplace:read
|
|
1166
|
+
*/
|
|
1167
|
+
get_my_w8_status_marketplace_me_payout_account_w8_status_get: {
|
|
1168
|
+
input: {
|
|
1169
|
+
headers?: {
|
|
1170
|
+
"X-Target-Org-Id"?: string | null;
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* GET /marketplace/me/wizard-status
|
|
1177
|
+
* Get My Wizard Status
|
|
1178
|
+
* tier: read · scope: marketplace:read
|
|
1179
|
+
*/
|
|
1180
|
+
get_my_wizard_status_marketplace_me_wizard_status_get: {
|
|
1181
|
+
input: {
|
|
1182
|
+
headers?: {
|
|
1183
|
+
"X-Target-Org-Id"?: string | null;
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* GET /marketplace/org/hirings/{hiring_id}
|
|
1190
|
+
* Get one hiring contract (org side)
|
|
1191
|
+
* tier: read · scope: marketplace:read
|
|
1192
|
+
*/
|
|
1193
|
+
get_org_hiring_marketplace_org_hirings__hiring_id__get: {
|
|
1194
|
+
input: {
|
|
1195
|
+
path: {
|
|
1196
|
+
hiring_id: string;
|
|
1197
|
+
};
|
|
1198
|
+
headers?: {
|
|
1199
|
+
"X-Target-Org-Id"?: string | null;
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
output: ApiResponse_dict_str__Any__;
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
* GET /marketplace/org/invoices/{invoice_id}
|
|
1206
|
+
* Get one SDR invoice (org side)
|
|
1207
|
+
* tier: read · scope: marketplace:read
|
|
1208
|
+
*/
|
|
1209
|
+
get_org_invoice_marketplace_org_invoices__invoice_id__get: {
|
|
1210
|
+
input: {
|
|
1211
|
+
path: {
|
|
1212
|
+
invoice_id: string;
|
|
1213
|
+
};
|
|
1214
|
+
headers?: {
|
|
1215
|
+
"X-Target-Org-Id"?: string | null;
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
output: ApiResponse_dict_str__Any__;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* GET /marketplace/org/meetings/{meeting_id}
|
|
1222
|
+
* Get Org Marketplace Meeting
|
|
1223
|
+
* tier: read · scope: marketplace:read
|
|
1224
|
+
*/
|
|
1225
|
+
get_org_marketplace_meeting_marketplace_org_meetings__meeting_id__get: {
|
|
1226
|
+
input: {
|
|
1227
|
+
path: {
|
|
1228
|
+
/** Meeting id (UUID). */
|
|
1229
|
+
meeting_id: string;
|
|
1230
|
+
};
|
|
1231
|
+
headers?: {
|
|
1232
|
+
"X-Target-Org-Id"?: string | null;
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1236
|
+
};
|
|
1237
|
+
/**
|
|
1238
|
+
* GET /marketplace/org/service-statements/{statement_id}
|
|
1239
|
+
* Get Org Service Statement
|
|
1240
|
+
* tier: read · scope: marketplace:read
|
|
1241
|
+
*/
|
|
1242
|
+
get_org_service_statement_marketplace_org_service_statements__statement_id__get: {
|
|
1243
|
+
input: {
|
|
1244
|
+
path: {
|
|
1245
|
+
/** Service statement id (UUID). */
|
|
1246
|
+
statement_id: string;
|
|
1247
|
+
};
|
|
1248
|
+
headers?: {
|
|
1249
|
+
"X-Target-Org-Id"?: string | null;
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* GET /marketplace/org/service-statements/{statement_id}/checkout-url
|
|
1256
|
+
* Get Org Statement Checkout Url
|
|
1257
|
+
* tier: read · scope: marketplace:read
|
|
1258
|
+
*/
|
|
1259
|
+
get_org_statement_checkout_url_marketplace_org_service_statements__statement_id__checkout_url_get: {
|
|
1260
|
+
input: {
|
|
1261
|
+
path: {
|
|
1262
|
+
/** Service statement id (UUID). */
|
|
1263
|
+
statement_id: string;
|
|
1264
|
+
};
|
|
1265
|
+
headers?: {
|
|
1266
|
+
"X-Target-Org-Id"?: string | null;
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* GET /marketplace/agencies/{slug}
|
|
1273
|
+
* Get Talent Agency
|
|
1274
|
+
* tier: read · scope: marketplace:read
|
|
1275
|
+
*/
|
|
1276
|
+
get_talent_agency_marketplace_agencies__slug__get: {
|
|
1277
|
+
input: {
|
|
1278
|
+
path: {
|
|
1279
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
1280
|
+
slug: string;
|
|
1281
|
+
};
|
|
1282
|
+
headers?: {
|
|
1283
|
+
"X-Target-Org-Id"?: string | null;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1287
|
+
};
|
|
1288
|
+
/**
|
|
1289
|
+
* GET /marketplace/talent/{sdr_id}/messages
|
|
1290
|
+
* Get Talent Conversation
|
|
1291
|
+
* tier: read · scope: marketplace:read
|
|
1292
|
+
*/
|
|
1293
|
+
get_talent_conversation_marketplace_talent__sdr_id__messages_get: {
|
|
1294
|
+
input: {
|
|
1295
|
+
path: {
|
|
1296
|
+
/** Talent profile id (UUID). */
|
|
1297
|
+
sdr_id: string;
|
|
1298
|
+
};
|
|
1299
|
+
headers?: {
|
|
1300
|
+
"X-Target-Org-Id"?: string | null;
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* GET /marketplace/talent/{sdr_id}/match
|
|
1307
|
+
* Get the cached talent-org match score
|
|
1308
|
+
* tier: read · scope: marketplace:read
|
|
1309
|
+
*/
|
|
1310
|
+
get_talent_match_marketplace_talent__sdr_id__match_get: {
|
|
1311
|
+
input: {
|
|
1312
|
+
path: {
|
|
1313
|
+
sdr_id: string;
|
|
1314
|
+
};
|
|
1315
|
+
headers?: {
|
|
1316
|
+
"X-Target-Org-Id"?: string | null;
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
output: ApiResponse_dict_str__Any__;
|
|
1320
|
+
};
|
|
1321
|
+
/**
|
|
1322
|
+
* GET /marketplace/talent/{sdr_id}
|
|
1323
|
+
* Get one talent profile (masked unless already hired)
|
|
1324
|
+
* tier: read · scope: marketplace:read
|
|
1325
|
+
*/
|
|
1326
|
+
get_talent_profile_marketplace_talent__sdr_id__get: {
|
|
1327
|
+
input: {
|
|
1328
|
+
path: {
|
|
1329
|
+
sdr_id: string;
|
|
1330
|
+
};
|
|
1331
|
+
headers?: {
|
|
1332
|
+
"X-Target-Org-Id"?: string | null;
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
output: ApiResponse_dict_str__Any__;
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* POST /marketplace/talent/{sdr_id}/hire
|
|
1339
|
+
* Send a hire offer to a talent profile
|
|
1340
|
+
* tier: billable · scope: marketplace:run
|
|
1341
|
+
*/
|
|
1342
|
+
hire_talent_marketplace_talent__sdr_id__hire_post: {
|
|
1343
|
+
input: {
|
|
1344
|
+
path: {
|
|
1345
|
+
sdr_id: string;
|
|
1346
|
+
};
|
|
1347
|
+
headers?: {
|
|
1348
|
+
"X-Target-Org-Id"?: string | null;
|
|
1349
|
+
};
|
|
1350
|
+
body: HireSdrRequest;
|
|
1351
|
+
};
|
|
1352
|
+
output: ApiResponse_dict_str__Any__;
|
|
1353
|
+
};
|
|
1354
|
+
/**
|
|
1355
|
+
* POST /marketplace/me/work-certificates
|
|
1356
|
+
* Issue My Work Certificate
|
|
1357
|
+
* tier: billable · scope: marketplace:run
|
|
1358
|
+
*/
|
|
1359
|
+
issue_my_work_certificate_marketplace_me_work_certificates_post: {
|
|
1360
|
+
input: {
|
|
1361
|
+
headers?: {
|
|
1362
|
+
"X-Target-Org-Id"?: string | null;
|
|
1363
|
+
};
|
|
1364
|
+
body: WorkCertificateIssueRequest;
|
|
1365
|
+
};
|
|
1366
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1367
|
+
};
|
|
1368
|
+
/**
|
|
1369
|
+
* GET /marketplace/agencies/{slug}/service-statements/{statement_id}/line-items
|
|
1370
|
+
* List Agency Statement Line Items
|
|
1371
|
+
* tier: read · scope: marketplace:read
|
|
1372
|
+
*/
|
|
1373
|
+
list_agency_statement_line_items_marketplace_agencies__slug__service_statements__statement_id__line_items_get: {
|
|
1374
|
+
input: {
|
|
1375
|
+
path: {
|
|
1376
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
1377
|
+
slug: string;
|
|
1378
|
+
/** Service statement id (UUID). */
|
|
1379
|
+
statement_id: string;
|
|
1380
|
+
};
|
|
1381
|
+
headers?: {
|
|
1382
|
+
"X-Target-Org-Id"?: string | null;
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1386
|
+
};
|
|
1387
|
+
/**
|
|
1388
|
+
* GET /marketplace/agencies/{slug}/service-statements
|
|
1389
|
+
* List Agency Statements
|
|
1390
|
+
* tier: read · scope: marketplace:read
|
|
1391
|
+
*/
|
|
1392
|
+
list_agency_statements_marketplace_agencies__slug__service_statements_get: {
|
|
1393
|
+
input: {
|
|
1394
|
+
path: {
|
|
1395
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
1396
|
+
slug: string;
|
|
1397
|
+
};
|
|
1398
|
+
query?: {
|
|
1399
|
+
status?: string | null;
|
|
1400
|
+
/** Restrict to one rep (UUID). */
|
|
1401
|
+
sdr_id?: string | null;
|
|
1402
|
+
limit?: number;
|
|
1403
|
+
offset?: number;
|
|
1404
|
+
};
|
|
1405
|
+
headers?: {
|
|
1406
|
+
"X-Target-Org-Id"?: string | null;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1410
|
+
};
|
|
1411
|
+
/**
|
|
1412
|
+
* GET /marketplace/commissions/entries
|
|
1413
|
+
* List Commission Entries
|
|
1414
|
+
* tier: read · scope: marketplace:read
|
|
1415
|
+
*/
|
|
1416
|
+
list_commission_entries_marketplace_commissions_entries_get: {
|
|
1417
|
+
input: {
|
|
1418
|
+
query?: {
|
|
1419
|
+
/** Restrict to one engagement (UUID). */
|
|
1420
|
+
hiring_id?: string | null;
|
|
1421
|
+
};
|
|
1422
|
+
headers?: {
|
|
1423
|
+
"X-Target-Org-Id"?: string | null;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1427
|
+
};
|
|
1428
|
+
/**
|
|
1429
|
+
* GET /marketplace/commissions/plans
|
|
1430
|
+
* List Commission Plans
|
|
1431
|
+
* tier: read · scope: marketplace:read
|
|
1432
|
+
*/
|
|
1433
|
+
list_commission_plans_marketplace_commissions_plans_get: {
|
|
1434
|
+
input: {
|
|
1435
|
+
headers?: {
|
|
1436
|
+
"X-Target-Org-Id"?: string | null;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* GET /marketplace/conversations
|
|
1443
|
+
* List Marketplace Conversations
|
|
1444
|
+
* tier: read · scope: marketplace:read
|
|
1445
|
+
*/
|
|
1446
|
+
list_marketplace_conversations_marketplace_conversations_get: {
|
|
1447
|
+
input: {
|
|
1448
|
+
headers?: {
|
|
1449
|
+
"X-Target-Org-Id"?: string | null;
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1453
|
+
};
|
|
1454
|
+
/**
|
|
1455
|
+
* GET /marketplace/job-posts/{post_id}/applications
|
|
1456
|
+
* List applicants for a job post (applicant inbox)
|
|
1457
|
+
* tier: read · scope: marketplace:read
|
|
1458
|
+
*/
|
|
1459
|
+
list_marketplace_job_post_applications_marketplace_job_posts__post_id__applications_get: {
|
|
1460
|
+
input: {
|
|
1461
|
+
path: {
|
|
1462
|
+
post_id: string;
|
|
1463
|
+
};
|
|
1464
|
+
headers?: {
|
|
1465
|
+
"X-Target-Org-Id"?: string | null;
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
output: ApiResponse_dict_str__Any__;
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* GET /marketplace/job-posts
|
|
1472
|
+
* List the calling org's job posts
|
|
1473
|
+
* tier: read · scope: marketplace:read
|
|
1474
|
+
*/
|
|
1475
|
+
list_marketplace_job_posts_marketplace_job_posts_get: {
|
|
1476
|
+
input: {
|
|
1477
|
+
headers?: {
|
|
1478
|
+
"X-Target-Org-Id"?: string | null;
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
output: ApiResponse_dict_str__Any__;
|
|
1482
|
+
};
|
|
1483
|
+
/**
|
|
1484
|
+
* GET /marketplace/opportunities
|
|
1485
|
+
* List Marketplace Opportunities
|
|
1486
|
+
* tier: read · scope: marketplace:read
|
|
1487
|
+
*/
|
|
1488
|
+
list_marketplace_opportunities_marketplace_opportunities_get: {
|
|
1489
|
+
input: {
|
|
1490
|
+
query?: {
|
|
1491
|
+
/** Restrict to one role type, e.g. `sdr`. */
|
|
1492
|
+
role_type?: string | null;
|
|
1493
|
+
};
|
|
1494
|
+
headers?: {
|
|
1495
|
+
"X-Target-Org-Id"?: string | null;
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1499
|
+
};
|
|
1500
|
+
/**
|
|
1501
|
+
* GET /marketplace/me/messages
|
|
1502
|
+
* List My Conversations
|
|
1503
|
+
* tier: read · scope: marketplace:read
|
|
1504
|
+
*/
|
|
1505
|
+
list_my_conversations_marketplace_me_messages_get: {
|
|
1506
|
+
input: {
|
|
1507
|
+
headers?: {
|
|
1508
|
+
"X-Target-Org-Id"?: string | null;
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1512
|
+
};
|
|
1513
|
+
/**
|
|
1514
|
+
* GET /marketplace/me/applications
|
|
1515
|
+
* List My Marketplace Applications
|
|
1516
|
+
* tier: read · scope: marketplace:read
|
|
1517
|
+
*/
|
|
1518
|
+
list_my_marketplace_applications_marketplace_me_applications_get: {
|
|
1519
|
+
input: {
|
|
1520
|
+
headers?: {
|
|
1521
|
+
"X-Target-Org-Id"?: string | null;
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1525
|
+
};
|
|
1526
|
+
/**
|
|
1527
|
+
* GET /marketplace/me/contracts
|
|
1528
|
+
* List My Marketplace Contracts
|
|
1529
|
+
* tier: read · scope: marketplace:read
|
|
1530
|
+
*/
|
|
1531
|
+
list_my_marketplace_contracts_marketplace_me_contracts_get: {
|
|
1532
|
+
input: {
|
|
1533
|
+
headers?: {
|
|
1534
|
+
"X-Target-Org-Id"?: string | null;
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1537
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1538
|
+
};
|
|
1539
|
+
/**
|
|
1540
|
+
* GET /marketplace/me/hirings
|
|
1541
|
+
* List the caller's active marketplace hirings
|
|
1542
|
+
* tier: read · scope: marketplace:read
|
|
1543
|
+
*/
|
|
1544
|
+
list_my_marketplace_hirings_marketplace_me_hirings_get: {
|
|
1545
|
+
input: {
|
|
1546
|
+
headers?: {
|
|
1547
|
+
"X-Target-Org-Id"?: string | null;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
output: ApiResponse_MarketplaceHiringsResponse_;
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* GET /marketplace/me/invoices
|
|
1554
|
+
* List the caller's marketplace invoices
|
|
1555
|
+
* tier: read · scope: marketplace:read
|
|
1556
|
+
*/
|
|
1557
|
+
list_my_marketplace_invoices_marketplace_me_invoices_get: {
|
|
1558
|
+
input: {
|
|
1559
|
+
query?: {
|
|
1560
|
+
invoice_status?: string | null;
|
|
1561
|
+
};
|
|
1562
|
+
headers?: {
|
|
1563
|
+
"X-Target-Org-Id"?: string | null;
|
|
1564
|
+
};
|
|
1565
|
+
};
|
|
1566
|
+
output: ApiResponse_MarketplaceInvoicesResponse_;
|
|
1567
|
+
};
|
|
1568
|
+
/**
|
|
1569
|
+
* GET /marketplace/me/offers
|
|
1570
|
+
* List the caller's pending marketplace hire offers
|
|
1571
|
+
* tier: read · scope: marketplace:read
|
|
1572
|
+
*/
|
|
1573
|
+
list_my_marketplace_offers_marketplace_me_offers_get: {
|
|
1574
|
+
input: {
|
|
1575
|
+
headers?: {
|
|
1576
|
+
"X-Target-Org-Id"?: string | null;
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
output: ApiResponse_MarketplaceOffersResponse_;
|
|
1580
|
+
};
|
|
1581
|
+
/**
|
|
1582
|
+
* GET /marketplace/me/meetings
|
|
1583
|
+
* List the caller's meetings across all hirings
|
|
1584
|
+
* tier: read · scope: marketplace:read
|
|
1585
|
+
*/
|
|
1586
|
+
list_my_meetings_marketplace_me_meetings_get: {
|
|
1587
|
+
input: {
|
|
1588
|
+
query?: {
|
|
1589
|
+
/** Optional: restrict to one hiring */
|
|
1590
|
+
hiring_id?: string | null;
|
|
1591
|
+
/** scheduled | taken | rescheduled | missed | cancelled */
|
|
1592
|
+
meeting_status?: string | null;
|
|
1593
|
+
/** YYYY-MM-DD inclusive */
|
|
1594
|
+
start_date?: string | null;
|
|
1595
|
+
/** YYYY-MM-DD inclusive */
|
|
1596
|
+
end_date?: string | null;
|
|
1597
|
+
/** Match contact name / email / notes */
|
|
1598
|
+
search?: string | null;
|
|
1599
|
+
limit?: number;
|
|
1600
|
+
offset?: number;
|
|
1601
|
+
};
|
|
1602
|
+
headers?: {
|
|
1603
|
+
"X-Target-Org-Id"?: string | null;
|
|
1604
|
+
};
|
|
1605
|
+
};
|
|
1606
|
+
output: ApiResponse_MarketplaceMeetingsResponse_;
|
|
1607
|
+
};
|
|
1608
|
+
/**
|
|
1609
|
+
* GET /marketplace/me/payout-account/methods
|
|
1610
|
+
* List My Payout Methods
|
|
1611
|
+
* tier: read · scope: marketplace:read
|
|
1612
|
+
*/
|
|
1613
|
+
list_my_payout_methods_marketplace_me_payout_account_methods_get: {
|
|
1614
|
+
input: {
|
|
1615
|
+
headers?: {
|
|
1616
|
+
"X-Target-Org-Id"?: string | null;
|
|
1617
|
+
};
|
|
1618
|
+
};
|
|
1619
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1620
|
+
};
|
|
1621
|
+
/**
|
|
1622
|
+
* GET /marketplace/me/payouts
|
|
1623
|
+
* List My Payouts
|
|
1624
|
+
* tier: read · scope: marketplace:read
|
|
1625
|
+
*/
|
|
1626
|
+
list_my_payouts_marketplace_me_payouts_get: {
|
|
1627
|
+
input: {
|
|
1628
|
+
query?: {
|
|
1629
|
+
limit?: number;
|
|
1630
|
+
offset?: number;
|
|
1631
|
+
};
|
|
1632
|
+
headers?: {
|
|
1633
|
+
"X-Target-Org-Id"?: string | null;
|
|
1634
|
+
};
|
|
1635
|
+
};
|
|
1636
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1637
|
+
};
|
|
1638
|
+
/**
|
|
1639
|
+
* GET /marketplace/me/service-statements
|
|
1640
|
+
* List My Service Statements
|
|
1641
|
+
* tier: read · scope: marketplace:read
|
|
1642
|
+
*/
|
|
1643
|
+
list_my_service_statements_marketplace_me_service_statements_get: {
|
|
1644
|
+
input: {
|
|
1645
|
+
query?: {
|
|
1646
|
+
/** draft | submitted | changes_requested | rejected | approved */
|
|
1647
|
+
status?: string | null;
|
|
1648
|
+
limit?: number;
|
|
1649
|
+
offset?: number;
|
|
1650
|
+
};
|
|
1651
|
+
headers?: {
|
|
1652
|
+
"X-Target-Org-Id"?: string | null;
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1656
|
+
};
|
|
1657
|
+
/**
|
|
1658
|
+
* GET /marketplace/me/service-statements/{statement_id}/line-items
|
|
1659
|
+
* List My Statement Line Items
|
|
1660
|
+
* tier: read · scope: marketplace:read
|
|
1661
|
+
*/
|
|
1662
|
+
list_my_statement_line_items_marketplace_me_service_statements__statement_id__line_items_get: {
|
|
1663
|
+
input: {
|
|
1664
|
+
path: {
|
|
1665
|
+
/** Service statement id (UUID). */
|
|
1666
|
+
statement_id: string;
|
|
1667
|
+
};
|
|
1668
|
+
headers?: {
|
|
1669
|
+
"X-Target-Org-Id"?: string | null;
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1673
|
+
};
|
|
1674
|
+
/**
|
|
1675
|
+
* GET /marketplace/me/work-certificates
|
|
1676
|
+
* List My Work Certificates
|
|
1677
|
+
* tier: read · scope: marketplace:read
|
|
1678
|
+
*/
|
|
1679
|
+
list_my_work_certificates_marketplace_me_work_certificates_get: {
|
|
1680
|
+
input: {
|
|
1681
|
+
headers?: {
|
|
1682
|
+
"X-Target-Org-Id"?: string | null;
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1686
|
+
};
|
|
1687
|
+
/**
|
|
1688
|
+
* GET /marketplace/org/hirings
|
|
1689
|
+
* List active SDR hirings for the caller's org
|
|
1690
|
+
* tier: read · scope: marketplace:read
|
|
1691
|
+
*/
|
|
1692
|
+
list_org_marketplace_hirings_marketplace_org_hirings_get: {
|
|
1693
|
+
input: {
|
|
1694
|
+
headers?: {
|
|
1695
|
+
"X-Target-Org-Id"?: string | null;
|
|
1696
|
+
};
|
|
1697
|
+
};
|
|
1698
|
+
output: ApiResponse_MarketplaceHiringsResponse_;
|
|
1699
|
+
};
|
|
1700
|
+
/**
|
|
1701
|
+
* GET /marketplace/org/invoices
|
|
1702
|
+
* List SDR invoices owed by the caller's org
|
|
1703
|
+
* tier: read · scope: marketplace:read
|
|
1704
|
+
*/
|
|
1705
|
+
list_org_marketplace_invoices_marketplace_org_invoices_get: {
|
|
1706
|
+
input: {
|
|
1707
|
+
query?: {
|
|
1708
|
+
invoice_status?: string | null;
|
|
1709
|
+
};
|
|
1710
|
+
headers?: {
|
|
1711
|
+
"X-Target-Org-Id"?: string | null;
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
output: ApiResponse_MarketplaceInvoicesResponse_;
|
|
1715
|
+
};
|
|
1716
|
+
/**
|
|
1717
|
+
* GET /marketplace/org/meetings
|
|
1718
|
+
* List Org Marketplace Meetings
|
|
1719
|
+
* tier: read · scope: marketplace:read
|
|
1720
|
+
*/
|
|
1721
|
+
list_org_marketplace_meetings_marketplace_org_meetings_get: {
|
|
1722
|
+
input: {
|
|
1723
|
+
query?: {
|
|
1724
|
+
/** Only this hire (talent profile id, UUID). */
|
|
1725
|
+
sdr_id?: string | null;
|
|
1726
|
+
/** Only this contract (UUID). */
|
|
1727
|
+
hiring_id?: string | null;
|
|
1728
|
+
status?: ("scheduled" | "taken" | "rescheduled" | "missed" | "cancelled") | null;
|
|
1729
|
+
/** YYYY-MM-DD, inclusive. */
|
|
1730
|
+
start_date?: string | null;
|
|
1731
|
+
/** YYYY-MM-DD, inclusive. */
|
|
1732
|
+
end_date?: string | null;
|
|
1733
|
+
/** Substring of contact name, email or notes. */
|
|
1734
|
+
search?: string | null;
|
|
1735
|
+
limit?: number;
|
|
1736
|
+
offset?: number;
|
|
1737
|
+
};
|
|
1738
|
+
headers?: {
|
|
1739
|
+
"X-Target-Org-Id"?: string | null;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1743
|
+
};
|
|
1744
|
+
/**
|
|
1745
|
+
* GET /marketplace/org/service-statements
|
|
1746
|
+
* List Org Service Statements
|
|
1747
|
+
* tier: read · scope: marketplace:read
|
|
1748
|
+
*/
|
|
1749
|
+
list_org_service_statements_marketplace_org_service_statements_get: {
|
|
1750
|
+
input: {
|
|
1751
|
+
query?: {
|
|
1752
|
+
status?: string | null;
|
|
1753
|
+
limit?: number;
|
|
1754
|
+
offset?: number;
|
|
1755
|
+
};
|
|
1756
|
+
headers?: {
|
|
1757
|
+
"X-Target-Org-Id"?: string | null;
|
|
1758
|
+
};
|
|
1759
|
+
};
|
|
1760
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1761
|
+
};
|
|
1762
|
+
/**
|
|
1763
|
+
* GET /marketplace/org/service-statements/{statement_id}/line-items
|
|
1764
|
+
* List Org Statement Line Items
|
|
1765
|
+
* tier: read · scope: marketplace:read
|
|
1766
|
+
*/
|
|
1767
|
+
list_org_statement_line_items_marketplace_org_service_statements__statement_id__line_items_get: {
|
|
1768
|
+
input: {
|
|
1769
|
+
path: {
|
|
1770
|
+
/** Service statement id (UUID). */
|
|
1771
|
+
statement_id: string;
|
|
1772
|
+
};
|
|
1773
|
+
headers?: {
|
|
1774
|
+
"X-Target-Org-Id"?: string | null;
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1778
|
+
};
|
|
1779
|
+
/**
|
|
1780
|
+
* GET /marketplace/terms-acknowledgements/pending
|
|
1781
|
+
* List Pending Terms Acknowledgements
|
|
1782
|
+
* tier: read · scope: marketplace:read
|
|
1783
|
+
*/
|
|
1784
|
+
list_pending_terms_acknowledgements_marketplace_terms_acknowledgements_pending_get: {
|
|
1785
|
+
input: {
|
|
1786
|
+
headers?: {
|
|
1787
|
+
"X-Target-Org-Id"?: string | null;
|
|
1788
|
+
};
|
|
1789
|
+
};
|
|
1790
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1791
|
+
};
|
|
1792
|
+
/**
|
|
1793
|
+
* GET /marketplace/agencies
|
|
1794
|
+
* List Talent Agencies
|
|
1795
|
+
* tier: read · scope: marketplace:read
|
|
1796
|
+
*/
|
|
1797
|
+
list_talent_agencies_marketplace_agencies_get: {
|
|
1798
|
+
input: {
|
|
1799
|
+
headers?: {
|
|
1800
|
+
"X-Target-Org-Id"?: string | null;
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1803
|
+
output: ApiResponse_MarketplaceListPayload_;
|
|
1804
|
+
};
|
|
1805
|
+
/**
|
|
1806
|
+
* POST /marketplace/conversations/{conversation_id}/read
|
|
1807
|
+
* Mark Marketplace Conversation Read
|
|
1808
|
+
* tier: billable · scope: marketplace:run
|
|
1809
|
+
*/
|
|
1810
|
+
mark_marketplace_conversation_read_marketplace_conversations__conversation_id__read_post: {
|
|
1811
|
+
input: {
|
|
1812
|
+
path: {
|
|
1813
|
+
/** Conversation id (UUID). */
|
|
1814
|
+
conversation_id: string;
|
|
1815
|
+
};
|
|
1816
|
+
headers?: {
|
|
1817
|
+
"X-Target-Org-Id"?: string | null;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1821
|
+
};
|
|
1822
|
+
/**
|
|
1823
|
+
* POST /marketplace/me/messages/{conversation_id}/read
|
|
1824
|
+
* Mark My Conversation Read
|
|
1825
|
+
* tier: billable · scope: marketplace:run
|
|
1826
|
+
*/
|
|
1827
|
+
mark_my_conversation_read_marketplace_me_messages__conversation_id__read_post: {
|
|
1828
|
+
input: {
|
|
1829
|
+
path: {
|
|
1830
|
+
/** Conversation id (UUID). */
|
|
1831
|
+
conversation_id: string;
|
|
1832
|
+
};
|
|
1833
|
+
headers?: {
|
|
1834
|
+
"X-Target-Org-Id"?: string | null;
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* PATCH /marketplace/applications/{application_id}
|
|
1841
|
+
* Update an applicant (shortlist / reject / link a hiring)
|
|
1842
|
+
* tier: billable · scope: marketplace:run
|
|
1843
|
+
*/
|
|
1844
|
+
patch_marketplace_application_marketplace_applications__application_id__patch: {
|
|
1845
|
+
input: {
|
|
1846
|
+
path: {
|
|
1847
|
+
application_id: string;
|
|
1848
|
+
};
|
|
1849
|
+
headers?: {
|
|
1850
|
+
"X-Target-Org-Id"?: string | null;
|
|
1851
|
+
};
|
|
1852
|
+
body: ApplicationPatch;
|
|
1853
|
+
};
|
|
1854
|
+
output: ApiResponse_dict_str__Any__;
|
|
1855
|
+
};
|
|
1856
|
+
/**
|
|
1857
|
+
* POST /marketplace/commissions/preview
|
|
1858
|
+
* Preview Commission
|
|
1859
|
+
* tier: billable · scope: marketplace:run
|
|
1860
|
+
*/
|
|
1861
|
+
preview_commission_marketplace_commissions_preview_post: {
|
|
1862
|
+
input: {
|
|
1863
|
+
headers?: {
|
|
1864
|
+
"X-Target-Org-Id"?: string | null;
|
|
1865
|
+
};
|
|
1866
|
+
body: Preview;
|
|
1867
|
+
};
|
|
1868
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1869
|
+
};
|
|
1870
|
+
/**
|
|
1871
|
+
* POST /marketplace/agencies/{slug}/reps/{sdr_id}/publish
|
|
1872
|
+
* Publish Agency Rep
|
|
1873
|
+
* tier: external · scope: marketplace:run
|
|
1874
|
+
*/
|
|
1875
|
+
publish_agency_rep_marketplace_agencies__slug__reps__sdr_id__publish_post: {
|
|
1876
|
+
input: {
|
|
1877
|
+
path: {
|
|
1878
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
1879
|
+
slug: string;
|
|
1880
|
+
/** Rep profile id (UUID). Must be on this agency's roster. */
|
|
1881
|
+
sdr_id: string;
|
|
1882
|
+
};
|
|
1883
|
+
headers?: {
|
|
1884
|
+
"X-Target-Org-Id"?: string | null;
|
|
1885
|
+
};
|
|
1886
|
+
};
|
|
1887
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1888
|
+
};
|
|
1889
|
+
/**
|
|
1890
|
+
* POST /marketplace/commissions/entries
|
|
1891
|
+
* Record Commission Entry
|
|
1892
|
+
* tier: billable · scope: marketplace:run
|
|
1893
|
+
*/
|
|
1894
|
+
record_commission_entry_marketplace_commissions_entries_post: {
|
|
1895
|
+
input: {
|
|
1896
|
+
headers?: {
|
|
1897
|
+
"X-Target-Org-Id"?: string | null;
|
|
1898
|
+
};
|
|
1899
|
+
body: NewEntry;
|
|
1900
|
+
};
|
|
1901
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1902
|
+
};
|
|
1903
|
+
/**
|
|
1904
|
+
* POST /marketplace/talent/{sdr_id}/match/refresh
|
|
1905
|
+
* Refresh Talent Match
|
|
1906
|
+
* tier: billable · scope: marketplace:run
|
|
1907
|
+
*/
|
|
1908
|
+
refresh_talent_match_marketplace_talent__sdr_id__match_refresh_post: {
|
|
1909
|
+
input: {
|
|
1910
|
+
path: {
|
|
1911
|
+
/** Talent profile id (UUID). */
|
|
1912
|
+
sdr_id: string;
|
|
1913
|
+
};
|
|
1914
|
+
headers?: {
|
|
1915
|
+
"X-Target-Org-Id"?: string | null;
|
|
1916
|
+
};
|
|
1917
|
+
};
|
|
1918
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1919
|
+
};
|
|
1920
|
+
/**
|
|
1921
|
+
* POST /marketplace/me/offers/{hiring_id}/reject
|
|
1922
|
+
* Reject a pending marketplace hire offer (SDR side)
|
|
1923
|
+
* tier: billable · scope: marketplace:run
|
|
1924
|
+
*/
|
|
1925
|
+
reject_my_offer_marketplace_me_offers__hiring_id__reject_post: {
|
|
1926
|
+
input: {
|
|
1927
|
+
path: {
|
|
1928
|
+
hiring_id: string;
|
|
1929
|
+
};
|
|
1930
|
+
headers?: {
|
|
1931
|
+
"X-Target-Org-Id"?: string | null;
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
output: ApiResponse_dict_str__Any__;
|
|
1935
|
+
};
|
|
1936
|
+
/**
|
|
1937
|
+
* POST /marketplace/org/service-statements/{statement_id}/reject
|
|
1938
|
+
* Reject Org Service Statement
|
|
1939
|
+
* tier: billable · scope: marketplace:run
|
|
1940
|
+
*/
|
|
1941
|
+
reject_org_service_statement_marketplace_org_service_statements__statement_id__reject_post: {
|
|
1942
|
+
input: {
|
|
1943
|
+
path: {
|
|
1944
|
+
/** Service statement id (UUID). */
|
|
1945
|
+
statement_id: string;
|
|
1946
|
+
};
|
|
1947
|
+
headers?: {
|
|
1948
|
+
"X-Target-Org-Id"?: string | null;
|
|
1949
|
+
};
|
|
1950
|
+
body: StatementDecisionRequest;
|
|
1951
|
+
};
|
|
1952
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1953
|
+
};
|
|
1954
|
+
/**
|
|
1955
|
+
* DELETE /marketplace/agencies/{slug}/reps/{sdr_id}
|
|
1956
|
+
* Remove Agency Rep
|
|
1957
|
+
* tier: destructive · scope: marketplace:delete
|
|
1958
|
+
*/
|
|
1959
|
+
remove_agency_rep_marketplace_agencies__slug__reps__sdr_id__delete: {
|
|
1960
|
+
input: {
|
|
1961
|
+
path: {
|
|
1962
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
1963
|
+
slug: string;
|
|
1964
|
+
/** Rep profile id (UUID). Must be on this agency's roster. */
|
|
1965
|
+
sdr_id: string;
|
|
1966
|
+
};
|
|
1967
|
+
headers?: {
|
|
1968
|
+
"X-Target-Org-Id"?: string | null;
|
|
1969
|
+
};
|
|
1970
|
+
};
|
|
1971
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1972
|
+
};
|
|
1973
|
+
/**
|
|
1974
|
+
* POST /marketplace/me/messages/{conversation_id}/reply
|
|
1975
|
+
* Reply To Marketplace Conversation
|
|
1976
|
+
* tier: external · scope: marketplace:run
|
|
1977
|
+
*/
|
|
1978
|
+
reply_to_marketplace_conversation_marketplace_me_messages__conversation_id__reply_post: {
|
|
1979
|
+
input: {
|
|
1980
|
+
path: {
|
|
1981
|
+
/** Conversation id (UUID). */
|
|
1982
|
+
conversation_id: string;
|
|
1983
|
+
};
|
|
1984
|
+
headers?: {
|
|
1985
|
+
"X-Target-Org-Id"?: string | null;
|
|
1986
|
+
};
|
|
1987
|
+
body: MessageSendRequest;
|
|
1988
|
+
};
|
|
1989
|
+
output: ApiResponse_MarketplacePayload_;
|
|
1990
|
+
};
|
|
1991
|
+
/**
|
|
1992
|
+
* POST /marketplace/org/service-statements/{statement_id}/request-changes
|
|
1993
|
+
* Request Changes On Org Statement
|
|
1994
|
+
* tier: billable · scope: marketplace:run
|
|
1995
|
+
*/
|
|
1996
|
+
request_changes_on_org_statement_marketplace_org_service_statements__statement_id__request_changes_post: {
|
|
1997
|
+
input: {
|
|
1998
|
+
path: {
|
|
1999
|
+
/** Service statement id (UUID). */
|
|
2000
|
+
statement_id: string;
|
|
2001
|
+
};
|
|
2002
|
+
headers?: {
|
|
2003
|
+
"X-Target-Org-Id"?: string | null;
|
|
2004
|
+
};
|
|
2005
|
+
body: StatementDecisionRequest;
|
|
2006
|
+
};
|
|
2007
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2008
|
+
};
|
|
2009
|
+
/**
|
|
2010
|
+
* POST /marketplace/talent/{sdr_id}/request
|
|
2011
|
+
* Request Talent Through Agency
|
|
2012
|
+
* tier: external · scope: marketplace:run
|
|
2013
|
+
*/
|
|
2014
|
+
request_talent_through_agency_marketplace_talent__sdr_id__request_post: {
|
|
2015
|
+
input: {
|
|
2016
|
+
path: {
|
|
2017
|
+
/** Talent profile id (UUID). Must be agency-bound. */
|
|
2018
|
+
sdr_id: string;
|
|
2019
|
+
};
|
|
2020
|
+
headers?: {
|
|
2021
|
+
"X-Target-Org-Id"?: string | null;
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2025
|
+
};
|
|
2026
|
+
/**
|
|
2027
|
+
* POST /marketplace/commissions/entries/{entry_id}/quality
|
|
2028
|
+
* Resolve Commission Quality
|
|
2029
|
+
* tier: billable · scope: marketplace:run
|
|
2030
|
+
*/
|
|
2031
|
+
resolve_commission_quality_marketplace_commissions_entries__entry_id__quality_post: {
|
|
2032
|
+
input: {
|
|
2033
|
+
path: {
|
|
2034
|
+
/** Commission entry id (UUID). */
|
|
2035
|
+
entry_id: string;
|
|
2036
|
+
};
|
|
2037
|
+
headers?: {
|
|
2038
|
+
"X-Target-Org-Id"?: string | null;
|
|
2039
|
+
};
|
|
2040
|
+
body: Collection;
|
|
2041
|
+
};
|
|
2042
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2043
|
+
};
|
|
2044
|
+
/**
|
|
2045
|
+
* POST /marketplace/commissions/entries/{entry_id}/reversals
|
|
2046
|
+
* Reverse Commission Entry
|
|
2047
|
+
* tier: billable · scope: marketplace:run
|
|
2048
|
+
*/
|
|
2049
|
+
reverse_commission_entry_marketplace_commissions_entries__entry_id__reversals_post: {
|
|
2050
|
+
input: {
|
|
2051
|
+
path: {
|
|
2052
|
+
/** The POSITIVE entry being corrected (UUID). */
|
|
2053
|
+
entry_id: string;
|
|
2054
|
+
};
|
|
2055
|
+
headers?: {
|
|
2056
|
+
"X-Target-Org-Id"?: string | null;
|
|
2057
|
+
};
|
|
2058
|
+
body: Reversal;
|
|
2059
|
+
};
|
|
2060
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2061
|
+
};
|
|
2062
|
+
/**
|
|
2063
|
+
* POST /marketplace/me/service-statements/{statement_id}/revise
|
|
2064
|
+
* Revise My Service Statement
|
|
2065
|
+
* tier: billable · scope: marketplace:run
|
|
2066
|
+
*/
|
|
2067
|
+
revise_my_service_statement_marketplace_me_service_statements__statement_id__revise_post: {
|
|
2068
|
+
input: {
|
|
2069
|
+
path: {
|
|
2070
|
+
/** Service statement id (UUID). */
|
|
2071
|
+
statement_id: string;
|
|
2072
|
+
};
|
|
2073
|
+
headers?: {
|
|
2074
|
+
"X-Target-Org-Id"?: string | null;
|
|
2075
|
+
};
|
|
2076
|
+
};
|
|
2077
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2078
|
+
};
|
|
2079
|
+
/**
|
|
2080
|
+
* POST /marketplace/talent/{sdr_id}/messages
|
|
2081
|
+
* Send Talent Message
|
|
2082
|
+
* tier: external · scope: marketplace:run
|
|
2083
|
+
*/
|
|
2084
|
+
send_talent_message_marketplace_talent__sdr_id__messages_post: {
|
|
2085
|
+
input: {
|
|
2086
|
+
path: {
|
|
2087
|
+
/** Talent profile id (UUID). */
|
|
2088
|
+
sdr_id: string;
|
|
2089
|
+
};
|
|
2090
|
+
headers?: {
|
|
2091
|
+
"X-Target-Org-Id"?: string | null;
|
|
2092
|
+
};
|
|
2093
|
+
body: MessageSendRequest;
|
|
2094
|
+
};
|
|
2095
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2096
|
+
};
|
|
2097
|
+
/**
|
|
2098
|
+
* PATCH /marketplace/conversations/{conversation_id}/state
|
|
2099
|
+
* Set Marketplace Conversation State
|
|
2100
|
+
* tier: billable · scope: marketplace:run
|
|
2101
|
+
*/
|
|
2102
|
+
set_marketplace_conversation_state_marketplace_conversations__conversation_id__state_patch: {
|
|
2103
|
+
input: {
|
|
2104
|
+
path: {
|
|
2105
|
+
/** Conversation id (UUID). */
|
|
2106
|
+
conversation_id: string;
|
|
2107
|
+
};
|
|
2108
|
+
headers?: {
|
|
2109
|
+
"X-Target-Org-Id"?: string | null;
|
|
2110
|
+
};
|
|
2111
|
+
body: ConversationStateRequest;
|
|
2112
|
+
};
|
|
2113
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2114
|
+
};
|
|
2115
|
+
/**
|
|
2116
|
+
* PATCH /marketplace/me/messages/{conversation_id}/state
|
|
2117
|
+
* Set My Conversation State
|
|
2118
|
+
* tier: billable · scope: marketplace:run
|
|
2119
|
+
*/
|
|
2120
|
+
set_my_conversation_state_marketplace_me_messages__conversation_id__state_patch: {
|
|
2121
|
+
input: {
|
|
2122
|
+
path: {
|
|
2123
|
+
/** Conversation id (UUID). */
|
|
2124
|
+
conversation_id: string;
|
|
2125
|
+
};
|
|
2126
|
+
headers?: {
|
|
2127
|
+
"X-Target-Org-Id"?: string | null;
|
|
2128
|
+
};
|
|
2129
|
+
body: ConversationStateRequest;
|
|
2130
|
+
};
|
|
2131
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2132
|
+
};
|
|
2133
|
+
/**
|
|
2134
|
+
* POST /marketplace/me/payout-account/methods/{account_id}/set-primary
|
|
2135
|
+
* Set My Primary Payout Method
|
|
2136
|
+
* tier: destructive · scope: marketplace:delete
|
|
2137
|
+
*/
|
|
2138
|
+
set_my_primary_payout_method_marketplace_me_payout_account_methods__account_id__set_primary_post: {
|
|
2139
|
+
input: {
|
|
2140
|
+
path: {
|
|
2141
|
+
/** Payout method id (UUID). */
|
|
2142
|
+
account_id: string;
|
|
2143
|
+
};
|
|
2144
|
+
headers?: {
|
|
2145
|
+
"X-Target-Org-Id"?: string | null;
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2149
|
+
};
|
|
2150
|
+
/**
|
|
2151
|
+
* POST /marketplace/me/payout-account/setup
|
|
2152
|
+
* Set Up My Payout Account
|
|
2153
|
+
* tier: external · scope: marketplace:run
|
|
2154
|
+
*/
|
|
2155
|
+
set_up_my_payout_account_marketplace_me_payout_account_setup_post: {
|
|
2156
|
+
input: {
|
|
2157
|
+
headers?: {
|
|
2158
|
+
"X-Target-Org-Id"?: string | null;
|
|
2159
|
+
};
|
|
2160
|
+
};
|
|
2161
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2162
|
+
};
|
|
2163
|
+
/**
|
|
2164
|
+
* POST /marketplace/agencies/{slug}/service-statements/{statement_id}/submit
|
|
2165
|
+
* Submit Agency Statement
|
|
2166
|
+
* tier: billable · scope: marketplace:run
|
|
2167
|
+
*/
|
|
2168
|
+
submit_agency_statement_marketplace_agencies__slug__service_statements__statement_id__submit_post: {
|
|
2169
|
+
input: {
|
|
2170
|
+
path: {
|
|
2171
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
2172
|
+
slug: string;
|
|
2173
|
+
/** Service statement id (UUID). */
|
|
2174
|
+
statement_id: string;
|
|
2175
|
+
};
|
|
2176
|
+
headers?: {
|
|
2177
|
+
"X-Target-Org-Id"?: string | null;
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2181
|
+
};
|
|
2182
|
+
/**
|
|
2183
|
+
* POST /marketplace/me/payout-account/bank-details
|
|
2184
|
+
* Submit My Bank Details
|
|
2185
|
+
* tier: external · scope: marketplace:run
|
|
2186
|
+
*/
|
|
2187
|
+
submit_my_bank_details_marketplace_me_payout_account_bank_details_post: {
|
|
2188
|
+
input: {
|
|
2189
|
+
headers?: {
|
|
2190
|
+
"X-Target-Org-Id"?: string | null;
|
|
2191
|
+
};
|
|
2192
|
+
body: BankDetailsRequest;
|
|
2193
|
+
};
|
|
2194
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2195
|
+
};
|
|
2196
|
+
/**
|
|
2197
|
+
* POST /marketplace/me/invoices
|
|
2198
|
+
* Submit a monthly invoice for a hiring contract
|
|
2199
|
+
* tier: billable · scope: marketplace:run
|
|
2200
|
+
*/
|
|
2201
|
+
submit_my_invoice_marketplace_me_invoices_post: {
|
|
2202
|
+
input: {
|
|
2203
|
+
headers?: {
|
|
2204
|
+
"X-Target-Org-Id"?: string | null;
|
|
2205
|
+
};
|
|
2206
|
+
body: SubmitInvoiceRequest;
|
|
2207
|
+
};
|
|
2208
|
+
output: ApiResponse_dict_str__Any__;
|
|
2209
|
+
};
|
|
2210
|
+
/**
|
|
2211
|
+
* POST /marketplace/me/service-statements/{statement_id}/submit
|
|
2212
|
+
* Submit My Service Statement
|
|
2213
|
+
* tier: billable · scope: marketplace:run
|
|
2214
|
+
*/
|
|
2215
|
+
submit_my_service_statement_marketplace_me_service_statements__statement_id__submit_post: {
|
|
2216
|
+
input: {
|
|
2217
|
+
path: {
|
|
2218
|
+
/** Service statement id (UUID). */
|
|
2219
|
+
statement_id: string;
|
|
2220
|
+
};
|
|
2221
|
+
headers?: {
|
|
2222
|
+
"X-Target-Org-Id"?: string | null;
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2226
|
+
};
|
|
2227
|
+
/**
|
|
2228
|
+
* POST /marketplace/me/sync-workbench
|
|
2229
|
+
* Sync My Workbench
|
|
2230
|
+
* tier: external · scope: marketplace:run
|
|
2231
|
+
*/
|
|
2232
|
+
sync_my_workbench_marketplace_me_sync_workbench_post: {
|
|
2233
|
+
input: {
|
|
2234
|
+
headers?: {
|
|
2235
|
+
"X-Target-Org-Id"?: string | null;
|
|
2236
|
+
};
|
|
2237
|
+
};
|
|
2238
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2239
|
+
};
|
|
2240
|
+
/**
|
|
2241
|
+
* POST /marketplace/org/hirings/{hiring_id}/terminate
|
|
2242
|
+
* Terminate an active hiring contract (org side)
|
|
2243
|
+
* tier: billable · scope: marketplace:run
|
|
2244
|
+
*/
|
|
2245
|
+
terminate_org_hiring_marketplace_org_hirings__hiring_id__terminate_post: {
|
|
2246
|
+
input: {
|
|
2247
|
+
path: {
|
|
2248
|
+
hiring_id: string;
|
|
2249
|
+
};
|
|
2250
|
+
headers?: {
|
|
2251
|
+
"X-Target-Org-Id"?: string | null;
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2254
|
+
output: ApiResponse_dict_str__Any__;
|
|
2255
|
+
};
|
|
2256
|
+
/**
|
|
2257
|
+
* POST /marketplace/agencies/{slug}/reps/{sdr_id}/unlist
|
|
2258
|
+
* Unlist Agency Rep
|
|
2259
|
+
* tier: billable · scope: marketplace:run
|
|
2260
|
+
*/
|
|
2261
|
+
unlist_agency_rep_marketplace_agencies__slug__reps__sdr_id__unlist_post: {
|
|
2262
|
+
input: {
|
|
2263
|
+
path: {
|
|
2264
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
2265
|
+
slug: string;
|
|
2266
|
+
/** Rep profile id (UUID). Must be on this agency's roster. */
|
|
2267
|
+
sdr_id: string;
|
|
2268
|
+
};
|
|
2269
|
+
headers?: {
|
|
2270
|
+
"X-Target-Org-Id"?: string | null;
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2274
|
+
};
|
|
2275
|
+
/**
|
|
2276
|
+
* PATCH /marketplace/agencies/{slug}
|
|
2277
|
+
* Update Agency Profile
|
|
2278
|
+
* tier: billable · scope: marketplace:run
|
|
2279
|
+
*/
|
|
2280
|
+
update_agency_profile_marketplace_agencies__slug__patch: {
|
|
2281
|
+
input: {
|
|
2282
|
+
path: {
|
|
2283
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
2284
|
+
slug: string;
|
|
2285
|
+
};
|
|
2286
|
+
headers?: {
|
|
2287
|
+
"X-Target-Org-Id"?: string | null;
|
|
2288
|
+
};
|
|
2289
|
+
body: AgencyProfileUpdateRequest;
|
|
2290
|
+
};
|
|
2291
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2292
|
+
};
|
|
2293
|
+
/**
|
|
2294
|
+
* PATCH /marketplace/agencies/{slug}/service-statements/{statement_id}
|
|
2295
|
+
* Update Agency Statement
|
|
2296
|
+
* tier: billable · scope: marketplace:run
|
|
2297
|
+
*/
|
|
2298
|
+
update_agency_statement_marketplace_agencies__slug__service_statements__statement_id__patch: {
|
|
2299
|
+
input: {
|
|
2300
|
+
path: {
|
|
2301
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
2302
|
+
slug: string;
|
|
2303
|
+
/** Service statement id (UUID). */
|
|
2304
|
+
statement_id: string;
|
|
2305
|
+
};
|
|
2306
|
+
headers?: {
|
|
2307
|
+
"X-Target-Org-Id"?: string | null;
|
|
2308
|
+
};
|
|
2309
|
+
body: AgencyStatementUpdateRequest;
|
|
2310
|
+
};
|
|
2311
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2312
|
+
};
|
|
2313
|
+
/**
|
|
2314
|
+
* PATCH /marketplace/job-posts/{post_id}
|
|
2315
|
+
* Edit a job post or change its status (publish/pause/close/filled)
|
|
2316
|
+
* tier: billable · scope: marketplace:run
|
|
2317
|
+
*/
|
|
2318
|
+
update_marketplace_job_post_marketplace_job_posts__post_id__patch: {
|
|
2319
|
+
input: {
|
|
2320
|
+
path: {
|
|
2321
|
+
post_id: string;
|
|
2322
|
+
};
|
|
2323
|
+
headers?: {
|
|
2324
|
+
"X-Target-Org-Id"?: string | null;
|
|
2325
|
+
};
|
|
2326
|
+
body: JobPostUpdate;
|
|
2327
|
+
};
|
|
2328
|
+
output: ApiResponse_dict_str__Any__;
|
|
2329
|
+
};
|
|
2330
|
+
/**
|
|
2331
|
+
* PATCH /marketplace/me/profile
|
|
2332
|
+
* Update My Marketplace Profile
|
|
2333
|
+
* tier: billable · scope: marketplace:run
|
|
2334
|
+
*/
|
|
2335
|
+
update_my_marketplace_profile_marketplace_me_profile_patch: {
|
|
2336
|
+
input: {
|
|
2337
|
+
headers?: {
|
|
2338
|
+
"X-Target-Org-Id"?: string | null;
|
|
2339
|
+
};
|
|
2340
|
+
body: TalentProfileUpdateRequest;
|
|
2341
|
+
};
|
|
2342
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* PATCH /marketplace/me/meetings/{meeting_id}
|
|
2346
|
+
* Update meeting notes + contact info (SDR side)
|
|
2347
|
+
* tier: billable · scope: marketplace:run
|
|
2348
|
+
*/
|
|
2349
|
+
update_my_meeting_marketplace_me_meetings__meeting_id__patch: {
|
|
2350
|
+
input: {
|
|
2351
|
+
path: {
|
|
2352
|
+
meeting_id: string;
|
|
2353
|
+
};
|
|
2354
|
+
headers?: {
|
|
2355
|
+
"X-Target-Org-Id"?: string | null;
|
|
2356
|
+
};
|
|
2357
|
+
body: UpdateMyMeetingRequest;
|
|
2358
|
+
};
|
|
2359
|
+
output: ApiResponse_MarketplaceMeetingDetail_;
|
|
2360
|
+
};
|
|
2361
|
+
/**
|
|
2362
|
+
* PUT /marketplace/me/rates
|
|
2363
|
+
* Update My Rate Card
|
|
2364
|
+
* tier: billable · scope: marketplace:run
|
|
2365
|
+
*/
|
|
2366
|
+
update_my_rate_card_marketplace_me_rates_put: {
|
|
2367
|
+
input: {
|
|
2368
|
+
headers?: {
|
|
2369
|
+
"X-Target-Org-Id"?: string | null;
|
|
2370
|
+
};
|
|
2371
|
+
body: RateCardUpdateRequest;
|
|
2372
|
+
};
|
|
2373
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2374
|
+
};
|
|
2375
|
+
/**
|
|
2376
|
+
* PATCH /marketplace/me/service-statements/{statement_id}
|
|
2377
|
+
* Update My Service Statement
|
|
2378
|
+
* tier: billable · scope: marketplace:run
|
|
2379
|
+
*/
|
|
2380
|
+
update_my_service_statement_marketplace_me_service_statements__statement_id__patch: {
|
|
2381
|
+
input: {
|
|
2382
|
+
path: {
|
|
2383
|
+
/** Service statement id (UUID). */
|
|
2384
|
+
statement_id: string;
|
|
2385
|
+
};
|
|
2386
|
+
headers?: {
|
|
2387
|
+
"X-Target-Org-Id"?: string | null;
|
|
2388
|
+
};
|
|
2389
|
+
body: StatementUpdateRequest;
|
|
2390
|
+
};
|
|
2391
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2392
|
+
};
|
|
2393
|
+
/**
|
|
2394
|
+
* PATCH /marketplace/org/meetings/{meeting_id}
|
|
2395
|
+
* Update Org Marketplace Meeting
|
|
2396
|
+
* tier: billable · scope: marketplace:run
|
|
2397
|
+
*/
|
|
2398
|
+
update_org_marketplace_meeting_marketplace_org_meetings__meeting_id__patch: {
|
|
2399
|
+
input: {
|
|
2400
|
+
path: {
|
|
2401
|
+
/** Meeting id (UUID). */
|
|
2402
|
+
meeting_id: string;
|
|
2403
|
+
};
|
|
2404
|
+
headers?: {
|
|
2405
|
+
"X-Target-Org-Id"?: string | null;
|
|
2406
|
+
};
|
|
2407
|
+
body: OrgMeetingUpdateRequest;
|
|
2408
|
+
};
|
|
2409
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2410
|
+
};
|
|
2411
|
+
/**
|
|
2412
|
+
* POST /marketplace/agencies/{slug}/reps/{sdr_id}/video-intro
|
|
2413
|
+
* Upload Agency Rep Video Intro
|
|
2414
|
+
* tier: billable · scope: marketplace:run
|
|
2415
|
+
*/
|
|
2416
|
+
upload_agency_rep_video_intro_marketplace_agencies__slug__reps__sdr_id__video_intro_post: {
|
|
2417
|
+
input: {
|
|
2418
|
+
path: {
|
|
2419
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
2420
|
+
slug: string;
|
|
2421
|
+
/** Rep profile id (UUID). Must be on this agency's roster. */
|
|
2422
|
+
sdr_id: string;
|
|
2423
|
+
};
|
|
2424
|
+
headers?: {
|
|
2425
|
+
"X-Target-Org-Id"?: string | null;
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2429
|
+
};
|
|
2430
|
+
/**
|
|
2431
|
+
* POST /marketplace/agencies/{slug}/intake/upload
|
|
2432
|
+
* Upload Agency Resumes
|
|
2433
|
+
* tier: billable · scope: marketplace:run
|
|
2434
|
+
*/
|
|
2435
|
+
upload_agency_resumes_marketplace_agencies__slug__intake_upload_post: {
|
|
2436
|
+
input: {
|
|
2437
|
+
path: {
|
|
2438
|
+
/** Agency slug, e.g. `netrion-labs`. You must operate it. */
|
|
2439
|
+
slug: string;
|
|
2440
|
+
};
|
|
2441
|
+
headers?: {
|
|
2442
|
+
"X-Target-Org-Id"?: string | null;
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2446
|
+
};
|
|
2447
|
+
/**
|
|
2448
|
+
* POST /marketplace/job-posts/{post_id}/jd
|
|
2449
|
+
* Upload Job Post Jd
|
|
2450
|
+
* tier: billable · scope: marketplace:run
|
|
2451
|
+
*/
|
|
2452
|
+
upload_job_post_jd_marketplace_job_posts__post_id__jd_post: {
|
|
2453
|
+
input: {
|
|
2454
|
+
path: {
|
|
2455
|
+
/** Job post id (UUID). Must be your org's. */
|
|
2456
|
+
post_id: string;
|
|
2457
|
+
};
|
|
2458
|
+
headers?: {
|
|
2459
|
+
"X-Target-Org-Id"?: string | null;
|
|
2460
|
+
};
|
|
2461
|
+
};
|
|
2462
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2463
|
+
};
|
|
2464
|
+
/**
|
|
2465
|
+
* POST /marketplace/me/headshot
|
|
2466
|
+
* Upload My Headshot
|
|
2467
|
+
* tier: billable · scope: marketplace:run
|
|
2468
|
+
*/
|
|
2469
|
+
upload_my_headshot_marketplace_me_headshot_post: {
|
|
2470
|
+
input: {
|
|
2471
|
+
headers?: {
|
|
2472
|
+
"X-Target-Org-Id"?: string | null;
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2476
|
+
};
|
|
2477
|
+
/**
|
|
2478
|
+
* POST /marketplace/me/resume
|
|
2479
|
+
* Upload My Resume
|
|
2480
|
+
* tier: billable · scope: marketplace:run
|
|
2481
|
+
*/
|
|
2482
|
+
upload_my_resume_marketplace_me_resume_post: {
|
|
2483
|
+
input: {
|
|
2484
|
+
headers?: {
|
|
2485
|
+
"X-Target-Org-Id"?: string | null;
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2489
|
+
};
|
|
2490
|
+
/**
|
|
2491
|
+
* POST /marketplace/me/video-intro
|
|
2492
|
+
* Upload My Video Intro
|
|
2493
|
+
* tier: billable · scope: marketplace:run
|
|
2494
|
+
*/
|
|
2495
|
+
upload_my_video_intro_marketplace_me_video_intro_post: {
|
|
2496
|
+
input: {
|
|
2497
|
+
headers?: {
|
|
2498
|
+
"X-Target-Org-Id"?: string | null;
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
2501
|
+
output: ApiResponse_MarketplacePayload_;
|
|
2502
|
+
};
|
|
2503
|
+
/**
|
|
2504
|
+
* POST /marketplace/org/hirings/{hiring_id}/withdraw
|
|
2505
|
+
* Withdraw a pending hiring offer (org side)
|
|
2506
|
+
* tier: billable · scope: marketplace:run
|
|
2507
|
+
*/
|
|
2508
|
+
withdraw_org_hiring_marketplace_org_hirings__hiring_id__withdraw_post: {
|
|
2509
|
+
input: {
|
|
2510
|
+
path: {
|
|
2511
|
+
hiring_id: string;
|
|
2512
|
+
};
|
|
2513
|
+
headers?: {
|
|
2514
|
+
"X-Target-Org-Id"?: string | null;
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
output: ApiResponse_dict_str__Any__;
|
|
2518
|
+
};
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
// 61 schemas referenced above (the same as G8Contract.<Name>).
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* The agency's own About/branding. Only these six fields are writable.
|
|
2525
|
+
*
|
|
2526
|
+
* Never `status`, `owner_org_id`, `agency_profile_id` or `billing_email` -
|
|
2527
|
+
* those decide who gets paid and whether the agency exists.
|
|
2528
|
+
*/
|
|
2529
|
+
export interface AgencyProfileUpdateRequest {
|
|
2530
|
+
bio?: string | null;
|
|
2531
|
+
/** ISO 3166-1 alpha-2. */
|
|
2532
|
+
country_code?: string | null;
|
|
2533
|
+
legal_name?: string | null;
|
|
2534
|
+
logo_url?: string | null;
|
|
2535
|
+
name?: string | null;
|
|
2536
|
+
website?: string | null;
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
* Draft a statement for one of the agency's own reps.
|
|
2541
|
+
*
|
|
2542
|
+
* Narrower than the talent-side create: the agency never gets to send a period
|
|
2543
|
+
* or an amount at all, so those fields are absent rather than ignored.
|
|
2544
|
+
*/
|
|
2545
|
+
export interface AgencyStatementCreateRequest {
|
|
2546
|
+
activities?: Record<string, unknown> | null;
|
|
2547
|
+
currency?: string;
|
|
2548
|
+
engagement_id: string;
|
|
2549
|
+
summary?: string | null;
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
export interface AgencyStatementUpdateRequest {
|
|
2553
|
+
activities?: Record<string, unknown> | null;
|
|
2554
|
+
summary?: string | null;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
export interface Allocate {
|
|
2558
|
+
statement_id: string;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
export interface ApiResponse_MarketplaceConnectStatusResponse_ {
|
|
2562
|
+
data: MarketplaceConnectStatusResponse;
|
|
2563
|
+
pagination?: PaginationMeta | null;
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
export interface ApiResponse_MarketplaceHiringsResponse_ {
|
|
2567
|
+
data: MarketplaceHiringsResponse;
|
|
2568
|
+
pagination?: PaginationMeta | null;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
export interface ApiResponse_MarketplaceInvoicesResponse_ {
|
|
2572
|
+
data: MarketplaceInvoicesResponse;
|
|
2573
|
+
pagination?: PaginationMeta | null;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
export interface ApiResponse_MarketplaceListPayload_ {
|
|
2577
|
+
data: MarketplaceListPayload;
|
|
2578
|
+
pagination?: PaginationMeta | null;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
export interface ApiResponse_MarketplaceMeetingDetail_ {
|
|
2582
|
+
data: MarketplaceMeetingDetail;
|
|
2583
|
+
pagination?: PaginationMeta | null;
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
export interface ApiResponse_MarketplaceMeetingsResponse_ {
|
|
2587
|
+
data: MarketplaceMeetingsResponse;
|
|
2588
|
+
pagination?: PaginationMeta | null;
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
export interface ApiResponse_MarketplaceOffersResponse_ {
|
|
2592
|
+
data: MarketplaceOffersResponse;
|
|
2593
|
+
pagination?: PaginationMeta | null;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
export interface ApiResponse_MarketplacePayload_ {
|
|
2597
|
+
data: MarketplacePayload;
|
|
2598
|
+
pagination?: PaginationMeta | null;
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
export interface ApiResponse_MarketplacePayoutAccountResponse_ {
|
|
2602
|
+
data: MarketplacePayoutAccountResponse;
|
|
2603
|
+
pagination?: PaginationMeta | null;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
export interface ApiResponse_MarketplaceProfileResponse_ {
|
|
2607
|
+
data: MarketplaceProfileResponse;
|
|
2608
|
+
pagination?: PaginationMeta | null;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
export interface ApiResponse_dict_str__Any__ {
|
|
2612
|
+
data: Record<string, unknown>;
|
|
2613
|
+
pagination?: PaginationMeta | null;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
export interface ApplicationPatch {
|
|
2617
|
+
hiring_id?: string | null;
|
|
2618
|
+
status?: string | null;
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Create the Wise recipient money is actually paid into.
|
|
2623
|
+
*
|
|
2624
|
+
* `details` is passed to Wise as-is and its required keys come from
|
|
2625
|
+
* `GET /marketplace/me/payout-account/bank-requirements` for the SAME
|
|
2626
|
+
* currency - they differ per currency and per account type, which is why this
|
|
2627
|
+
* is an open dict rather than a fixed schema. Dotted keys (`address.country`)
|
|
2628
|
+
* are nested server-side before the call.
|
|
2629
|
+
*
|
|
2630
|
+
* `account_id` targets one of several payout methods; omit it for the primary.
|
|
2631
|
+
*/
|
|
2632
|
+
export interface BankDetailsRequest {
|
|
2633
|
+
/** Payout method id. Omit for your primary. */
|
|
2634
|
+
account_id?: string | null;
|
|
2635
|
+
/** From the `bank-requirements` response. */
|
|
2636
|
+
account_type: string;
|
|
2637
|
+
currency: string;
|
|
2638
|
+
/** Exactly the fields `bank-requirements` asked for. */
|
|
2639
|
+
details: Record<string, unknown>;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
export interface Collection {
|
|
2643
|
+
cohort_id: string;
|
|
2644
|
+
collected_on: string;
|
|
2645
|
+
currency?: "USD";
|
|
2646
|
+
customer_id: string;
|
|
2647
|
+
eligible_amount: number | string;
|
|
2648
|
+
event_id: string;
|
|
2649
|
+
evidence: string;
|
|
2650
|
+
full_collection?: boolean;
|
|
2651
|
+
invoice_line_id: string;
|
|
2652
|
+
paid_month: number;
|
|
2653
|
+
product_id: string;
|
|
2654
|
+
quality_approved?: boolean | null;
|
|
2655
|
+
quality_evidence?: string;
|
|
2656
|
+
verified: true;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
/**
|
|
2660
|
+
* Star / archive / spam, from the CALLER's side of the thread only.
|
|
2661
|
+
*
|
|
2662
|
+
* Each flag is explicit rather than a toggle, so a retried request is
|
|
2663
|
+
* idempotent instead of flipping the state back. Omitted flags are untouched.
|
|
2664
|
+
*/
|
|
2665
|
+
export interface ConversationStateRequest {
|
|
2666
|
+
archived?: boolean | null;
|
|
2667
|
+
spam?: boolean | null;
|
|
2668
|
+
starred?: boolean | null;
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
export interface DisputeInvoiceRequest {
|
|
2672
|
+
reason: string;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* One T&C document the client agreed to when sending the offer.
|
|
2677
|
+
*
|
|
2678
|
+
* Mirrors ``AcceptedTermDTO`` in ``marketplace.interfaces.fastapi.dtos``:
|
|
2679
|
+
* only ``document_id`` is sent; the server resolves the current
|
|
2680
|
+
* version + URL server-side at send time.
|
|
2681
|
+
*/
|
|
2682
|
+
export interface HireOfferAcceptedTerm {
|
|
2683
|
+
/** marketplace-terms | sdr-participation-agreement */
|
|
2684
|
+
document_id: string;
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
/**
|
|
2688
|
+
* Hire-offer body — mirrors the Phase B ``HireSdrRequest`` in
|
|
2689
|
+
* ``marketplace.interfaces.fastapi.dtos``.
|
|
2690
|
+
*
|
|
2691
|
+
* Phase B removed ``hiring_fee_usd`` and ``commission_percentage`` and added
|
|
2692
|
+
* ``contract_length_months``, ``scope_text`` and the required
|
|
2693
|
+
* ``accepted_terms``. The contract is generated + e-signed inside graph8,
|
|
2694
|
+
* and the client's T&C acceptance is captured in the same transaction as the
|
|
2695
|
+
* hiring row — so ``accepted_terms`` must be non-empty or the underlying
|
|
2696
|
+
* handler returns ``terms_not_accepted`` (400).
|
|
2697
|
+
*/
|
|
2698
|
+
export interface HireSdrRequest {
|
|
2699
|
+
/** Required: client's acceptance of the Marketplace Terms + SDR Participation Agreement. An empty list is rejected with 400 (terms_not_accepted) by the underlying hire handler. */
|
|
2700
|
+
accepted_terms?: Array<HireOfferAcceptedTerm>;
|
|
2701
|
+
commission_plan_version_id?: string | null;
|
|
2702
|
+
/** None = month-to-month (default); otherwise number of months */
|
|
2703
|
+
contract_length_months?: number | null;
|
|
2704
|
+
monthly_rate_usd?: number | string;
|
|
2705
|
+
per_meeting_rate_usd?: number | string;
|
|
2706
|
+
/** Optional scope-of-engagement text shown on the contract */
|
|
2707
|
+
scope_text?: string | null;
|
|
2708
|
+
sdr_id: string;
|
|
2709
|
+
/** YYYY-MM-DD */
|
|
2710
|
+
start_date: string;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* Annotate your own draft invoice while it is still in `sdr_review`.
|
|
2715
|
+
*
|
|
2716
|
+
* `sdr_notes` is the only field the talent owns - `client_notes` and
|
|
2717
|
+
* `dispute_reason` belong to the other side of the transaction.
|
|
2718
|
+
*/
|
|
2719
|
+
export interface InvoiceNotesRequest {
|
|
2720
|
+
sdr_notes?: string | null;
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
export interface JobPostCreate {
|
|
2724
|
+
commission_plan_version_id?: string | null;
|
|
2725
|
+
countries?: Array<string> | null;
|
|
2726
|
+
deal_size_band?: string | null;
|
|
2727
|
+
description?: string | null;
|
|
2728
|
+
engagement_type?: string;
|
|
2729
|
+
industries?: Array<string> | null;
|
|
2730
|
+
languages?: Array<string> | null;
|
|
2731
|
+
monthly_rate_usd_max?: number | string | null;
|
|
2732
|
+
monthly_rate_usd_min?: number | string | null;
|
|
2733
|
+
openings_count?: number;
|
|
2734
|
+
per_meeting_rate_usd?: number | string | null;
|
|
2735
|
+
regions?: Array<string> | null;
|
|
2736
|
+
role_type: string;
|
|
2737
|
+
seniority?: string | null;
|
|
2738
|
+
status?: string;
|
|
2739
|
+
title: string;
|
|
2740
|
+
tools?: Array<string> | null;
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
export interface JobPostUpdate {
|
|
2744
|
+
commission_plan_version_id?: string | null;
|
|
2745
|
+
countries?: Array<string> | null;
|
|
2746
|
+
deal_size_band?: string | null;
|
|
2747
|
+
description?: string | null;
|
|
2748
|
+
engagement_type?: string | null;
|
|
2749
|
+
industries?: Array<string> | null;
|
|
2750
|
+
languages?: Array<string> | null;
|
|
2751
|
+
monthly_rate_usd_max?: number | string | null;
|
|
2752
|
+
monthly_rate_usd_min?: number | string | null;
|
|
2753
|
+
openings_count?: number | null;
|
|
2754
|
+
per_meeting_rate_usd?: number | string | null;
|
|
2755
|
+
regions?: Array<string> | null;
|
|
2756
|
+
role_type?: string | null;
|
|
2757
|
+
seniority?: string | null;
|
|
2758
|
+
status?: string | null;
|
|
2759
|
+
title?: string | null;
|
|
2760
|
+
tools?: Array<string> | null;
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
/**
|
|
2764
|
+
* One money line on a statement.
|
|
2765
|
+
*
|
|
2766
|
+
* `extra="forbid"` mirrors the app model: a typo'd field is a 422 naming it
|
|
2767
|
+
* rather than a silently dropped charge.
|
|
2768
|
+
*/
|
|
2769
|
+
export interface LineItemCreateRequest {
|
|
2770
|
+
/** Only `discount` may carry a negative unit amount. */
|
|
2771
|
+
kind: "commission" | "bonus" | "expense" | "discount";
|
|
2772
|
+
label: string;
|
|
2773
|
+
quantity?: number | string;
|
|
2774
|
+
source_ref?: string | null;
|
|
2775
|
+
/** Signed. Negative is refused unless `kind` is `discount`. */
|
|
2776
|
+
unit_amount_usd: number | string;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
/**
|
|
2780
|
+
* Stripe Connect onboarding state. Schema mirrors the marketplace
|
|
2781
|
+
* handler's response shape directly.
|
|
2782
|
+
*/
|
|
2783
|
+
export interface MarketplaceConnectStatusResponse {
|
|
2784
|
+
account: Record<string, unknown>;
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
/** An active hiring contract (either side). */
|
|
2788
|
+
export interface MarketplaceHiring {
|
|
2789
|
+
id: string;
|
|
2790
|
+
monthly_rate_usd?: string | null;
|
|
2791
|
+
org_id: string;
|
|
2792
|
+
per_meeting_rate_usd?: string | null;
|
|
2793
|
+
sdr_email?: string | null;
|
|
2794
|
+
sdr_id: string;
|
|
2795
|
+
sdr_name?: string | null;
|
|
2796
|
+
sdr_role?: string | null;
|
|
2797
|
+
started_at?: string | null;
|
|
2798
|
+
status: string;
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
export interface MarketplaceHiringsResponse {
|
|
2802
|
+
count: number;
|
|
2803
|
+
hirings: Array<MarketplaceHiring>;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
/** An invoice. SDR-side: invoices I've issued. Org-side: invoices I owe. */
|
|
2807
|
+
export interface MarketplaceInvoice {
|
|
2808
|
+
due_at?: string | null;
|
|
2809
|
+
id: string;
|
|
2810
|
+
issued_at?: string | null;
|
|
2811
|
+
org_id: string;
|
|
2812
|
+
paid_at?: string | null;
|
|
2813
|
+
sdr_id: string;
|
|
2814
|
+
sdr_name?: string | null;
|
|
2815
|
+
status: string;
|
|
2816
|
+
total_usd?: string | null;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
export interface MarketplaceInvoicesResponse {
|
|
2820
|
+
count: number;
|
|
2821
|
+
invoices: Array<MarketplaceInvoice>;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
/**
|
|
2825
|
+
* A LIST result, so a bare list keeps its shape under `items`.
|
|
2826
|
+
*
|
|
2827
|
+
* Several marketplace reads return a BARE JSON array (`GET
|
|
2828
|
+
* /v1/sdr/me/service-statements`, the line-item reads, the agency statement
|
|
2829
|
+
* list). Wrapping them keeps every published response an object, which is
|
|
2830
|
+
* what lets the envelope carry pagination later without a breaking change.
|
|
2831
|
+
*/
|
|
2832
|
+
export interface MarketplaceListPayload {
|
|
2833
|
+
items?: Array<unknown>;
|
|
2834
|
+
[key: string]: unknown;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
export interface MarketplaceMeetingDetail {
|
|
2838
|
+
meeting: Record<string, unknown>;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Generic envelope for meeting list / details — the underlying row shape
|
|
2843
|
+
* is wide and varies (transcripts, attendees, recordings, etc.), so we pass
|
|
2844
|
+
* it through as raw dicts under ``meetings`` rather than typing every field.
|
|
2845
|
+
* Mirrors the dialer + voice routers' opaque-payload pattern.
|
|
2846
|
+
*/
|
|
2847
|
+
export interface MarketplaceMeetingsResponse {
|
|
2848
|
+
count: number;
|
|
2849
|
+
meetings: Array<Record<string, unknown>>;
|
|
2850
|
+
total: number;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
/** A pending hire offer the SDR can accept or reject. */
|
|
2854
|
+
export interface MarketplaceOffer {
|
|
2855
|
+
created_at?: string | null;
|
|
2856
|
+
id: string;
|
|
2857
|
+
monthly_rate_usd?: string | null;
|
|
2858
|
+
org_id: string;
|
|
2859
|
+
org_name?: string | null;
|
|
2860
|
+
per_meeting_rate_usd?: string | null;
|
|
2861
|
+
sdr_id: string;
|
|
2862
|
+
status: string;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
export interface MarketplaceOffersResponse {
|
|
2866
|
+
count: number;
|
|
2867
|
+
offers: Array<MarketplaceOffer>;
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
/** One record, or one action result. */
|
|
2871
|
+
export type MarketplacePayload = Record<string, unknown>;
|
|
2872
|
+
|
|
2873
|
+
export interface MarketplacePayoutAccountResponse {
|
|
2874
|
+
account: Record<string, unknown>;
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
/** Caller's own marketplace SDR profile (when the API key is personal). */
|
|
2878
|
+
export interface MarketplaceProfileResponse {
|
|
2879
|
+
availability_status?: string | null;
|
|
2880
|
+
bio?: string | null;
|
|
2881
|
+
country_code?: string | null;
|
|
2882
|
+
email: string;
|
|
2883
|
+
first_name?: string | null;
|
|
2884
|
+
id: string;
|
|
2885
|
+
is_complete?: boolean;
|
|
2886
|
+
last_name?: string | null;
|
|
2887
|
+
marketplace_role?: string | null;
|
|
2888
|
+
monthly_rate_usd?: string | null;
|
|
2889
|
+
per_meeting_rate_usd?: string | null;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* Log a meeting that happened outside the integrated calendar.
|
|
2894
|
+
*
|
|
2895
|
+
* Created as `assigned_by='client'` in `status='scheduled'`. Meetings are a
|
|
2896
|
+
* BILLING INPUT: the per-meeting rate bills rows that reach `status='taken'`,
|
|
2897
|
+
* which is a separate client-side transition, not something this call does.
|
|
2898
|
+
*/
|
|
2899
|
+
export interface MeetingCreateRequest {
|
|
2900
|
+
attendees?: Array<Record<string, unknown>>;
|
|
2901
|
+
client_contact_email?: string | null;
|
|
2902
|
+
client_contact_name?: string | null;
|
|
2903
|
+
description?: string | null;
|
|
2904
|
+
/** ISO-8601 datetime. */
|
|
2905
|
+
end_time?: string | null;
|
|
2906
|
+
/** YYYY-MM-DD. */
|
|
2907
|
+
meeting_date: string;
|
|
2908
|
+
meeting_type?: "discovery" | "demo" | "follow_up" | "closing";
|
|
2909
|
+
meeting_url?: string | null;
|
|
2910
|
+
notes?: string | null;
|
|
2911
|
+
/** ISO-8601 datetime. */
|
|
2912
|
+
start_time?: string | null;
|
|
2913
|
+
title?: string | null;
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* One message on a marketplace conversation.
|
|
2918
|
+
*
|
|
2919
|
+
* REACHES A PERSON: every message raises an in-app notification AND sends an
|
|
2920
|
+
* email to the other side.
|
|
2921
|
+
*/
|
|
2922
|
+
export interface MessageSendRequest {
|
|
2923
|
+
text: string;
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
export interface NewEntry {
|
|
2927
|
+
collection: Collection;
|
|
2928
|
+
hiring_id: string;
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
export interface NewPlan {
|
|
2932
|
+
previous_version_id?: string | null;
|
|
2933
|
+
terms: PlanTerms;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
/**
|
|
2937
|
+
* Easy-apply to a published role.
|
|
2938
|
+
*
|
|
2939
|
+
* `resume_url` defaults to the resume already on your profile; with neither,
|
|
2940
|
+
* the app refuses with a 422 naming the missing resume.
|
|
2941
|
+
*/
|
|
2942
|
+
export interface OpportunityApplyRequest {
|
|
2943
|
+
cover_letter?: string | null;
|
|
2944
|
+
/** Omit to use your profile resume. */
|
|
2945
|
+
resume_url?: string | null;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* The client's edit of a meeting its hire ran. Unset fields are untouched.
|
|
2950
|
+
*
|
|
2951
|
+
* Setting `status` to `taken` is the BILLING SIGNAL: that row becomes
|
|
2952
|
+
* chargeable at the engagement's per-meeting rate, and the talent is notified.
|
|
2953
|
+
* Moving `meeting_date` without a `status` flips the row to `rescheduled`.
|
|
2954
|
+
* Both vocabularies are closed here so a typo is a 422 naming the valid values
|
|
2955
|
+
* rather than the app's 400.
|
|
2956
|
+
*/
|
|
2957
|
+
export interface OrgMeetingUpdateRequest {
|
|
2958
|
+
client_contact_email?: string | null;
|
|
2959
|
+
client_contact_name?: string | null;
|
|
2960
|
+
/** YYYY-MM-DD. */
|
|
2961
|
+
meeting_date?: string | null;
|
|
2962
|
+
meeting_type?: ("discovery" | "demo" | "follow_up" | "closing") | null;
|
|
2963
|
+
notes?: string | null;
|
|
2964
|
+
status?: ("scheduled" | "taken" | "rescheduled" | "missed" | "cancelled") | null;
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
export interface PaginationMeta {
|
|
2968
|
+
/** Whether there are more pages */
|
|
2969
|
+
has_next: boolean;
|
|
2970
|
+
/** Items per page */
|
|
2971
|
+
limit: number;
|
|
2972
|
+
/** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
|
|
2973
|
+
next_cursor?: string | null;
|
|
2974
|
+
/** Current page number (1-indexed) */
|
|
2975
|
+
page: number;
|
|
2976
|
+
/** Total number of items */
|
|
2977
|
+
total: number;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
export interface PlanTerms {
|
|
2981
|
+
currency?: "USD";
|
|
2982
|
+
effective_from: string;
|
|
2983
|
+
effective_until?: string | null;
|
|
2984
|
+
eligibility_policy: string;
|
|
2985
|
+
name: string;
|
|
2986
|
+
quality_policy?: string;
|
|
2987
|
+
rules: Array<Rule>;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
export interface Preview {
|
|
2991
|
+
collection: Collection;
|
|
2992
|
+
terms: PlanTerms;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
/** The published rate card. This is the price a client is billed. */
|
|
2996
|
+
export interface RateCardUpdateRequest {
|
|
2997
|
+
availability_status?: ("open" | "limited" | "fully_booked" | "hidden") | null;
|
|
2998
|
+
bio?: string | null;
|
|
2999
|
+
/** Monthly base rate, e.g. '2500.00'. */
|
|
3000
|
+
monthly_rate_usd?: string | null;
|
|
3001
|
+
/** Per-meeting rate, e.g. '75.00'. */
|
|
3002
|
+
per_meeting_rate_usd?: string | null;
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
export interface Reversal {
|
|
3006
|
+
amount: number | string;
|
|
3007
|
+
event_id: string;
|
|
3008
|
+
evidence: string;
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
export interface Rule {
|
|
3012
|
+
name: string;
|
|
3013
|
+
product_ids?: Array<string>;
|
|
3014
|
+
stages: Array<Stage>;
|
|
3015
|
+
target?: "default" | "group" | "product";
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
/** Turn a shortlist of talent into a contacts list in your workspace. */
|
|
3019
|
+
export interface ShortlistExportRequest {
|
|
3020
|
+
/** The new list's title. */
|
|
3021
|
+
name: string;
|
|
3022
|
+
/** Talent profile ids (UUID). Anonymous talent you have not hired are skipped. */
|
|
3023
|
+
sdr_profile_ids: Array<string>;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
export interface Stage {
|
|
3027
|
+
fixed_amount?: number | string;
|
|
3028
|
+
from_month?: number;
|
|
3029
|
+
percentage?: number | string;
|
|
3030
|
+
quality_percentage?: number | string;
|
|
3031
|
+
through_month?: number | null;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
/**
|
|
3035
|
+
* Open a draft statement for one engagement.
|
|
3036
|
+
*
|
|
3037
|
+
* `period_start` / `period_end` / `amount` are accepted for parity with the
|
|
3038
|
+
* app model and IGNORED by it. The billing period is derived server-side (the
|
|
3039
|
+
* previous complete calendar month, or a terminated engagement's earliest
|
|
3040
|
+
* unbilled month) so nobody can pick a window that mis-prorates the retainer,
|
|
3041
|
+
* and the amount is the sum of the statement's line items. They are documented
|
|
3042
|
+
* as ignored rather than dropped from the contract, because dropping a field
|
|
3043
|
+
* the app model declares is what makes a proxy 500 on a required one.
|
|
3044
|
+
*/
|
|
3045
|
+
export interface StatementCreateRequest {
|
|
3046
|
+
activities?: Record<string, unknown> | null;
|
|
3047
|
+
/** IGNORED - derived from the line items. */
|
|
3048
|
+
amount?: number | string | null;
|
|
3049
|
+
currency?: string;
|
|
3050
|
+
/** The hiring/engagement to bill. Must be your own. */
|
|
3051
|
+
engagement_id: string;
|
|
3052
|
+
/** IGNORED - the period is server-derived. */
|
|
3053
|
+
period_end?: string | null;
|
|
3054
|
+
/** IGNORED - the period is server-derived. */
|
|
3055
|
+
period_start?: string | null;
|
|
3056
|
+
summary?: string | null;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
/** The client's reason when returning a statement to its author. */
|
|
3060
|
+
export interface StatementDecisionRequest {
|
|
3061
|
+
reason: string;
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
/**
|
|
3065
|
+
* Edit a draft's free text. Only `summary` and `activities` take effect.
|
|
3066
|
+
*
|
|
3067
|
+
* `amount` and the period are not editable by anyone, on either the talent or
|
|
3068
|
+
* the agency path - they are the base-pay levers the create path deliberately
|
|
3069
|
+
* closes. They stay on the model only because the app model still declares
|
|
3070
|
+
* them.
|
|
3071
|
+
*/
|
|
3072
|
+
export interface StatementUpdateRequest {
|
|
3073
|
+
activities?: Record<string, unknown> | null;
|
|
3074
|
+
/** IGNORED by the update whitelist. */
|
|
3075
|
+
amount?: number | string | null;
|
|
3076
|
+
/** IGNORED by the update whitelist. */
|
|
3077
|
+
period_end?: string | null;
|
|
3078
|
+
/** IGNORED by the update whitelist. */
|
|
3079
|
+
period_start?: string | null;
|
|
3080
|
+
summary?: string | null;
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
export interface SubmitInvoiceRequest {
|
|
3084
|
+
hiring_id: string;
|
|
3085
|
+
/** YYYY-MM-DD */
|
|
3086
|
+
period_end: string;
|
|
3087
|
+
/** YYYY-MM-DD */
|
|
3088
|
+
period_start: string;
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* Partial edit of the caller's own marketplace profile.
|
|
3093
|
+
*
|
|
3094
|
+
* Every field is optional so a wizard can PATCH one step at a time. Changing
|
|
3095
|
+
* `country_code` RECOMPUTES the payout track and cascades to the connect and
|
|
3096
|
+
* payout-account rows - an unsupported country is refused with a 400 rather
|
|
3097
|
+
* than silently landing on a rail that cannot pay it.
|
|
3098
|
+
*
|
|
3099
|
+
* An agency-managed rep may not edit `monthly_rate_usd` /
|
|
3100
|
+
* `per_meeting_rate_usd`: the agency sets the client-facing price and the rep
|
|
3101
|
+
* is not permitted to see or change it (403).
|
|
3102
|
+
*/
|
|
3103
|
+
export interface TalentProfileUpdateRequest {
|
|
3104
|
+
availability_status?: ("open" | "limited" | "fully_booked" | "hidden") | null;
|
|
3105
|
+
bio?: string | null;
|
|
3106
|
+
country_code?: string | null;
|
|
3107
|
+
first_name?: string | null;
|
|
3108
|
+
industries_worked?: Array<unknown> | null;
|
|
3109
|
+
/** Incognito. Buyers see a stable codename until they hire you; the reveal is permanent. */
|
|
3110
|
+
is_anonymous?: boolean | null;
|
|
3111
|
+
last_name?: string | null;
|
|
3112
|
+
linkedin_url?: string | null;
|
|
3113
|
+
marketplace_role?: ("sdr" | "ae" | "gtm_engineer" | "campaign_manager") | null;
|
|
3114
|
+
monthly_rate_usd?: string | null;
|
|
3115
|
+
per_meeting_rate_usd?: string | null;
|
|
3116
|
+
phone?: string | null;
|
|
3117
|
+
skills?: Record<string, unknown> | null;
|
|
3118
|
+
summary?: string | null;
|
|
3119
|
+
tagline?: string | null;
|
|
3120
|
+
tools_experience?: Array<unknown> | null;
|
|
3121
|
+
video_intro_url?: string | null;
|
|
3122
|
+
work_experience?: Array<unknown> | null;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* Employee-side meeting edit — notes + client-contact fields only.
|
|
3127
|
+
*
|
|
3128
|
+
* Mirrors ``UpdateMyMeetingRequest`` in ``self_service_router`` exactly,
|
|
3129
|
+
* which in turn is bounded by the ``SdrMeeting`` ORM columns
|
|
3130
|
+
* (``shared/infrustructure/db/cdp/models/sdr_meeting.py``): only ``notes``,
|
|
3131
|
+
* ``client_contact_name`` and ``client_contact_email`` exist. The field
|
|
3132
|
+
* names here are the raw column names because the update is applied via
|
|
3133
|
+
* ``update(SdrMeeting).values(**updates)`` with no whitelist/rename step —
|
|
3134
|
+
* an unknown key (the old ``contact_name``/``contact_phone``/``contact_title``
|
|
3135
|
+
* /``contact_company``/``contact_linkedin_url`` set) raises SQLAlchemy
|
|
3136
|
+
* "Unconsumed column names" inside the handler and 500s. Lifecycle fields
|
|
3137
|
+
* (status, meeting_date, meeting_type, hiring_id) are intentionally not
|
|
3138
|
+
* editable — those are calendar-driven client-side fields.
|
|
3139
|
+
*/
|
|
3140
|
+
export interface UpdateMyMeetingRequest {
|
|
3141
|
+
client_contact_email?: string | null;
|
|
3142
|
+
client_contact_name?: string | null;
|
|
3143
|
+
notes?: string | null;
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* W-8BEN certification. Non-US payout rails only.
|
|
3148
|
+
*
|
|
3149
|
+
* WRITE-ONLY. The certified payload is encrypted at rest and no published read
|
|
3150
|
+
* returns it - `GET /marketplace/me/payout-account/w8-status` answers with a
|
|
3151
|
+
* boolean and a timestamp and nothing else. Asserted by test.
|
|
3152
|
+
*
|
|
3153
|
+
* `signature` must equal `legal_name` (case-insensitively); the app refuses
|
|
3154
|
+
* otherwise with a 422.
|
|
3155
|
+
*/
|
|
3156
|
+
export interface W8CertifyRequest {
|
|
3157
|
+
/** Must be true - it is the certification itself. */
|
|
3158
|
+
certify_checkbox: boolean;
|
|
3159
|
+
/** ISO 3166-1 alpha-2. */
|
|
3160
|
+
country_of_citizenship: string;
|
|
3161
|
+
date_of_birth: string;
|
|
3162
|
+
foreign_tax_id?: string | null;
|
|
3163
|
+
legal_name: string;
|
|
3164
|
+
permanent_address: string;
|
|
3165
|
+
/** Must match `legal_name`. */
|
|
3166
|
+
signature: string;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
/** Issue a verifiable certificate for one of your own signed engagements. */
|
|
3170
|
+
export interface WorkCertificateIssueRequest {
|
|
3171
|
+
/** Your own signed active/completed engagement (UUID). */
|
|
3172
|
+
hiring_id: string;
|
|
3173
|
+
}
|