@referalli/sdk 0.0.0-stage → 0.3.20
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/CHANGELOG.md +128 -0
- package/LICENSE +21 -0
- package/README.md +236 -2
- package/dist/cjs/attribution.d.ts +105 -0
- package/dist/cjs/attribution.js +200 -0
- package/dist/cjs/browser.d.ts +41 -0
- package/dist/cjs/browser.js +88 -0
- package/dist/cjs/client.d.ts +97 -0
- package/dist/cjs/client.js +301 -0
- package/dist/cjs/consent/adapters/cookiebot.d.ts +7 -0
- package/dist/cjs/consent/adapters/cookiebot.js +49 -0
- package/dist/cjs/consent/adapters/cookiemunch.d.ts +8 -0
- package/dist/cjs/consent/adapters/cookiemunch.js +56 -0
- package/dist/cjs/consent/adapters/custom.d.ts +8 -0
- package/dist/cjs/consent/adapters/custom.js +39 -0
- package/dist/cjs/consent/adapters/didomi.d.ts +9 -0
- package/dist/cjs/consent/adapters/didomi.js +67 -0
- package/dist/cjs/consent/adapters/gcm.d.ts +10 -0
- package/dist/cjs/consent/adapters/gcm.js +78 -0
- package/dist/cjs/consent/adapters/gpp.d.ts +9 -0
- package/dist/cjs/consent/adapters/gpp.js +92 -0
- package/dist/cjs/consent/adapters/none.d.ts +3 -0
- package/dist/cjs/consent/adapters/none.js +30 -0
- package/dist/cjs/consent/adapters/onetrust.d.ts +8 -0
- package/dist/cjs/consent/adapters/onetrust.js +71 -0
- package/dist/cjs/consent/adapters/osano.d.ts +9 -0
- package/dist/cjs/consent/adapters/osano.js +71 -0
- package/dist/cjs/consent/adapters/tcf.d.ts +8 -0
- package/dist/cjs/consent/adapters/tcf.js +79 -0
- package/dist/cjs/consent/adapters/termly.d.ts +10 -0
- package/dist/cjs/consent/adapters/termly.js +61 -0
- package/dist/cjs/consent/adapters/usercentrics.d.ts +9 -0
- package/dist/cjs/consent/adapters/usercentrics.js +106 -0
- package/dist/cjs/consent/conformance.d.ts +22 -0
- package/dist/cjs/consent/conformance.js +33 -0
- package/dist/cjs/consent/gate.d.ts +23 -0
- package/dist/cjs/consent/gate.js +220 -0
- package/dist/cjs/consent/port.d.ts +105 -0
- package/dist/cjs/consent/port.js +72 -0
- package/dist/cjs/consent/registry.d.ts +17 -0
- package/dist/cjs/consent/registry.js +61 -0
- package/dist/cjs/consent/served.d.ts +15 -0
- package/dist/cjs/consent/served.js +26 -0
- package/dist/cjs/core.d.ts +77 -0
- package/dist/cjs/core.js +64 -0
- package/dist/cjs/errors.d.ts +42 -0
- package/dist/cjs/errors.generated.d.ts +183 -0
- package/dist/cjs/errors.generated.js +279 -0
- package/dist/cjs/errors.js +47 -0
- package/dist/cjs/generated.d.ts +15146 -0
- package/dist/cjs/generated.js +625 -0
- package/dist/cjs/index.d.ts +22 -0
- package/dist/cjs/index.js +93 -0
- package/dist/cjs/mobile.d.ts +66 -0
- package/dist/cjs/mobile.js +69 -0
- package/dist/cjs/node.d.ts +209 -0
- package/dist/cjs/node.js +140 -0
- package/dist/cjs/outbox.d.ts +186 -0
- package/dist/cjs/outbox.js +324 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/resources.generated.d.ts +6002 -0
- package/dist/cjs/resources.generated.js +2090 -0
- package/dist/cjs/served.d.ts +25 -0
- package/dist/cjs/served.js +214 -0
- package/dist/cjs/sha256.d.ts +2 -0
- package/dist/cjs/sha256.js +86 -0
- package/dist/cjs/snippet.d.ts +99 -0
- package/dist/cjs/snippet.js +213 -0
- package/dist/cjs/stripe-events.d.ts +25 -0
- package/dist/cjs/stripe-events.js +117 -0
- package/dist/cjs/version.d.ts +2 -0
- package/dist/cjs/version.js +5 -0
- package/dist/cjs/webhooks.d.ts +76 -0
- package/dist/cjs/webhooks.js +159 -0
- package/dist/esm/attribution.d.ts +105 -0
- package/dist/esm/attribution.js +186 -0
- package/dist/esm/browser.d.ts +41 -0
- package/dist/esm/browser.js +68 -0
- package/dist/esm/client.d.ts +97 -0
- package/dist/esm/client.js +297 -0
- package/dist/esm/consent/adapters/cookiebot.d.ts +7 -0
- package/dist/esm/consent/adapters/cookiebot.js +46 -0
- package/dist/esm/consent/adapters/cookiemunch.d.ts +8 -0
- package/dist/esm/consent/adapters/cookiemunch.js +53 -0
- package/dist/esm/consent/adapters/custom.d.ts +8 -0
- package/dist/esm/consent/adapters/custom.js +36 -0
- package/dist/esm/consent/adapters/didomi.d.ts +9 -0
- package/dist/esm/consent/adapters/didomi.js +64 -0
- package/dist/esm/consent/adapters/gcm.d.ts +10 -0
- package/dist/esm/consent/adapters/gcm.js +75 -0
- package/dist/esm/consent/adapters/gpp.d.ts +9 -0
- package/dist/esm/consent/adapters/gpp.js +89 -0
- package/dist/esm/consent/adapters/none.d.ts +3 -0
- package/dist/esm/consent/adapters/none.js +27 -0
- package/dist/esm/consent/adapters/onetrust.d.ts +8 -0
- package/dist/esm/consent/adapters/onetrust.js +68 -0
- package/dist/esm/consent/adapters/osano.d.ts +9 -0
- package/dist/esm/consent/adapters/osano.js +68 -0
- package/dist/esm/consent/adapters/tcf.d.ts +8 -0
- package/dist/esm/consent/adapters/tcf.js +76 -0
- package/dist/esm/consent/adapters/termly.d.ts +10 -0
- package/dist/esm/consent/adapters/termly.js +58 -0
- package/dist/esm/consent/adapters/usercentrics.d.ts +9 -0
- package/dist/esm/consent/adapters/usercentrics.js +103 -0
- package/dist/esm/consent/conformance.d.ts +22 -0
- package/dist/esm/consent/conformance.js +30 -0
- package/dist/esm/consent/gate.d.ts +23 -0
- package/dist/esm/consent/gate.js +217 -0
- package/dist/esm/consent/port.d.ts +105 -0
- package/dist/esm/consent/port.js +67 -0
- package/dist/esm/consent/registry.d.ts +17 -0
- package/dist/esm/consent/registry.js +55 -0
- package/dist/esm/consent/served.d.ts +15 -0
- package/dist/esm/consent/served.js +22 -0
- package/dist/esm/core.d.ts +77 -0
- package/dist/esm/core.js +60 -0
- package/dist/esm/errors.d.ts +42 -0
- package/dist/esm/errors.generated.d.ts +183 -0
- package/dist/esm/errors.generated.js +231 -0
- package/dist/esm/errors.js +40 -0
- package/dist/esm/generated.d.ts +15146 -0
- package/dist/esm/generated.js +622 -0
- package/dist/esm/index.d.ts +22 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/mobile.d.ts +66 -0
- package/dist/esm/mobile.js +64 -0
- package/dist/esm/node.d.ts +209 -0
- package/dist/esm/node.js +135 -0
- package/dist/esm/outbox.d.ts +186 -0
- package/dist/esm/outbox.js +316 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/resources.generated.d.ts +6002 -0
- package/dist/esm/resources.generated.js +2086 -0
- package/dist/esm/served.d.ts +25 -0
- package/dist/esm/served.js +207 -0
- package/dist/esm/sha256.d.ts +2 -0
- package/dist/esm/sha256.js +82 -0
- package/dist/esm/snippet.d.ts +99 -0
- package/dist/esm/snippet.js +210 -0
- package/dist/esm/stripe-events.d.ts +25 -0
- package/dist/esm/stripe-events.js +114 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.js +2 -0
- package/dist/esm/webhooks.d.ts +76 -0
- package/dist/esm/webhooks.js +153 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/package.json +105 -4
- package/src/attribution.ts +216 -0
- package/src/browser.ts +107 -0
- package/src/client.ts +351 -0
- package/src/codegen.ts +130 -0
- package/src/consent/adapters/cookiebot.ts +42 -0
- package/src/consent/adapters/cookiemunch.ts +49 -0
- package/src/consent/adapters/custom.ts +37 -0
- package/src/consent/adapters/didomi.ts +59 -0
- package/src/consent/adapters/gcm.ts +68 -0
- package/src/consent/adapters/gpp.ts +81 -0
- package/src/consent/adapters/none.ts +28 -0
- package/src/consent/adapters/onetrust.ts +64 -0
- package/src/consent/adapters/osano.ts +63 -0
- package/src/consent/adapters/tcf.ts +67 -0
- package/src/consent/adapters/termly.ts +54 -0
- package/src/consent/adapters/usercentrics.ts +97 -0
- package/src/consent/conformance.ts +47 -0
- package/src/consent/gate.ts +216 -0
- package/src/consent/port.ts +148 -0
- package/src/consent/registry.ts +60 -0
- package/src/consent/served.ts +24 -0
- package/src/core.ts +127 -0
- package/src/errors.generated.ts +277 -0
- package/src/errors.ts +57 -0
- package/src/generated.ts +14540 -0
- package/src/index.ts +100 -0
- package/src/mobile.ts +96 -0
- package/src/node.ts +291 -0
- package/src/outbox.ts +452 -0
- package/src/resources.generated.ts +2097 -0
- package/src/served.ts +229 -0
- package/src/sha256.ts +82 -0
- package/src/snippet.ts +305 -0
- package/src/stripe-events.ts +130 -0
- package/src/version.ts +2 -0
- package/src/webhooks.ts +207 -0
|
@@ -0,0 +1,2097 @@
|
|
|
1
|
+
// Generated from the Referalli OpenAPI document by packages/sdkgen. Do not edit by hand:
|
|
2
|
+
// run `pnpm --filter referalli gen` after changing the API.
|
|
3
|
+
import type * as T from './generated.js';
|
|
4
|
+
import type { ListPromise, OperationSpec, PageParams, RequestOptions, Transport } from './core.js';
|
|
5
|
+
|
|
6
|
+
/** The API version this SDK was generated against (sent as `referalli-version`). */
|
|
7
|
+
export const API_VERSION = "2026-11-05";
|
|
8
|
+
|
|
9
|
+
/** Every operation: method, path, path params, query params (wire names), body and response kind. */
|
|
10
|
+
export const operations = {
|
|
11
|
+
deleteApiKeysId: { method: "DELETE", path: "/v1/api-keys/{id}", pathParams: ["id"], query: ["cascade","pair"], body: false, kind: "json" },
|
|
12
|
+
deleteAssetsId: { method: "DELETE", path: "/v1/assets/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
13
|
+
deleteAuthConnectionsId: { method: "DELETE", path: "/v1/auth/connections/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
14
|
+
deleteBillingAccountsAccountRef: { method: "DELETE", path: "/v1/billing/accounts/{accountRef}", pathParams: ["accountRef"], query: [], body: false, kind: "json" },
|
|
15
|
+
deleteBillingConnectionsId: { method: "DELETE", path: "/v1/billing/connections/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
16
|
+
deleteBillingInternalCustomersCustomerRef: { method: "DELETE", path: "/v1/billing/internal-customers/{customerRef}", pathParams: ["customerRef"], query: [], body: false, kind: "json" },
|
|
17
|
+
deleteBrandingDomain: { method: "DELETE", path: "/v1/branding/domain", pathParams: [], query: [], body: false, kind: "json" },
|
|
18
|
+
deleteBrandingLinkDomain: { method: "DELETE", path: "/v1/branding/link-domain", pathParams: [], query: [], body: false, kind: "json" },
|
|
19
|
+
deleteCallConnectionsProvider: { method: "DELETE", path: "/v1/call-connections/{provider}", pathParams: ["provider"], query: [], body: false, kind: "json" },
|
|
20
|
+
deleteCatalogFeedsId: { method: "DELETE", path: "/v1/catalog/feeds/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
21
|
+
deleteCatalogItemsId: { method: "DELETE", path: "/v1/catalog/items/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
22
|
+
deleteCliListenersId: { method: "DELETE", path: "/v1/cli/listeners/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
23
|
+
deleteEmailTemplatesEventLocale: { method: "DELETE", path: "/v1/email/templates/{event}/{locale}", pathParams: ["event","locale"], query: [], body: false, kind: "json" },
|
|
24
|
+
deleteIntegrationsKind: { method: "DELETE", path: "/v1/integrations/{kind}", pathParams: ["kind"], query: [], body: false, kind: "json" },
|
|
25
|
+
deleteOrgAlertsId: { method: "DELETE", path: "/v1/org/alerts/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
26
|
+
deleteOrgMembersUserId: { method: "DELETE", path: "/v1/org/members/{userId}", pathParams: ["userId"], query: [], body: false, kind: "json" },
|
|
27
|
+
deleteOrgSsoDirect: { method: "DELETE", path: "/v1/org/sso/direct", pathParams: [], query: [], body: false, kind: "json" },
|
|
28
|
+
deletePartnerApiTokensId: { method: "DELETE", path: "/v1/partner/api-tokens/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
29
|
+
deletePartnersId: { method: "DELETE", path: "/v1/partners/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
30
|
+
deletePartnerSmartlinksId: { method: "DELETE", path: "/v1/partner/smartlinks/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
31
|
+
deletePayoutConnectionsProvider: { method: "DELETE", path: "/v1/payout-connections/{provider}", pathParams: ["provider"], query: [], body: false, kind: "json" },
|
|
32
|
+
deletePortalThemeDraft: { method: "DELETE", path: "/v1/portal/theme/draft", pathParams: [], query: [], body: false, kind: "json" },
|
|
33
|
+
deletePrivacyExecutorsAdapter: { method: "DELETE", path: "/v1/privacy/executors/{adapter}", pathParams: ["adapter"], query: [], body: false, kind: "json" },
|
|
34
|
+
deleteProductLinksId: { method: "DELETE", path: "/v1/product-links/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
35
|
+
deleteProfitabilityProductsProductRef: { method: "DELETE", path: "/v1/profitability/products/{productRef}", pathParams: ["productRef"], query: [], body: false, kind: "json" },
|
|
36
|
+
deleteProgramsIdCallNumbersNumberId: { method: "DELETE", path: "/v1/programs/{id}/call-numbers/{numberId}", pathParams: ["id","numberId"], query: [], body: false, kind: "json" },
|
|
37
|
+
deleteProgramsIdEmailSettings: { method: "DELETE", path: "/v1/programs/{id}/email-settings", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
38
|
+
deleteProgramsIdLinkDomain: { method: "DELETE", path: "/v1/programs/{id}/link-domain", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
39
|
+
deleteProgramsIdLinkedSourceProgramId: { method: "DELETE", path: "/v1/programs/{id}/linked/{sourceProgramId}", pathParams: ["id","sourceProgramId"], query: [], body: false, kind: "json" },
|
|
40
|
+
deleteRewardsRulesKey: { method: "DELETE", path: "/v1/rewards/rules/{key}", pathParams: ["key"], query: [], body: false, kind: "json" },
|
|
41
|
+
deleteStripeCreditsConnection: { method: "DELETE", path: "/v1/stripe-credits/connection", pathParams: [], query: [], body: false, kind: "json" },
|
|
42
|
+
deleteSupportAppsAdapter: { method: "DELETE", path: "/v1/support/apps/{adapter}", pathParams: ["adapter"], query: [], body: false, kind: "json" },
|
|
43
|
+
deleteWebhookEndpointsId: { method: "DELETE", path: "/v1/webhook-endpoints/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
44
|
+
deleteZapierHooksId: { method: "DELETE", path: "/v1/zapier/hooks/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
45
|
+
getAdminMetrics: { method: "GET", path: "/v1/admin/metrics", pathParams: [], query: [], body: false, kind: "json" },
|
|
46
|
+
getAdminOrgs: { method: "GET", path: "/v1/admin/orgs", pathParams: [], query: ["q","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
47
|
+
getAdminPartnerAccounts: { method: "GET", path: "/v1/admin/partner-accounts", pathParams: [], query: ["flagged","q","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
48
|
+
getAgents: { method: "GET", path: "/v1/agents", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
49
|
+
getAgentsRecommendations: { method: "GET", path: "/v1/agents/recommendations", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
50
|
+
getAnalyticsByChannel: { method: "GET", path: "/v1/analytics/by-channel", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
51
|
+
getAnalyticsByGeo: { method: "GET", path: "/v1/analytics/by-geo", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
52
|
+
getAnalyticsCohortLtv: { method: "GET", path: "/v1/analytics/cohort-ltv", pathParams: [], query: ["months","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
53
|
+
getAnalyticsCouponPerformance: { method: "GET", path: "/v1/analytics/coupon-performance", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
54
|
+
getAnalyticsOverview: { method: "GET", path: "/v1/analytics/overview", pathParams: [], query: ["programId","days"], body: false, kind: "json" },
|
|
55
|
+
getAnalyticsTimeseries: { method: "GET", path: "/v1/analytics/timeseries", pathParams: [], query: ["metric","days","programId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
56
|
+
getApiKeys: { method: "GET", path: "/v1/api-keys", pathParams: [], query: ["mode","owner","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
57
|
+
getApiKeysId: { method: "GET", path: "/v1/api-keys/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
58
|
+
getAssets: { method: "GET", path: "/v1/assets", pathParams: [], query: ["programId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
59
|
+
getAssistantSuggestions: { method: "GET", path: "/v1/assistant/suggestions", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
60
|
+
getAuditLogs: { method: "GET", path: "/v1/audit-logs", pathParams: [], query: ["actor","actorType","action","subjectType","subjectId","created[gte]","created[lte]","limit","starting_after","ending_before"], body: false, kind: "list" },
|
|
61
|
+
getAuthConnections: { method: "GET", path: "/v1/auth/connections", pathParams: [], query: ["programId","provider","instanceId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
62
|
+
getAuthConnectionsId: { method: "GET", path: "/v1/auth/connections/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
63
|
+
getAuthConnectionsIdExport: { method: "GET", path: "/v1/auth/connections/{id}/export", pathParams: ["id"], query: ["customerRef"], body: false, kind: "json", public: true },
|
|
64
|
+
getAuthConnectionsIdUsersCustomerRefReferral: { method: "GET", path: "/v1/auth/connections/{id}/users/{customerRef}/referral", pathParams: ["id","customerRef"], query: [], body: false, kind: "json", public: true },
|
|
65
|
+
getAuthConnectionsProviders: { method: "GET", path: "/v1/auth/connections/providers", pathParams: [], query: [], body: false, kind: "json" },
|
|
66
|
+
getAuthProviders: { method: "GET", path: "/v1/auth/providers", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
67
|
+
getBillingAccountsAccountRef: { method: "GET", path: "/v1/billing/accounts/{accountRef}", pathParams: ["accountRef"], query: [], body: false, kind: "json" },
|
|
68
|
+
getBillingConnections: { method: "GET", path: "/v1/billing/connections", pathParams: [], query: ["programId","provider","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
69
|
+
getBillingConnectionsId: { method: "GET", path: "/v1/billing/connections/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
70
|
+
getBillingEvents: { method: "GET", path: "/v1/billing/events", pathParams: [], query: ["customerRef","status","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
71
|
+
getBillingInternalCustomers: { method: "GET", path: "/v1/billing/internal-customers", pathParams: [], query: [], body: false, kind: "json" },
|
|
72
|
+
getBillingPlan: { method: "GET", path: "/v1/billing/plan", pathParams: [], query: [], body: false, kind: "json" },
|
|
73
|
+
getBranding: { method: "GET", path: "/v1/branding", pathParams: [], query: [], body: false, kind: "json" },
|
|
74
|
+
getCallConnectionsProvider: { method: "GET", path: "/v1/call-connections/{provider}", pathParams: ["provider"], query: [], body: false, kind: "json" },
|
|
75
|
+
getCalls: { method: "GET", path: "/v1/calls", pathParams: [], query: ["programId","partnerId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
76
|
+
getCatalogFeeds: { method: "GET", path: "/v1/catalog/feeds", pathParams: [], query: [], body: false, kind: "json" },
|
|
77
|
+
getCatalogItems: { method: "GET", path: "/v1/catalog/items", pathParams: [], query: ["programId","q","category","limit","cursor"], body: false, kind: "json" },
|
|
78
|
+
getChatlyIdentity: { method: "GET", path: "/v1/chatly/identity", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
79
|
+
getCleanroomConsent: { method: "GET", path: "/v1/cleanroom/consent", pathParams: [], query: ["customerRef"], body: false, kind: "json" },
|
|
80
|
+
getCleanroomQuery: { method: "GET", path: "/v1/cleanroom/query", pathParams: [], query: ["dimension"], body: false, kind: "json" },
|
|
81
|
+
getClicksConsentCoverage: { method: "GET", path: "/v1/clicks/consent-coverage", pathParams: [], query: ["days"], body: false, kind: "json" },
|
|
82
|
+
getClicksId: { method: "GET", path: "/v1/clicks/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
83
|
+
getCliDeviceCodesUserCode: { method: "GET", path: "/v1/cli/device-codes/{userCode}", pathParams: ["userCode"], query: [], body: false, kind: "json" },
|
|
84
|
+
getCliListenersIdEvents: { method: "GET", path: "/v1/cli/listeners/{id}/events", pathParams: ["id"], query: ["wait"], body: false, kind: "json" },
|
|
85
|
+
getCliLogs: { method: "GET", path: "/v1/cli/logs", pathParams: [], query: ["after","wait","limit"], body: false, kind: "json" },
|
|
86
|
+
getCliTopics: { method: "GET", path: "/v1/cli/topics", pathParams: [], query: [], body: false, kind: "json" },
|
|
87
|
+
getCommissionRules: { method: "GET", path: "/v1/commission-rules", pathParams: [], query: ["programId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
88
|
+
getCommissions: { method: "GET", path: "/v1/commissions", pathParams: [], query: ["partnerId","programId","type","referralId","customerRef","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
89
|
+
getCommissionsId: { method: "GET", path: "/v1/commissions/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
90
|
+
getContracts: { method: "GET", path: "/v1/contracts", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
91
|
+
getCoupons: { method: "GET", path: "/v1/coupons", pathParams: [], query: ["programId","partnerId","code","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
92
|
+
getCreators: { method: "GET", path: "/v1/creators", pathParams: [], query: ["q","category","channel","minAudience","minEngagementBps","audienceCountry","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
93
|
+
getCreatorsAccountId: { method: "GET", path: "/v1/creators/{accountId}", pathParams: ["accountId"], query: [], body: false, kind: "json" },
|
|
94
|
+
getDeals: { method: "GET", path: "/v1/deals", pathParams: [], query: ["status","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
95
|
+
getDisputes: { method: "GET", path: "/v1/disputes", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
96
|
+
getEmailSettings: { method: "GET", path: "/v1/email/settings", pathParams: [], query: [], body: false, kind: "json" },
|
|
97
|
+
getEmailTemplates: { method: "GET", path: "/v1/email/templates", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
98
|
+
getEmailUnsubscribe: { method: "GET", path: "/v1/email/unsubscribe", pathParams: [], query: ["t"], body: false, kind: "text", public: true },
|
|
99
|
+
getEmbedSummary: { method: "GET", path: "/v1/embed/summary", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
100
|
+
getEvents: { method: "GET", path: "/v1/events", pathParams: [], query: ["since","topics","after","limit"], body: false, kind: "json" },
|
|
101
|
+
getExportAccounting: { method: "GET", path: "/v1/export/accounting", pathParams: [], query: ["format","year"], body: false, kind: "text" },
|
|
102
|
+
getExportFull: { method: "GET", path: "/v1/export/full", pathParams: [], query: [], body: false, kind: "text" },
|
|
103
|
+
getFraudCases: { method: "GET", path: "/v1/fraud/cases", pathParams: [], query: ["status","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
104
|
+
getFxRates: { method: "GET", path: "/v1/fx-rates", pathParams: [], query: ["base","quote","effectiveAt[gte]","effectiveAt[lte]","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
105
|
+
getGraphql: { method: "GET", path: "/v1/graphql", pathParams: [], query: [], body: false, kind: "json" },
|
|
106
|
+
getHealth: { method: "GET", path: "/v1/health", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
107
|
+
getHostsCurrent: { method: "GET", path: "/v1/hosts/current", pathParams: [], query: ["themePreview"], body: false, kind: "json", public: true },
|
|
108
|
+
getHostsCurrentChatIdentity: { method: "GET", path: "/v1/hosts/current/chat-identity", pathParams: [], query: [], body: false, kind: "json" },
|
|
109
|
+
getHostsCurrentThemeCss: { method: "GET", path: "/v1/hosts/current/theme.css", pathParams: [], query: ["themePreview"], body: false, kind: "text", public: true },
|
|
110
|
+
getIncrementality: { method: "GET", path: "/v1/incrementality", pathParams: [], query: ["programId"], body: false, kind: "json" },
|
|
111
|
+
getIntegrationHealth: { method: "GET", path: "/v1/integration-health", pathParams: [], query: [], body: false, kind: "json" },
|
|
112
|
+
getIntegrations: { method: "GET", path: "/v1/integrations", pathParams: [], query: [], body: false, kind: "json" },
|
|
113
|
+
getIntegrationsDeliveries: { method: "GET", path: "/v1/integrations/deliveries", pathParams: [], query: ["kind","status","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
114
|
+
getInvitations: { method: "GET", path: "/v1/invitations", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
115
|
+
getLinks: { method: "GET", path: "/v1/links", pathParams: [], query: ["programId","partnerId","code","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
116
|
+
getLinksIdQr: { method: "GET", path: "/v1/links/{id}/qr", pathParams: ["id"], query: [], body: false, kind: "text" },
|
|
117
|
+
getLinksIdTimeseries: { method: "GET", path: "/v1/links/{id}/timeseries", pathParams: ["id"], query: ["days"], body: false, kind: "json" },
|
|
118
|
+
getMarketplaceListing: { method: "GET", path: "/v1/marketplace/listing", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
119
|
+
getMe: { method: "GET", path: "/v1/me", pathParams: [], query: [], body: false, kind: "json" },
|
|
120
|
+
getNegotiations: { method: "GET", path: "/v1/negotiations", pathParams: [], query: ["programId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
121
|
+
getNetworkJourney: { method: "GET", path: "/v1/network/journey", pathParams: [], query: ["emailHash","model"], body: false, kind: "json" },
|
|
122
|
+
getNetworkSettings: { method: "GET", path: "/v1/network/settings", pathParams: [], query: [], body: false, kind: "json" },
|
|
123
|
+
getNotifications: { method: "GET", path: "/v1/notifications", pathParams: [], query: ["unread","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
124
|
+
getOnchainConnections: { method: "GET", path: "/v1/onchain/connections", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
125
|
+
getOpenapiJson: { method: "GET", path: "/v1/openapi.json", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
126
|
+
getOpenapiYaml: { method: "GET", path: "/v1/openapi.yaml", pathParams: [], query: [], body: false, kind: "text", public: true },
|
|
127
|
+
getOrg: { method: "GET", path: "/v1/org", pathParams: [], query: [], body: false, kind: "json" },
|
|
128
|
+
getOrgAlerts: { method: "GET", path: "/v1/org/alerts", pathParams: [], query: [], body: false, kind: "json" },
|
|
129
|
+
getOrgConsentPartnersCookiemunch: { method: "GET", path: "/v1/org/consent-partners/cookiemunch", pathParams: [], query: [], body: false, kind: "json" },
|
|
130
|
+
getOrgConsentPartnersCookiemunchEvents: { method: "GET", path: "/v1/org/consent-partners/cookiemunch/events", pathParams: [], query: ["stamp","limit"], body: false, kind: "json" },
|
|
131
|
+
getOrgFxFeed: { method: "GET", path: "/v1/org/fx-feed", pathParams: [], query: [], body: false, kind: "json" },
|
|
132
|
+
getOrgHostedPages: { method: "GET", path: "/v1/org/hosted-pages", pathParams: [], query: [], body: false, kind: "json" },
|
|
133
|
+
getOrgMembers: { method: "GET", path: "/v1/org/members", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
134
|
+
getOrgPayoutSchedule: { method: "GET", path: "/v1/org/payout-schedule", pathParams: [], query: [], body: false, kind: "json" },
|
|
135
|
+
getOrgPortalAuth: { method: "GET", path: "/v1/org/portal-auth", pathParams: [], query: [], body: false, kind: "json" },
|
|
136
|
+
getOrgReferralParams: { method: "GET", path: "/v1/org/referral-params", pathParams: [], query: [], body: false, kind: "json" },
|
|
137
|
+
getOrgRetention: { method: "GET", path: "/v1/org/retention", pathParams: [], query: [], body: false, kind: "json" },
|
|
138
|
+
getOrgSso: { method: "GET", path: "/v1/org/sso", pathParams: [], query: [], body: false, kind: "json" },
|
|
139
|
+
getOrgSsoConnectionsIdSamlMetadata: { method: "GET", path: "/v1/org/sso/connections/{id}/saml-metadata", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
140
|
+
getOrgTaxProfile: { method: "GET", path: "/v1/org/tax-profile", pathParams: [], query: [], body: false, kind: "json" },
|
|
141
|
+
getOrgTrackingConsent: { method: "GET", path: "/v1/org/tracking-consent", pathParams: [], query: [], body: false, kind: "json" },
|
|
142
|
+
getOrgTrackingTokens: { method: "GET", path: "/v1/org/tracking-tokens", pathParams: [], query: [], body: false, kind: "json" },
|
|
143
|
+
getOutreach: { method: "GET", path: "/v1/outreach", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
144
|
+
getPartnerAchievements: { method: "GET", path: "/v1/partner/achievements", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
145
|
+
getPartnerAdvance: { method: "GET", path: "/v1/partner/advance", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
146
|
+
getPartnerAdvanceOffer: { method: "GET", path: "/v1/partner/advance/offer", pathParams: [], query: [], body: false, kind: "json" },
|
|
147
|
+
getPartnerApiTokens: { method: "GET", path: "/v1/partner/api-tokens", pathParams: [], query: [], body: false, kind: "json" },
|
|
148
|
+
getPartnerAssets: { method: "GET", path: "/v1/partner/assets", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
149
|
+
getPartnerCallNumbers: { method: "GET", path: "/v1/partner/call-numbers", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
150
|
+
getPartnerCatalog: { method: "GET", path: "/v1/partner/catalog", pathParams: [], query: ["orgId","programId","q","category","limit","cursor"], body: false, kind: "json" },
|
|
151
|
+
getPartnerContracts: { method: "GET", path: "/v1/partner/contracts", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
152
|
+
getPartnerDeals: { method: "GET", path: "/v1/partner/deals", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
153
|
+
getPartnerDisputes: { method: "GET", path: "/v1/partner/disputes", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
154
|
+
getPartnerFeedsCoupons: { method: "GET", path: "/v1/partner/feeds/coupons", pathParams: [], query: ["programId","format"], body: false, kind: "json" },
|
|
155
|
+
getPartnerFeedsProducts: { method: "GET", path: "/v1/partner/feeds/products", pathParams: [], query: ["programId","format"], body: false, kind: "json" },
|
|
156
|
+
getPartnerGroups: { method: "GET", path: "/v1/partner/groups", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
157
|
+
getPartnerInvitations: { method: "GET", path: "/v1/partner/invitations", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
158
|
+
getPartnerKycStatus: { method: "GET", path: "/v1/partner/kyc/status", pathParams: [], query: [], body: false, kind: "json" },
|
|
159
|
+
getPartnerLinks: { method: "GET", path: "/v1/partner/links", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
160
|
+
getPartnerLinksIdQr: { method: "GET", path: "/v1/partner/links/{id}/qr", pathParams: ["id"], query: [], body: false, kind: "text" },
|
|
161
|
+
getPartnerLinksIdTimeseries: { method: "GET", path: "/v1/partner/links/{id}/timeseries", pathParams: ["id"], query: ["days"], body: false, kind: "json" },
|
|
162
|
+
getPartnerLinksMatch: { method: "GET", path: "/v1/partner/links/match", pathParams: [], query: ["url"], body: false, kind: "json" },
|
|
163
|
+
getPartnerMarketplace: { method: "GET", path: "/v1/partner/marketplace", pathParams: [], query: ["category","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
164
|
+
getPartnerMe: { method: "GET", path: "/v1/partner/me", pathParams: [], query: [], body: false, kind: "json" },
|
|
165
|
+
getPartnerNotifications: { method: "GET", path: "/v1/partner/notifications", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
166
|
+
getPartnerOrgsOrgIdSelfBilling: { method: "GET", path: "/v1/partner/orgs/{orgId}/self-billing", pathParams: ["orgId"], query: [], body: false, kind: "json" },
|
|
167
|
+
getPartnerPassport: { method: "GET", path: "/v1/partner/passport", pathParams: [], query: [], body: false, kind: "json" },
|
|
168
|
+
getPartnerPayouts: { method: "GET", path: "/v1/partner/payouts", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
169
|
+
getPartnerPayoutsIdInvoice: { method: "GET", path: "/v1/partner/payouts/{id}/invoice", pathParams: ["id"], query: ["format"], body: false, kind: "json" },
|
|
170
|
+
getPartnerPostbackLogs: { method: "GET", path: "/v1/partner/postback-logs", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
171
|
+
getPartnerProfile: { method: "GET", path: "/v1/partner/profile", pathParams: [], query: [], body: false, kind: "json" },
|
|
172
|
+
getPartnerProfileVerified: { method: "GET", path: "/v1/partner/profile/verified", pathParams: [], query: [], body: false, kind: "json" },
|
|
173
|
+
getPartnerProgramsProgramIdLeaderboard: { method: "GET", path: "/v1/partner/programs/{programId}/leaderboard", pathParams: ["programId"], query: [], body: false, kind: "json" },
|
|
174
|
+
getPartnerRecruit: { method: "GET", path: "/v1/partner/recruit", pathParams: [], query: [], body: false, kind: "json" },
|
|
175
|
+
getPartnerReferrals: { method: "GET", path: "/v1/partner/referrals", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
176
|
+
getPartnerReferralsIdTransparency: { method: "GET", path: "/v1/partner/referrals/{id}/transparency", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
177
|
+
getPartnerReportsProducts: { method: "GET", path: "/v1/partner/reports/products", pathParams: [], query: ["orgId","programId","from","to","currency","limit","subId","groupBy"], body: false, kind: "json" },
|
|
178
|
+
getPartners: { method: "GET", path: "/v1/partners", pathParams: [], query: ["email","externalRef","programId","status","includeArchived","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
179
|
+
getPartnerSecurity: { method: "GET", path: "/v1/partner/security", pathParams: [], query: [], body: false, kind: "json" },
|
|
180
|
+
getPartnersId: { method: "GET", path: "/v1/partners/{id}", pathParams: ["id"], query: ["programId"], body: false, kind: "json" },
|
|
181
|
+
getPartnersIdBalances: { method: "GET", path: "/v1/partners/{id}/balances", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
182
|
+
getPartnersIdEnrollments: { method: "GET", path: "/v1/partners/{id}/enrollments", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
183
|
+
getPartnersIdPayoutProfile: { method: "GET", path: "/v1/partners/{id}/payout-profile", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
184
|
+
getPartnersIdQuality: { method: "GET", path: "/v1/partners/{id}/quality", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
185
|
+
getPartnersIdStats: { method: "GET", path: "/v1/partners/{id}/stats", pathParams: ["id"], query: ["programId"], body: false, kind: "json" },
|
|
186
|
+
getPartnersIdSummary: { method: "GET", path: "/v1/partners/{id}/summary", pathParams: ["id"], query: ["programId"], body: false, kind: "json" },
|
|
187
|
+
getPartnerSmartlinks: { method: "GET", path: "/v1/partner/smartlinks", pathParams: [], query: [], body: false, kind: "json" },
|
|
188
|
+
getPartnerStats: { method: "GET", path: "/v1/partner/stats", pathParams: [], query: ["subId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
189
|
+
getPartnerStorefronts: { method: "GET", path: "/v1/partner/storefronts", pathParams: [], query: ["orgId","programId"], body: false, kind: "json" },
|
|
190
|
+
getPartnerTaxDocuments: { method: "GET", path: "/v1/partner/tax-documents", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
191
|
+
getPartnerTaxDocumentsId: { method: "GET", path: "/v1/partner/tax-documents/{id}", pathParams: ["id"], query: [], body: false, kind: "text" },
|
|
192
|
+
getPartnerTerms: { method: "GET", path: "/v1/partner/terms", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
193
|
+
getPassportPublicKey: { method: "GET", path: "/v1/passport/public-key", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
194
|
+
getPayoutConnections: { method: "GET", path: "/v1/payout-connections", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
195
|
+
getPayoutRuns: { method: "GET", path: "/v1/payout-runs", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
196
|
+
getPayouts: { method: "GET", path: "/v1/payouts", pathParams: [], query: ["partnerId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
197
|
+
getPayoutsIdInvoice: { method: "GET", path: "/v1/payouts/{id}/invoice", pathParams: ["id"], query: ["format"], body: false, kind: "json" },
|
|
198
|
+
getPlans: { method: "GET", path: "/v1/plans", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
199
|
+
getPortalAuthCurrent: { method: "GET", path: "/v1/portal-auth/current", pathParams: [], query: ["org"], body: false, kind: "json", public: true },
|
|
200
|
+
getPortalTheme: { method: "GET", path: "/v1/portal/theme", pathParams: [], query: [], body: false, kind: "json" },
|
|
201
|
+
getPortalThemeCompiled: { method: "GET", path: "/v1/portal/theme/compiled", pathParams: [], query: ["which"], body: false, kind: "json" },
|
|
202
|
+
getPortalThemeSchema: { method: "GET", path: "/v1/portal/theme/schema", pathParams: [], query: [], body: false, kind: "json" },
|
|
203
|
+
getPortalThemeVersions: { method: "GET", path: "/v1/portal/theme/versions", pathParams: [], query: [], body: false, kind: "json" },
|
|
204
|
+
getPrivacyExecutorRequests: { method: "GET", path: "/v1/privacy/executor-requests", pathParams: [], query: [], body: false, kind: "json" },
|
|
205
|
+
getPrivacyExecutors: { method: "GET", path: "/v1/privacy/executors", pathParams: [], query: [], body: false, kind: "json" },
|
|
206
|
+
getPrivacyExport: { method: "GET", path: "/v1/privacy/export", pathParams: [], query: ["customerRef"], body: false, kind: "json" },
|
|
207
|
+
getPrivacyRequests: { method: "GET", path: "/v1/privacy/requests", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
208
|
+
getPrivacyRequestsId: { method: "GET", path: "/v1/privacy/requests/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
209
|
+
getPrivacyRequestsIdResult: { method: "GET", path: "/v1/privacy/requests/{id}/result", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
210
|
+
getProductLinks: { method: "GET", path: "/v1/product-links", pathParams: [], query: [], body: false, kind: "json" },
|
|
211
|
+
getProfitabilityProducts: { method: "GET", path: "/v1/profitability/products", pathParams: [], query: [], body: false, kind: "json" },
|
|
212
|
+
getProfitabilityProductsProductRef: { method: "GET", path: "/v1/profitability/products/{productRef}", pathParams: ["productRef"], query: [], body: false, kind: "json" },
|
|
213
|
+
getProfitabilityRebuildJobId: { method: "GET", path: "/v1/profitability/rebuild/{jobId}", pathParams: ["jobId"], query: [], body: false, kind: "json" },
|
|
214
|
+
getProfitabilitySettings: { method: "GET", path: "/v1/profitability/settings", pathParams: [], query: ["programId"], body: false, kind: "json" },
|
|
215
|
+
getPrograms: { method: "GET", path: "/v1/programs", pathParams: [], query: ["slug","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
216
|
+
getProgramsHandleAvailability: { method: "GET", path: "/v1/programs/handle-availability", pathParams: [], query: ["handle"], body: false, kind: "json" },
|
|
217
|
+
getProgramsId: { method: "GET", path: "/v1/programs/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
218
|
+
getProgramsIdAutopricing: { method: "GET", path: "/v1/programs/{id}/autopricing", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
219
|
+
getProgramsIdCallNumbers: { method: "GET", path: "/v1/programs/{id}/call-numbers", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
220
|
+
getProgramsIdCreditRail: { method: "GET", path: "/v1/programs/{id}/credit-rail", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
221
|
+
getProgramsIdCreditRailLog: { method: "GET", path: "/v1/programs/{id}/credit-rail/log", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
222
|
+
getProgramsIdEmailSettings: { method: "GET", path: "/v1/programs/{id}/email-settings", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
223
|
+
getProgramsIdEnrollments: { method: "GET", path: "/v1/programs/{id}/enrollments", pathParams: ["id"], query: ["status","partnerId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
224
|
+
getProgramsIdGraph: { method: "GET", path: "/v1/programs/{id}/graph", pathParams: ["id"], query: ["root","depth"], body: false, kind: "json" },
|
|
225
|
+
getProgramsIdGroups: { method: "GET", path: "/v1/programs/{id}/groups", pathParams: ["id"], query: ["includeArchived","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
226
|
+
getProgramsIdLinkDomain: { method: "GET", path: "/v1/programs/{id}/link-domain", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
227
|
+
getProgramsIdLinked: { method: "GET", path: "/v1/programs/{id}/linked", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
228
|
+
getProgramsIdNegotiationPolicy: { method: "GET", path: "/v1/programs/{id}/negotiation-policy", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
229
|
+
getProgramsIdPromotions: { method: "GET", path: "/v1/programs/{id}/promotions", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
230
|
+
getProgramsIdRefereeReward: { method: "GET", path: "/v1/programs/{id}/referee-reward", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
231
|
+
getProgramsIdStoreSetup: { method: "GET", path: "/v1/programs/{id}/store-setup", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
232
|
+
getProgramsIdStripeCredits: { method: "GET", path: "/v1/programs/{id}/stripe-credits", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
233
|
+
getProgramsIdStripeCreditsLog: { method: "GET", path: "/v1/programs/{id}/stripe-credits/log", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
234
|
+
getProgramsIdTerms: { method: "GET", path: "/v1/programs/{id}/terms", pathParams: ["id"], query: ["locale"], body: false, kind: "json" },
|
|
235
|
+
getProgramsIdTermsAcceptances: { method: "GET", path: "/v1/programs/{id}/terms-acceptances", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
236
|
+
getProspects: { method: "GET", path: "/v1/prospects", pathParams: [], query: ["status","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
237
|
+
getPublicProgramsHandle: { method: "GET", path: "/v1/public/programs/{handle}", pathParams: ["handle"], query: ["locale"], body: false, kind: "json", public: true },
|
|
238
|
+
getPublicStorefrontsOrgSlugOrDomainSlug: { method: "GET", path: "/v1/public/storefronts/{orgSlugOrDomain}/{slug}", pathParams: ["orgSlugOrDomain","slug"], query: [], body: false, kind: "json", public: true },
|
|
239
|
+
getReferrals: { method: "GET", path: "/v1/referrals", pathParams: [], query: ["programId","partnerId","status","customerRef","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
240
|
+
getReferralsId: { method: "GET", path: "/v1/referrals/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
241
|
+
getReferralsIdJourney: { method: "GET", path: "/v1/referrals/{id}/journey", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
242
|
+
getReportsFilteredClicks: { method: "GET", path: "/v1/reports/filtered-clicks", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
243
|
+
getReportsPartnerPerformance: { method: "GET", path: "/v1/reports/partner-performance", pathParams: [], query: ["format"], body: false, kind: "json" },
|
|
244
|
+
getReportsProducts: { method: "GET", path: "/v1/reports/products", pathParams: [], query: ["programId","partnerId","from","to","currency","subId","groupBy","limit"], body: false, kind: "json" },
|
|
245
|
+
getRewards: { method: "GET", path: "/v1/rewards", pathParams: [], query: ["status","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
246
|
+
getRewardsGranted: { method: "GET", path: "/v1/rewards/granted", pathParams: [], query: [], body: false, kind: "json" },
|
|
247
|
+
getRewardsLookupCode: { method: "GET", path: "/v1/rewards/lookup/{code}", pathParams: ["code"], query: [], body: false, kind: "json" },
|
|
248
|
+
getRewardsRules: { method: "GET", path: "/v1/rewards/rules", pathParams: [], query: [], body: false, kind: "json" },
|
|
249
|
+
getRoiBreakdown: { method: "GET", path: "/v1/roi/breakdown", pathParams: [], query: ["from","to","programId","partnerId","windowDays","currency","format","by","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
250
|
+
getRoiDataQuality: { method: "GET", path: "/v1/roi/data-quality", pathParams: [], query: ["from","to","format"], body: false, kind: "json" },
|
|
251
|
+
getRoiGrants: { method: "GET", path: "/v1/roi/grants", pathParams: [], query: ["from","to","programId","partnerId","windowDays","currency","format","status","role","paidBack","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
252
|
+
getRoiPartnersIdTrace: { method: "GET", path: "/v1/roi/partners/{id}/trace", pathParams: ["id"], query: ["windowDays","format"], body: false, kind: "json" },
|
|
253
|
+
getRoiPatterns: { method: "GET", path: "/v1/roi/patterns", pathParams: [], query: [], body: false, kind: "json" },
|
|
254
|
+
getRoiPatternsPattern: { method: "GET", path: "/v1/roi/patterns/{pattern}", pathParams: ["pattern"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
255
|
+
getRoiSummary: { method: "GET", path: "/v1/roi/summary", pathParams: [], query: ["from","to","programId","partnerId","windowDays","currency","format","model","includeProjection"], body: false, kind: "json" },
|
|
256
|
+
getRoiTraceCustomerRef: { method: "GET", path: "/v1/roi/trace/{customerRef}", pathParams: ["customerRef"], query: ["windowDays","format"], body: false, kind: "json" },
|
|
257
|
+
getSandboxBillingFixtures: { method: "GET", path: "/v1/sandbox/billing-fixtures", pathParams: [], query: ["provider"], body: false, kind: "json" },
|
|
258
|
+
getSandboxStripeFixtures: { method: "GET", path: "/v1/sandbox/stripe-fixtures", pathParams: [], query: [], body: false, kind: "json" },
|
|
259
|
+
getSetupStatus: { method: "GET", path: "/v1/setup/status", pathParams: [], query: [], body: false, kind: "json" },
|
|
260
|
+
getStatus: { method: "GET", path: "/v1/status", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
261
|
+
getStatusIncidents: { method: "GET", path: "/v1/status/incidents", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list", public: true },
|
|
262
|
+
getStatusIncidentsAtom: { method: "GET", path: "/v1/status/incidents.atom", pathParams: [], query: [], body: false, kind: "text", public: true },
|
|
263
|
+
getStatusIncidentsId: { method: "GET", path: "/v1/status/incidents/{id}", pathParams: ["id"], query: [], body: false, kind: "json", public: true },
|
|
264
|
+
getStripeCreditsConnection: { method: "GET", path: "/v1/stripe-credits/connection", pathParams: [], query: [], body: false, kind: "json" },
|
|
265
|
+
getSupportApps: { method: "GET", path: "/v1/support/apps", pathParams: [], query: [], body: false, kind: "json" },
|
|
266
|
+
getSupportCardsOrgIdAdapter: { method: "GET", path: "/v1/support/cards/{orgId}/{adapter}", pathParams: ["orgId","adapter"], query: ["email","externalId"], body: false, kind: "json", public: true },
|
|
267
|
+
getSupportContext: { method: "GET", path: "/v1/support/context", pathParams: [], query: ["email","customerRef","partnerExternalRef","ext"], body: false, kind: "json" },
|
|
268
|
+
getSupportPlatformChatlyAnswers: { method: "GET", path: "/v1/support/platform/chatly-answers", pathParams: [], query: ["subject","principal","question"], body: false, kind: "json", public: true },
|
|
269
|
+
getTax1099: { method: "GET", path: "/v1/tax/1099", pathParams: [], query: ["year","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
270
|
+
getTax1099Filings: { method: "GET", path: "/v1/tax/1099/filings", pathParams: [], query: ["year","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
271
|
+
getTax1099Preview: { method: "GET", path: "/v1/tax/1099/preview", pathParams: [], query: ["year"], body: false, kind: "json" },
|
|
272
|
+
getTestClock: { method: "GET", path: "/v1/test_clock", pathParams: [], query: [], body: false, kind: "json" },
|
|
273
|
+
getTestEmails: { method: "GET", path: "/v1/test/emails", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
274
|
+
getValueImportJobId: { method: "GET", path: "/v1/value/import/{jobId}", pathParams: ["jobId"], query: [], body: false, kind: "json" },
|
|
275
|
+
getVersions: { method: "GET", path: "/v1/versions", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
276
|
+
getWebhookDeliveries: { method: "GET", path: "/v1/webhook-deliveries", pathParams: [], query: ["endpointId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
277
|
+
getWebhookDeliveriesId: { method: "GET", path: "/v1/webhook-deliveries/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
278
|
+
getWebhookEndpoints: { method: "GET", path: "/v1/webhook-endpoints", pathParams: [], query: ["programId","limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
279
|
+
getWebhookEndpointsId: { method: "GET", path: "/v1/webhook-endpoints/{id}", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
280
|
+
getWebhookEndpointsIdDeliveries: { method: "GET", path: "/v1/webhook-endpoints/{id}/deliveries", pathParams: ["id"], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
281
|
+
getZapierEvents: { method: "GET", path: "/v1/zapier/events", pathParams: [], query: [], body: false, kind: "json" },
|
|
282
|
+
getZapierHooks: { method: "GET", path: "/v1/zapier/hooks", pathParams: [], query: ["limit","starting_after","ending_before","created[gte]","created[lte]"], body: false, kind: "list" },
|
|
283
|
+
getZapierTriggersEvent: { method: "GET", path: "/v1/zapier/triggers/{event}", pathParams: ["event"], query: ["limit"], body: false, kind: "json" },
|
|
284
|
+
patchAdminStatusIncidentsId: { method: "PATCH", path: "/v1/admin/status/incidents/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
285
|
+
patchApiKeysId: { method: "PATCH", path: "/v1/api-keys/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
286
|
+
patchAuthConnectionsId: { method: "PATCH", path: "/v1/auth/connections/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
287
|
+
patchAuthConnectionsIdOrigins: { method: "PATCH", path: "/v1/auth/connections/{id}/origins", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
288
|
+
patchBillingConnectionsId: { method: "PATCH", path: "/v1/billing/connections/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
289
|
+
patchCouponsId: { method: "PATCH", path: "/v1/coupons/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
290
|
+
patchLinksId: { method: "PATCH", path: "/v1/links/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
291
|
+
patchOrg: { method: "PATCH", path: "/v1/org", pathParams: [], query: [], body: true, kind: "json" },
|
|
292
|
+
patchOrgAlertsId: { method: "PATCH", path: "/v1/org/alerts/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
293
|
+
patchOrgConsentPartnersCookiemunchSitesCbid: { method: "PATCH", path: "/v1/org/consent-partners/cookiemunch/sites/{cbid}", pathParams: ["cbid"], query: [], body: true, kind: "json" },
|
|
294
|
+
patchOrgMembersUserId: { method: "PATCH", path: "/v1/org/members/{userId}", pathParams: ["userId"], query: [], body: true, kind: "json" },
|
|
295
|
+
patchOrgSso: { method: "PATCH", path: "/v1/org/sso", pathParams: [], query: [], body: true, kind: "json" },
|
|
296
|
+
patchPartnerGroupsId: { method: "PATCH", path: "/v1/partner-groups/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
297
|
+
patchPartnersId: { method: "PATCH", path: "/v1/partners/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
298
|
+
patchPartnersIdPayoutProfile: { method: "PATCH", path: "/v1/partners/{id}/payout-profile", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
299
|
+
patchPortalThemeDraft: { method: "PATCH", path: "/v1/portal/theme/draft", pathParams: [], query: [], body: true, kind: "json" },
|
|
300
|
+
patchProgramsId: { method: "PATCH", path: "/v1/programs/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
301
|
+
patchReferralsId: { method: "PATCH", path: "/v1/referrals/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
302
|
+
patchWebhookEndpointsId: { method: "PATCH", path: "/v1/webhook-endpoints/{id}", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
303
|
+
postAccountClose: { method: "POST", path: "/v1/account/close", pathParams: [], query: [], body: true, kind: "json" },
|
|
304
|
+
postAdminOrgsIdPlan: { method: "POST", path: "/v1/admin/orgs/{id}/plan", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
305
|
+
postAdminOrgsIdSuspend: { method: "POST", path: "/v1/admin/orgs/{id}/suspend", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
306
|
+
postAdminOrgsIdUnsuspend: { method: "POST", path: "/v1/admin/orgs/{id}/unsuspend", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
307
|
+
postAdminPartnerAccountsIdBan: { method: "POST", path: "/v1/admin/partner-accounts/{id}/ban", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
308
|
+
postAdminPartnerAccountsIdUnban: { method: "POST", path: "/v1/admin/partner-accounts/{id}/unban", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
309
|
+
postAdminStatusIncidents: { method: "POST", path: "/v1/admin/status/incidents", pathParams: [], query: [], body: true, kind: "json" },
|
|
310
|
+
postAdminStatusIncidentsIdUpdates: { method: "POST", path: "/v1/admin/status/incidents/{id}/updates", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
311
|
+
postAgentsRegister: { method: "POST", path: "/v1/agents/register", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
312
|
+
postAnomaliesScan: { method: "POST", path: "/v1/anomalies/scan", pathParams: [], query: [], body: false, kind: "json" },
|
|
313
|
+
postApiKeys: { method: "POST", path: "/v1/api-keys", pathParams: [], query: ["dryRun"], body: true, kind: "json" },
|
|
314
|
+
postApiKeysIdRotate: { method: "POST", path: "/v1/api-keys/{id}/rotate", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
315
|
+
postAssets: { method: "POST", path: "/v1/assets", pathParams: [], query: [], body: true, kind: "json" },
|
|
316
|
+
postAttributionReplay: { method: "POST", path: "/v1/attribution/replay", pathParams: [], query: [], body: true, kind: "json" },
|
|
317
|
+
postAuthBackchannelLogout: { method: "POST", path: "/v1/auth/backchannel-logout", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
318
|
+
postAuthConnections: { method: "POST", path: "/v1/auth/connections", pathParams: [], query: [], body: true, kind: "json" },
|
|
319
|
+
postAuthConnectionsIdAccounts: { method: "POST", path: "/v1/auth/connections/{id}/accounts", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
320
|
+
postAuthConnectionsIdAliases: { method: "POST", path: "/v1/auth/connections/{id}/aliases", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
321
|
+
postAuthConnectionsIdErase: { method: "POST", path: "/v1/auth/connections/{id}/erase", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
322
|
+
postAuthConnectionsIdPartners: { method: "POST", path: "/v1/auth/connections/{id}/partners", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
323
|
+
postAuthConnectionsIdPing: { method: "POST", path: "/v1/auth/connections/{id}/ping", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
324
|
+
postAuthConnectionsIdRevokePreviousSecret: { method: "POST", path: "/v1/auth/connections/{id}/revoke-previous-secret", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
325
|
+
postAuthConnectionsIdRotateSecret: { method: "POST", path: "/v1/auth/connections/{id}/rotate-secret", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
326
|
+
postAuthConnectionsIdSignals: { method: "POST", path: "/v1/auth/connections/{id}/signals", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
327
|
+
postAuthConnectionsIdSignups: { method: "POST", path: "/v1/auth/connections/{id}/signups", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
328
|
+
postAuthConnectionsIdUsers: { method: "POST", path: "/v1/auth/connections/{id}/users", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
329
|
+
postAuthConnectionsIdWidgetTokens: { method: "POST", path: "/v1/auth/connections/{id}/widget-tokens", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
330
|
+
postAuthConnectionsInstall: { method: "POST", path: "/v1/auth/connections/install", pathParams: [], query: [], body: true, kind: "json" },
|
|
331
|
+
postAuthLogout: { method: "POST", path: "/v1/auth/logout", pathParams: [], query: [], body: false, kind: "json", public: true },
|
|
332
|
+
postBillingActivate: { method: "POST", path: "/v1/billing/activate", pathParams: [], query: [], body: true, kind: "json" },
|
|
333
|
+
postBillingCheckout: { method: "POST", path: "/v1/billing/checkout", pathParams: [], query: [], body: true, kind: "json" },
|
|
334
|
+
postBillingConnections: { method: "POST", path: "/v1/billing/connections", pathParams: [], query: [], body: true, kind: "json" },
|
|
335
|
+
postBillingConnectionsIdEvents: { method: "POST", path: "/v1/billing/connections/{id}/events", pathParams: ["id"], query: ["dryRun"], body: true, kind: "json" },
|
|
336
|
+
postBillingConnectionsIdRotateSecret: { method: "POST", path: "/v1/billing/connections/{id}/rotate-secret", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
337
|
+
postBillingConnectionsIdStripeForward: { method: "POST", path: "/v1/billing/connections/{id}/stripe-forward", pathParams: ["id"], query: ["dryRun"], body: true, kind: "json", public: true },
|
|
338
|
+
postBillingConnectionsIdValueMappingPreview: { method: "POST", path: "/v1/billing/connections/{id}/value-mapping/preview", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
339
|
+
postBillingEventsIdRelease: { method: "POST", path: "/v1/billing/events/{id}/release", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
340
|
+
postBillingInternalCustomers: { method: "POST", path: "/v1/billing/internal-customers", pathParams: [], query: [], body: true, kind: "json" },
|
|
341
|
+
postBillingPortal: { method: "POST", path: "/v1/billing/portal", pathParams: [], query: [], body: false, kind: "json" },
|
|
342
|
+
postBrandingDomain: { method: "POST", path: "/v1/branding/domain", pathParams: [], query: [], body: true, kind: "json" },
|
|
343
|
+
postBrandingDomainVerify: { method: "POST", path: "/v1/branding/domain/verify", pathParams: [], query: [], body: false, kind: "json" },
|
|
344
|
+
postBrandingLinkDomain: { method: "POST", path: "/v1/branding/link-domain", pathParams: [], query: [], body: true, kind: "json" },
|
|
345
|
+
postBrandingLinkDomainVerify: { method: "POST", path: "/v1/branding/link-domain/verify", pathParams: [], query: [], body: false, kind: "json" },
|
|
346
|
+
postCatalogFeeds: { method: "POST", path: "/v1/catalog/feeds", pathParams: [], query: [], body: true, kind: "json" },
|
|
347
|
+
postCatalogFeedsIdSync: { method: "POST", path: "/v1/catalog/feeds/{id}/sync", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
348
|
+
postCatalogSync: { method: "POST", path: "/v1/catalog/sync", pathParams: [], query: [], body: true, kind: "json" },
|
|
349
|
+
postCliDeviceCodes: { method: "POST", path: "/v1/cli/device-codes", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
350
|
+
postCliDeviceCodesToken: { method: "POST", path: "/v1/cli/device-codes/token", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
351
|
+
postCliDeviceCodesUserCodeApprove: { method: "POST", path: "/v1/cli/device-codes/{userCode}/approve", pathParams: ["userCode"], query: [], body: true, kind: "json" },
|
|
352
|
+
postCliDeviceCodesUserCodeDeny: { method: "POST", path: "/v1/cli/device-codes/{userCode}/deny", pathParams: ["userCode"], query: [], body: false, kind: "json" },
|
|
353
|
+
postCliListeners: { method: "POST", path: "/v1/cli/listeners", pathParams: [], query: [], body: true, kind: "json" },
|
|
354
|
+
postCliTrigger: { method: "POST", path: "/v1/cli/trigger", pathParams: [], query: [], body: true, kind: "json" },
|
|
355
|
+
postCommissionRules: { method: "POST", path: "/v1/commission-rules", pathParams: [], query: [], body: true, kind: "json" },
|
|
356
|
+
postCommissionsApproveDue: { method: "POST", path: "/v1/commissions/approve-due", pathParams: [], query: [], body: false, kind: "json" },
|
|
357
|
+
postCommissionsIdAdjust: { method: "POST", path: "/v1/commissions/{id}/adjust", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
358
|
+
postCommissionsIdApprove: { method: "POST", path: "/v1/commissions/{id}/approve", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
359
|
+
postCommissionsIdHold: { method: "POST", path: "/v1/commissions/{id}/hold", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
360
|
+
postCommissionsIdSettle: { method: "POST", path: "/v1/commissions/{id}/settle", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
361
|
+
postContracts: { method: "POST", path: "/v1/contracts", pathParams: [], query: [], body: true, kind: "json" },
|
|
362
|
+
postContractsIdSend: { method: "POST", path: "/v1/contracts/{id}/send", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
363
|
+
postCoupons: { method: "POST", path: "/v1/coupons", pathParams: [], query: [], body: true, kind: "json" },
|
|
364
|
+
postCreatorsAccountIdInvite: { method: "POST", path: "/v1/creators/{accountId}/invite", pathParams: ["accountId"], query: [], body: true, kind: "json" },
|
|
365
|
+
postDealsIdApprove: { method: "POST", path: "/v1/deals/{id}/approve", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
366
|
+
postDealsIdReject: { method: "POST", path: "/v1/deals/{id}/reject", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
367
|
+
postDealsIdWon: { method: "POST", path: "/v1/deals/{id}/won", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
368
|
+
postDiscoveryCorpus: { method: "POST", path: "/v1/discovery/corpus", pathParams: [], query: [], body: true, kind: "json" },
|
|
369
|
+
postDiscoverySearch: { method: "POST", path: "/v1/discovery/search", pathParams: [], query: [], body: true, kind: "json" },
|
|
370
|
+
postDisputesIdResolve: { method: "POST", path: "/v1/disputes/{id}/resolve", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
371
|
+
postEmailPreview: { method: "POST", path: "/v1/email/preview", pathParams: [], query: [], body: true, kind: "json" },
|
|
372
|
+
postEmailSettingsVerifyDomain: { method: "POST", path: "/v1/email/settings/verify-domain", pathParams: [], query: [], body: false, kind: "json" },
|
|
373
|
+
postEmailTest: { method: "POST", path: "/v1/email/test", pathParams: [], query: [], body: true, kind: "json" },
|
|
374
|
+
postEmailUnsubscribe: { method: "POST", path: "/v1/email/unsubscribe", pathParams: [], query: ["t"], body: false, kind: "text", public: true },
|
|
375
|
+
postEmbedTokens: { method: "POST", path: "/v1/embed/tokens", pathParams: [], query: [], body: true, kind: "json" },
|
|
376
|
+
postFraudCasesIdResolve: { method: "POST", path: "/v1/fraud/cases/{id}/resolve", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
377
|
+
postFraudDetectRings: { method: "POST", path: "/v1/fraud/detect-rings", pathParams: [], query: [], body: false, kind: "json" },
|
|
378
|
+
postFraudInvalidTrafficScan: { method: "POST", path: "/v1/fraud/invalid-traffic/scan", pathParams: [], query: [], body: true, kind: "json" },
|
|
379
|
+
postFxRates: { method: "POST", path: "/v1/fx-rates", pathParams: [], query: [], body: true, kind: "json" },
|
|
380
|
+
postFxRatesClearOverride: { method: "POST", path: "/v1/fx-rates/clear-override", pathParams: [], query: [], body: true, kind: "json" },
|
|
381
|
+
postFxRatesSync: { method: "POST", path: "/v1/fx-rates/sync", pathParams: [], query: [], body: false, kind: "json" },
|
|
382
|
+
postGraphql: { method: "POST", path: "/v1/graphql", pathParams: [], query: [], body: true, kind: "json" },
|
|
383
|
+
postImportNative: { method: "POST", path: "/v1/import/native", pathParams: [], query: ["dryRun"], body: false, kind: "json" },
|
|
384
|
+
postImportProvider: { method: "POST", path: "/v1/import/{provider}", pathParams: ["provider"], query: ["programId","dryRun","destinationUrl"], body: true, kind: "json" },
|
|
385
|
+
postIntegrationsDeliveriesIdRetry: { method: "POST", path: "/v1/integrations/deliveries/{id}/retry", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
386
|
+
postIntegrationsHubspotTest: { method: "POST", path: "/v1/integrations/hubspot/test", pathParams: [], query: [], body: true, kind: "json" },
|
|
387
|
+
postIntegrationsLucidaTest: { method: "POST", path: "/v1/integrations/lucida/test", pathParams: [], query: [], body: false, kind: "json" },
|
|
388
|
+
postIntegrationsSegmentTest: { method: "POST", path: "/v1/integrations/segment/test", pathParams: [], query: [], body: false, kind: "json" },
|
|
389
|
+
postInvitationsIdWithdraw: { method: "POST", path: "/v1/invitations/{id}/withdraw", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
390
|
+
postLinks: { method: "POST", path: "/v1/links", pathParams: [], query: [], body: true, kind: "json" },
|
|
391
|
+
postMobilePurchases: { method: "POST", path: "/v1/mobile/purchases", pathParams: [], query: [], body: true, kind: "json" },
|
|
392
|
+
postNotificationsIdRead: { method: "POST", path: "/v1/notifications/{id}/read", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
393
|
+
postOauthToken: { method: "POST", path: "/v1/oauth/token", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
394
|
+
postOnchainConnections: { method: "POST", path: "/v1/onchain/connections", pathParams: [], query: [], body: true, kind: "json" },
|
|
395
|
+
postOrgAlerts: { method: "POST", path: "/v1/org/alerts", pathParams: [], query: [], body: true, kind: "json" },
|
|
396
|
+
postOrgAlertsIdTest: { method: "POST", path: "/v1/org/alerts/{id}/test", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
397
|
+
postOrgConsentPartnersCookiemunchLink: { method: "POST", path: "/v1/org/consent-partners/cookiemunch/link", pathParams: [], query: [], body: true, kind: "json" },
|
|
398
|
+
postOrgConsentPartnersCookiemunchLookupTest: { method: "POST", path: "/v1/org/consent-partners/cookiemunch/lookup-test", pathParams: [], query: [], body: true, kind: "json" },
|
|
399
|
+
postOrgConsentPartnersCookiemunchStampsCheck: { method: "POST", path: "/v1/org/consent-partners/cookiemunch/stamps/check", pathParams: [], query: [], body: true, kind: "json" },
|
|
400
|
+
postOrgHostedPagesCheck: { method: "POST", path: "/v1/org/hosted-pages/check", pathParams: [], query: [], body: false, kind: "json" },
|
|
401
|
+
postOrgMembers: { method: "POST", path: "/v1/org/members", pathParams: [], query: [], body: true, kind: "json" },
|
|
402
|
+
postOrgPortalAuthTest: { method: "POST", path: "/v1/org/portal-auth/test", pathParams: [], query: [], body: false, kind: "json" },
|
|
403
|
+
postOrgs: { method: "POST", path: "/v1/orgs", pathParams: [], query: [], body: true, kind: "json" },
|
|
404
|
+
postOrgsOrgIdPrivacyExecutorKey: { method: "POST", path: "/v1/orgs/{orgId}/privacy/executor-key", pathParams: ["orgId"], query: [], body: true, kind: "json", public: true },
|
|
405
|
+
postOrgSsoDirectTest: { method: "POST", path: "/v1/org/sso/direct/test", pathParams: [], query: [], body: false, kind: "json" },
|
|
406
|
+
postOrgSsoLink: { method: "POST", path: "/v1/org/sso/link", pathParams: [], query: [], body: false, kind: "json" },
|
|
407
|
+
postOrgSsoTickets: { method: "POST", path: "/v1/org/sso/tickets", pathParams: [], query: [], body: true, kind: "json" },
|
|
408
|
+
postOrgSsoTicketsIdRevoke: { method: "POST", path: "/v1/org/sso/tickets/{id}/revoke", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
409
|
+
postOutreachDraft: { method: "POST", path: "/v1/outreach/draft", pathParams: [], query: [], body: true, kind: "json" },
|
|
410
|
+
postOutreachIdApprove: { method: "POST", path: "/v1/outreach/{id}/approve", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
411
|
+
postOutreachSendDue: { method: "POST", path: "/v1/outreach/send-due", pathParams: [], query: [], body: false, kind: "json" },
|
|
412
|
+
postPartnerAdvanceAccept: { method: "POST", path: "/v1/partner/advance/accept", pathParams: [], query: [], body: true, kind: "json" },
|
|
413
|
+
postPartnerApiTokens: { method: "POST", path: "/v1/partner/api-tokens", pathParams: [], query: [], body: true, kind: "json" },
|
|
414
|
+
postPartnerAuthWalletNonce: { method: "POST", path: "/v1/partner/auth/wallet/nonce", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
415
|
+
postPartnerAuthWalletVerify: { method: "POST", path: "/v1/partner/auth/wallet/verify", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
416
|
+
postPartnerContractsIdAccept: { method: "POST", path: "/v1/partner/contracts/{id}/accept", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
417
|
+
postPartnerContractsIdDecline: { method: "POST", path: "/v1/partner/contracts/{id}/decline", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
418
|
+
postPartnerDeals: { method: "POST", path: "/v1/partner/deals", pathParams: [], query: [], body: true, kind: "json" },
|
|
419
|
+
postPartnerDisputes: { method: "POST", path: "/v1/partner/disputes", pathParams: [], query: [], body: true, kind: "json" },
|
|
420
|
+
postPartnerInvitationsIdAccept: { method: "POST", path: "/v1/partner/invitations/{id}/accept", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
421
|
+
postPartnerInvitationsIdDecline: { method: "POST", path: "/v1/partner/invitations/{id}/decline", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
422
|
+
postPartnerKycSubmit: { method: "POST", path: "/v1/partner/kyc/submit", pathParams: [], query: [], body: true, kind: "json" },
|
|
423
|
+
postPartnerLinks: { method: "POST", path: "/v1/partner/links", pathParams: [], query: [], body: true, kind: "json" },
|
|
424
|
+
postPartnerLinksDeep: { method: "POST", path: "/v1/partner/links/deep", pathParams: [], query: [], body: true, kind: "json" },
|
|
425
|
+
postPartnerLinksProduct: { method: "POST", path: "/v1/partner/links/product", pathParams: [], query: [], body: true, kind: "json" },
|
|
426
|
+
postPartnerNotificationsIdRead: { method: "POST", path: "/v1/partner/notifications/{id}/read", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
427
|
+
postPartnerOrgsOrgIdSelfBilling: { method: "POST", path: "/v1/partner/orgs/{orgId}/self-billing", pathParams: ["orgId"], query: [], body: true, kind: "json" },
|
|
428
|
+
postPartnerOrgsOrgIdTaxForm: { method: "POST", path: "/v1/partner/orgs/{orgId}/tax-form", pathParams: ["orgId"], query: [], body: true, kind: "json" },
|
|
429
|
+
postPartnerProgramsProgramIdApply: { method: "POST", path: "/v1/partner/programs/{programId}/apply", pathParams: ["programId"], query: [], body: true, kind: "json" },
|
|
430
|
+
postPartners: { method: "POST", path: "/v1/partners", pathParams: [], query: [], body: true, kind: "json" },
|
|
431
|
+
postPartnerSecurityTotpDisable: { method: "POST", path: "/v1/partner/security/totp/disable", pathParams: [], query: [], body: true, kind: "json" },
|
|
432
|
+
postPartnerSecurityTotpEnable: { method: "POST", path: "/v1/partner/security/totp/enable", pathParams: [], query: [], body: true, kind: "json" },
|
|
433
|
+
postPartnerSecurityTotpSetup: { method: "POST", path: "/v1/partner/security/totp/setup", pathParams: [], query: [], body: false, kind: "json" },
|
|
434
|
+
postPartnersIdPortalLink: { method: "POST", path: "/v1/partners/{id}/portal-link", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
435
|
+
postPartnersIdTaxForm: { method: "POST", path: "/v1/partners/{id}/tax-form", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
436
|
+
postPartnerSmartlinks: { method: "POST", path: "/v1/partner/smartlinks", pathParams: [], query: [], body: true, kind: "json" },
|
|
437
|
+
postPartnerStorefrontBarToken: { method: "POST", path: "/v1/partner/storefront-bar/token", pathParams: [], query: [], body: true, kind: "json" },
|
|
438
|
+
postPartnerTermsVersionIdAccept: { method: "POST", path: "/v1/partner/terms/{versionId}/accept", pathParams: ["versionId"], query: [], body: false, kind: "json" },
|
|
439
|
+
postPassportVerify: { method: "POST", path: "/v1/passport/verify", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
440
|
+
postPayoutRuns: { method: "POST", path: "/v1/payout-runs", pathParams: [], query: [], body: false, kind: "json" },
|
|
441
|
+
postPayoutRunsIdCancel: { method: "POST", path: "/v1/payout-runs/{id}/cancel", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
442
|
+
postPayoutRunsIdExecute: { method: "POST", path: "/v1/payout-runs/{id}/execute", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
443
|
+
postPayoutRunsRunScheduled: { method: "POST", path: "/v1/payout-runs/run-scheduled", pathParams: [], query: [], body: false, kind: "json" },
|
|
444
|
+
postPortalThemeImportBrand: { method: "POST", path: "/v1/portal/theme/import-brand", pathParams: [], query: [], body: true, kind: "json" },
|
|
445
|
+
postPortalThemePreview: { method: "POST", path: "/v1/portal/theme/preview", pathParams: [], query: [], body: false, kind: "json" },
|
|
446
|
+
postPortalThemePublish: { method: "POST", path: "/v1/portal/theme/publish", pathParams: [], query: [], body: true, kind: "json" },
|
|
447
|
+
postPortalThemeVersionsIdRestore: { method: "POST", path: "/v1/portal/theme/versions/{id}/restore", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
448
|
+
postPrivacyExecutorKeys: { method: "POST", path: "/v1/privacy/executor-keys", pathParams: [], query: [], body: true, kind: "json" },
|
|
449
|
+
postPrivacyExecutorsAdapterCheck: { method: "POST", path: "/v1/privacy/executors/{adapter}/check", pathParams: ["adapter"], query: [], body: false, kind: "json" },
|
|
450
|
+
postPrivacyForget: { method: "POST", path: "/v1/privacy/forget", pathParams: [], query: [], body: true, kind: "json" },
|
|
451
|
+
postPrivacyLookup: { method: "POST", path: "/v1/privacy/lookup", pathParams: [], query: [], body: true, kind: "json" },
|
|
452
|
+
postPrivacyRequests: { method: "POST", path: "/v1/privacy/requests", pathParams: [], query: [], body: true, kind: "json" },
|
|
453
|
+
postProductLinks: { method: "POST", path: "/v1/product-links", pathParams: [], query: [], body: true, kind: "json" },
|
|
454
|
+
postProfitabilityRebuild: { method: "POST", path: "/v1/profitability/rebuild", pathParams: [], query: [], body: false, kind: "json" },
|
|
455
|
+
postPrograms: { method: "POST", path: "/v1/programs", pathParams: [], query: [], body: true, kind: "json" },
|
|
456
|
+
postProgramsIdApplyLeveling: { method: "POST", path: "/v1/programs/{id}/apply-leveling", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
457
|
+
postProgramsIdAutopriceRun: { method: "POST", path: "/v1/programs/{id}/autoprice/run", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
458
|
+
postProgramsIdCallNumbers: { method: "POST", path: "/v1/programs/{id}/call-numbers", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
459
|
+
postProgramsIdCreditRailRequeue: { method: "POST", path: "/v1/programs/{id}/credit-rail/requeue", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
460
|
+
postProgramsIdEmailSettingsTest: { method: "POST", path: "/v1/programs/{id}/email-settings/test", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
461
|
+
postProgramsIdEmailSettingsVerifyDomain: { method: "POST", path: "/v1/programs/{id}/email-settings/verify-domain", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
462
|
+
postProgramsIdEnrollments: { method: "POST", path: "/v1/programs/{id}/enrollments", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
463
|
+
postProgramsIdEnrollmentsEnrollmentIdApprove: { method: "POST", path: "/v1/programs/{id}/enrollments/{enrollmentId}/approve", pathParams: ["id","enrollmentId"], query: [], body: false, kind: "json" },
|
|
464
|
+
postProgramsIdEnrollmentsEnrollmentIdReject: { method: "POST", path: "/v1/programs/{id}/enrollments/{enrollmentId}/reject", pathParams: ["id","enrollmentId"], query: [], body: false, kind: "json" },
|
|
465
|
+
postProgramsIdGroups: { method: "POST", path: "/v1/programs/{id}/groups", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
466
|
+
postProgramsIdLinkDomainVerify: { method: "POST", path: "/v1/programs/{id}/link-domain/verify", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
467
|
+
postProgramsIdLinked: { method: "POST", path: "/v1/programs/{id}/linked", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
468
|
+
postProgramsIdLinksRepoint: { method: "POST", path: "/v1/programs/{id}/links/repoint", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
469
|
+
postProgramsIdPromotions: { method: "POST", path: "/v1/programs/{id}/promotions", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
470
|
+
postProgramsIdReferrers: { method: "POST", path: "/v1/programs/{id}/referrers", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
471
|
+
postProgramsIdStoreSetup: { method: "POST", path: "/v1/programs/{id}/store-setup", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
472
|
+
postProgramsIdStripeCreditsRequeue: { method: "POST", path: "/v1/programs/{id}/stripe-credits/requeue", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
473
|
+
postPromotionsIdEnd: { method: "POST", path: "/v1/promotions/{id}/end", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
474
|
+
postPublicProgramsHandleJoin: { method: "POST", path: "/v1/public/programs/{handle}/join", pathParams: ["handle"], query: [], body: true, kind: "json" },
|
|
475
|
+
postQualityRecompute: { method: "POST", path: "/v1/quality/recompute", pathParams: [], query: [], body: false, kind: "json" },
|
|
476
|
+
postReferralsAssociate: { method: "POST", path: "/v1/referrals/associate", pathParams: [], query: [], body: true, kind: "json" },
|
|
477
|
+
postReferralsHandoffTokens: { method: "POST", path: "/v1/referrals/handoff-tokens", pathParams: [], query: [], body: true, kind: "json" },
|
|
478
|
+
postReferralsIdApprove: { method: "POST", path: "/v1/referrals/{id}/approve", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
479
|
+
postReferralsIdReassign: { method: "POST", path: "/v1/referrals/{id}/reassign", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
480
|
+
postReferralsIdVoid: { method: "POST", path: "/v1/referrals/{id}/void", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
481
|
+
postRewards: { method: "POST", path: "/v1/rewards", pathParams: [], query: [], body: true, kind: "json" },
|
|
482
|
+
postRewardsIdRedeem: { method: "POST", path: "/v1/rewards/{id}/redeem", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
483
|
+
postRewardsRedeemByCode: { method: "POST", path: "/v1/rewards/redeem-by-code", pathParams: [], query: [], body: true, kind: "json" },
|
|
484
|
+
postRoiPatternsPatternReview: { method: "POST", path: "/v1/roi/patterns/{pattern}/review", pathParams: ["pattern"], query: [], body: true, kind: "json" },
|
|
485
|
+
postSandboxBillingFixtures: { method: "POST", path: "/v1/sandbox/billing-fixtures", pathParams: [], query: [], body: true, kind: "json" },
|
|
486
|
+
postSandboxSimulate: { method: "POST", path: "/v1/sandbox/simulate", pathParams: [], query: [], body: true, kind: "json" },
|
|
487
|
+
postSandboxStripeFixtures: { method: "POST", path: "/v1/sandbox/stripe-fixtures", pathParams: [], query: [], body: true, kind: "json" },
|
|
488
|
+
postSupportAppsAdapterTest: { method: "POST", path: "/v1/support/apps/{adapter}/test", pathParams: ["adapter"], query: [], body: true, kind: "json" },
|
|
489
|
+
postSupportCardsOrgIdAdapter: { method: "POST", path: "/v1/support/cards/{orgId}/{adapter}", pathParams: ["orgId","adapter"], query: [], body: true, kind: "json", public: true },
|
|
490
|
+
postSupportPlatformChatlyCard: { method: "POST", path: "/v1/support/platform/chatly-card", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
491
|
+
postTax1099DocumentsIdCorrect: { method: "POST", path: "/v1/tax/1099/documents/{id}/correct", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
492
|
+
postTax1099Filings: { method: "POST", path: "/v1/tax/1099/filings", pathParams: [], query: [], body: true, kind: "json" },
|
|
493
|
+
postTax1099FilingsIdRefresh: { method: "POST", path: "/v1/tax/1099/filings/{id}/refresh", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
494
|
+
postTestClockAdvance: { method: "POST", path: "/v1/test_clock/advance", pathParams: [], query: [], body: true, kind: "json" },
|
|
495
|
+
postTrackEvents: { method: "POST", path: "/v1/track/events", pathParams: [], query: [], body: true, kind: "json" },
|
|
496
|
+
postUnsubscribeToken: { method: "POST", path: "/v1/unsubscribe/{token}", pathParams: ["token"], query: [], body: false, kind: "json", public: true },
|
|
497
|
+
postValueEvents: { method: "POST", path: "/v1/value/events", pathParams: [], query: [], body: true, kind: "json" },
|
|
498
|
+
postValueImport: { method: "POST", path: "/v1/value/import", pathParams: [], query: [], body: true, kind: "json" },
|
|
499
|
+
postWebhookDeliveriesIdReplay: { method: "POST", path: "/v1/webhook-deliveries/{id}/replay", pathParams: ["id"], query: [], body: false, kind: "json" },
|
|
500
|
+
postWebhookEndpoints: { method: "POST", path: "/v1/webhook-endpoints", pathParams: [], query: [], body: true, kind: "json" },
|
|
501
|
+
postWebhookEndpointsIdReplay: { method: "POST", path: "/v1/webhook-endpoints/{id}/replay", pathParams: ["id"], query: ["since"], body: false, kind: "json" },
|
|
502
|
+
postWebhookEndpointsIdRotateSecret: { method: "POST", path: "/v1/webhook-endpoints/{id}/rotate-secret", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
503
|
+
postWidgetSession: { method: "POST", path: "/v1/widget/session", pathParams: [], query: [], body: true, kind: "json", public: true },
|
|
504
|
+
postWidgetTokens: { method: "POST", path: "/v1/widget/tokens", pathParams: [], query: [], body: true, kind: "json" },
|
|
505
|
+
postZapierConversions: { method: "POST", path: "/v1/zapier/conversions", pathParams: [], query: [], body: true, kind: "json" },
|
|
506
|
+
postZapierHooks: { method: "POST", path: "/v1/zapier/hooks", pathParams: [], query: [], body: true, kind: "json" },
|
|
507
|
+
putAuthConnectionsIdOrigins: { method: "PUT", path: "/v1/auth/connections/{id}/origins", pathParams: ["id"], query: [], body: true, kind: "json", public: true },
|
|
508
|
+
putAuthConnectionsIdSecret: { method: "PUT", path: "/v1/auth/connections/{id}/secret", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
509
|
+
putBillingAccountsAccountRefOwner: { method: "PUT", path: "/v1/billing/accounts/{accountRef}/owner", pathParams: ["accountRef"], query: [], body: true, kind: "json" },
|
|
510
|
+
putBillingConnectionsIdCredentials: { method: "PUT", path: "/v1/billing/connections/{id}/credentials", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
511
|
+
putBillingConnectionsIdSecret: { method: "PUT", path: "/v1/billing/connections/{id}/secret", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
512
|
+
putBillingConnectionsIdValueMapping: { method: "PUT", path: "/v1/billing/connections/{id}/value-mapping", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
513
|
+
putBranding: { method: "PUT", path: "/v1/branding", pathParams: [], query: [], body: true, kind: "json" },
|
|
514
|
+
putCallConnectionsProvider: { method: "PUT", path: "/v1/call-connections/{provider}", pathParams: ["provider"], query: [], body: true, kind: "json" },
|
|
515
|
+
putCatalogItems: { method: "PUT", path: "/v1/catalog/items", pathParams: [], query: [], body: true, kind: "json" },
|
|
516
|
+
putEmailSettings: { method: "PUT", path: "/v1/email/settings", pathParams: [], query: [], body: true, kind: "json" },
|
|
517
|
+
putEmailTemplatesEventLocale: { method: "PUT", path: "/v1/email/templates/{event}/{locale}", pathParams: ["event","locale"], query: [], body: true, kind: "json" },
|
|
518
|
+
putIntegrationsHubspot: { method: "PUT", path: "/v1/integrations/hubspot", pathParams: [], query: [], body: true, kind: "json" },
|
|
519
|
+
putIntegrationsLucida: { method: "PUT", path: "/v1/integrations/lucida", pathParams: [], query: [], body: true, kind: "json" },
|
|
520
|
+
putIntegrationsSegment: { method: "PUT", path: "/v1/integrations/segment", pathParams: [], query: [], body: true, kind: "json" },
|
|
521
|
+
putMarketplaceListing: { method: "PUT", path: "/v1/marketplace/listing", pathParams: [], query: [], body: true, kind: "json" },
|
|
522
|
+
putMeLocale: { method: "PUT", path: "/v1/me/locale", pathParams: [], query: [], body: true, kind: "json" },
|
|
523
|
+
putMeRoiDigest: { method: "PUT", path: "/v1/me/roi-digest", pathParams: [], query: [], body: true, kind: "json" },
|
|
524
|
+
putNetworkSettings: { method: "PUT", path: "/v1/network/settings", pathParams: [], query: [], body: true, kind: "json" },
|
|
525
|
+
putOrgConsentPartnersCookiemunch: { method: "PUT", path: "/v1/org/consent-partners/cookiemunch", pathParams: [], query: [], body: true, kind: "json" },
|
|
526
|
+
putOrgFxFeed: { method: "PUT", path: "/v1/org/fx-feed", pathParams: [], query: [], body: true, kind: "json" },
|
|
527
|
+
putOrgHostedPages: { method: "PUT", path: "/v1/org/hosted-pages", pathParams: [], query: [], body: true, kind: "json" },
|
|
528
|
+
putOrgPayoutSchedule: { method: "PUT", path: "/v1/org/payout-schedule", pathParams: [], query: [], body: true, kind: "json" },
|
|
529
|
+
putOrgPortalAuth: { method: "PUT", path: "/v1/org/portal-auth", pathParams: [], query: [], body: true, kind: "json" },
|
|
530
|
+
putOrgReferralParams: { method: "PUT", path: "/v1/org/referral-params", pathParams: [], query: [], body: true, kind: "json" },
|
|
531
|
+
putOrgRetention: { method: "PUT", path: "/v1/org/retention", pathParams: [], query: [], body: true, kind: "json" },
|
|
532
|
+
putOrgSsoDirect: { method: "PUT", path: "/v1/org/sso/direct", pathParams: [], query: [], body: true, kind: "json" },
|
|
533
|
+
putOrgTaxFiling: { method: "PUT", path: "/v1/org/tax-filing", pathParams: [], query: [], body: true, kind: "json" },
|
|
534
|
+
putOrgTaxProfile: { method: "PUT", path: "/v1/org/tax-profile", pathParams: [], query: [], body: true, kind: "json" },
|
|
535
|
+
putOrgTrackingConsent: { method: "PUT", path: "/v1/org/tracking-consent", pathParams: [], query: [], body: true, kind: "json" },
|
|
536
|
+
putPartnerLocale: { method: "PUT", path: "/v1/partner/locale", pathParams: [], query: [], body: true, kind: "json" },
|
|
537
|
+
putPartnerOrgsOrgIdPayoutProfile: { method: "PUT", path: "/v1/partner/orgs/{orgId}/payout-profile", pathParams: ["orgId"], query: [], body: true, kind: "json" },
|
|
538
|
+
putPartnerOrgsOrgIdPostback: { method: "PUT", path: "/v1/partner/orgs/{orgId}/postback", pathParams: ["orgId"], query: [], body: true, kind: "json" },
|
|
539
|
+
putPartnerOrgsOrgIdVat: { method: "PUT", path: "/v1/partner/orgs/{orgId}/vat", pathParams: ["orgId"], query: [], body: true, kind: "json" },
|
|
540
|
+
putPartnerProfile: { method: "PUT", path: "/v1/partner/profile", pathParams: [], query: [], body: true, kind: "json" },
|
|
541
|
+
putPartnersIdPayoutProfile: { method: "PUT", path: "/v1/partners/{id}/payout-profile", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
542
|
+
putPartnersIdVat: { method: "PUT", path: "/v1/partners/{id}/vat", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
543
|
+
putPartnerStorefronts: { method: "PUT", path: "/v1/partner/storefronts", pathParams: [], query: ["orgId","programId"], body: true, kind: "json" },
|
|
544
|
+
putPartnerStorefrontsIdItems: { method: "PUT", path: "/v1/partner/storefronts/{id}/items", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
545
|
+
putPayoutConnectionsProvider: { method: "PUT", path: "/v1/payout-connections/{provider}", pathParams: ["provider"], query: [], body: true, kind: "json" },
|
|
546
|
+
putPortalThemeDraft: { method: "PUT", path: "/v1/portal/theme/draft", pathParams: [], query: [], body: true, kind: "json" },
|
|
547
|
+
putProfitabilityProductsProductRef: { method: "PUT", path: "/v1/profitability/products/{productRef}", pathParams: ["productRef"], query: [], body: true, kind: "json" },
|
|
548
|
+
putProfitabilitySettings: { method: "PUT", path: "/v1/profitability/settings", pathParams: [], query: [], body: true, kind: "json" },
|
|
549
|
+
putProgramsIdAutopricing: { method: "PUT", path: "/v1/programs/{id}/autopricing", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
550
|
+
putProgramsIdCommissionRule: { method: "PUT", path: "/v1/programs/{id}/commission-rule", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
551
|
+
putProgramsIdCreditRail: { method: "PUT", path: "/v1/programs/{id}/credit-rail", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
552
|
+
putProgramsIdEmailSettings: { method: "PUT", path: "/v1/programs/{id}/email-settings", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
553
|
+
putProgramsIdIncrementality: { method: "PUT", path: "/v1/programs/{id}/incrementality", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
554
|
+
putProgramsIdLinkDomain: { method: "PUT", path: "/v1/programs/{id}/link-domain", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
555
|
+
putProgramsIdNegotiationPolicy: { method: "PUT", path: "/v1/programs/{id}/negotiation-policy", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
556
|
+
putProgramsIdPartnersPartnerIdGroup: { method: "PUT", path: "/v1/programs/{id}/partners/{partnerId}/group", pathParams: ["id","partnerId"], query: [], body: true, kind: "json" },
|
|
557
|
+
putProgramsIdPayoutSchedule: { method: "PUT", path: "/v1/programs/{id}/payout-schedule", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
558
|
+
putProgramsIdRefereeReward: { method: "PUT", path: "/v1/programs/{id}/referee-reward", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
559
|
+
putProgramsIdStripeCredits: { method: "PUT", path: "/v1/programs/{id}/stripe-credits", pathParams: ["id"], query: [], body: true, kind: "json" },
|
|
560
|
+
putRewardsRulesKey: { method: "PUT", path: "/v1/rewards/rules/{key}", pathParams: ["key"], query: [], body: true, kind: "json" },
|
|
561
|
+
putStripeCreditsConnection: { method: "PUT", path: "/v1/stripe-credits/connection", pathParams: [], query: [], body: true, kind: "json" },
|
|
562
|
+
putSupportAppsAdapter: { method: "PUT", path: "/v1/support/apps/{adapter}", pathParams: ["adapter"], query: [], body: true, kind: "json" },
|
|
563
|
+
} as const satisfies Record<string, OperationSpec>;
|
|
564
|
+
|
|
565
|
+
export type OperationId = keyof typeof operations;
|
|
566
|
+
|
|
567
|
+
/** Every operation as a typed method, grouped by resource. */
|
|
568
|
+
export function buildResources(t: Transport) {
|
|
569
|
+
return {
|
|
570
|
+
account: {
|
|
571
|
+
/** Close your own account. POST /v1/account/close */
|
|
572
|
+
close: (body: T.PostAccountCloseBody, options?: RequestOptions): Promise<T.PostAccountCloseResponse> => t.op("postAccountClose", { body }, options),
|
|
573
|
+
},
|
|
574
|
+
admin: {
|
|
575
|
+
/** Get platform metrics. GET /v1/admin/metrics */
|
|
576
|
+
metrics: (options?: RequestOptions): Promise<T.GetAdminMetricsResponse> => t.op("getAdminMetrics", { }, options),
|
|
577
|
+
orgs: {
|
|
578
|
+
/** List organizations. GET /v1/admin/orgs */
|
|
579
|
+
list: (query?: (T.GetAdminOrgsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAdminOrgsResponse['data'][number], T.GetAdminOrgsResponse> => t.list("getAdminOrgs", { query }, options),
|
|
580
|
+
/** Set an organization's plan. POST /v1/admin/orgs/{id}/plan */
|
|
581
|
+
plan: (id: string, body: T.PostAdminOrgsIdPlanBody, options?: RequestOptions): Promise<T.PostAdminOrgsIdPlanResponse> => t.op("postAdminOrgsIdPlan", { path: { id }, body }, options),
|
|
582
|
+
/** Suspend an organization. POST /v1/admin/orgs/{id}/suspend */
|
|
583
|
+
suspend: (id: string, body: T.PostAdminOrgsIdSuspendBody, options?: RequestOptions): Promise<T.PostAdminOrgsIdSuspendResponse> => t.op("postAdminOrgsIdSuspend", { path: { id }, body }, options),
|
|
584
|
+
/** Unsuspend an organization. POST /v1/admin/orgs/{id}/unsuspend */
|
|
585
|
+
unsuspend: (id: string, options?: RequestOptions): Promise<T.PostAdminOrgsIdUnsuspendResponse> => t.op("postAdminOrgsIdUnsuspend", { path: { id } }, options),
|
|
586
|
+
},
|
|
587
|
+
partnerAccounts: {
|
|
588
|
+
/** List partner accounts. GET /v1/admin/partner-accounts */
|
|
589
|
+
list: (query?: (T.GetAdminPartnerAccountsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAdminPartnerAccountsResponse['data'][number], T.GetAdminPartnerAccountsResponse> => t.list("getAdminPartnerAccounts", { query }, options),
|
|
590
|
+
/** Ban a partner account. POST /v1/admin/partner-accounts/{id}/ban */
|
|
591
|
+
ban: (id: string, options?: RequestOptions): Promise<T.PostAdminPartnerAccountsIdBanResponse> => t.op("postAdminPartnerAccountsIdBan", { path: { id } }, options),
|
|
592
|
+
/** Unban a partner account. POST /v1/admin/partner-accounts/{id}/unban */
|
|
593
|
+
unban: (id: string, options?: RequestOptions): Promise<T.PostAdminPartnerAccountsIdUnbanResponse> => t.op("postAdminPartnerAccountsIdUnban", { path: { id } }, options),
|
|
594
|
+
},
|
|
595
|
+
status: {
|
|
596
|
+
incidents: {
|
|
597
|
+
/** Edit a status incident. PATCH /v1/admin/status/incidents/{id} */
|
|
598
|
+
update: (id: string, body: T.PatchAdminStatusIncidentsIdBody, options?: RequestOptions): Promise<T.PatchAdminStatusIncidentsIdResponse> => t.op("patchAdminStatusIncidentsId", { path: { id }, body }, options),
|
|
599
|
+
/** Open a status incident. POST /v1/admin/status/incidents */
|
|
600
|
+
create: (body: T.PostAdminStatusIncidentsBody, options?: RequestOptions): Promise<T.PostAdminStatusIncidentsResponse> => t.op("postAdminStatusIncidents", { body }, options),
|
|
601
|
+
/** Post an incident update. POST /v1/admin/status/incidents/{id}/updates */
|
|
602
|
+
updates: (id: string, body: T.PostAdminStatusIncidentsIdUpdatesBody, options?: RequestOptions): Promise<T.PostAdminStatusIncidentsIdUpdatesResponse> => t.op("postAdminStatusIncidentsIdUpdates", { path: { id }, body }, options),
|
|
603
|
+
},
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
agents: {
|
|
607
|
+
/** List partnered AI agents. GET /v1/agents */
|
|
608
|
+
list: (query?: (T.GetAgentsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAgentsResponse['data'][number], T.GetAgentsResponse> => t.list("getAgents", { query }, options),
|
|
609
|
+
/** List agent recommendations. GET /v1/agents/recommendations */
|
|
610
|
+
recommendations: (query?: (T.GetAgentsRecommendationsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAgentsRecommendationsResponse['data'][number], T.GetAgentsRecommendationsResponse> => t.list("getAgentsRecommendations", { query }, options),
|
|
611
|
+
/** Register an AI agent. POST /v1/agents/register */
|
|
612
|
+
register: (body: T.PostAgentsRegisterBody, options?: RequestOptions): Promise<T.PostAgentsRegisterResponse> => t.op("postAgentsRegister", { body }, options),
|
|
613
|
+
},
|
|
614
|
+
analytics: {
|
|
615
|
+
/** Get revenue by channel. GET /v1/analytics/by-channel */
|
|
616
|
+
byChannel: (query?: (T.GetAnalyticsByChannelQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAnalyticsByChannelResponse['data'][number], T.GetAnalyticsByChannelResponse> => t.list("getAnalyticsByChannel", { query }, options),
|
|
617
|
+
/** Get revenue by country. GET /v1/analytics/by-geo */
|
|
618
|
+
byGeo: (query?: (T.GetAnalyticsByGeoQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAnalyticsByGeoResponse['data'][number], T.GetAnalyticsByGeoResponse> => t.list("getAnalyticsByGeo", { query }, options),
|
|
619
|
+
/** Get cohort LTV. GET /v1/analytics/cohort-ltv */
|
|
620
|
+
cohortLtv: (query?: (T.GetAnalyticsCohortLtvQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAnalyticsCohortLtvResponse['data'][number], T.GetAnalyticsCohortLtvResponse> => t.list("getAnalyticsCohortLtv", { query }, options),
|
|
621
|
+
/** Get coupon performance. GET /v1/analytics/coupon-performance */
|
|
622
|
+
couponPerformance: (query?: (T.GetAnalyticsCouponPerformanceQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAnalyticsCouponPerformanceResponse['data'][number], T.GetAnalyticsCouponPerformanceResponse> => t.list("getAnalyticsCouponPerformance", { query }, options),
|
|
623
|
+
/** Get the funnel overview. GET /v1/analytics/overview */
|
|
624
|
+
overview: (query?: (T.GetAnalyticsOverviewQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetAnalyticsOverviewResponse> => t.op("getAnalyticsOverview", { query }, options),
|
|
625
|
+
/** Get a daily time series. GET /v1/analytics/timeseries */
|
|
626
|
+
timeseries: (query: T.GetAnalyticsTimeseriesQuery & PageParams, options?: RequestOptions): ListPromise<T.GetAnalyticsTimeseriesResponse['data'][number], T.GetAnalyticsTimeseriesResponse> => t.list("getAnalyticsTimeseries", { query }, options),
|
|
627
|
+
},
|
|
628
|
+
anomalies: {
|
|
629
|
+
/** Scan for anomalies. POST /v1/anomalies/scan */
|
|
630
|
+
scan: (options?: RequestOptions): Promise<T.PostAnomaliesScanResponse> => t.op("postAnomaliesScan", { }, options),
|
|
631
|
+
},
|
|
632
|
+
apiKeys: {
|
|
633
|
+
/** Revoke an API key. DELETE /v1/api-keys/{id} */
|
|
634
|
+
delete: (id: string, query?: (T.DeleteApiKeysIdQuery) | RequestOptions, options?: RequestOptions): Promise<T.DeleteApiKeysIdResponse> => t.op("deleteApiKeysId", { path: { id }, query }, options),
|
|
635
|
+
/** List API keys. GET /v1/api-keys */
|
|
636
|
+
list: (query?: (T.GetApiKeysQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetApiKeysResponse['data'][number], T.GetApiKeysResponse> => t.list("getApiKeys", { query }, options),
|
|
637
|
+
/** Get an API key. GET /v1/api-keys/{id} */
|
|
638
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetApiKeysIdResponse> => t.op("getApiKeysId", { path: { id } }, options),
|
|
639
|
+
/** Update an API key. PATCH /v1/api-keys/{id} */
|
|
640
|
+
update: (id: string, body: T.PatchApiKeysIdBody, options?: RequestOptions): Promise<T.PatchApiKeysIdResponse> => t.op("patchApiKeysId", { path: { id }, body }, options),
|
|
641
|
+
/** Create an API key. POST /v1/api-keys */
|
|
642
|
+
create: (body: T.PostApiKeysBody, query?: (T.PostApiKeysQuery) | RequestOptions, options?: RequestOptions): Promise<T.PostApiKeysResponse> => t.op("postApiKeys", { body, query }, options),
|
|
643
|
+
/** Rotate an API key. POST /v1/api-keys/{id}/rotate */
|
|
644
|
+
rotate: (id: string, body: T.PostApiKeysIdRotateBody, options?: RequestOptions): Promise<T.PostApiKeysIdRotateResponse> => t.op("postApiKeysIdRotate", { path: { id }, body }, options),
|
|
645
|
+
},
|
|
646
|
+
assets: {
|
|
647
|
+
/** Delete a marketing asset. DELETE /v1/assets/{id} */
|
|
648
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteAssetsIdResponse> => t.op("deleteAssetsId", { path: { id } }, options),
|
|
649
|
+
/** List marketing assets. GET /v1/assets */
|
|
650
|
+
list: (query?: (T.GetAssetsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAssetsResponse['data'][number], T.GetAssetsResponse> => t.list("getAssets", { query }, options),
|
|
651
|
+
/** Create a marketing asset. POST /v1/assets */
|
|
652
|
+
create: (body: T.PostAssetsBody, options?: RequestOptions): Promise<T.PostAssetsResponse> => t.op("postAssets", { body }, options),
|
|
653
|
+
},
|
|
654
|
+
assistant: {
|
|
655
|
+
/** Get program suggestions. GET /v1/assistant/suggestions */
|
|
656
|
+
suggestions: (query?: (T.GetAssistantSuggestionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAssistantSuggestionsResponse['data'][number], T.GetAssistantSuggestionsResponse> => t.list("getAssistantSuggestions", { query }, options),
|
|
657
|
+
},
|
|
658
|
+
attribution: {
|
|
659
|
+
/** Replay attribution. POST /v1/attribution/replay */
|
|
660
|
+
replay: (body: T.PostAttributionReplayBody, options?: RequestOptions): Promise<T.PostAttributionReplayResponse> => t.op("postAttributionReplay", { body }, options),
|
|
661
|
+
},
|
|
662
|
+
auditLogs: {
|
|
663
|
+
/** List audit log entries. GET /v1/audit-logs */
|
|
664
|
+
list: (query?: (T.GetAuditLogsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAuditLogsResponse['data'][number], T.GetAuditLogsResponse> => t.list("getAuditLogs", { query }, options),
|
|
665
|
+
},
|
|
666
|
+
auth: {
|
|
667
|
+
/** List sign-in providers. GET /v1/auth/providers */
|
|
668
|
+
providers: (options?: RequestOptions): Promise<T.GetAuthProvidersResponse> => t.op("getAuthProviders", { }, options),
|
|
669
|
+
/** Receive an OpenID Connect back-channel logout. POST /v1/auth/backchannel-logout */
|
|
670
|
+
backchannelLogout: (body: T.PostAuthBackchannelLogoutBody, options?: RequestOptions): Promise<T.PostAuthBackchannelLogoutResponse> => t.op("postAuthBackchannelLogout", { body }, options),
|
|
671
|
+
/** Sign out. POST /v1/auth/logout */
|
|
672
|
+
logout: (options?: RequestOptions): Promise<T.PostAuthLogoutResponse> => t.op("postAuthLogout", { }, options),
|
|
673
|
+
connections: {
|
|
674
|
+
/** Delete an auth connection. DELETE /v1/auth/connections/{id} */
|
|
675
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteAuthConnectionsIdResponse> => t.op("deleteAuthConnectionsId", { path: { id } }, options),
|
|
676
|
+
/** List auth connections. GET /v1/auth/connections */
|
|
677
|
+
list: (query?: (T.GetAuthConnectionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetAuthConnectionsResponse['data'][number], T.GetAuthConnectionsResponse> => t.list("getAuthConnections", { query }, options),
|
|
678
|
+
/** Get an auth connection. GET /v1/auth/connections/{id} */
|
|
679
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetAuthConnectionsIdResponse> => t.op("getAuthConnectionsId", { path: { id } }, options),
|
|
680
|
+
/** Export a user (signed protocol). GET /v1/auth/connections/{id}/export */
|
|
681
|
+
export: (id: string, query: T.GetAuthConnectionsIdExportQuery, options?: RequestOptions): Promise<T.GetAuthConnectionsIdExportResponse> => t.op("getAuthConnectionsIdExport", { path: { id }, query }, options),
|
|
682
|
+
/** List identity connectors. GET /v1/auth/connections/providers */
|
|
683
|
+
providers: (options?: RequestOptions): Promise<T.GetAuthConnectionsProvidersResponse> => t.op("getAuthConnectionsProviders", { }, options),
|
|
684
|
+
/** Update an auth connection. PATCH /v1/auth/connections/{id} */
|
|
685
|
+
update: (id: string, body: T.PatchAuthConnectionsIdBody, options?: RequestOptions): Promise<T.PatchAuthConnectionsIdResponse> => t.op("patchAuthConnectionsId", { path: { id }, body }, options),
|
|
686
|
+
/** Connect an auth platform. POST /v1/auth/connections */
|
|
687
|
+
create: (body: T.PostAuthConnectionsBody, options?: RequestOptions): Promise<T.PostAuthConnectionsResponse> => t.op("postAuthConnections", { body }, options),
|
|
688
|
+
/** Set an organization's owner (signed protocol). POST /v1/auth/connections/{id}/accounts */
|
|
689
|
+
accounts: (id: string, body: T.PostAuthConnectionsIdAccountsBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdAccountsResponse> => t.op("postAuthConnectionsIdAccounts", { path: { id }, body }, options),
|
|
690
|
+
/** Change a user's id (signed protocol). POST /v1/auth/connections/{id}/aliases */
|
|
691
|
+
aliases: (id: string, body: T.PostAuthConnectionsIdAliasesBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdAliasesResponse> => t.op("postAuthConnectionsIdAliases", { path: { id }, body }, options),
|
|
692
|
+
/** Erase a user (signed protocol). POST /v1/auth/connections/{id}/erase */
|
|
693
|
+
erase: (id: string, body: T.PostAuthConnectionsIdEraseBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdEraseResponse> => t.op("postAuthConnectionsIdErase", { path: { id }, body }, options),
|
|
694
|
+
/** Enrol a user as a partner (signed protocol). POST /v1/auth/connections/{id}/partners */
|
|
695
|
+
partners: (id: string, body: T.PostAuthConnectionsIdPartnersBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdPartnersResponse> => t.op("postAuthConnectionsIdPartners", { path: { id }, body }, options),
|
|
696
|
+
/** Test an auth connection (signed protocol). POST /v1/auth/connections/{id}/ping */
|
|
697
|
+
ping: (id: string, body: T.PostAuthConnectionsIdPingBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdPingResponse> => t.op("postAuthConnectionsIdPing", { path: { id }, body }, options),
|
|
698
|
+
/** Revoke the previous auth secret. POST /v1/auth/connections/{id}/revoke-previous-secret */
|
|
699
|
+
revokePreviousSecret: (id: string, options?: RequestOptions): Promise<T.PostAuthConnectionsIdRevokePreviousSecretResponse> => t.op("postAuthConnectionsIdRevokePreviousSecret", { path: { id } }, options),
|
|
700
|
+
/** Rotate an auth connection secret. POST /v1/auth/connections/{id}/rotate-secret */
|
|
701
|
+
rotateSecret: (id: string, options?: RequestOptions): Promise<T.PostAuthConnectionsIdRotateSecretResponse> => t.op("postAuthConnectionsIdRotateSecret", { path: { id } }, options),
|
|
702
|
+
/** Report a user signal (signed protocol). POST /v1/auth/connections/{id}/signals */
|
|
703
|
+
signals: (id: string, body: T.PostAuthConnectionsIdSignalsBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdSignalsResponse> => t.op("postAuthConnectionsIdSignals", { path: { id }, body }, options),
|
|
704
|
+
/** Attribute a new user (signed protocol). POST /v1/auth/connections/{id}/signups */
|
|
705
|
+
signups: (id: string, body: T.PostAuthConnectionsIdSignupsBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdSignupsResponse> => t.op("postAuthConnectionsIdSignups", { path: { id }, body }, options),
|
|
706
|
+
/** Mint a widget token for a user (signed protocol). POST /v1/auth/connections/{id}/widget-tokens */
|
|
707
|
+
widgetTokens: (id: string, body: T.PostAuthConnectionsIdWidgetTokensBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdWidgetTokensResponse> => t.op("postAuthConnectionsIdWidgetTokens", { path: { id }, body }, options),
|
|
708
|
+
/** Approve a one-click install. POST /v1/auth/connections/install */
|
|
709
|
+
install: (body: T.PostAuthConnectionsInstallBody, options?: RequestOptions): Promise<T.PostAuthConnectionsInstallResponse> => t.op("postAuthConnectionsInstall", { body }, options),
|
|
710
|
+
/** Set a vendor-issued secret. PUT /v1/auth/connections/{id}/secret */
|
|
711
|
+
updateSecret: (id: string, body: T.PutAuthConnectionsIdSecretBody, options?: RequestOptions): Promise<T.PutAuthConnectionsIdSecretResponse> => t.op("putAuthConnectionsIdSecret", { path: { id }, body }, options),
|
|
712
|
+
origins: {
|
|
713
|
+
/** Set a connection's allowed origins (signed protocol, PATCH). PATCH /v1/auth/connections/{id}/origins */
|
|
714
|
+
update: (id: string, body: T.PatchAuthConnectionsIdOriginsBody, options?: RequestOptions): Promise<T.PatchAuthConnectionsIdOriginsResponse> => t.op("patchAuthConnectionsIdOrigins", { path: { id }, body }, options),
|
|
715
|
+
/** Set a connection's allowed origins (signed protocol). PUT /v1/auth/connections/{id}/origins */
|
|
716
|
+
replace: (id: string, body: T.PutAuthConnectionsIdOriginsBody, options?: RequestOptions): Promise<T.PutAuthConnectionsIdOriginsResponse> => t.op("putAuthConnectionsIdOrigins", { path: { id }, body }, options),
|
|
717
|
+
},
|
|
718
|
+
users: {
|
|
719
|
+
/** Get a user's referral link (signed protocol). GET /v1/auth/connections/{id}/users/{customerRef}/referral */
|
|
720
|
+
referral: (id: string, customerRef: string, options?: RequestOptions): Promise<T.GetAuthConnectionsIdUsersCustomerRefReferralResponse> => t.op("getAuthConnectionsIdUsersCustomerRefReferral", { path: { id, customerRef } }, options),
|
|
721
|
+
/** Update a user (signed protocol). POST /v1/auth/connections/{id}/users */
|
|
722
|
+
create: (id: string, body: T.PostAuthConnectionsIdUsersBody, options?: RequestOptions): Promise<T.PostAuthConnectionsIdUsersResponse> => t.op("postAuthConnectionsIdUsers", { path: { id }, body }, options),
|
|
723
|
+
},
|
|
724
|
+
},
|
|
725
|
+
},
|
|
726
|
+
billing: {
|
|
727
|
+
/** Get the plan. GET /v1/billing/plan */
|
|
728
|
+
plan: (options?: RequestOptions): Promise<T.GetBillingPlanResponse> => t.op("getBillingPlan", { }, options),
|
|
729
|
+
/** Activate a plan directly. POST /v1/billing/activate */
|
|
730
|
+
activate: (body: T.PostBillingActivateBody, options?: RequestOptions): Promise<T.PostBillingActivateResponse> => t.op("postBillingActivate", { body }, options),
|
|
731
|
+
/** Start a plan checkout. POST /v1/billing/checkout */
|
|
732
|
+
checkout: (body: T.PostBillingCheckoutBody, options?: RequestOptions): Promise<T.PostBillingCheckoutResponse> => t.op("postBillingCheckout", { body }, options),
|
|
733
|
+
/** Open the subscription portal. POST /v1/billing/portal */
|
|
734
|
+
portal: (options?: RequestOptions): Promise<T.PostBillingPortalResponse> => t.op("postBillingPortal", { }, options),
|
|
735
|
+
accounts: {
|
|
736
|
+
/** Delete a billing account. DELETE /v1/billing/accounts/{accountRef} */
|
|
737
|
+
delete: (accountRef: string, options?: RequestOptions): Promise<T.DeleteBillingAccountsAccountRefResponse> => t.op("deleteBillingAccountsAccountRef", { path: { accountRef } }, options),
|
|
738
|
+
/** Get a billing account's owner. GET /v1/billing/accounts/{accountRef} */
|
|
739
|
+
retrieve: (accountRef: string, options?: RequestOptions): Promise<T.GetBillingAccountsAccountRefResponse> => t.op("getBillingAccountsAccountRef", { path: { accountRef } }, options),
|
|
740
|
+
/** Set a billing account's owner. PUT /v1/billing/accounts/{accountRef}/owner */
|
|
741
|
+
updateOwner: (accountRef: string, body: T.PutBillingAccountsAccountRefOwnerBody, options?: RequestOptions): Promise<T.PutBillingAccountsAccountRefOwnerResponse> => t.op("putBillingAccountsAccountRefOwner", { path: { accountRef }, body }, options),
|
|
742
|
+
},
|
|
743
|
+
connections: {
|
|
744
|
+
/** Delete a billing connection. DELETE /v1/billing/connections/{id} */
|
|
745
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteBillingConnectionsIdResponse> => t.op("deleteBillingConnectionsId", { path: { id } }, options),
|
|
746
|
+
/** List billing connections. GET /v1/billing/connections */
|
|
747
|
+
list: (query?: (T.GetBillingConnectionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetBillingConnectionsResponse['data'][number], T.GetBillingConnectionsResponse> => t.list("getBillingConnections", { query }, options),
|
|
748
|
+
/** Get a billing connection. GET /v1/billing/connections/{id} */
|
|
749
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetBillingConnectionsIdResponse> => t.op("getBillingConnectionsId", { path: { id } }, options),
|
|
750
|
+
/** Update a billing connection. PATCH /v1/billing/connections/{id} */
|
|
751
|
+
update: (id: string, body: T.PatchBillingConnectionsIdBody, options?: RequestOptions): Promise<T.PatchBillingConnectionsIdResponse> => t.op("patchBillingConnectionsId", { path: { id }, body }, options),
|
|
752
|
+
/** Create a billing connection. POST /v1/billing/connections */
|
|
753
|
+
create: (body: T.PostBillingConnectionsBody, options?: RequestOptions): Promise<T.PostBillingConnectionsResponse> => t.op("postBillingConnections", { body }, options),
|
|
754
|
+
/** Send events to a generic connection. POST /v1/billing/connections/{id}/events */
|
|
755
|
+
events: (id: string, body: T.PostBillingConnectionsIdEventsBody, query?: (T.PostBillingConnectionsIdEventsQuery) | RequestOptions, options?: RequestOptions): Promise<T.PostBillingConnectionsIdEventsResponse> => t.op("postBillingConnectionsIdEvents", { path: { id }, body, query }, options),
|
|
756
|
+
/** Rotate the webhook signing secret. POST /v1/billing/connections/{id}/rotate-secret */
|
|
757
|
+
rotateSecret: (id: string, body?: T.PostBillingConnectionsIdRotateSecretBody, options?: RequestOptions): Promise<T.PostBillingConnectionsIdRotateSecretResponse> => t.op("postBillingConnectionsIdRotateSecret", { path: { id }, body }, options),
|
|
758
|
+
/** Forward a Stripe event to a generic connection. POST /v1/billing/connections/{id}/stripe-forward */
|
|
759
|
+
stripeForward: (id: string, body: T.PostBillingConnectionsIdStripeForwardBody, query?: (T.PostBillingConnectionsIdStripeForwardQuery) | RequestOptions, options?: RequestOptions): Promise<T.PostBillingConnectionsIdStripeForwardResponse> => t.op("postBillingConnectionsIdStripeForward", { path: { id }, body, query }, options),
|
|
760
|
+
/** Set provider API credentials. PUT /v1/billing/connections/{id}/credentials */
|
|
761
|
+
updateCredentials: (id: string, body: T.PutBillingConnectionsIdCredentialsBody, options?: RequestOptions): Promise<T.PutBillingConnectionsIdCredentialsResponse> => t.op("putBillingConnectionsIdCredentials", { path: { id }, body }, options),
|
|
762
|
+
/** Set the webhook signing secret. PUT /v1/billing/connections/{id}/secret */
|
|
763
|
+
updateSecret: (id: string, body: T.PutBillingConnectionsIdSecretBody, options?: RequestOptions): Promise<T.PutBillingConnectionsIdSecretResponse> => t.op("putBillingConnectionsIdSecret", { path: { id }, body }, options),
|
|
764
|
+
valueMapping: {
|
|
765
|
+
/** Preview the value mapping. POST /v1/billing/connections/{id}/value-mapping/preview */
|
|
766
|
+
preview: (id: string, body: T.PostBillingConnectionsIdValueMappingPreviewBody, options?: RequestOptions): Promise<T.PostBillingConnectionsIdValueMappingPreviewResponse> => t.op("postBillingConnectionsIdValueMappingPreview", { path: { id }, body }, options),
|
|
767
|
+
/** Set the value mapping. PUT /v1/billing/connections/{id}/value-mapping */
|
|
768
|
+
update: (id: string, body: T.PutBillingConnectionsIdValueMappingBody, options?: RequestOptions): Promise<T.PutBillingConnectionsIdValueMappingResponse> => t.op("putBillingConnectionsIdValueMapping", { path: { id }, body }, options),
|
|
769
|
+
},
|
|
770
|
+
},
|
|
771
|
+
events: {
|
|
772
|
+
/** List billing events. GET /v1/billing/events */
|
|
773
|
+
list: (query?: (T.GetBillingEventsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetBillingEventsResponse['data'][number], T.GetBillingEventsResponse> => t.list("getBillingEvents", { query }, options),
|
|
774
|
+
/** Release a held payment. POST /v1/billing/events/{id}/release */
|
|
775
|
+
release: (id: string, options?: RequestOptions): Promise<T.PostBillingEventsIdReleaseResponse> => t.op("postBillingEventsIdRelease", { path: { id } }, options),
|
|
776
|
+
},
|
|
777
|
+
internalCustomers: {
|
|
778
|
+
/** Remove an internal customer. DELETE /v1/billing/internal-customers/{customerRef} */
|
|
779
|
+
delete: (customerRef: string, options?: RequestOptions): Promise<T.DeleteBillingInternalCustomersCustomerRefResponse> => t.op("deleteBillingInternalCustomersCustomerRef", { path: { customerRef } }, options),
|
|
780
|
+
/** List internal customers. GET /v1/billing/internal-customers */
|
|
781
|
+
retrieve: (options?: RequestOptions): Promise<T.GetBillingInternalCustomersResponse> => t.op("getBillingInternalCustomers", { }, options),
|
|
782
|
+
/** Add an internal customer. POST /v1/billing/internal-customers */
|
|
783
|
+
create: (body: T.PostBillingInternalCustomersBody, options?: RequestOptions): Promise<T.PostBillingInternalCustomersResponse> => t.op("postBillingInternalCustomers", { body }, options),
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
branding: {
|
|
787
|
+
/** Get branding. GET /v1/branding */
|
|
788
|
+
retrieve: (options?: RequestOptions): Promise<T.GetBrandingResponse> => t.op("getBranding", { }, options),
|
|
789
|
+
/** Update branding. PUT /v1/branding */
|
|
790
|
+
update: (body: T.PutBrandingBody, options?: RequestOptions): Promise<T.PutBrandingResponse> => t.op("putBranding", { body }, options),
|
|
791
|
+
domain: {
|
|
792
|
+
/** Remove the portal domain. DELETE /v1/branding/domain */
|
|
793
|
+
delete: (options?: RequestOptions): Promise<T.DeleteBrandingDomainResponse> => t.op("deleteBrandingDomain", { }, options),
|
|
794
|
+
/** Set a custom portal domain. POST /v1/branding/domain */
|
|
795
|
+
create: (body: T.PostBrandingDomainBody, options?: RequestOptions): Promise<T.PostBrandingDomainResponse> => t.op("postBrandingDomain", { body }, options),
|
|
796
|
+
/** Verify the portal domain. POST /v1/branding/domain/verify */
|
|
797
|
+
verify: (options?: RequestOptions): Promise<T.PostBrandingDomainVerifyResponse> => t.op("postBrandingDomainVerify", { }, options),
|
|
798
|
+
},
|
|
799
|
+
linkDomain: {
|
|
800
|
+
/** Remove the link domain. DELETE /v1/branding/link-domain */
|
|
801
|
+
delete: (options?: RequestOptions): Promise<T.DeleteBrandingLinkDomainResponse> => t.op("deleteBrandingLinkDomain", { }, options),
|
|
802
|
+
/** Set a custom link domain. POST /v1/branding/link-domain */
|
|
803
|
+
create: (body: T.PostBrandingLinkDomainBody, options?: RequestOptions): Promise<T.PostBrandingLinkDomainResponse> => t.op("postBrandingLinkDomain", { body }, options),
|
|
804
|
+
/** Verify the link domain. POST /v1/branding/link-domain/verify */
|
|
805
|
+
verify: (options?: RequestOptions): Promise<T.PostBrandingLinkDomainVerifyResponse> => t.op("postBrandingLinkDomainVerify", { }, options),
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
callConnections: {
|
|
809
|
+
/** Disconnect a call provider. DELETE /v1/call-connections/{provider} */
|
|
810
|
+
delete: (provider: string, options?: RequestOptions): Promise<T.DeleteCallConnectionsProviderResponse> => t.op("deleteCallConnectionsProvider", { path: { provider } }, options),
|
|
811
|
+
/** Get a call provider connection. GET /v1/call-connections/{provider} */
|
|
812
|
+
retrieve: (provider: string, options?: RequestOptions): Promise<T.GetCallConnectionsProviderResponse> => t.op("getCallConnectionsProvider", { path: { provider } }, options),
|
|
813
|
+
/** Connect a call provider. PUT /v1/call-connections/{provider} */
|
|
814
|
+
update: (provider: string, body: T.PutCallConnectionsProviderBody, options?: RequestOptions): Promise<T.PutCallConnectionsProviderResponse> => t.op("putCallConnectionsProvider", { path: { provider }, body }, options),
|
|
815
|
+
},
|
|
816
|
+
calls: {
|
|
817
|
+
/** List calls. GET /v1/calls */
|
|
818
|
+
list: (query?: (T.GetCallsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetCallsResponse['data'][number], T.GetCallsResponse> => t.list("getCalls", { query }, options),
|
|
819
|
+
},
|
|
820
|
+
catalog: {
|
|
821
|
+
/** Sync the catalog from a store. POST /v1/catalog/sync */
|
|
822
|
+
sync: (body: T.PostCatalogSyncBody, options?: RequestOptions): Promise<T.PostCatalogSyncResponse> => t.op("postCatalogSync", { body }, options),
|
|
823
|
+
feeds: {
|
|
824
|
+
/** Delete a catalog feed. DELETE /v1/catalog/feeds/{id} */
|
|
825
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteCatalogFeedsIdResponse> => t.op("deleteCatalogFeedsId", { path: { id } }, options),
|
|
826
|
+
/** List catalog feeds. GET /v1/catalog/feeds */
|
|
827
|
+
retrieve: (options?: RequestOptions): Promise<T.GetCatalogFeedsResponse> => t.op("getCatalogFeeds", { }, options),
|
|
828
|
+
/** Add a catalog feed. POST /v1/catalog/feeds */
|
|
829
|
+
create: (body: T.PostCatalogFeedsBody, options?: RequestOptions): Promise<T.PostCatalogFeedsResponse> => t.op("postCatalogFeeds", { body }, options),
|
|
830
|
+
/** Sync a catalog feed now. POST /v1/catalog/feeds/{id}/sync */
|
|
831
|
+
sync: (id: string, options?: RequestOptions): Promise<T.PostCatalogFeedsIdSyncResponse> => t.op("postCatalogFeedsIdSync", { path: { id } }, options),
|
|
832
|
+
},
|
|
833
|
+
items: {
|
|
834
|
+
/** Delete a catalog item. DELETE /v1/catalog/items/{id} */
|
|
835
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteCatalogItemsIdResponse> => t.op("deleteCatalogItemsId", { path: { id } }, options),
|
|
836
|
+
/** List catalog items. GET /v1/catalog/items */
|
|
837
|
+
retrieve: (query?: (T.GetCatalogItemsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetCatalogItemsResponse> => t.op("getCatalogItems", { query }, options),
|
|
838
|
+
/** Upsert catalog items. PUT /v1/catalog/items */
|
|
839
|
+
update: (body: T.PutCatalogItemsBody, options?: RequestOptions): Promise<T.PutCatalogItemsResponse> => t.op("putCatalogItems", { body }, options),
|
|
840
|
+
},
|
|
841
|
+
},
|
|
842
|
+
chatly: {
|
|
843
|
+
/** Get the support-chat identity. GET /v1/chatly/identity */
|
|
844
|
+
identity: (options?: RequestOptions): Promise<T.GetChatlyIdentityResponse> => t.op("getChatlyIdentity", { }, options),
|
|
845
|
+
},
|
|
846
|
+
cleanroom: {
|
|
847
|
+
/** Get a customer's consent. GET /v1/cleanroom/consent */
|
|
848
|
+
consent: (query: T.GetCleanroomConsentQuery, options?: RequestOptions): Promise<T.GetCleanroomConsentResponse> => t.op("getCleanroomConsent", { query }, options),
|
|
849
|
+
/** Query the clean room. GET /v1/cleanroom/query */
|
|
850
|
+
query: (query: T.GetCleanroomQueryQuery, options?: RequestOptions): Promise<T.GetCleanroomQueryResponse> => t.op("getCleanroomQuery", { query }, options),
|
|
851
|
+
},
|
|
852
|
+
cli: {
|
|
853
|
+
/** Tail the request log. GET /v1/cli/logs */
|
|
854
|
+
logs: (query?: (T.GetCliLogsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetCliLogsResponse> => t.op("getCliLogs", { query }, options),
|
|
855
|
+
/** List triggerable topics. GET /v1/cli/topics */
|
|
856
|
+
topics: (options?: RequestOptions): Promise<T.GetCliTopicsResponse> => t.op("getCliTopics", { }, options),
|
|
857
|
+
/** Send a test event. POST /v1/cli/trigger */
|
|
858
|
+
trigger: (body: T.PostCliTriggerBody, options?: RequestOptions): Promise<T.PostCliTriggerResponse> => t.op("postCliTrigger", { body }, options),
|
|
859
|
+
deviceCodes: {
|
|
860
|
+
/** Get a pending CLI sign-in. GET /v1/cli/device-codes/{userCode} */
|
|
861
|
+
retrieve: (userCode: string, options?: RequestOptions): Promise<T.GetCliDeviceCodesUserCodeResponse> => t.op("getCliDeviceCodesUserCode", { path: { userCode } }, options),
|
|
862
|
+
/** Start a CLI sign-in. POST /v1/cli/device-codes */
|
|
863
|
+
create: (body: T.PostCliDeviceCodesBody, options?: RequestOptions): Promise<T.PostCliDeviceCodesResponse> => t.op("postCliDeviceCodes", { body }, options),
|
|
864
|
+
/** Poll a CLI sign-in. POST /v1/cli/device-codes/token */
|
|
865
|
+
token: (body: T.PostCliDeviceCodesTokenBody, options?: RequestOptions): Promise<T.PostCliDeviceCodesTokenResponse> => t.op("postCliDeviceCodesToken", { body }, options),
|
|
866
|
+
/** Approve a CLI sign-in. POST /v1/cli/device-codes/{userCode}/approve */
|
|
867
|
+
approve: (userCode: string, body: T.PostCliDeviceCodesUserCodeApproveBody, options?: RequestOptions): Promise<T.PostCliDeviceCodesUserCodeApproveResponse> => t.op("postCliDeviceCodesUserCodeApprove", { path: { userCode }, body }, options),
|
|
868
|
+
/** Deny a CLI sign-in. POST /v1/cli/device-codes/{userCode}/deny */
|
|
869
|
+
deny: (userCode: string, options?: RequestOptions): Promise<T.PostCliDeviceCodesUserCodeDenyResponse> => t.op("postCliDeviceCodesUserCodeDeny", { path: { userCode } }, options),
|
|
870
|
+
},
|
|
871
|
+
listeners: {
|
|
872
|
+
/** Close a CLI listener. DELETE /v1/cli/listeners/{id} */
|
|
873
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteCliListenersIdResponse> => t.op("deleteCliListenersId", { path: { id } }, options),
|
|
874
|
+
/** Receive listener events. GET /v1/cli/listeners/{id}/events */
|
|
875
|
+
events: (id: string, query?: (T.GetCliListenersIdEventsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetCliListenersIdEventsResponse> => t.op("getCliListenersIdEvents", { path: { id }, query }, options),
|
|
876
|
+
/** Open a CLI event listener. POST /v1/cli/listeners */
|
|
877
|
+
create: (body: T.PostCliListenersBody, options?: RequestOptions): Promise<T.PostCliListenersResponse> => t.op("postCliListeners", { body }, options),
|
|
878
|
+
},
|
|
879
|
+
},
|
|
880
|
+
clicks: {
|
|
881
|
+
/** Get consent coverage. GET /v1/clicks/consent-coverage */
|
|
882
|
+
consentCoverage: (query?: (T.GetClicksConsentCoverageQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetClicksConsentCoverageResponse> => t.op("getClicksConsentCoverage", { query }, options),
|
|
883
|
+
/** Get a click. GET /v1/clicks/{id} */
|
|
884
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetClicksIdResponse> => t.op("getClicksId", { path: { id } }, options),
|
|
885
|
+
},
|
|
886
|
+
commissionRules: {
|
|
887
|
+
/** List commission rules. GET /v1/commission-rules */
|
|
888
|
+
list: (query?: (T.GetCommissionRulesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetCommissionRulesResponse['data'][number], T.GetCommissionRulesResponse> => t.list("getCommissionRules", { query }, options),
|
|
889
|
+
/** Publish a commission rule. POST /v1/commission-rules */
|
|
890
|
+
create: (body: T.PostCommissionRulesBody, options?: RequestOptions): Promise<T.PostCommissionRulesResponse> => t.op("postCommissionRules", { body }, options),
|
|
891
|
+
},
|
|
892
|
+
commissions: {
|
|
893
|
+
/** List commission ledger events. GET /v1/commissions */
|
|
894
|
+
list: (query?: (T.GetCommissionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetCommissionsResponse['data'][number], T.GetCommissionsResponse> => t.list("getCommissions", { query }, options),
|
|
895
|
+
/** Get a commission. GET /v1/commissions/{id} */
|
|
896
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetCommissionsIdResponse> => t.op("getCommissionsId", { path: { id } }, options),
|
|
897
|
+
/** Approve due commissions. POST /v1/commissions/approve-due */
|
|
898
|
+
approveDue: (options?: RequestOptions): Promise<T.PostCommissionsApproveDueResponse> => t.op("postCommissionsApproveDue", { }, options),
|
|
899
|
+
/** Adjust a commission. POST /v1/commissions/{id}/adjust */
|
|
900
|
+
adjust: (id: string, body: T.PostCommissionsIdAdjustBody, options?: RequestOptions): Promise<T.PostCommissionsIdAdjustResponse> => t.op("postCommissionsIdAdjust", { path: { id }, body }, options),
|
|
901
|
+
/** Approve a commission now. POST /v1/commissions/{id}/approve */
|
|
902
|
+
approve: (id: string, options?: RequestOptions): Promise<T.PostCommissionsIdApproveResponse> => t.op("postCommissionsIdApprove", { path: { id } }, options),
|
|
903
|
+
/** Hold a commission until a date. POST /v1/commissions/{id}/hold */
|
|
904
|
+
hold: (id: string, body: T.PostCommissionsIdHoldBody, options?: RequestOptions): Promise<T.PostCommissionsIdHoldResponse> => t.op("postCommissionsIdHold", { path: { id }, body }, options),
|
|
905
|
+
/** Settle a commission yourself. POST /v1/commissions/{id}/settle */
|
|
906
|
+
settle: (id: string, body: T.PostCommissionsIdSettleBody, options?: RequestOptions): Promise<T.PostCommissionsIdSettleResponse> => t.op("postCommissionsIdSettle", { path: { id }, body }, options),
|
|
907
|
+
},
|
|
908
|
+
contracts: {
|
|
909
|
+
/** List partner contracts. GET /v1/contracts */
|
|
910
|
+
list: (query?: (T.GetContractsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetContractsResponse['data'][number], T.GetContractsResponse> => t.list("getContracts", { query }, options),
|
|
911
|
+
/** Create a partner contract. POST /v1/contracts */
|
|
912
|
+
create: (body: T.PostContractsBody, options?: RequestOptions): Promise<T.PostContractsResponse> => t.op("postContracts", { body }, options),
|
|
913
|
+
/** Send a contract. POST /v1/contracts/{id}/send */
|
|
914
|
+
send: (id: string, options?: RequestOptions): Promise<T.PostContractsIdSendResponse> => t.op("postContractsIdSend", { path: { id } }, options),
|
|
915
|
+
},
|
|
916
|
+
coupons: {
|
|
917
|
+
/** List coupon codes. GET /v1/coupons */
|
|
918
|
+
list: (query?: (T.GetCouponsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetCouponsResponse['data'][number], T.GetCouponsResponse> => t.list("getCoupons", { query }, options),
|
|
919
|
+
/** Update a coupon code. PATCH /v1/coupons/{id} */
|
|
920
|
+
update: (id: string, body: T.PatchCouponsIdBody, options?: RequestOptions): Promise<T.PatchCouponsIdResponse> => t.op("patchCouponsId", { path: { id }, body }, options),
|
|
921
|
+
/** Create a coupon code. POST /v1/coupons */
|
|
922
|
+
create: (body: T.PostCouponsBody, options?: RequestOptions): Promise<T.PostCouponsResponse> => t.op("postCoupons", { body }, options),
|
|
923
|
+
},
|
|
924
|
+
creators: {
|
|
925
|
+
/** Search creators. GET /v1/creators */
|
|
926
|
+
list: (query?: (T.GetCreatorsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetCreatorsResponse['data'][number], T.GetCreatorsResponse> => t.list("getCreators", { query }, options),
|
|
927
|
+
/** Get a creator. GET /v1/creators/{accountId} */
|
|
928
|
+
retrieve: (accountId: string, options?: RequestOptions): Promise<T.GetCreatorsAccountIdResponse> => t.op("getCreatorsAccountId", { path: { accountId } }, options),
|
|
929
|
+
/** Invite a creator. POST /v1/creators/{accountId}/invite */
|
|
930
|
+
invite: (accountId: string, body: T.PostCreatorsAccountIdInviteBody, options?: RequestOptions): Promise<T.PostCreatorsAccountIdInviteResponse> => t.op("postCreatorsAccountIdInvite", { path: { accountId }, body }, options),
|
|
931
|
+
},
|
|
932
|
+
deals: {
|
|
933
|
+
/** List registered deals. GET /v1/deals */
|
|
934
|
+
list: (query?: (T.GetDealsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetDealsResponse['data'][number], T.GetDealsResponse> => t.list("getDeals", { query }, options),
|
|
935
|
+
/** Approve a deal. POST /v1/deals/{id}/approve */
|
|
936
|
+
approve: (id: string, body: T.PostDealsIdApproveBody, options?: RequestOptions): Promise<T.PostDealsIdApproveResponse> => t.op("postDealsIdApprove", { path: { id }, body }, options),
|
|
937
|
+
/** Reject a deal. POST /v1/deals/{id}/reject */
|
|
938
|
+
reject: (id: string, options?: RequestOptions): Promise<T.PostDealsIdRejectResponse> => t.op("postDealsIdReject", { path: { id } }, options),
|
|
939
|
+
/** Mark a deal won. POST /v1/deals/{id}/won */
|
|
940
|
+
won: (id: string, body: T.PostDealsIdWonBody, options?: RequestOptions): Promise<T.PostDealsIdWonResponse> => t.op("postDealsIdWon", { path: { id }, body }, options),
|
|
941
|
+
},
|
|
942
|
+
discovery: {
|
|
943
|
+
/** Ingest prospects. POST /v1/discovery/corpus */
|
|
944
|
+
corpus: (body: T.PostDiscoveryCorpusBody, options?: RequestOptions): Promise<T.PostDiscoveryCorpusResponse> => t.op("postDiscoveryCorpus", { body }, options),
|
|
945
|
+
/** Search for prospective partners. POST /v1/discovery/search */
|
|
946
|
+
search: (body: T.PostDiscoverySearchBody, options?: RequestOptions): Promise<T.PostDiscoverySearchResponse> => t.op("postDiscoverySearch", { body }, options),
|
|
947
|
+
},
|
|
948
|
+
disputes: {
|
|
949
|
+
/** List partner disputes. GET /v1/disputes */
|
|
950
|
+
list: (query?: (T.GetDisputesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetDisputesResponse['data'][number], T.GetDisputesResponse> => t.list("getDisputes", { query }, options),
|
|
951
|
+
/** Resolve a dispute. POST /v1/disputes/{id}/resolve */
|
|
952
|
+
resolve: (id: string, body: T.PostDisputesIdResolveBody, options?: RequestOptions): Promise<T.PostDisputesIdResolveResponse> => t.op("postDisputesIdResolve", { path: { id }, body }, options),
|
|
953
|
+
},
|
|
954
|
+
email: {
|
|
955
|
+
/** Preview an email. POST /v1/email/preview */
|
|
956
|
+
preview: (body: T.PostEmailPreviewBody, options?: RequestOptions): Promise<T.PostEmailPreviewResponse> => t.op("postEmailPreview", { body }, options),
|
|
957
|
+
/** Send a test email. POST /v1/email/test */
|
|
958
|
+
test: (body: T.PostEmailTestBody, options?: RequestOptions): Promise<T.PostEmailTestResponse> => t.op("postEmailTest", { body }, options),
|
|
959
|
+
settings: {
|
|
960
|
+
/** Get email settings. GET /v1/email/settings */
|
|
961
|
+
retrieve: (options?: RequestOptions): Promise<T.GetEmailSettingsResponse> => t.op("getEmailSettings", { }, options),
|
|
962
|
+
/** Check the sending domain. POST /v1/email/settings/verify-domain */
|
|
963
|
+
verifyDomain: (options?: RequestOptions): Promise<T.PostEmailSettingsVerifyDomainResponse> => t.op("postEmailSettingsVerifyDomain", { }, options),
|
|
964
|
+
/** Update email settings. PUT /v1/email/settings */
|
|
965
|
+
update: (body: T.PutEmailSettingsBody, options?: RequestOptions): Promise<T.PutEmailSettingsResponse> => t.op("putEmailSettings", { body }, options),
|
|
966
|
+
},
|
|
967
|
+
templates: {
|
|
968
|
+
/** Reset an email template. DELETE /v1/email/templates/{event}/{locale} */
|
|
969
|
+
delete: (event: string, locale: string, options?: RequestOptions): Promise<T.DeleteEmailTemplatesEventLocaleResponse> => t.op("deleteEmailTemplatesEventLocale", { path: { event, locale } }, options),
|
|
970
|
+
/** List email templates. GET /v1/email/templates */
|
|
971
|
+
list: (query?: (T.GetEmailTemplatesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetEmailTemplatesResponse['data'][number], T.GetEmailTemplatesResponse> => t.list("getEmailTemplates", { query }, options),
|
|
972
|
+
/** Override an email template. PUT /v1/email/templates/{event}/{locale} */
|
|
973
|
+
update: (event: string, locale: string, body: T.PutEmailTemplatesEventLocaleBody, options?: RequestOptions): Promise<T.PutEmailTemplatesEventLocaleResponse> => t.op("putEmailTemplatesEventLocale", { path: { event, locale }, body }, options),
|
|
974
|
+
},
|
|
975
|
+
unsubscribe: {
|
|
976
|
+
/** Unsubscribe page for notification emails. GET /v1/email/unsubscribe */
|
|
977
|
+
retrieve: (query: T.GetEmailUnsubscribeQuery, options?: RequestOptions): Promise<string> => t.op("getEmailUnsubscribe", { query }, options),
|
|
978
|
+
/** Unsubscribe from notification emails. POST /v1/email/unsubscribe */
|
|
979
|
+
create: (query: T.PostEmailUnsubscribeQuery, options?: RequestOptions): Promise<string> => t.op("postEmailUnsubscribe", { query }, options),
|
|
980
|
+
},
|
|
981
|
+
},
|
|
982
|
+
embed: {
|
|
983
|
+
/** Read embedded partner stats. GET /v1/embed/summary */
|
|
984
|
+
summary: (options?: RequestOptions): Promise<T.GetEmbedSummaryResponse> => t.op("getEmbedSummary", { }, options),
|
|
985
|
+
/** Mint a partner embed token. POST /v1/embed/tokens */
|
|
986
|
+
tokens: (body: T.PostEmbedTokensBody, options?: RequestOptions): Promise<T.PostEmbedTokensResponse> => t.op("postEmbedTokens", { body }, options),
|
|
987
|
+
},
|
|
988
|
+
events: {
|
|
989
|
+
/** List past events. GET /v1/events */
|
|
990
|
+
retrieve: (query?: (T.GetEventsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetEventsResponse> => t.op("getEvents", { query }, options),
|
|
991
|
+
},
|
|
992
|
+
export: {
|
|
993
|
+
/** Export payouts for accounting. GET /v1/export/accounting */
|
|
994
|
+
accounting: (query: T.GetExportAccountingQuery, options?: RequestOptions): Promise<string> => t.op("getExportAccounting", { query }, options),
|
|
995
|
+
/** Export all org data. GET /v1/export/full */
|
|
996
|
+
full: (options?: RequestOptions): Promise<string> => t.op("getExportFull", { }, options),
|
|
997
|
+
},
|
|
998
|
+
fraud: {
|
|
999
|
+
/** Detect referral rings. POST /v1/fraud/detect-rings */
|
|
1000
|
+
detectRings: (options?: RequestOptions): Promise<T.PostFraudDetectRingsResponse> => t.op("postFraudDetectRings", { }, options),
|
|
1001
|
+
cases: {
|
|
1002
|
+
/** List fraud cases. GET /v1/fraud/cases */
|
|
1003
|
+
list: (query?: (T.GetFraudCasesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetFraudCasesResponse['data'][number], T.GetFraudCasesResponse> => t.list("getFraudCases", { query }, options),
|
|
1004
|
+
/** Resolve a fraud case. POST /v1/fraud/cases/{id}/resolve */
|
|
1005
|
+
resolve: (id: string, body: T.PostFraudCasesIdResolveBody, options?: RequestOptions): Promise<T.PostFraudCasesIdResolveResponse> => t.op("postFraudCasesIdResolve", { path: { id }, body }, options),
|
|
1006
|
+
},
|
|
1007
|
+
invalidTraffic: {
|
|
1008
|
+
/** Scan for invalid traffic. POST /v1/fraud/invalid-traffic/scan */
|
|
1009
|
+
scan: (body: T.PostFraudInvalidTrafficScanBody, options?: RequestOptions): Promise<T.PostFraudInvalidTrafficScanResponse> => t.op("postFraudInvalidTrafficScan", { body }, options),
|
|
1010
|
+
},
|
|
1011
|
+
},
|
|
1012
|
+
fxRates: {
|
|
1013
|
+
/** List FX rates. GET /v1/fx-rates */
|
|
1014
|
+
list: (query?: (T.GetFxRatesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetFxRatesResponse['data'][number], T.GetFxRatesResponse> => t.list("getFxRates", { query }, options),
|
|
1015
|
+
/** Record an FX rate. POST /v1/fx-rates */
|
|
1016
|
+
create: (body: T.PostFxRatesBody, options?: RequestOptions): Promise<T.PostFxRatesResponse> => t.op("postFxRates", { body }, options),
|
|
1017
|
+
/** Clear a manual FX rate. POST /v1/fx-rates/clear-override */
|
|
1018
|
+
clearOverride: (body: T.PostFxRatesClearOverrideBody, options?: RequestOptions): Promise<T.PostFxRatesClearOverrideResponse> => t.op("postFxRatesClearOverride", { body }, options),
|
|
1019
|
+
/** Sync the FX feed now. POST /v1/fx-rates/sync */
|
|
1020
|
+
sync: (options?: RequestOptions): Promise<T.PostFxRatesSyncResponse> => t.op("postFxRatesSync", { }, options),
|
|
1021
|
+
},
|
|
1022
|
+
graphql: {
|
|
1023
|
+
/** Query the GraphQL read layer. GET /v1/graphql */
|
|
1024
|
+
retrieve: (options?: RequestOptions): Promise<T.GetGraphqlResponse> => t.op("getGraphql", { }, options),
|
|
1025
|
+
/** Query the GraphQL read layer (POST). POST /v1/graphql */
|
|
1026
|
+
create: (body: T.PostGraphqlBody, options?: RequestOptions): Promise<T.PostGraphqlResponse> => t.op("postGraphql", { body }, options),
|
|
1027
|
+
},
|
|
1028
|
+
health: {
|
|
1029
|
+
/** Check API health. GET /v1/health */
|
|
1030
|
+
retrieve: (options?: RequestOptions): Promise<T.GetHealthResponse> => t.op("getHealth", { }, options),
|
|
1031
|
+
},
|
|
1032
|
+
hosts: {
|
|
1033
|
+
current: {
|
|
1034
|
+
/** Describe the current host. GET /v1/hosts/current */
|
|
1035
|
+
retrieve: (query?: (T.GetHostsCurrentQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetHostsCurrentResponse> => t.op("getHostsCurrent", { query }, options),
|
|
1036
|
+
/** Identify the signed-in partner to the chat. GET /v1/hosts/current/chat-identity */
|
|
1037
|
+
chatIdentity: (options?: RequestOptions): Promise<T.GetHostsCurrentChatIdentityResponse> => t.op("getHostsCurrentChatIdentity", { }, options),
|
|
1038
|
+
/** Get the current host's theme stylesheet. GET /v1/hosts/current/theme.css */
|
|
1039
|
+
themeCss: (query?: (T.GetHostsCurrentThemeCssQuery) | RequestOptions, options?: RequestOptions): Promise<string> => t.op("getHostsCurrentThemeCss", { query }, options),
|
|
1040
|
+
},
|
|
1041
|
+
},
|
|
1042
|
+
import: {
|
|
1043
|
+
/** Import partners, links, referrals and commissions (native). POST /v1/import/native */
|
|
1044
|
+
native: (query?: (T.PostImportNativeQuery) | RequestOptions, options?: RequestOptions): Promise<T.PostImportNativeResponse> => t.op("postImportNative", { query }, options),
|
|
1045
|
+
/** Import partners from another tool. POST /v1/import/{provider} */
|
|
1046
|
+
create: (provider: string, body: T.PostImportProviderBody, query: T.PostImportProviderQuery, options?: RequestOptions): Promise<T.PostImportProviderResponse> => t.op("postImportProvider", { path: { provider }, body, query }, options),
|
|
1047
|
+
},
|
|
1048
|
+
incrementality: {
|
|
1049
|
+
/** Get incrementality results. GET /v1/incrementality */
|
|
1050
|
+
retrieve: (query: T.GetIncrementalityQuery, options?: RequestOptions): Promise<T.GetIncrementalityResponse> => t.op("getIncrementality", { query }, options),
|
|
1051
|
+
},
|
|
1052
|
+
integrationHealth: {
|
|
1053
|
+
/** Check integration health. GET /v1/integration-health */
|
|
1054
|
+
retrieve: (options?: RequestOptions): Promise<T.GetIntegrationHealthResponse> => t.op("getIntegrationHealth", { }, options),
|
|
1055
|
+
},
|
|
1056
|
+
integrations: {
|
|
1057
|
+
/** Disconnect an integration. DELETE /v1/integrations/{kind} */
|
|
1058
|
+
delete: (kind: string, options?: RequestOptions): Promise<T.DeleteIntegrationsKindResponse> => t.op("deleteIntegrationsKind", { path: { kind } }, options),
|
|
1059
|
+
/** List integrations. GET /v1/integrations */
|
|
1060
|
+
retrieve: (options?: RequestOptions): Promise<T.GetIntegrationsResponse> => t.op("getIntegrations", { }, options),
|
|
1061
|
+
deliveries: {
|
|
1062
|
+
/** List integration deliveries. GET /v1/integrations/deliveries */
|
|
1063
|
+
list: (query?: (T.GetIntegrationsDeliveriesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetIntegrationsDeliveriesResponse['data'][number], T.GetIntegrationsDeliveriesResponse> => t.list("getIntegrationsDeliveries", { query }, options),
|
|
1064
|
+
/** Retry an integration delivery. POST /v1/integrations/deliveries/{id}/retry */
|
|
1065
|
+
retry: (id: string, options?: RequestOptions): Promise<T.PostIntegrationsDeliveriesIdRetryResponse> => t.op("postIntegrationsDeliveriesIdRetry", { path: { id } }, options),
|
|
1066
|
+
},
|
|
1067
|
+
hubspot: {
|
|
1068
|
+
/** Test the HubSpot connection. POST /v1/integrations/hubspot/test */
|
|
1069
|
+
test: (body: T.PostIntegrationsHubspotTestBody, options?: RequestOptions): Promise<T.PostIntegrationsHubspotTestResponse> => t.op("postIntegrationsHubspotTest", { body }, options),
|
|
1070
|
+
/** Connect HubSpot. PUT /v1/integrations/hubspot */
|
|
1071
|
+
update: (body: T.PutIntegrationsHubspotBody, options?: RequestOptions): Promise<T.PutIntegrationsHubspotResponse> => t.op("putIntegrationsHubspot", { body }, options),
|
|
1072
|
+
},
|
|
1073
|
+
lucida: {
|
|
1074
|
+
/** Test the Lucida connection. POST /v1/integrations/lucida/test */
|
|
1075
|
+
test: (options?: RequestOptions): Promise<T.PostIntegrationsLucidaTestResponse> => t.op("postIntegrationsLucidaTest", { }, options),
|
|
1076
|
+
/** Connect Lucida. PUT /v1/integrations/lucida */
|
|
1077
|
+
update: (body: T.PutIntegrationsLucidaBody, options?: RequestOptions): Promise<T.PutIntegrationsLucidaResponse> => t.op("putIntegrationsLucida", { body }, options),
|
|
1078
|
+
},
|
|
1079
|
+
segment: {
|
|
1080
|
+
/** Test the Segment connection. POST /v1/integrations/segment/test */
|
|
1081
|
+
test: (options?: RequestOptions): Promise<T.PostIntegrationsSegmentTestResponse> => t.op("postIntegrationsSegmentTest", { }, options),
|
|
1082
|
+
/** Connect Segment. PUT /v1/integrations/segment */
|
|
1083
|
+
update: (body: T.PutIntegrationsSegmentBody, options?: RequestOptions): Promise<T.PutIntegrationsSegmentResponse> => t.op("putIntegrationsSegment", { body }, options),
|
|
1084
|
+
},
|
|
1085
|
+
},
|
|
1086
|
+
invitations: {
|
|
1087
|
+
/** List creator invitations. GET /v1/invitations */
|
|
1088
|
+
list: (query?: (T.GetInvitationsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetInvitationsResponse['data'][number], T.GetInvitationsResponse> => t.list("getInvitations", { query }, options),
|
|
1089
|
+
/** Withdraw an invitation. POST /v1/invitations/{id}/withdraw */
|
|
1090
|
+
withdraw: (id: string, options?: RequestOptions): Promise<T.PostInvitationsIdWithdrawResponse> => t.op("postInvitationsIdWithdraw", { path: { id } }, options),
|
|
1091
|
+
},
|
|
1092
|
+
links: {
|
|
1093
|
+
/** List links. GET /v1/links */
|
|
1094
|
+
list: (query?: (T.GetLinksQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetLinksResponse['data'][number], T.GetLinksResponse> => t.list("getLinks", { query }, options),
|
|
1095
|
+
/** Get a link's QR code. GET /v1/links/{id}/qr */
|
|
1096
|
+
qr: (id: string, options?: RequestOptions): Promise<string> => t.op("getLinksIdQr", { path: { id } }, options),
|
|
1097
|
+
/** A link's daily activity. GET /v1/links/{id}/timeseries */
|
|
1098
|
+
timeseries: (id: string, query?: (T.GetLinksIdTimeseriesQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetLinksIdTimeseriesResponse> => t.op("getLinksIdTimeseries", { path: { id }, query }, options),
|
|
1099
|
+
/** Update a link. PATCH /v1/links/{id} */
|
|
1100
|
+
update: (id: string, body: T.PatchLinksIdBody, options?: RequestOptions): Promise<T.PatchLinksIdResponse> => t.op("patchLinksId", { path: { id }, body }, options),
|
|
1101
|
+
/** Create a tracked link. POST /v1/links */
|
|
1102
|
+
create: (body: T.PostLinksBody, options?: RequestOptions): Promise<T.PostLinksResponse> => t.op("postLinks", { body }, options),
|
|
1103
|
+
},
|
|
1104
|
+
marketplace: {
|
|
1105
|
+
listing: {
|
|
1106
|
+
/** List the org's marketplace listings. GET /v1/marketplace/listing */
|
|
1107
|
+
list: (query?: (T.GetMarketplaceListingQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetMarketplaceListingResponse['data'][number], T.GetMarketplaceListingResponse> => t.list("getMarketplaceListing", { query }, options),
|
|
1108
|
+
/** List a program in the marketplace. PUT /v1/marketplace/listing */
|
|
1109
|
+
update: (body: T.PutMarketplaceListingBody, options?: RequestOptions): Promise<T.PutMarketplaceListingResponse> => t.op("putMarketplaceListing", { body }, options),
|
|
1110
|
+
},
|
|
1111
|
+
},
|
|
1112
|
+
me: {
|
|
1113
|
+
/** Get the current caller. GET /v1/me */
|
|
1114
|
+
retrieve: (options?: RequestOptions): Promise<T.GetMeResponse> => t.op("getMe", { }, options),
|
|
1115
|
+
/** Set my email language. PUT /v1/me/locale */
|
|
1116
|
+
updateLocale: (body: T.PutMeLocaleBody, options?: RequestOptions): Promise<T.PutMeLocaleResponse> => t.op("putMeLocale", { body }, options),
|
|
1117
|
+
/** Turn my ROI digest on or off. PUT /v1/me/roi-digest */
|
|
1118
|
+
updateRoiDigest: (body: T.PutMeRoiDigestBody, options?: RequestOptions): Promise<T.PutMeRoiDigestResponse> => t.op("putMeRoiDigest", { body }, options),
|
|
1119
|
+
},
|
|
1120
|
+
mobile: {
|
|
1121
|
+
/** Report an in-app purchase. POST /v1/mobile/purchases */
|
|
1122
|
+
purchases: (body: T.PostMobilePurchasesBody, options?: RequestOptions): Promise<T.PostMobilePurchasesResponse> => t.op("postMobilePurchases", { body }, options),
|
|
1123
|
+
},
|
|
1124
|
+
negotiations: {
|
|
1125
|
+
/** List negotiation rounds. GET /v1/negotiations */
|
|
1126
|
+
list: (query?: (T.GetNegotiationsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetNegotiationsResponse['data'][number], T.GetNegotiationsResponse> => t.list("getNegotiations", { query }, options),
|
|
1127
|
+
},
|
|
1128
|
+
network: {
|
|
1129
|
+
/** Get a customer's network journey. GET /v1/network/journey */
|
|
1130
|
+
journey: (query: T.GetNetworkJourneyQuery, options?: RequestOptions): Promise<T.GetNetworkJourneyResponse> => t.op("getNetworkJourney", { query }, options),
|
|
1131
|
+
settings: {
|
|
1132
|
+
/** Get network membership. GET /v1/network/settings */
|
|
1133
|
+
retrieve: (options?: RequestOptions): Promise<T.GetNetworkSettingsResponse> => t.op("getNetworkSettings", { }, options),
|
|
1134
|
+
/** Join or leave the attribution network. PUT /v1/network/settings */
|
|
1135
|
+
update: (body: T.PutNetworkSettingsBody, options?: RequestOptions): Promise<T.PutNetworkSettingsResponse> => t.op("putNetworkSettings", { body }, options),
|
|
1136
|
+
},
|
|
1137
|
+
},
|
|
1138
|
+
notifications: {
|
|
1139
|
+
/** List notifications. GET /v1/notifications */
|
|
1140
|
+
list: (query?: (T.GetNotificationsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetNotificationsResponse['data'][number], T.GetNotificationsResponse> => t.list("getNotifications", { query }, options),
|
|
1141
|
+
/** Mark a notification read. POST /v1/notifications/{id}/read */
|
|
1142
|
+
read: (id: string, options?: RequestOptions): Promise<T.PostNotificationsIdReadResponse> => t.op("postNotificationsIdRead", { path: { id } }, options),
|
|
1143
|
+
},
|
|
1144
|
+
oauth: {
|
|
1145
|
+
/** Token endpoint: install codes, partner links, Atlas operator token exchange. POST /v1/oauth/token */
|
|
1146
|
+
token: (body: T.PostOauthTokenBody, options?: RequestOptions): Promise<T.PostOauthTokenResponse> => t.op("postOauthToken", { body }, options),
|
|
1147
|
+
},
|
|
1148
|
+
onchain: {
|
|
1149
|
+
connections: {
|
|
1150
|
+
/** List on-chain connections. GET /v1/onchain/connections */
|
|
1151
|
+
list: (query?: (T.GetOnchainConnectionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetOnchainConnectionsResponse['data'][number], T.GetOnchainConnectionsResponse> => t.list("getOnchainConnections", { query }, options),
|
|
1152
|
+
/** Create an on-chain connection. POST /v1/onchain/connections */
|
|
1153
|
+
create: (body: T.PostOnchainConnectionsBody, options?: RequestOptions): Promise<T.PostOnchainConnectionsResponse> => t.op("postOnchainConnections", { body }, options),
|
|
1154
|
+
},
|
|
1155
|
+
},
|
|
1156
|
+
openapiJson: {
|
|
1157
|
+
/** Get the OpenAPI document. GET /v1/openapi.json */
|
|
1158
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOpenapiJsonResponse> => t.op("getOpenapiJson", { }, options),
|
|
1159
|
+
},
|
|
1160
|
+
openapiYaml: {
|
|
1161
|
+
/** Get the OpenAPI document as YAML. GET /v1/openapi.yaml */
|
|
1162
|
+
retrieve: (options?: RequestOptions): Promise<string> => t.op("getOpenapiYaml", { }, options),
|
|
1163
|
+
},
|
|
1164
|
+
org: {
|
|
1165
|
+
/** Get the organization. GET /v1/org */
|
|
1166
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgResponse> => t.op("getOrg", { }, options),
|
|
1167
|
+
/** Both modes' tracking tokens. GET /v1/org/tracking-tokens */
|
|
1168
|
+
trackingTokens: (options?: RequestOptions): Promise<T.GetOrgTrackingTokensResponse> => t.op("getOrgTrackingTokens", { }, options),
|
|
1169
|
+
/** Update the organization. PATCH /v1/org */
|
|
1170
|
+
update: (body: T.PatchOrgBody, options?: RequestOptions): Promise<T.PatchOrgResponse> => t.op("patchOrg", { body }, options),
|
|
1171
|
+
/** Connect a 1099 filing provider. PUT /v1/org/tax-filing */
|
|
1172
|
+
updateTaxFiling: (body: T.PutOrgTaxFilingBody, options?: RequestOptions): Promise<T.PutOrgTaxFilingResponse> => t.op("putOrgTaxFiling", { body }, options),
|
|
1173
|
+
alerts: {
|
|
1174
|
+
/** Remove an alert destination. DELETE /v1/org/alerts/{id} */
|
|
1175
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteOrgAlertsIdResponse> => t.op("deleteOrgAlertsId", { path: { id } }, options),
|
|
1176
|
+
/** List alert destinations. GET /v1/org/alerts */
|
|
1177
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgAlertsResponse> => t.op("getOrgAlerts", { }, options),
|
|
1178
|
+
/** Update an alert destination. PATCH /v1/org/alerts/{id} */
|
|
1179
|
+
update: (id: string, body: T.PatchOrgAlertsIdBody, options?: RequestOptions): Promise<T.PatchOrgAlertsIdResponse> => t.op("patchOrgAlertsId", { path: { id }, body }, options),
|
|
1180
|
+
/** Add an alert destination. POST /v1/org/alerts */
|
|
1181
|
+
create: (body: T.PostOrgAlertsBody, options?: RequestOptions): Promise<T.PostOrgAlertsResponse> => t.op("postOrgAlerts", { body }, options),
|
|
1182
|
+
/** Send a test alert. POST /v1/org/alerts/{id}/test */
|
|
1183
|
+
test: (id: string, options?: RequestOptions): Promise<T.PostOrgAlertsIdTestResponse> => t.op("postOrgAlertsIdTest", { path: { id } }, options),
|
|
1184
|
+
},
|
|
1185
|
+
consentPartners: {
|
|
1186
|
+
cookiemunch: {
|
|
1187
|
+
/** Get the Cookie Munch consent-event link. GET /v1/org/consent-partners/cookiemunch */
|
|
1188
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgConsentPartnersCookiemunchResponse> => t.op("getOrgConsentPartnersCookiemunch", { }, options),
|
|
1189
|
+
/** List received Cookie Munch consent events. GET /v1/org/consent-partners/cookiemunch/events */
|
|
1190
|
+
events: (query?: (T.GetOrgConsentPartnersCookiemunchEventsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetOrgConsentPartnersCookiemunchEventsResponse> => t.op("getOrgConsentPartnersCookiemunchEvents", { query }, options),
|
|
1191
|
+
/** Change a Cookie Munch site's programs. PATCH /v1/org/consent-partners/cookiemunch/sites/{cbid} */
|
|
1192
|
+
updateSites: (cbid: string, body: T.PatchOrgConsentPartnersCookiemunchSitesCbidBody, options?: RequestOptions): Promise<T.PatchOrgConsentPartnersCookiemunchSitesCbidResponse> => t.op("patchOrgConsentPartnersCookiemunchSitesCbid", { path: { cbid }, body }, options),
|
|
1193
|
+
/** Link a Cookie Munch site in one call. POST /v1/org/consent-partners/cookiemunch/link */
|
|
1194
|
+
link: (body: T.PostOrgConsentPartnersCookiemunchLinkBody, options?: RequestOptions): Promise<T.PostOrgConsentPartnersCookiemunchLinkResponse> => t.op("postOrgConsentPartnersCookiemunchLink", { body }, options),
|
|
1195
|
+
/** See the answer Cookie Munch's key gets. POST /v1/org/consent-partners/cookiemunch/lookup-test */
|
|
1196
|
+
lookupTest: (body: T.PostOrgConsentPartnersCookiemunchLookupTestBody, options?: RequestOptions): Promise<T.PostOrgConsentPartnersCookiemunchLookupTestResponse> => t.op("postOrgConsentPartnersCookiemunchLookupTest", { body }, options),
|
|
1197
|
+
/** Set the Cookie Munch sites to accept consent events for. PUT /v1/org/consent-partners/cookiemunch */
|
|
1198
|
+
update: (body: T.PutOrgConsentPartnersCookiemunchBody, options?: RequestOptions): Promise<T.PutOrgConsentPartnersCookiemunchResponse> => t.op("putOrgConsentPartnersCookiemunch", { body }, options),
|
|
1199
|
+
stamps: {
|
|
1200
|
+
/** Check a visitor's consent stamp with Cookie Munch. POST /v1/org/consent-partners/cookiemunch/stamps/check */
|
|
1201
|
+
check: (body: T.PostOrgConsentPartnersCookiemunchStampsCheckBody, options?: RequestOptions): Promise<T.PostOrgConsentPartnersCookiemunchStampsCheckResponse> => t.op("postOrgConsentPartnersCookiemunchStampsCheck", { body }, options),
|
|
1202
|
+
},
|
|
1203
|
+
},
|
|
1204
|
+
},
|
|
1205
|
+
fxFeed: {
|
|
1206
|
+
/** Get the FX feed setting. GET /v1/org/fx-feed */
|
|
1207
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgFxFeedResponse> => t.op("getOrgFxFeed", { }, options),
|
|
1208
|
+
/** Turn the FX feed on or off. PUT /v1/org/fx-feed */
|
|
1209
|
+
update: (body: T.PutOrgFxFeedBody, options?: RequestOptions): Promise<T.PutOrgFxFeedResponse> => t.op("putOrgFxFeed", { body }, options),
|
|
1210
|
+
},
|
|
1211
|
+
hostedPages: {
|
|
1212
|
+
/** Get the hosted-page consent and chat. GET /v1/org/hosted-pages */
|
|
1213
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgHostedPagesResponse> => t.op("getOrgHostedPages", { }, options),
|
|
1214
|
+
/** Check the hosted-page adapters. POST /v1/org/hosted-pages/check */
|
|
1215
|
+
check: (options?: RequestOptions): Promise<T.PostOrgHostedPagesCheckResponse> => t.op("postOrgHostedPagesCheck", { }, options),
|
|
1216
|
+
/** Set the hosted-page consent and chat. PUT /v1/org/hosted-pages */
|
|
1217
|
+
update: (body: T.PutOrgHostedPagesBody, options?: RequestOptions): Promise<T.PutOrgHostedPagesResponse> => t.op("putOrgHostedPages", { body }, options),
|
|
1218
|
+
},
|
|
1219
|
+
members: {
|
|
1220
|
+
/** Remove a team member. DELETE /v1/org/members/{userId} */
|
|
1221
|
+
delete: (userId: string, options?: RequestOptions): Promise<T.DeleteOrgMembersUserIdResponse> => t.op("deleteOrgMembersUserId", { path: { userId } }, options),
|
|
1222
|
+
/** List team members. GET /v1/org/members */
|
|
1223
|
+
list: (query?: (T.GetOrgMembersQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetOrgMembersResponse['data'][number], T.GetOrgMembersResponse> => t.list("getOrgMembers", { query }, options),
|
|
1224
|
+
/** Change a member's role. PATCH /v1/org/members/{userId} */
|
|
1225
|
+
update: (userId: string, body: T.PatchOrgMembersUserIdBody, options?: RequestOptions): Promise<T.PatchOrgMembersUserIdResponse> => t.op("patchOrgMembersUserId", { path: { userId }, body }, options),
|
|
1226
|
+
/** Add a team member. POST /v1/org/members */
|
|
1227
|
+
create: (body: T.PostOrgMembersBody, options?: RequestOptions): Promise<T.PostOrgMembersResponse> => t.op("postOrgMembers", { body }, options),
|
|
1228
|
+
},
|
|
1229
|
+
payoutSchedule: {
|
|
1230
|
+
/** Get payout schedules. GET /v1/org/payout-schedule */
|
|
1231
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgPayoutScheduleResponse> => t.op("getOrgPayoutSchedule", { }, options),
|
|
1232
|
+
/** Set the org payout schedule. PUT /v1/org/payout-schedule */
|
|
1233
|
+
update: (body: T.PutOrgPayoutScheduleBody, options?: RequestOptions): Promise<T.PutOrgPayoutScheduleResponse> => t.op("putOrgPayoutSchedule", { body }, options),
|
|
1234
|
+
},
|
|
1235
|
+
portalAuth: {
|
|
1236
|
+
/** Get partner sign-in settings. GET /v1/org/portal-auth */
|
|
1237
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgPortalAuthResponse> => t.op("getOrgPortalAuth", { }, options),
|
|
1238
|
+
/** Test partner sign-in. POST /v1/org/portal-auth/test */
|
|
1239
|
+
test: (options?: RequestOptions): Promise<T.PostOrgPortalAuthTestResponse> => t.op("postOrgPortalAuthTest", { }, options),
|
|
1240
|
+
/** Set partner sign-in. PUT /v1/org/portal-auth */
|
|
1241
|
+
update: (body: T.PutOrgPortalAuthBody, options?: RequestOptions): Promise<T.PutOrgPortalAuthResponse> => t.op("putOrgPortalAuth", { body }, options),
|
|
1242
|
+
},
|
|
1243
|
+
referralParams: {
|
|
1244
|
+
/** Get referral query parameters. GET /v1/org/referral-params */
|
|
1245
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgReferralParamsResponse> => t.op("getOrgReferralParams", { }, options),
|
|
1246
|
+
/** Set referral query parameters. PUT /v1/org/referral-params */
|
|
1247
|
+
update: (body: T.PutOrgReferralParamsBody, options?: RequestOptions): Promise<T.PutOrgReferralParamsResponse> => t.op("putOrgReferralParams", { body }, options),
|
|
1248
|
+
},
|
|
1249
|
+
retention: {
|
|
1250
|
+
/** Get the data retention policy. GET /v1/org/retention */
|
|
1251
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgRetentionResponse> => t.op("getOrgRetention", { }, options),
|
|
1252
|
+
/** Set the data retention policy. PUT /v1/org/retention */
|
|
1253
|
+
update: (body: T.PutOrgRetentionBody, options?: RequestOptions): Promise<T.PutOrgRetentionResponse> => t.op("putOrgRetention", { body }, options),
|
|
1254
|
+
},
|
|
1255
|
+
sso: {
|
|
1256
|
+
/** Get SSO settings. GET /v1/org/sso */
|
|
1257
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgSsoResponse> => t.op("getOrgSso", { }, options),
|
|
1258
|
+
/** Update SSO settings. PATCH /v1/org/sso */
|
|
1259
|
+
update: (body: T.PatchOrgSsoBody, options?: RequestOptions): Promise<T.PatchOrgSsoResponse> => t.op("patchOrgSso", { body }, options),
|
|
1260
|
+
/** Link the org to SSO. POST /v1/org/sso/link */
|
|
1261
|
+
link: (options?: RequestOptions): Promise<T.PostOrgSsoLinkResponse> => t.op("postOrgSsoLink", { }, options),
|
|
1262
|
+
connections: {
|
|
1263
|
+
/** Get SAML metadata. GET /v1/org/sso/connections/{id}/saml-metadata */
|
|
1264
|
+
samlMetadata: (id: string, options?: RequestOptions): Promise<T.GetOrgSsoConnectionsIdSamlMetadataResponse> => t.op("getOrgSsoConnectionsIdSamlMetadata", { path: { id } }, options),
|
|
1265
|
+
},
|
|
1266
|
+
direct: {
|
|
1267
|
+
/** Remove your identity provider. DELETE /v1/org/sso/direct */
|
|
1268
|
+
delete: (options?: RequestOptions): Promise<T.DeleteOrgSsoDirectResponse> => t.op("deleteOrgSsoDirect", { }, options),
|
|
1269
|
+
/** Test your identity provider. POST /v1/org/sso/direct/test */
|
|
1270
|
+
test: (options?: RequestOptions): Promise<T.PostOrgSsoDirectTestResponse> => t.op("postOrgSsoDirectTest", { }, options),
|
|
1271
|
+
/** Connect your own identity provider. PUT /v1/org/sso/direct */
|
|
1272
|
+
update: (body: T.PutOrgSsoDirectBody, options?: RequestOptions): Promise<T.PutOrgSsoDirectResponse> => t.op("putOrgSsoDirect", { body }, options),
|
|
1273
|
+
},
|
|
1274
|
+
tickets: {
|
|
1275
|
+
/** Create an SSO setup link. POST /v1/org/sso/tickets */
|
|
1276
|
+
create: (body: T.PostOrgSsoTicketsBody, options?: RequestOptions): Promise<T.PostOrgSsoTicketsResponse> => t.op("postOrgSsoTickets", { body }, options),
|
|
1277
|
+
/** Revoke an SSO setup link. POST /v1/org/sso/tickets/{id}/revoke */
|
|
1278
|
+
revoke: (id: string, options?: RequestOptions): Promise<T.PostOrgSsoTicketsIdRevokeResponse> => t.op("postOrgSsoTicketsIdRevoke", { path: { id } }, options),
|
|
1279
|
+
},
|
|
1280
|
+
},
|
|
1281
|
+
taxProfile: {
|
|
1282
|
+
/** Get the tax profile. GET /v1/org/tax-profile */
|
|
1283
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgTaxProfileResponse> => t.op("getOrgTaxProfile", { }, options),
|
|
1284
|
+
/** Update the tax profile. PUT /v1/org/tax-profile */
|
|
1285
|
+
update: (body: T.PutOrgTaxProfileBody, options?: RequestOptions): Promise<T.PutOrgTaxProfileResponse> => t.op("putOrgTaxProfile", { body }, options),
|
|
1286
|
+
},
|
|
1287
|
+
trackingConsent: {
|
|
1288
|
+
/** Get the tracker's consent default. GET /v1/org/tracking-consent */
|
|
1289
|
+
retrieve: (options?: RequestOptions): Promise<T.GetOrgTrackingConsentResponse> => t.op("getOrgTrackingConsent", { }, options),
|
|
1290
|
+
/** Set the tracker's consent default. PUT /v1/org/tracking-consent */
|
|
1291
|
+
update: (body: T.PutOrgTrackingConsentBody, options?: RequestOptions): Promise<T.PutOrgTrackingConsentResponse> => t.op("putOrgTrackingConsent", { body }, options),
|
|
1292
|
+
},
|
|
1293
|
+
},
|
|
1294
|
+
orgs: {
|
|
1295
|
+
/** Create an organization. POST /v1/orgs */
|
|
1296
|
+
create: (body: T.PostOrgsBody, options?: RequestOptions): Promise<T.PostOrgsResponse> => t.op("postOrgs", { body }, options),
|
|
1297
|
+
privacy: {
|
|
1298
|
+
/** Mint an executor key under a Cookie Munch partner link. POST /v1/orgs/{orgId}/privacy/executor-key */
|
|
1299
|
+
executorKey: (orgId: string, body: T.PostOrgsOrgIdPrivacyExecutorKeyBody, options?: RequestOptions): Promise<T.PostOrgsOrgIdPrivacyExecutorKeyResponse> => t.op("postOrgsOrgIdPrivacyExecutorKey", { path: { orgId }, body }, options),
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
1302
|
+
outreach: {
|
|
1303
|
+
/** List outreach messages. GET /v1/outreach */
|
|
1304
|
+
list: (query?: (T.GetOutreachQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetOutreachResponse['data'][number], T.GetOutreachResponse> => t.list("getOutreach", { query }, options),
|
|
1305
|
+
/** Draft an outreach sequence. POST /v1/outreach/draft */
|
|
1306
|
+
draft: (body: T.PostOutreachDraftBody, options?: RequestOptions): Promise<T.PostOutreachDraftResponse> => t.op("postOutreachDraft", { body }, options),
|
|
1307
|
+
/** Approve an outreach message. POST /v1/outreach/{id}/approve */
|
|
1308
|
+
approve: (id: string, options?: RequestOptions): Promise<T.PostOutreachIdApproveResponse> => t.op("postOutreachIdApprove", { path: { id } }, options),
|
|
1309
|
+
/** Send due outreach. POST /v1/outreach/send-due */
|
|
1310
|
+
sendDue: (options?: RequestOptions): Promise<T.PostOutreachSendDueResponse> => t.op("postOutreachSendDue", { }, options),
|
|
1311
|
+
},
|
|
1312
|
+
partner: {
|
|
1313
|
+
/** List my achievements. GET /v1/partner/achievements */
|
|
1314
|
+
achievements: (query?: (T.GetPartnerAchievementsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerAchievementsResponse['data'][number], T.GetPartnerAchievementsResponse> => t.list("getPartnerAchievements", { query }, options),
|
|
1315
|
+
/** List marketing assets. GET /v1/partner/assets */
|
|
1316
|
+
assets: (query?: (T.GetPartnerAssetsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerAssetsResponse['data'][number], T.GetPartnerAssetsResponse> => t.list("getPartnerAssets", { query }, options),
|
|
1317
|
+
/** My call numbers. GET /v1/partner/call-numbers */
|
|
1318
|
+
callNumbers: (query?: (T.GetPartnerCallNumbersQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerCallNumbersResponse['data'][number], T.GetPartnerCallNumbersResponse> => t.list("getPartnerCallNumbers", { query }, options),
|
|
1319
|
+
/** Search products to promote. GET /v1/partner/catalog */
|
|
1320
|
+
catalog: (query?: (T.GetPartnerCatalogQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPartnerCatalogResponse> => t.op("getPartnerCatalog", { query }, options),
|
|
1321
|
+
/** List my groups. GET /v1/partner/groups */
|
|
1322
|
+
groups: (query?: (T.GetPartnerGroupsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerGroupsResponse['data'][number], T.GetPartnerGroupsResponse> => t.list("getPartnerGroups", { query }, options),
|
|
1323
|
+
/** Browse the marketplace. GET /v1/partner/marketplace */
|
|
1324
|
+
marketplace: (query?: (T.GetPartnerMarketplaceQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerMarketplaceResponse['data'][number], T.GetPartnerMarketplaceResponse> => t.list("getPartnerMarketplace", { query }, options),
|
|
1325
|
+
/** Get my account and memberships. GET /v1/partner/me */
|
|
1326
|
+
me: (options?: RequestOptions): Promise<T.GetPartnerMeResponse> => t.op("getPartnerMe", { }, options),
|
|
1327
|
+
/** Get my reputation passport. GET /v1/partner/passport */
|
|
1328
|
+
passport: (options?: RequestOptions): Promise<T.GetPartnerPassportResponse> => t.op("getPartnerPassport", { }, options),
|
|
1329
|
+
/** List my postback calls. GET /v1/partner/postback-logs */
|
|
1330
|
+
postbackLogs: (query?: (T.GetPartnerPostbackLogsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerPostbackLogsResponse['data'][number], T.GetPartnerPostbackLogsResponse> => t.list("getPartnerPostbackLogs", { query }, options),
|
|
1331
|
+
/** Get my recruiting link. GET /v1/partner/recruit */
|
|
1332
|
+
recruit: (options?: RequestOptions): Promise<T.GetPartnerRecruitResponse> => t.op("getPartnerRecruit", { }, options),
|
|
1333
|
+
/** Get my stats. GET /v1/partner/stats */
|
|
1334
|
+
stats: (query?: (T.GetPartnerStatsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerStatsResponse['data'][number], T.GetPartnerStatsResponse> => t.list("getPartnerStats", { query }, options),
|
|
1335
|
+
/** Set my email language (partner). PUT /v1/partner/locale */
|
|
1336
|
+
updateLocale: (body: T.PutPartnerLocaleBody, options?: RequestOptions): Promise<T.PutPartnerLocaleResponse> => t.op("putPartnerLocale", { body }, options),
|
|
1337
|
+
advance: {
|
|
1338
|
+
/** List my advances. GET /v1/partner/advance */
|
|
1339
|
+
list: (query?: (T.GetPartnerAdvanceQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerAdvanceResponse['data'][number], T.GetPartnerAdvanceResponse> => t.list("getPartnerAdvance", { query }, options),
|
|
1340
|
+
/** Get my advance offer. GET /v1/partner/advance/offer */
|
|
1341
|
+
offer: (options?: RequestOptions): Promise<T.GetPartnerAdvanceOfferResponse> => t.op("getPartnerAdvanceOffer", { }, options),
|
|
1342
|
+
/** Take a commission advance. POST /v1/partner/advance/accept */
|
|
1343
|
+
accept: (body: T.PostPartnerAdvanceAcceptBody, options?: RequestOptions): Promise<T.PostPartnerAdvanceAcceptResponse> => t.op("postPartnerAdvanceAccept", { body }, options),
|
|
1344
|
+
},
|
|
1345
|
+
apiTokens: {
|
|
1346
|
+
/** Revoke a partner API token. DELETE /v1/partner/api-tokens/{id} */
|
|
1347
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeletePartnerApiTokensIdResponse> => t.op("deletePartnerApiTokensId", { path: { id } }, options),
|
|
1348
|
+
/** List your partner API tokens. GET /v1/partner/api-tokens */
|
|
1349
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPartnerApiTokensResponse> => t.op("getPartnerApiTokens", { }, options),
|
|
1350
|
+
/** Create a partner API token. POST /v1/partner/api-tokens */
|
|
1351
|
+
create: (body: T.PostPartnerApiTokensBody, options?: RequestOptions): Promise<T.PostPartnerApiTokensResponse> => t.op("postPartnerApiTokens", { body }, options),
|
|
1352
|
+
},
|
|
1353
|
+
auth: {
|
|
1354
|
+
wallet: {
|
|
1355
|
+
/** Get a wallet sign-in nonce. POST /v1/partner/auth/wallet/nonce */
|
|
1356
|
+
nonce: (body: T.PostPartnerAuthWalletNonceBody, options?: RequestOptions): Promise<T.PostPartnerAuthWalletNonceResponse> => t.op("postPartnerAuthWalletNonce", { body }, options),
|
|
1357
|
+
/** Sign in with a wallet. POST /v1/partner/auth/wallet/verify */
|
|
1358
|
+
verify: (body: T.PostPartnerAuthWalletVerifyBody, options?: RequestOptions): Promise<T.PostPartnerAuthWalletVerifyResponse> => t.op("postPartnerAuthWalletVerify", { body }, options),
|
|
1359
|
+
},
|
|
1360
|
+
},
|
|
1361
|
+
contracts: {
|
|
1362
|
+
/** List my contracts. GET /v1/partner/contracts */
|
|
1363
|
+
list: (query?: (T.GetPartnerContractsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerContractsResponse['data'][number], T.GetPartnerContractsResponse> => t.list("getPartnerContracts", { query }, options),
|
|
1364
|
+
/** Accept a contract. POST /v1/partner/contracts/{id}/accept */
|
|
1365
|
+
accept: (id: string, options?: RequestOptions): Promise<T.PostPartnerContractsIdAcceptResponse> => t.op("postPartnerContractsIdAccept", { path: { id } }, options),
|
|
1366
|
+
/** Decline a contract. POST /v1/partner/contracts/{id}/decline */
|
|
1367
|
+
decline: (id: string, options?: RequestOptions): Promise<T.PostPartnerContractsIdDeclineResponse> => t.op("postPartnerContractsIdDecline", { path: { id } }, options),
|
|
1368
|
+
},
|
|
1369
|
+
deals: {
|
|
1370
|
+
/** List my deals. GET /v1/partner/deals */
|
|
1371
|
+
list: (query?: (T.GetPartnerDealsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerDealsResponse['data'][number], T.GetPartnerDealsResponse> => t.list("getPartnerDeals", { query }, options),
|
|
1372
|
+
/** Register a deal. POST /v1/partner/deals */
|
|
1373
|
+
create: (body: T.PostPartnerDealsBody, options?: RequestOptions): Promise<T.PostPartnerDealsResponse> => t.op("postPartnerDeals", { body }, options),
|
|
1374
|
+
},
|
|
1375
|
+
disputes: {
|
|
1376
|
+
/** List my disputes. GET /v1/partner/disputes */
|
|
1377
|
+
list: (query?: (T.GetPartnerDisputesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerDisputesResponse['data'][number], T.GetPartnerDisputesResponse> => t.list("getPartnerDisputes", { query }, options),
|
|
1378
|
+
/** File a dispute. POST /v1/partner/disputes */
|
|
1379
|
+
create: (body: T.PostPartnerDisputesBody, options?: RequestOptions): Promise<T.PostPartnerDisputesResponse> => t.op("postPartnerDisputes", { body }, options),
|
|
1380
|
+
},
|
|
1381
|
+
feeds: {
|
|
1382
|
+
/** Download a coupon feed. GET /v1/partner/feeds/coupons */
|
|
1383
|
+
coupons: (query: T.GetPartnerFeedsCouponsQuery, options?: RequestOptions): Promise<T.GetPartnerFeedsCouponsResponse> => t.op("getPartnerFeedsCoupons", { query }, options),
|
|
1384
|
+
/** Download a product feed. GET /v1/partner/feeds/products */
|
|
1385
|
+
products: (query: T.GetPartnerFeedsProductsQuery, options?: RequestOptions): Promise<T.GetPartnerFeedsProductsResponse> => t.op("getPartnerFeedsProducts", { query }, options),
|
|
1386
|
+
},
|
|
1387
|
+
invitations: {
|
|
1388
|
+
/** List my invitations. GET /v1/partner/invitations */
|
|
1389
|
+
list: (query?: (T.GetPartnerInvitationsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerInvitationsResponse['data'][number], T.GetPartnerInvitationsResponse> => t.list("getPartnerInvitations", { query }, options),
|
|
1390
|
+
/** Accept an invitation. POST /v1/partner/invitations/{id}/accept */
|
|
1391
|
+
accept: (id: string, options?: RequestOptions): Promise<T.PostPartnerInvitationsIdAcceptResponse> => t.op("postPartnerInvitationsIdAccept", { path: { id } }, options),
|
|
1392
|
+
/** Decline an invitation. POST /v1/partner/invitations/{id}/decline */
|
|
1393
|
+
decline: (id: string, options?: RequestOptions): Promise<T.PostPartnerInvitationsIdDeclineResponse> => t.op("postPartnerInvitationsIdDecline", { path: { id } }, options),
|
|
1394
|
+
},
|
|
1395
|
+
kyc: {
|
|
1396
|
+
/** Get my identity verification status. GET /v1/partner/kyc/status */
|
|
1397
|
+
status: (options?: RequestOptions): Promise<T.GetPartnerKycStatusResponse> => t.op("getPartnerKycStatus", { }, options),
|
|
1398
|
+
/** Submit identity verification. POST /v1/partner/kyc/submit */
|
|
1399
|
+
submit: (body: T.PostPartnerKycSubmitBody, options?: RequestOptions): Promise<T.PostPartnerKycSubmitResponse> => t.op("postPartnerKycSubmit", { body }, options),
|
|
1400
|
+
},
|
|
1401
|
+
links: {
|
|
1402
|
+
/** List my links. GET /v1/partner/links */
|
|
1403
|
+
list: (query?: (T.GetPartnerLinksQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerLinksResponse['data'][number], T.GetPartnerLinksResponse> => t.list("getPartnerLinks", { query }, options),
|
|
1404
|
+
/** Get my link's QR code. GET /v1/partner/links/{id}/qr */
|
|
1405
|
+
qr: (id: string, options?: RequestOptions): Promise<string> => t.op("getPartnerLinksIdQr", { path: { id } }, options),
|
|
1406
|
+
/** My link's daily activity. GET /v1/partner/links/{id}/timeseries */
|
|
1407
|
+
timeseries: (id: string, query?: (T.GetPartnerLinksIdTimeseriesQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPartnerLinksIdTimeseriesResponse> => t.op("getPartnerLinksIdTimeseries", { path: { id }, query }, options),
|
|
1408
|
+
/** Find the programs for a page. GET /v1/partner/links/match */
|
|
1409
|
+
match: (query: T.GetPartnerLinksMatchQuery, options?: RequestOptions): Promise<T.GetPartnerLinksMatchResponse> => t.op("getPartnerLinksMatch", { query }, options),
|
|
1410
|
+
/** Create a link. POST /v1/partner/links */
|
|
1411
|
+
create: (body: T.PostPartnerLinksBody, options?: RequestOptions): Promise<T.PostPartnerLinksResponse> => t.op("postPartnerLinks", { body }, options),
|
|
1412
|
+
/** Build a deep link. POST /v1/partner/links/deep */
|
|
1413
|
+
deep: (body: T.PostPartnerLinksDeepBody, options?: RequestOptions): Promise<T.PostPartnerLinksDeepResponse> => t.op("postPartnerLinksDeep", { body }, options),
|
|
1414
|
+
/** Get my link for a product. POST /v1/partner/links/product */
|
|
1415
|
+
product: (body: T.PostPartnerLinksProductBody, options?: RequestOptions): Promise<T.PostPartnerLinksProductResponse> => t.op("postPartnerLinksProduct", { body }, options),
|
|
1416
|
+
},
|
|
1417
|
+
notifications: {
|
|
1418
|
+
/** List my notifications. GET /v1/partner/notifications */
|
|
1419
|
+
list: (query?: (T.GetPartnerNotificationsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerNotificationsResponse['data'][number], T.GetPartnerNotificationsResponse> => t.list("getPartnerNotifications", { query }, options),
|
|
1420
|
+
/** Mark my notification read. POST /v1/partner/notifications/{id}/read */
|
|
1421
|
+
read: (id: string, options?: RequestOptions): Promise<T.PostPartnerNotificationsIdReadResponse> => t.op("postPartnerNotificationsIdRead", { path: { id } }, options),
|
|
1422
|
+
},
|
|
1423
|
+
orgs: {
|
|
1424
|
+
/** Submit my tax form. POST /v1/partner/orgs/{orgId}/tax-form */
|
|
1425
|
+
taxForm: (orgId: string, body: T.PostPartnerOrgsOrgIdTaxFormBody, options?: RequestOptions): Promise<T.PostPartnerOrgsOrgIdTaxFormResponse> => t.op("postPartnerOrgsOrgIdTaxForm", { path: { orgId }, body }, options),
|
|
1426
|
+
/** Set my payout details. PUT /v1/partner/orgs/{orgId}/payout-profile */
|
|
1427
|
+
updatePayoutProfile: (orgId: string, body: T.PutPartnerOrgsOrgIdPayoutProfileBody, options?: RequestOptions): Promise<T.PutPartnerOrgsOrgIdPayoutProfileResponse> => t.op("putPartnerOrgsOrgIdPayoutProfile", { path: { orgId }, body }, options),
|
|
1428
|
+
/** Set my conversion postback. PUT /v1/partner/orgs/{orgId}/postback */
|
|
1429
|
+
updatePostback: (orgId: string, body: T.PutPartnerOrgsOrgIdPostbackBody, options?: RequestOptions): Promise<T.PutPartnerOrgsOrgIdPostbackResponse> => t.op("putPartnerOrgsOrgIdPostback", { path: { orgId }, body }, options),
|
|
1430
|
+
/** Set my VAT number. PUT /v1/partner/orgs/{orgId}/vat */
|
|
1431
|
+
updateVat: (orgId: string, body: T.PutPartnerOrgsOrgIdVatBody, options?: RequestOptions): Promise<T.PutPartnerOrgsOrgIdVatResponse> => t.op("putPartnerOrgsOrgIdVat", { path: { orgId }, body }, options),
|
|
1432
|
+
selfBilling: {
|
|
1433
|
+
/** Get self-billing status. GET /v1/partner/orgs/{orgId}/self-billing */
|
|
1434
|
+
retrieve: (orgId: string, options?: RequestOptions): Promise<T.GetPartnerOrgsOrgIdSelfBillingResponse> => t.op("getPartnerOrgsOrgIdSelfBilling", { path: { orgId } }, options),
|
|
1435
|
+
/** Accept self-billing. POST /v1/partner/orgs/{orgId}/self-billing */
|
|
1436
|
+
create: (orgId: string, body: T.PostPartnerOrgsOrgIdSelfBillingBody, options?: RequestOptions): Promise<T.PostPartnerOrgsOrgIdSelfBillingResponse> => t.op("postPartnerOrgsOrgIdSelfBilling", { path: { orgId }, body }, options),
|
|
1437
|
+
},
|
|
1438
|
+
},
|
|
1439
|
+
payouts: {
|
|
1440
|
+
/** List my payouts. GET /v1/partner/payouts */
|
|
1441
|
+
list: (query?: (T.GetPartnerPayoutsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerPayoutsResponse['data'][number], T.GetPartnerPayoutsResponse> => t.list("getPartnerPayouts", { query }, options),
|
|
1442
|
+
/** Get my payout invoice. GET /v1/partner/payouts/{id}/invoice */
|
|
1443
|
+
invoice: (id: string, query?: (T.GetPartnerPayoutsIdInvoiceQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPartnerPayoutsIdInvoiceResponse> => t.op("getPartnerPayoutsIdInvoice", { path: { id }, query }, options),
|
|
1444
|
+
},
|
|
1445
|
+
profile: {
|
|
1446
|
+
/** Get my creator profile. GET /v1/partner/profile */
|
|
1447
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPartnerProfileResponse> => t.op("getPartnerProfile", { }, options),
|
|
1448
|
+
/** Get my verified performance. GET /v1/partner/profile/verified */
|
|
1449
|
+
verified: (options?: RequestOptions): Promise<T.GetPartnerProfileVerifiedResponse> => t.op("getPartnerProfileVerified", { }, options),
|
|
1450
|
+
/** Update my creator profile. PUT /v1/partner/profile */
|
|
1451
|
+
update: (body: T.PutPartnerProfileBody, options?: RequestOptions): Promise<T.PutPartnerProfileResponse> => t.op("putPartnerProfile", { body }, options),
|
|
1452
|
+
},
|
|
1453
|
+
programs: {
|
|
1454
|
+
/** Get a program leaderboard. GET /v1/partner/programs/{programId}/leaderboard */
|
|
1455
|
+
leaderboard: (programId: string, options?: RequestOptions): Promise<T.GetPartnerProgramsProgramIdLeaderboardResponse> => t.op("getPartnerProgramsProgramIdLeaderboard", { path: { programId } }, options),
|
|
1456
|
+
/** Apply to a program. POST /v1/partner/programs/{programId}/apply */
|
|
1457
|
+
apply: (programId: string, body: T.PostPartnerProgramsProgramIdApplyBody, options?: RequestOptions): Promise<T.PostPartnerProgramsProgramIdApplyResponse> => t.op("postPartnerProgramsProgramIdApply", { path: { programId }, body }, options),
|
|
1458
|
+
},
|
|
1459
|
+
referrals: {
|
|
1460
|
+
/** List my referrals. GET /v1/partner/referrals */
|
|
1461
|
+
list: (query?: (T.GetPartnerReferralsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerReferralsResponse['data'][number], T.GetPartnerReferralsResponse> => t.list("getPartnerReferrals", { query }, options),
|
|
1462
|
+
/** Explain a referral. GET /v1/partner/referrals/{id}/transparency */
|
|
1463
|
+
transparency: (id: string, options?: RequestOptions): Promise<T.GetPartnerReferralsIdTransparencyResponse> => t.op("getPartnerReferralsIdTransparency", { path: { id } }, options),
|
|
1464
|
+
},
|
|
1465
|
+
reports: {
|
|
1466
|
+
/** Get my product report. GET /v1/partner/reports/products */
|
|
1467
|
+
products: (query?: (T.GetPartnerReportsProductsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPartnerReportsProductsResponse> => t.op("getPartnerReportsProducts", { query }, options),
|
|
1468
|
+
},
|
|
1469
|
+
security: {
|
|
1470
|
+
/** Get my security settings. GET /v1/partner/security */
|
|
1471
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPartnerSecurityResponse> => t.op("getPartnerSecurity", { }, options),
|
|
1472
|
+
totp: {
|
|
1473
|
+
/** Turn off two-factor. POST /v1/partner/security/totp/disable */
|
|
1474
|
+
disable: (body: T.PostPartnerSecurityTotpDisableBody, options?: RequestOptions): Promise<T.PostPartnerSecurityTotpDisableResponse> => t.op("postPartnerSecurityTotpDisable", { body }, options),
|
|
1475
|
+
/** Turn on two-factor. POST /v1/partner/security/totp/enable */
|
|
1476
|
+
enable: (body: T.PostPartnerSecurityTotpEnableBody, options?: RequestOptions): Promise<T.PostPartnerSecurityTotpEnableResponse> => t.op("postPartnerSecurityTotpEnable", { body }, options),
|
|
1477
|
+
/** Start two-factor setup. POST /v1/partner/security/totp/setup */
|
|
1478
|
+
setup: (options?: RequestOptions): Promise<T.PostPartnerSecurityTotpSetupResponse> => t.op("postPartnerSecurityTotpSetup", { }, options),
|
|
1479
|
+
},
|
|
1480
|
+
},
|
|
1481
|
+
smartlinks: {
|
|
1482
|
+
/** Delete a smartlink. DELETE /v1/partner/smartlinks/{id} */
|
|
1483
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeletePartnerSmartlinksIdResponse> => t.op("deletePartnerSmartlinksId", { path: { id } }, options),
|
|
1484
|
+
/** List my smartlinks. GET /v1/partner/smartlinks */
|
|
1485
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPartnerSmartlinksResponse> => t.op("getPartnerSmartlinks", { }, options),
|
|
1486
|
+
/** Create a smartlink. POST /v1/partner/smartlinks */
|
|
1487
|
+
create: (body: T.PostPartnerSmartlinksBody, options?: RequestOptions): Promise<T.PostPartnerSmartlinksResponse> => t.op("postPartnerSmartlinks", { body }, options),
|
|
1488
|
+
},
|
|
1489
|
+
storefrontBar: {
|
|
1490
|
+
/** Turn on the get-link bar for a shop. POST /v1/partner/storefront-bar/token */
|
|
1491
|
+
token: (body: T.PostPartnerStorefrontBarTokenBody, options?: RequestOptions): Promise<T.PostPartnerStorefrontBarTokenResponse> => t.op("postPartnerStorefrontBarToken", { body }, options),
|
|
1492
|
+
},
|
|
1493
|
+
storefronts: {
|
|
1494
|
+
/** Get my storefront. GET /v1/partner/storefronts */
|
|
1495
|
+
retrieve: (query: T.GetPartnerStorefrontsQuery, options?: RequestOptions): Promise<T.GetPartnerStorefrontsResponse> => t.op("getPartnerStorefronts", { query }, options),
|
|
1496
|
+
/** Save my storefront. PUT /v1/partner/storefronts */
|
|
1497
|
+
update: (body: T.PutPartnerStorefrontsBody, query: T.PutPartnerStorefrontsQuery, options?: RequestOptions): Promise<T.PutPartnerStorefrontsResponse> => t.op("putPartnerStorefronts", { body, query }, options),
|
|
1498
|
+
/** Set my storefront products. PUT /v1/partner/storefronts/{id}/items */
|
|
1499
|
+
updateItems: (id: string, body: T.PutPartnerStorefrontsIdItemsBody, options?: RequestOptions): Promise<T.PutPartnerStorefrontsIdItemsResponse> => t.op("putPartnerStorefrontsIdItems", { path: { id }, body }, options),
|
|
1500
|
+
},
|
|
1501
|
+
taxDocuments: {
|
|
1502
|
+
/** List my tax documents. GET /v1/partner/tax-documents */
|
|
1503
|
+
list: (query?: (T.GetPartnerTaxDocumentsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerTaxDocumentsResponse['data'][number], T.GetPartnerTaxDocumentsResponse> => t.list("getPartnerTaxDocuments", { query }, options),
|
|
1504
|
+
/** Get my tax document. GET /v1/partner/tax-documents/{id} */
|
|
1505
|
+
retrieve: (id: string, options?: RequestOptions): Promise<string> => t.op("getPartnerTaxDocumentsId", { path: { id } }, options),
|
|
1506
|
+
},
|
|
1507
|
+
terms: {
|
|
1508
|
+
/** List program terms. GET /v1/partner/terms */
|
|
1509
|
+
list: (query?: (T.GetPartnerTermsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnerTermsResponse['data'][number], T.GetPartnerTermsResponse> => t.list("getPartnerTerms", { query }, options),
|
|
1510
|
+
/** Accept program terms. POST /v1/partner/terms/{versionId}/accept */
|
|
1511
|
+
accept: (versionId: string, options?: RequestOptions): Promise<T.PostPartnerTermsVersionIdAcceptResponse> => t.op("postPartnerTermsVersionIdAccept", { path: { versionId } }, options),
|
|
1512
|
+
},
|
|
1513
|
+
},
|
|
1514
|
+
partnerGroups: {
|
|
1515
|
+
/** Update a partner group. PATCH /v1/partner-groups/{id} */
|
|
1516
|
+
update: (id: string, body: T.PatchPartnerGroupsIdBody, options?: RequestOptions): Promise<T.PatchPartnerGroupsIdResponse> => t.op("patchPartnerGroupsId", { path: { id }, body }, options),
|
|
1517
|
+
},
|
|
1518
|
+
partners: {
|
|
1519
|
+
/** Delete a partner. DELETE /v1/partners/{id} */
|
|
1520
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeletePartnersIdResponse> => t.op("deletePartnersId", { path: { id } }, options),
|
|
1521
|
+
/** List partners. GET /v1/partners */
|
|
1522
|
+
list: (query?: (T.GetPartnersQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnersResponse['data'][number], T.GetPartnersResponse> => t.list("getPartners", { query }, options),
|
|
1523
|
+
/** Get a partner. GET /v1/partners/{id} */
|
|
1524
|
+
retrieve: (id: string, query?: (T.GetPartnersIdQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPartnersIdResponse> => t.op("getPartnersId", { path: { id }, query }, options),
|
|
1525
|
+
/** Get a partner's balances. GET /v1/partners/{id}/balances */
|
|
1526
|
+
balances: (id: string, query?: (T.GetPartnersIdBalancesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnersIdBalancesResponse['data'][number], T.GetPartnersIdBalancesResponse> => t.list("getPartnersIdBalances", { path: { id }, query }, options),
|
|
1527
|
+
/** List a partner's enrollments. GET /v1/partners/{id}/enrollments */
|
|
1528
|
+
enrollments: (id: string, query?: (T.GetPartnersIdEnrollmentsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPartnersIdEnrollmentsResponse['data'][number], T.GetPartnersIdEnrollmentsResponse> => t.list("getPartnersIdEnrollments", { path: { id }, query }, options),
|
|
1529
|
+
/** Get a partner's quality score. GET /v1/partners/{id}/quality */
|
|
1530
|
+
quality: (id: string, options?: RequestOptions): Promise<T.GetPartnersIdQualityResponse> => t.op("getPartnersIdQuality", { path: { id } }, options),
|
|
1531
|
+
/** Get a partner's stats. GET /v1/partners/{id}/stats */
|
|
1532
|
+
stats: (id: string, query?: (T.GetPartnersIdStatsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPartnersIdStatsResponse> => t.op("getPartnersIdStats", { path: { id }, query }, options),
|
|
1533
|
+
/** Get a partner's referrer summary. GET /v1/partners/{id}/summary */
|
|
1534
|
+
summary: (id: string, query: T.GetPartnersIdSummaryQuery, options?: RequestOptions): Promise<T.GetPartnersIdSummaryResponse> => t.op("getPartnersIdSummary", { path: { id }, query }, options),
|
|
1535
|
+
/** Update a partner. PATCH /v1/partners/{id} */
|
|
1536
|
+
update: (id: string, body: T.PatchPartnersIdBody, options?: RequestOptions): Promise<T.PatchPartnersIdResponse> => t.op("patchPartnersId", { path: { id }, body }, options),
|
|
1537
|
+
/** Create a partner. POST /v1/partners */
|
|
1538
|
+
create: (body: T.PostPartnersBody, options?: RequestOptions): Promise<T.PostPartnersResponse> => t.op("postPartners", { body }, options),
|
|
1539
|
+
/** Create a portal sign-in link. POST /v1/partners/{id}/portal-link */
|
|
1540
|
+
portalLink: (id: string, body: T.PostPartnersIdPortalLinkBody, options?: RequestOptions): Promise<T.PostPartnersIdPortalLinkResponse> => t.op("postPartnersIdPortalLink", { path: { id }, body }, options),
|
|
1541
|
+
/** Record a partner's tax form. POST /v1/partners/{id}/tax-form */
|
|
1542
|
+
taxForm: (id: string, body: T.PostPartnersIdTaxFormBody, options?: RequestOptions): Promise<T.PostPartnersIdTaxFormResponse> => t.op("postPartnersIdTaxForm", { path: { id }, body }, options),
|
|
1543
|
+
/** Set a partner's VAT number. PUT /v1/partners/{id}/vat */
|
|
1544
|
+
updateVat: (id: string, body: T.PutPartnersIdVatBody, options?: RequestOptions): Promise<T.PutPartnersIdVatResponse> => t.op("putPartnersIdVat", { path: { id }, body }, options),
|
|
1545
|
+
payoutProfile: {
|
|
1546
|
+
/** Get a partner's payout profile. GET /v1/partners/{id}/payout-profile */
|
|
1547
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetPartnersIdPayoutProfileResponse> => t.op("getPartnersIdPayoutProfile", { path: { id } }, options),
|
|
1548
|
+
/** Change a partner's payout threshold. PATCH /v1/partners/{id}/payout-profile */
|
|
1549
|
+
update: (id: string, body: T.PatchPartnersIdPayoutProfileBody, options?: RequestOptions): Promise<T.PatchPartnersIdPayoutProfileResponse> => t.op("patchPartnersIdPayoutProfile", { path: { id }, body }, options),
|
|
1550
|
+
/** Set a partner's payout profile. PUT /v1/partners/{id}/payout-profile */
|
|
1551
|
+
replace: (id: string, body: T.PutPartnersIdPayoutProfileBody, options?: RequestOptions): Promise<T.PutPartnersIdPayoutProfileResponse> => t.op("putPartnersIdPayoutProfile", { path: { id }, body }, options),
|
|
1552
|
+
},
|
|
1553
|
+
},
|
|
1554
|
+
passport: {
|
|
1555
|
+
/** Get the passport signing key. GET /v1/passport/public-key */
|
|
1556
|
+
publicKey: (options?: RequestOptions): Promise<T.GetPassportPublicKeyResponse> => t.op("getPassportPublicKey", { }, options),
|
|
1557
|
+
/** Verify a partner passport. POST /v1/passport/verify */
|
|
1558
|
+
verify: (body: T.PostPassportVerifyBody, options?: RequestOptions): Promise<T.PostPassportVerifyResponse> => t.op("postPassportVerify", { body }, options),
|
|
1559
|
+
},
|
|
1560
|
+
payoutConnections: {
|
|
1561
|
+
/** Disconnect a payout provider. DELETE /v1/payout-connections/{provider} */
|
|
1562
|
+
delete: (provider: string, options?: RequestOptions): Promise<T.DeletePayoutConnectionsProviderResponse> => t.op("deletePayoutConnectionsProvider", { path: { provider } }, options),
|
|
1563
|
+
/** List payout provider connections. GET /v1/payout-connections */
|
|
1564
|
+
list: (query?: (T.GetPayoutConnectionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPayoutConnectionsResponse['data'][number], T.GetPayoutConnectionsResponse> => t.list("getPayoutConnections", { query }, options),
|
|
1565
|
+
/** Connect a payout provider. PUT /v1/payout-connections/{provider} */
|
|
1566
|
+
update: (provider: string, body: T.PutPayoutConnectionsProviderBody, options?: RequestOptions): Promise<T.PutPayoutConnectionsProviderResponse> => t.op("putPayoutConnectionsProvider", { path: { provider }, body }, options),
|
|
1567
|
+
},
|
|
1568
|
+
payoutRuns: {
|
|
1569
|
+
/** List payout runs. GET /v1/payout-runs */
|
|
1570
|
+
list: (query?: (T.GetPayoutRunsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPayoutRunsResponse['data'][number], T.GetPayoutRunsResponse> => t.list("getPayoutRuns", { query }, options),
|
|
1571
|
+
/** Create a payout run. POST /v1/payout-runs */
|
|
1572
|
+
create: (options?: RequestOptions): Promise<T.PostPayoutRunsResponse> => t.op("postPayoutRuns", { }, options),
|
|
1573
|
+
/** Cancel a payout run. POST /v1/payout-runs/{id}/cancel */
|
|
1574
|
+
cancel: (id: string, options?: RequestOptions): Promise<T.PostPayoutRunsIdCancelResponse> => t.op("postPayoutRunsIdCancel", { path: { id } }, options),
|
|
1575
|
+
/** Execute a payout run. POST /v1/payout-runs/{id}/execute */
|
|
1576
|
+
execute: (id: string, options?: RequestOptions): Promise<T.PostPayoutRunsIdExecuteResponse> => t.op("postPayoutRunsIdExecute", { path: { id } }, options),
|
|
1577
|
+
/** Run due payout schedules. POST /v1/payout-runs/run-scheduled */
|
|
1578
|
+
runScheduled: (options?: RequestOptions): Promise<T.PostPayoutRunsRunScheduledResponse> => t.op("postPayoutRunsRunScheduled", { }, options),
|
|
1579
|
+
},
|
|
1580
|
+
payouts: {
|
|
1581
|
+
/** List payouts. GET /v1/payouts */
|
|
1582
|
+
list: (query?: (T.GetPayoutsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPayoutsResponse['data'][number], T.GetPayoutsResponse> => t.list("getPayouts", { query }, options),
|
|
1583
|
+
/** Get a payout's invoice. GET /v1/payouts/{id}/invoice */
|
|
1584
|
+
invoice: (id: string, query?: (T.GetPayoutsIdInvoiceQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPayoutsIdInvoiceResponse> => t.op("getPayoutsIdInvoice", { path: { id }, query }, options),
|
|
1585
|
+
},
|
|
1586
|
+
plans: {
|
|
1587
|
+
/** List public plans. GET /v1/plans */
|
|
1588
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPlansResponse> => t.op("getPlans", { }, options),
|
|
1589
|
+
},
|
|
1590
|
+
portal: {
|
|
1591
|
+
theme: {
|
|
1592
|
+
/** Get the portal design. GET /v1/portal/theme */
|
|
1593
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPortalThemeResponse> => t.op("getPortalTheme", { }, options),
|
|
1594
|
+
/** Preview the compiled portal design. GET /v1/portal/theme/compiled */
|
|
1595
|
+
compiled: (query?: (T.GetPortalThemeCompiledQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPortalThemeCompiledResponse> => t.op("getPortalThemeCompiled", { query }, options),
|
|
1596
|
+
/** Get the portal design schema. GET /v1/portal/theme/schema */
|
|
1597
|
+
schema: (options?: RequestOptions): Promise<T.GetPortalThemeSchemaResponse> => t.op("getPortalThemeSchema", { }, options),
|
|
1598
|
+
/** Import a brand file into the portal design. POST /v1/portal/theme/import-brand */
|
|
1599
|
+
importBrand: (body: T.PostPortalThemeImportBrandBody, options?: RequestOptions): Promise<T.PostPortalThemeImportBrandResponse> => t.op("postPortalThemeImportBrand", { body }, options),
|
|
1600
|
+
/** Get a preview link for the portal design draft. POST /v1/portal/theme/preview */
|
|
1601
|
+
preview: (options?: RequestOptions): Promise<T.PostPortalThemePreviewResponse> => t.op("postPortalThemePreview", { }, options),
|
|
1602
|
+
/** Publish the portal design. POST /v1/portal/theme/publish */
|
|
1603
|
+
publish: (body: T.PostPortalThemePublishBody, options?: RequestOptions): Promise<T.PostPortalThemePublishResponse> => t.op("postPortalThemePublish", { body }, options),
|
|
1604
|
+
draft: {
|
|
1605
|
+
/** Discard the portal design draft. DELETE /v1/portal/theme/draft */
|
|
1606
|
+
delete: (options?: RequestOptions): Promise<T.DeletePortalThemeDraftResponse> => t.op("deletePortalThemeDraft", { }, options),
|
|
1607
|
+
/** Change part of the portal design draft. PATCH /v1/portal/theme/draft */
|
|
1608
|
+
update: (body: T.PatchPortalThemeDraftBody, options?: RequestOptions): Promise<T.PatchPortalThemeDraftResponse> => t.op("patchPortalThemeDraft", { body }, options),
|
|
1609
|
+
/** Replace the portal design draft. PUT /v1/portal/theme/draft */
|
|
1610
|
+
replace: (body: T.PutPortalThemeDraftBody, options?: RequestOptions): Promise<T.PutPortalThemeDraftResponse> => t.op("putPortalThemeDraft", { body }, options),
|
|
1611
|
+
},
|
|
1612
|
+
versions: {
|
|
1613
|
+
/** List published portal designs. GET /v1/portal/theme/versions */
|
|
1614
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPortalThemeVersionsResponse> => t.op("getPortalThemeVersions", { }, options),
|
|
1615
|
+
/** Restore a portal design version. POST /v1/portal/theme/versions/{id}/restore */
|
|
1616
|
+
restore: (id: string, options?: RequestOptions): Promise<T.PostPortalThemeVersionsIdRestoreResponse> => t.op("postPortalThemeVersionsIdRestore", { path: { id } }, options),
|
|
1617
|
+
},
|
|
1618
|
+
},
|
|
1619
|
+
},
|
|
1620
|
+
portalAuth: {
|
|
1621
|
+
/** What a merchant's portal sign-in offers. GET /v1/portal-auth/current */
|
|
1622
|
+
current: (query?: (T.GetPortalAuthCurrentQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPortalAuthCurrentResponse> => t.op("getPortalAuthCurrent", { query }, options),
|
|
1623
|
+
},
|
|
1624
|
+
privacy: {
|
|
1625
|
+
/** List DSAR tool requests. GET /v1/privacy/executor-requests */
|
|
1626
|
+
executorRequests: (options?: RequestOptions): Promise<T.GetPrivacyExecutorRequestsResponse> => t.op("getPrivacyExecutorRequests", { }, options),
|
|
1627
|
+
/** Export a customer's data. GET /v1/privacy/export */
|
|
1628
|
+
export: (query: T.GetPrivacyExportQuery, options?: RequestOptions): Promise<T.GetPrivacyExportResponse> => t.op("getPrivacyExport", { query }, options),
|
|
1629
|
+
/** Mint a DSAR executor key. POST /v1/privacy/executor-keys */
|
|
1630
|
+
executorKeys: (body: T.PostPrivacyExecutorKeysBody, options?: RequestOptions): Promise<T.PostPrivacyExecutorKeysResponse> => t.op("postPrivacyExecutorKeys", { body }, options),
|
|
1631
|
+
/** Erase a data subject. POST /v1/privacy/forget */
|
|
1632
|
+
forget: (body: T.PostPrivacyForgetBody, options?: RequestOptions): Promise<T.PostPrivacyForgetResponse> => t.op("postPrivacyForget", { body }, options),
|
|
1633
|
+
/** Find a data subject by email. POST /v1/privacy/lookup */
|
|
1634
|
+
lookup: (body: T.PostPrivacyLookupBody, options?: RequestOptions): Promise<T.PostPrivacyLookupResponse> => t.op("postPrivacyLookup", { body }, options),
|
|
1635
|
+
executors: {
|
|
1636
|
+
/** Disconnect a DSAR tool. DELETE /v1/privacy/executors/{adapter} */
|
|
1637
|
+
delete: (adapter: string, options?: RequestOptions): Promise<T.DeletePrivacyExecutorsAdapterResponse> => t.op("deletePrivacyExecutorsAdapter", { path: { adapter } }, options),
|
|
1638
|
+
/** List connected DSAR tools. GET /v1/privacy/executors */
|
|
1639
|
+
retrieve: (options?: RequestOptions): Promise<T.GetPrivacyExecutorsResponse> => t.op("getPrivacyExecutors", { }, options),
|
|
1640
|
+
/** Check a DSAR tool connection. POST /v1/privacy/executors/{adapter}/check */
|
|
1641
|
+
check: (adapter: string, options?: RequestOptions): Promise<T.PostPrivacyExecutorsAdapterCheckResponse> => t.op("postPrivacyExecutorsAdapterCheck", { path: { adapter } }, options),
|
|
1642
|
+
},
|
|
1643
|
+
requests: {
|
|
1644
|
+
/** List data-subject requests. GET /v1/privacy/requests */
|
|
1645
|
+
list: (query?: (T.GetPrivacyRequestsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetPrivacyRequestsResponse['data'][number], T.GetPrivacyRequestsResponse> => t.list("getPrivacyRequests", { query }, options),
|
|
1646
|
+
/** Get a data-subject request. GET /v1/privacy/requests/{id} */
|
|
1647
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetPrivacyRequestsIdResponse> => t.op("getPrivacyRequestsId", { path: { id } }, options),
|
|
1648
|
+
/** Get a data-subject request result. GET /v1/privacy/requests/{id}/result */
|
|
1649
|
+
result: (id: string, options?: RequestOptions): Promise<T.GetPrivacyRequestsIdResultResponse> => t.op("getPrivacyRequestsIdResult", { path: { id } }, options),
|
|
1650
|
+
/** Open a data-subject request. POST /v1/privacy/requests */
|
|
1651
|
+
create: (body: T.PostPrivacyRequestsBody, options?: RequestOptions): Promise<T.PostPrivacyRequestsResponse> => t.op("postPrivacyRequests", { body }, options),
|
|
1652
|
+
},
|
|
1653
|
+
},
|
|
1654
|
+
productLinks: {
|
|
1655
|
+
/** Revoke a partner link. DELETE /v1/product-links/{id} */
|
|
1656
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteProductLinksIdResponse> => t.op("deleteProductLinksId", { path: { id } }, options),
|
|
1657
|
+
/** List partner links. GET /v1/product-links */
|
|
1658
|
+
retrieve: (options?: RequestOptions): Promise<T.GetProductLinksResponse> => t.op("getProductLinks", { }, options),
|
|
1659
|
+
/** Create a partner link. POST /v1/product-links */
|
|
1660
|
+
create: (body: T.PostProductLinksBody, options?: RequestOptions): Promise<T.PostProductLinksResponse> => t.op("postProductLinks", { body }, options),
|
|
1661
|
+
},
|
|
1662
|
+
profitability: {
|
|
1663
|
+
products: {
|
|
1664
|
+
/** Delete a product margin. DELETE /v1/profitability/products/{productRef} */
|
|
1665
|
+
delete: (productRef: string, options?: RequestOptions): Promise<T.DeleteProfitabilityProductsProductRefResponse> => t.op("deleteProfitabilityProductsProductRef", { path: { productRef } }, options),
|
|
1666
|
+
/** List product margins. GET /v1/profitability/products */
|
|
1667
|
+
list: (options?: RequestOptions): Promise<T.GetProfitabilityProductsResponse> => t.op("getProfitabilityProducts", { }, options),
|
|
1668
|
+
/** Get a product margin. GET /v1/profitability/products/{productRef} */
|
|
1669
|
+
retrieve: (productRef: string, options?: RequestOptions): Promise<T.GetProfitabilityProductsProductRefResponse> => t.op("getProfitabilityProductsProductRef", { path: { productRef } }, options),
|
|
1670
|
+
/** Set a product margin. PUT /v1/profitability/products/{productRef} */
|
|
1671
|
+
update: (productRef: string, body: T.PutProfitabilityProductsProductRefBody, options?: RequestOptions): Promise<T.PutProfitabilityProductsProductRefResponse> => t.op("putProfitabilityProductsProductRef", { path: { productRef }, body }, options),
|
|
1672
|
+
},
|
|
1673
|
+
rebuild: {
|
|
1674
|
+
/** Get a rebuild job. GET /v1/profitability/rebuild/{jobId} */
|
|
1675
|
+
retrieve: (jobId: string, options?: RequestOptions): Promise<T.GetProfitabilityRebuildJobIdResponse> => t.op("getProfitabilityRebuildJobId", { path: { jobId } }, options),
|
|
1676
|
+
/** Rebuild ROI figures. POST /v1/profitability/rebuild */
|
|
1677
|
+
create: (options?: RequestOptions): Promise<T.PostProfitabilityRebuildResponse> => t.op("postProfitabilityRebuild", { }, options),
|
|
1678
|
+
},
|
|
1679
|
+
settings: {
|
|
1680
|
+
/** Get profitability settings. GET /v1/profitability/settings */
|
|
1681
|
+
retrieve: (query?: (T.GetProfitabilitySettingsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetProfitabilitySettingsResponse> => t.op("getProfitabilitySettings", { query }, options),
|
|
1682
|
+
/** Update profitability settings. PUT /v1/profitability/settings */
|
|
1683
|
+
update: (body: T.PutProfitabilitySettingsBody, options?: RequestOptions): Promise<T.PutProfitabilitySettingsResponse> => t.op("putProfitabilitySettings", { body }, options),
|
|
1684
|
+
},
|
|
1685
|
+
},
|
|
1686
|
+
programs: {
|
|
1687
|
+
/** List programs. GET /v1/programs */
|
|
1688
|
+
list: (query?: (T.GetProgramsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsResponse['data'][number], T.GetProgramsResponse> => t.list("getPrograms", { query }, options),
|
|
1689
|
+
/** Check a public handle. GET /v1/programs/handle-availability */
|
|
1690
|
+
handleAvailability: (query: T.GetProgramsHandleAvailabilityQuery, options?: RequestOptions): Promise<T.GetProgramsHandleAvailabilityResponse> => t.op("getProgramsHandleAvailability", { query }, options),
|
|
1691
|
+
/** Get a program. GET /v1/programs/{id} */
|
|
1692
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdResponse> => t.op("getProgramsId", { path: { id } }, options),
|
|
1693
|
+
/** Get the referral tree. GET /v1/programs/{id}/graph */
|
|
1694
|
+
graph: (id: string, query: T.GetProgramsIdGraphQuery, options?: RequestOptions): Promise<T.GetProgramsIdGraphResponse> => t.op("getProgramsIdGraph", { path: { id }, query }, options),
|
|
1695
|
+
/** Get a program's terms. GET /v1/programs/{id}/terms */
|
|
1696
|
+
terms: (id: string, query?: (T.GetProgramsIdTermsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetProgramsIdTermsResponse> => t.op("getProgramsIdTerms", { path: { id }, query }, options),
|
|
1697
|
+
/** List terms acceptances. GET /v1/programs/{id}/terms-acceptances */
|
|
1698
|
+
termsAcceptances: (id: string, query?: (T.GetProgramsIdTermsAcceptancesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdTermsAcceptancesResponse['data'][number], T.GetProgramsIdTermsAcceptancesResponse> => t.list("getProgramsIdTermsAcceptances", { path: { id }, query }, options),
|
|
1699
|
+
/** Update a program. PATCH /v1/programs/{id} */
|
|
1700
|
+
update: (id: string, body: T.PatchProgramsIdBody, options?: RequestOptions): Promise<T.PatchProgramsIdResponse> => t.op("patchProgramsId", { path: { id }, body }, options),
|
|
1701
|
+
/** Create a program. POST /v1/programs */
|
|
1702
|
+
create: (body: T.PostProgramsBody, options?: RequestOptions): Promise<T.PostProgramsResponse> => t.op("postPrograms", { body }, options),
|
|
1703
|
+
/** Apply partner levels. POST /v1/programs/{id}/apply-leveling */
|
|
1704
|
+
applyLeveling: (id: string, options?: RequestOptions): Promise<T.PostProgramsIdApplyLevelingResponse> => t.op("postProgramsIdApplyLeveling", { path: { id } }, options),
|
|
1705
|
+
/** Make a user a referrer. POST /v1/programs/{id}/referrers */
|
|
1706
|
+
referrers: (id: string, body: T.PostProgramsIdReferrersBody, options?: RequestOptions): Promise<T.PostProgramsIdReferrersResponse> => t.op("postProgramsIdReferrers", { path: { id }, body }, options),
|
|
1707
|
+
/** Set a program's commission rule. PUT /v1/programs/{id}/commission-rule */
|
|
1708
|
+
updateCommissionRule: (id: string, body: T.PutProgramsIdCommissionRuleBody, options?: RequestOptions): Promise<T.PutProgramsIdCommissionRuleResponse> => t.op("putProgramsIdCommissionRule", { path: { id }, body }, options),
|
|
1709
|
+
/** Set the incrementality holdout. PUT /v1/programs/{id}/incrementality */
|
|
1710
|
+
updateIncrementality: (id: string, body: T.PutProgramsIdIncrementalityBody, options?: RequestOptions): Promise<T.PutProgramsIdIncrementalityResponse> => t.op("putProgramsIdIncrementality", { path: { id }, body }, options),
|
|
1711
|
+
/** Set a program's payout schedule. PUT /v1/programs/{id}/payout-schedule */
|
|
1712
|
+
updatePayoutSchedule: (id: string, body: T.PutProgramsIdPayoutScheduleBody, options?: RequestOptions): Promise<T.PutProgramsIdPayoutScheduleResponse> => t.op("putProgramsIdPayoutSchedule", { path: { id }, body }, options),
|
|
1713
|
+
autoprice: {
|
|
1714
|
+
/** Run autopricing. POST /v1/programs/{id}/autoprice/run */
|
|
1715
|
+
run: (id: string, body: T.PostProgramsIdAutopriceRunBody, options?: RequestOptions): Promise<T.PostProgramsIdAutopriceRunResponse> => t.op("postProgramsIdAutopriceRun", { path: { id }, body }, options),
|
|
1716
|
+
},
|
|
1717
|
+
autopricing: {
|
|
1718
|
+
/** Get autopricing settings. GET /v1/programs/{id}/autopricing */
|
|
1719
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdAutopricingResponse> => t.op("getProgramsIdAutopricing", { path: { id } }, options),
|
|
1720
|
+
/** Configure autopricing. PUT /v1/programs/{id}/autopricing */
|
|
1721
|
+
update: (id: string, body: T.PutProgramsIdAutopricingBody, options?: RequestOptions): Promise<T.PutProgramsIdAutopricingResponse> => t.op("putProgramsIdAutopricing", { path: { id }, body }, options),
|
|
1722
|
+
},
|
|
1723
|
+
callNumbers: {
|
|
1724
|
+
/** Release a call number. DELETE /v1/programs/{id}/call-numbers/{numberId} */
|
|
1725
|
+
delete: (id: string, numberId: string, options?: RequestOptions): Promise<T.DeleteProgramsIdCallNumbersNumberIdResponse> => t.op("deleteProgramsIdCallNumbersNumberId", { path: { id, numberId } }, options),
|
|
1726
|
+
/** List a program's call numbers. GET /v1/programs/{id}/call-numbers */
|
|
1727
|
+
list: (id: string, query?: (T.GetProgramsIdCallNumbersQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdCallNumbersResponse['data'][number], T.GetProgramsIdCallNumbersResponse> => t.list("getProgramsIdCallNumbers", { path: { id }, query }, options),
|
|
1728
|
+
/** Assign a call number to a partner. POST /v1/programs/{id}/call-numbers */
|
|
1729
|
+
create: (id: string, body: T.PostProgramsIdCallNumbersBody, options?: RequestOptions): Promise<T.PostProgramsIdCallNumbersResponse> => t.op("postProgramsIdCallNumbers", { path: { id }, body }, options),
|
|
1730
|
+
},
|
|
1731
|
+
creditRail: {
|
|
1732
|
+
/** Get a program's account-credit rail settings. GET /v1/programs/{id}/credit-rail */
|
|
1733
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdCreditRailResponse> => t.op("getProgramsIdCreditRail", { path: { id } }, options),
|
|
1734
|
+
/** List a program's account credits. GET /v1/programs/{id}/credit-rail/log */
|
|
1735
|
+
log: (id: string, query?: (T.GetProgramsIdCreditRailLogQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdCreditRailLogResponse['data'][number], T.GetProgramsIdCreditRailLogResponse> => t.list("getProgramsIdCreditRailLog", { path: { id }, query }, options),
|
|
1736
|
+
/** Requeue stuck account credits. POST /v1/programs/{id}/credit-rail/requeue */
|
|
1737
|
+
requeue: (id: string, body: T.PostProgramsIdCreditRailRequeueBody, options?: RequestOptions): Promise<T.PostProgramsIdCreditRailRequeueResponse> => t.op("postProgramsIdCreditRailRequeue", { path: { id }, body }, options),
|
|
1738
|
+
/** Set a program's account-credit rail settings. PUT /v1/programs/{id}/credit-rail */
|
|
1739
|
+
update: (id: string, body: T.PutProgramsIdCreditRailBody, options?: RequestOptions): Promise<T.PutProgramsIdCreditRailResponse> => t.op("putProgramsIdCreditRail", { path: { id }, body }, options),
|
|
1740
|
+
},
|
|
1741
|
+
emailSettings: {
|
|
1742
|
+
/** Remove a program's email provider. DELETE /v1/programs/{id}/email-settings */
|
|
1743
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteProgramsIdEmailSettingsResponse> => t.op("deleteProgramsIdEmailSettings", { path: { id } }, options),
|
|
1744
|
+
/** Get a program's email settings. GET /v1/programs/{id}/email-settings */
|
|
1745
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdEmailSettingsResponse> => t.op("getProgramsIdEmailSettings", { path: { id } }, options),
|
|
1746
|
+
/** Send a test email through a program's provider. POST /v1/programs/{id}/email-settings/test */
|
|
1747
|
+
test: (id: string, body: T.PostProgramsIdEmailSettingsTestBody, options?: RequestOptions): Promise<T.PostProgramsIdEmailSettingsTestResponse> => t.op("postProgramsIdEmailSettingsTest", { path: { id }, body }, options),
|
|
1748
|
+
/** Check a program's sending domain. POST /v1/programs/{id}/email-settings/verify-domain */
|
|
1749
|
+
verifyDomain: (id: string, options?: RequestOptions): Promise<T.PostProgramsIdEmailSettingsVerifyDomainResponse> => t.op("postProgramsIdEmailSettingsVerifyDomain", { path: { id } }, options),
|
|
1750
|
+
/** Set a program's email provider. PUT /v1/programs/{id}/email-settings */
|
|
1751
|
+
update: (id: string, body: T.PutProgramsIdEmailSettingsBody, options?: RequestOptions): Promise<T.PutProgramsIdEmailSettingsResponse> => t.op("putProgramsIdEmailSettings", { path: { id }, body }, options),
|
|
1752
|
+
},
|
|
1753
|
+
enrollments: {
|
|
1754
|
+
/** List program enrollments. GET /v1/programs/{id}/enrollments */
|
|
1755
|
+
list: (id: string, query?: (T.GetProgramsIdEnrollmentsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdEnrollmentsResponse['data'][number], T.GetProgramsIdEnrollmentsResponse> => t.list("getProgramsIdEnrollments", { path: { id }, query }, options),
|
|
1756
|
+
/** Enroll a partner. POST /v1/programs/{id}/enrollments */
|
|
1757
|
+
create: (id: string, body: T.PostProgramsIdEnrollmentsBody, options?: RequestOptions): Promise<T.PostProgramsIdEnrollmentsResponse> => t.op("postProgramsIdEnrollments", { path: { id }, body }, options),
|
|
1758
|
+
/** Approve an application. POST /v1/programs/{id}/enrollments/{enrollmentId}/approve */
|
|
1759
|
+
approve: (id: string, enrollmentId: string, options?: RequestOptions): Promise<T.PostProgramsIdEnrollmentsEnrollmentIdApproveResponse> => t.op("postProgramsIdEnrollmentsEnrollmentIdApprove", { path: { id, enrollmentId } }, options),
|
|
1760
|
+
/** Reject an application. POST /v1/programs/{id}/enrollments/{enrollmentId}/reject */
|
|
1761
|
+
reject: (id: string, enrollmentId: string, options?: RequestOptions): Promise<T.PostProgramsIdEnrollmentsEnrollmentIdRejectResponse> => t.op("postProgramsIdEnrollmentsEnrollmentIdReject", { path: { id, enrollmentId } }, options),
|
|
1762
|
+
},
|
|
1763
|
+
groups: {
|
|
1764
|
+
/** List partner groups. GET /v1/programs/{id}/groups */
|
|
1765
|
+
list: (id: string, query?: (T.GetProgramsIdGroupsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdGroupsResponse['data'][number], T.GetProgramsIdGroupsResponse> => t.list("getProgramsIdGroups", { path: { id }, query }, options),
|
|
1766
|
+
/** Create a partner group. POST /v1/programs/{id}/groups */
|
|
1767
|
+
create: (id: string, body: T.PostProgramsIdGroupsBody, options?: RequestOptions): Promise<T.PostProgramsIdGroupsResponse> => t.op("postProgramsIdGroups", { path: { id }, body }, options),
|
|
1768
|
+
},
|
|
1769
|
+
linkDomain: {
|
|
1770
|
+
/** Remove a program's link domain. DELETE /v1/programs/{id}/link-domain */
|
|
1771
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteProgramsIdLinkDomainResponse> => t.op("deleteProgramsIdLinkDomain", { path: { id } }, options),
|
|
1772
|
+
/** Get a program's link domain. GET /v1/programs/{id}/link-domain */
|
|
1773
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdLinkDomainResponse> => t.op("getProgramsIdLinkDomain", { path: { id } }, options),
|
|
1774
|
+
/** Verify a program's link domain. POST /v1/programs/{id}/link-domain/verify */
|
|
1775
|
+
verify: (id: string, options?: RequestOptions): Promise<T.PostProgramsIdLinkDomainVerifyResponse> => t.op("postProgramsIdLinkDomainVerify", { path: { id } }, options),
|
|
1776
|
+
/** Set a program's link domain. PUT /v1/programs/{id}/link-domain */
|
|
1777
|
+
update: (id: string, body: T.PutProgramsIdLinkDomainBody, options?: RequestOptions): Promise<T.PutProgramsIdLinkDomainResponse> => t.op("putProgramsIdLinkDomain", { path: { id }, body }, options),
|
|
1778
|
+
},
|
|
1779
|
+
linked: {
|
|
1780
|
+
/** Unlink a source program. DELETE /v1/programs/{id}/linked/{sourceProgramId} */
|
|
1781
|
+
delete: (id: string, sourceProgramId: string, options?: RequestOptions): Promise<T.DeleteProgramsIdLinkedSourceProgramIdResponse> => t.op("deleteProgramsIdLinkedSourceProgramId", { path: { id, sourceProgramId } }, options),
|
|
1782
|
+
/** List linked programs. GET /v1/programs/{id}/linked */
|
|
1783
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdLinkedResponse> => t.op("getProgramsIdLinked", { path: { id } }, options),
|
|
1784
|
+
/** Link a source program. POST /v1/programs/{id}/linked */
|
|
1785
|
+
create: (id: string, body: T.PostProgramsIdLinkedBody, options?: RequestOptions): Promise<T.PostProgramsIdLinkedResponse> => t.op("postProgramsIdLinked", { path: { id }, body }, options),
|
|
1786
|
+
},
|
|
1787
|
+
links: {
|
|
1788
|
+
/** Repoint a program's links. POST /v1/programs/{id}/links/repoint */
|
|
1789
|
+
repoint: (id: string, body: T.PostProgramsIdLinksRepointBody, options?: RequestOptions): Promise<T.PostProgramsIdLinksRepointResponse> => t.op("postProgramsIdLinksRepoint", { path: { id }, body }, options),
|
|
1790
|
+
},
|
|
1791
|
+
negotiationPolicy: {
|
|
1792
|
+
/** Get the agent negotiation policy. GET /v1/programs/{id}/negotiation-policy */
|
|
1793
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdNegotiationPolicyResponse> => t.op("getProgramsIdNegotiationPolicy", { path: { id } }, options),
|
|
1794
|
+
/** Set the agent negotiation policy. PUT /v1/programs/{id}/negotiation-policy */
|
|
1795
|
+
update: (id: string, body: T.PutProgramsIdNegotiationPolicyBody, options?: RequestOptions): Promise<T.PutProgramsIdNegotiationPolicyResponse> => t.op("putProgramsIdNegotiationPolicy", { path: { id }, body }, options),
|
|
1796
|
+
},
|
|
1797
|
+
partners: {
|
|
1798
|
+
/** Set a partner's group. PUT /v1/programs/{id}/partners/{partnerId}/group */
|
|
1799
|
+
updateGroup: (id: string, partnerId: string, body: T.PutProgramsIdPartnersPartnerIdGroupBody, options?: RequestOptions): Promise<T.PutProgramsIdPartnersPartnerIdGroupResponse> => t.op("putProgramsIdPartnersPartnerIdGroup", { path: { id, partnerId }, body }, options),
|
|
1800
|
+
},
|
|
1801
|
+
promotions: {
|
|
1802
|
+
/** List promotions. GET /v1/programs/{id}/promotions */
|
|
1803
|
+
list: (id: string, query?: (T.GetProgramsIdPromotionsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdPromotionsResponse['data'][number], T.GetProgramsIdPromotionsResponse> => t.list("getProgramsIdPromotions", { path: { id }, query }, options),
|
|
1804
|
+
/** Create a promotion. POST /v1/programs/{id}/promotions */
|
|
1805
|
+
create: (id: string, body: T.PostProgramsIdPromotionsBody, options?: RequestOptions): Promise<T.PostProgramsIdPromotionsResponse> => t.op("postProgramsIdPromotions", { path: { id }, body }, options),
|
|
1806
|
+
},
|
|
1807
|
+
refereeReward: {
|
|
1808
|
+
/** Get the referee reward. GET /v1/programs/{id}/referee-reward */
|
|
1809
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdRefereeRewardResponse> => t.op("getProgramsIdRefereeReward", { path: { id } }, options),
|
|
1810
|
+
/** Set the referee reward. PUT /v1/programs/{id}/referee-reward */
|
|
1811
|
+
update: (id: string, body: T.PutProgramsIdRefereeRewardBody, options?: RequestOptions): Promise<T.PutProgramsIdRefereeRewardResponse> => t.op("putProgramsIdRefereeReward", { path: { id }, body }, options),
|
|
1812
|
+
},
|
|
1813
|
+
storeSetup: {
|
|
1814
|
+
/** Get the store setup checklist. GET /v1/programs/{id}/store-setup */
|
|
1815
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdStoreSetupResponse> => t.op("getProgramsIdStoreSetup", { path: { id } }, options),
|
|
1816
|
+
/** Set up a store in one call. POST /v1/programs/{id}/store-setup */
|
|
1817
|
+
create: (id: string, body: T.PostProgramsIdStoreSetupBody, options?: RequestOptions): Promise<T.PostProgramsIdStoreSetupResponse> => t.op("postProgramsIdStoreSetup", { path: { id }, body }, options),
|
|
1818
|
+
},
|
|
1819
|
+
stripeCredits: {
|
|
1820
|
+
/** Get a program's Stripe balance credit settings. GET /v1/programs/{id}/stripe-credits */
|
|
1821
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetProgramsIdStripeCreditsResponse> => t.op("getProgramsIdStripeCredits", { path: { id } }, options),
|
|
1822
|
+
/** List a program's Stripe balance credits. GET /v1/programs/{id}/stripe-credits/log */
|
|
1823
|
+
log: (id: string, query?: (T.GetProgramsIdStripeCreditsLogQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProgramsIdStripeCreditsLogResponse['data'][number], T.GetProgramsIdStripeCreditsLogResponse> => t.list("getProgramsIdStripeCreditsLog", { path: { id }, query }, options),
|
|
1824
|
+
/** Requeue stuck Stripe balance credits. POST /v1/programs/{id}/stripe-credits/requeue */
|
|
1825
|
+
requeue: (id: string, body: T.PostProgramsIdStripeCreditsRequeueBody, options?: RequestOptions): Promise<T.PostProgramsIdStripeCreditsRequeueResponse> => t.op("postProgramsIdStripeCreditsRequeue", { path: { id }, body }, options),
|
|
1826
|
+
/** Set a program's Stripe balance credit settings. PUT /v1/programs/{id}/stripe-credits */
|
|
1827
|
+
update: (id: string, body: T.PutProgramsIdStripeCreditsBody, options?: RequestOptions): Promise<T.PutProgramsIdStripeCreditsResponse> => t.op("putProgramsIdStripeCredits", { path: { id }, body }, options),
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
promotions: {
|
|
1831
|
+
/** End a promotion. POST /v1/promotions/{id}/end */
|
|
1832
|
+
end: (id: string, options?: RequestOptions): Promise<T.PostPromotionsIdEndResponse> => t.op("postPromotionsIdEnd", { path: { id } }, options),
|
|
1833
|
+
},
|
|
1834
|
+
prospects: {
|
|
1835
|
+
/** List prospects. GET /v1/prospects */
|
|
1836
|
+
list: (query?: (T.GetProspectsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetProspectsResponse['data'][number], T.GetProspectsResponse> => t.list("getProspects", { query }, options),
|
|
1837
|
+
},
|
|
1838
|
+
public: {
|
|
1839
|
+
/** Get a partner's public storefront. GET /v1/public/storefronts/{orgSlugOrDomain}/{slug} */
|
|
1840
|
+
storefronts: (orgSlugOrDomain: string, slug: string, options?: RequestOptions): Promise<T.GetPublicStorefrontsOrgSlugOrDomainSlugResponse> => t.op("getPublicStorefrontsOrgSlugOrDomainSlug", { path: { orgSlugOrDomain, slug } }, options),
|
|
1841
|
+
programs: {
|
|
1842
|
+
/** Get a program's public page. GET /v1/public/programs/{handle} */
|
|
1843
|
+
retrieve: (handle: string, query?: (T.GetPublicProgramsHandleQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetPublicProgramsHandleResponse> => t.op("getPublicProgramsHandle", { path: { handle }, query }, options),
|
|
1844
|
+
/** Join a program. POST /v1/public/programs/{handle}/join */
|
|
1845
|
+
join: (handle: string, body: T.PostPublicProgramsHandleJoinBody, options?: RequestOptions): Promise<T.PostPublicProgramsHandleJoinResponse> => t.op("postPublicProgramsHandleJoin", { path: { handle }, body }, options),
|
|
1846
|
+
},
|
|
1847
|
+
},
|
|
1848
|
+
quality: {
|
|
1849
|
+
/** Recompute quality scores. POST /v1/quality/recompute */
|
|
1850
|
+
recompute: (options?: RequestOptions): Promise<T.PostQualityRecomputeResponse> => t.op("postQualityRecompute", { }, options),
|
|
1851
|
+
},
|
|
1852
|
+
referrals: {
|
|
1853
|
+
/** List referrals. GET /v1/referrals */
|
|
1854
|
+
list: (query?: (T.GetReferralsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetReferralsResponse['data'][number], T.GetReferralsResponse> => t.list("getReferrals", { query }, options),
|
|
1855
|
+
/** Get a referral. GET /v1/referrals/{id} */
|
|
1856
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetReferralsIdResponse> => t.op("getReferralsId", { path: { id } }, options),
|
|
1857
|
+
/** Get the attribution journey. GET /v1/referrals/{id}/journey */
|
|
1858
|
+
journey: (id: string, options?: RequestOptions): Promise<T.GetReferralsIdJourneyResponse> => t.op("getReferralsIdJourney", { path: { id } }, options),
|
|
1859
|
+
/** Pause or resume a referral. PATCH /v1/referrals/{id} */
|
|
1860
|
+
update: (id: string, body: T.PatchReferralsIdBody, options?: RequestOptions): Promise<T.PatchReferralsIdResponse> => t.op("patchReferralsId", { path: { id }, body }, options),
|
|
1861
|
+
/** Attribute a new customer. POST /v1/referrals/associate */
|
|
1862
|
+
associate: (body: T.PostReferralsAssociateBody, options?: RequestOptions): Promise<T.PostReferralsAssociateResponse> => t.op("postReferralsAssociate", { body }, options),
|
|
1863
|
+
/** Mint a hand-off token. POST /v1/referrals/handoff-tokens */
|
|
1864
|
+
handoffTokens: (body: T.PostReferralsHandoffTokensBody, options?: RequestOptions): Promise<T.PostReferralsHandoffTokensResponse> => t.op("postReferralsHandoffTokens", { body }, options),
|
|
1865
|
+
/** Approve a held referral. POST /v1/referrals/{id}/approve */
|
|
1866
|
+
approve: (id: string, options?: RequestOptions): Promise<T.PostReferralsIdApproveResponse> => t.op("postReferralsIdApprove", { path: { id } }, options),
|
|
1867
|
+
/** Reassign a referral. POST /v1/referrals/{id}/reassign */
|
|
1868
|
+
reassign: (id: string, body: T.PostReferralsIdReassignBody, options?: RequestOptions): Promise<T.PostReferralsIdReassignResponse> => t.op("postReferralsIdReassign", { path: { id }, body }, options),
|
|
1869
|
+
/** Void a referral. POST /v1/referrals/{id}/void */
|
|
1870
|
+
void: (id: string, options?: RequestOptions): Promise<T.PostReferralsIdVoidResponse> => t.op("postReferralsIdVoid", { path: { id } }, options),
|
|
1871
|
+
},
|
|
1872
|
+
reports: {
|
|
1873
|
+
/** Report filtered clicks. GET /v1/reports/filtered-clicks */
|
|
1874
|
+
filteredClicks: (query?: (T.GetReportsFilteredClicksQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetReportsFilteredClicksResponse['data'][number], T.GetReportsFilteredClicksResponse> => t.list("getReportsFilteredClicks", { query }, options),
|
|
1875
|
+
/** Get partner performance. GET /v1/reports/partner-performance */
|
|
1876
|
+
partnerPerformance: (query?: (T.GetReportsPartnerPerformanceQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetReportsPartnerPerformanceResponse> => t.op("getReportsPartnerPerformance", { query }, options),
|
|
1877
|
+
/** Get product report. GET /v1/reports/products */
|
|
1878
|
+
products: (query?: (T.GetReportsProductsQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetReportsProductsResponse> => t.op("getReportsProducts", { query }, options),
|
|
1879
|
+
},
|
|
1880
|
+
rewards: {
|
|
1881
|
+
/** List issued referee rewards. GET /v1/rewards */
|
|
1882
|
+
list: (query?: (T.GetRewardsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetRewardsResponse['data'][number], T.GetRewardsResponse> => t.list("getRewards", { query }, options),
|
|
1883
|
+
/** List partner rewards. GET /v1/rewards/granted */
|
|
1884
|
+
granted: (options?: RequestOptions): Promise<T.GetRewardsGrantedResponse> => t.op("getRewardsGranted", { }, options),
|
|
1885
|
+
/** Look up a reward code. GET /v1/rewards/lookup/{code} */
|
|
1886
|
+
lookup: (code: string, options?: RequestOptions): Promise<T.GetRewardsLookupCodeResponse> => t.op("getRewardsLookupCode", { path: { code } }, options),
|
|
1887
|
+
/** Reward a partner. POST /v1/rewards */
|
|
1888
|
+
create: (body: T.PostRewardsBody, options?: RequestOptions): Promise<T.PostRewardsResponse> => t.op("postRewards", { body }, options),
|
|
1889
|
+
/** Redeem a reward. POST /v1/rewards/{id}/redeem */
|
|
1890
|
+
redeem: (id: string, body: T.PostRewardsIdRedeemBody, options?: RequestOptions): Promise<T.PostRewardsIdRedeemResponse> => t.op("postRewardsIdRedeem", { path: { id }, body }, options),
|
|
1891
|
+
/** Redeem a reward by code. POST /v1/rewards/redeem-by-code */
|
|
1892
|
+
redeemByCode: (body: T.PostRewardsRedeemByCodeBody, options?: RequestOptions): Promise<T.PostRewardsRedeemByCodeResponse> => t.op("postRewardsRedeemByCode", { body }, options),
|
|
1893
|
+
rules: {
|
|
1894
|
+
/** Delete a reward rule. DELETE /v1/rewards/rules/{key} */
|
|
1895
|
+
delete: (key: string, options?: RequestOptions): Promise<T.DeleteRewardsRulesKeyResponse> => t.op("deleteRewardsRulesKey", { path: { key } }, options),
|
|
1896
|
+
/** List reward rules. GET /v1/rewards/rules */
|
|
1897
|
+
retrieve: (options?: RequestOptions): Promise<T.GetRewardsRulesResponse> => t.op("getRewardsRules", { }, options),
|
|
1898
|
+
/** Save a reward rule. PUT /v1/rewards/rules/{key} */
|
|
1899
|
+
update: (key: string, body: T.PutRewardsRulesKeyBody, options?: RequestOptions): Promise<T.PutRewardsRulesKeyResponse> => t.op("putRewardsRulesKey", { path: { key }, body }, options),
|
|
1900
|
+
},
|
|
1901
|
+
},
|
|
1902
|
+
roi: {
|
|
1903
|
+
/** Get the ROI breakdown. GET /v1/roi/breakdown */
|
|
1904
|
+
breakdown: (query: T.GetRoiBreakdownQuery & PageParams, options?: RequestOptions): ListPromise<T.GetRoiBreakdownResponse['data'][number], T.GetRoiBreakdownResponse> => t.list("getRoiBreakdown", { query }, options),
|
|
1905
|
+
/** Get ROI data quality. GET /v1/roi/data-quality */
|
|
1906
|
+
dataQuality: (query?: (T.GetRoiDataQualityQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetRoiDataQualityResponse> => t.op("getRoiDataQuality", { query }, options),
|
|
1907
|
+
/** List credit grants. GET /v1/roi/grants */
|
|
1908
|
+
grants: (query?: (T.GetRoiGrantsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetRoiGrantsResponse['data'][number], T.GetRoiGrantsResponse> => t.list("getRoiGrants", { query }, options),
|
|
1909
|
+
/** Get the ROI summary. GET /v1/roi/summary */
|
|
1910
|
+
summary: (query?: (T.GetRoiSummaryQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetRoiSummaryResponse> => t.op("getRoiSummary", { query }, options),
|
|
1911
|
+
/** Trace a customer's value. GET /v1/roi/trace/{customerRef} */
|
|
1912
|
+
trace: (customerRef: string, query?: (T.GetRoiTraceCustomerRefQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetRoiTraceCustomerRefResponse> => t.op("getRoiTraceCustomerRef", { path: { customerRef }, query }, options),
|
|
1913
|
+
partners: {
|
|
1914
|
+
/** Trace a partner's value. GET /v1/roi/partners/{id}/trace */
|
|
1915
|
+
trace: (id: string, query?: (T.GetRoiPartnersIdTraceQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetRoiPartnersIdTraceResponse> => t.op("getRoiPartnersIdTrace", { path: { id }, query }, options),
|
|
1916
|
+
},
|
|
1917
|
+
patterns: {
|
|
1918
|
+
/** List value patterns. GET /v1/roi/patterns */
|
|
1919
|
+
list: (options?: RequestOptions): Promise<T.GetRoiPatternsResponse> => t.op("getRoiPatterns", { }, options),
|
|
1920
|
+
/** Get a value pattern. GET /v1/roi/patterns/{pattern} */
|
|
1921
|
+
retrieve: (pattern: string, query?: (T.GetRoiPatternsPatternQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetRoiPatternsPatternResponse['data'][number], T.GetRoiPatternsPatternResponse> => t.list("getRoiPatternsPattern", { path: { pattern }, query }, options),
|
|
1922
|
+
/** Open a review for a pattern match. POST /v1/roi/patterns/{pattern}/review */
|
|
1923
|
+
review: (pattern: string, body: T.PostRoiPatternsPatternReviewBody, options?: RequestOptions): Promise<T.PostRoiPatternsPatternReviewResponse> => t.op("postRoiPatternsPatternReview", { path: { pattern }, body }, options),
|
|
1924
|
+
},
|
|
1925
|
+
},
|
|
1926
|
+
sandbox: {
|
|
1927
|
+
/** Simulate billing history. POST /v1/sandbox/simulate */
|
|
1928
|
+
simulate: (body: T.PostSandboxSimulateBody, options?: RequestOptions): Promise<T.PostSandboxSimulateResponse> => t.op("postSandboxSimulate", { body }, options),
|
|
1929
|
+
billingFixtures: {
|
|
1930
|
+
/** List billing event fixtures. GET /v1/sandbox/billing-fixtures */
|
|
1931
|
+
retrieve: (query?: (T.GetSandboxBillingFixturesQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetSandboxBillingFixturesResponse> => t.op("getSandboxBillingFixtures", { query }, options),
|
|
1932
|
+
/** Send a billing event fixture. POST /v1/sandbox/billing-fixtures */
|
|
1933
|
+
create: (body: T.PostSandboxBillingFixturesBody, options?: RequestOptions): Promise<T.PostSandboxBillingFixturesResponse> => t.op("postSandboxBillingFixtures", { body }, options),
|
|
1934
|
+
},
|
|
1935
|
+
stripeFixtures: {
|
|
1936
|
+
/** List Stripe event fixtures. GET /v1/sandbox/stripe-fixtures */
|
|
1937
|
+
retrieve: (options?: RequestOptions): Promise<T.GetSandboxStripeFixturesResponse> => t.op("getSandboxStripeFixtures", { }, options),
|
|
1938
|
+
/** Send a Stripe event fixture. POST /v1/sandbox/stripe-fixtures */
|
|
1939
|
+
create: (body: T.PostSandboxStripeFixturesBody, options?: RequestOptions): Promise<T.PostSandboxStripeFixturesResponse> => t.op("postSandboxStripeFixtures", { body }, options),
|
|
1940
|
+
},
|
|
1941
|
+
},
|
|
1942
|
+
setup: {
|
|
1943
|
+
/** Get setup progress. GET /v1/setup/status */
|
|
1944
|
+
status: (options?: RequestOptions): Promise<T.GetSetupStatusResponse> => t.op("getSetupStatus", { }, options),
|
|
1945
|
+
},
|
|
1946
|
+
status: {
|
|
1947
|
+
/** Get platform status. GET /v1/status */
|
|
1948
|
+
retrieve: (options?: RequestOptions): Promise<T.GetStatusResponse> => t.op("getStatus", { }, options),
|
|
1949
|
+
/** Get the incidents feed. GET /v1/status/incidents.atom */
|
|
1950
|
+
incidentsAtom: (options?: RequestOptions): Promise<string> => t.op("getStatusIncidentsAtom", { }, options),
|
|
1951
|
+
incidents: {
|
|
1952
|
+
/** List status incidents. GET /v1/status/incidents */
|
|
1953
|
+
list: (query?: (T.GetStatusIncidentsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetStatusIncidentsResponse['data'][number], T.GetStatusIncidentsResponse> => t.list("getStatusIncidents", { query }, options),
|
|
1954
|
+
/** Get a status incident. GET /v1/status/incidents/{id} */
|
|
1955
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetStatusIncidentsIdResponse> => t.op("getStatusIncidentsId", { path: { id } }, options),
|
|
1956
|
+
},
|
|
1957
|
+
},
|
|
1958
|
+
stripeCredits: {
|
|
1959
|
+
connection: {
|
|
1960
|
+
/** Remove the Stripe balance credit key. DELETE /v1/stripe-credits/connection */
|
|
1961
|
+
delete: (options?: RequestOptions): Promise<T.DeleteStripeCreditsConnectionResponse> => t.op("deleteStripeCreditsConnection", { }, options),
|
|
1962
|
+
/** Get the Stripe balance credit key status. GET /v1/stripe-credits/connection */
|
|
1963
|
+
retrieve: (options?: RequestOptions): Promise<T.GetStripeCreditsConnectionResponse> => t.op("getStripeCreditsConnection", { }, options),
|
|
1964
|
+
/** Connect a Stripe key for balance credits. PUT /v1/stripe-credits/connection */
|
|
1965
|
+
update: (body: T.PutStripeCreditsConnectionBody, options?: RequestOptions): Promise<T.PutStripeCreditsConnectionResponse> => t.op("putStripeCreditsConnection", { body }, options),
|
|
1966
|
+
},
|
|
1967
|
+
},
|
|
1968
|
+
support: {
|
|
1969
|
+
/** Get referral context for a support contact. GET /v1/support/context */
|
|
1970
|
+
context: (query?: (T.GetSupportContextQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetSupportContextResponse> => t.op("getSupportContext", { query }, options),
|
|
1971
|
+
apps: {
|
|
1972
|
+
/** Disconnect a support tool. DELETE /v1/support/apps/{adapter} */
|
|
1973
|
+
delete: (adapter: string, options?: RequestOptions): Promise<T.DeleteSupportAppsAdapterResponse> => t.op("deleteSupportAppsAdapter", { path: { adapter } }, options),
|
|
1974
|
+
/** List support tool connections. GET /v1/support/apps */
|
|
1975
|
+
retrieve: (options?: RequestOptions): Promise<T.GetSupportAppsResponse> => t.op("getSupportApps", { }, options),
|
|
1976
|
+
/** Preview a support card. POST /v1/support/apps/{adapter}/test */
|
|
1977
|
+
test: (adapter: string, body: T.PostSupportAppsAdapterTestBody, options?: RequestOptions): Promise<T.PostSupportAppsAdapterTestResponse> => t.op("postSupportAppsAdapterTest", { path: { adapter }, body }, options),
|
|
1978
|
+
/** Connect a support tool. PUT /v1/support/apps/{adapter} */
|
|
1979
|
+
update: (adapter: string, body: T.PutSupportAppsAdapterBody, options?: RequestOptions): Promise<T.PutSupportAppsAdapterResponse> => t.op("putSupportAppsAdapter", { path: { adapter }, body }, options),
|
|
1980
|
+
},
|
|
1981
|
+
cards: {
|
|
1982
|
+
/** Render a support card for a tool (GET). GET /v1/support/cards/{orgId}/{adapter} */
|
|
1983
|
+
retrieve: (orgId: string, adapter: string, query?: (T.GetSupportCardsOrgIdAdapterQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetSupportCardsOrgIdAdapterResponse> => t.op("getSupportCardsOrgIdAdapter", { path: { orgId, adapter }, query }, options),
|
|
1984
|
+
/** Render a support card for a tool. POST /v1/support/cards/{orgId}/{adapter} */
|
|
1985
|
+
create: (orgId: string, adapter: string, body: T.PostSupportCardsOrgIdAdapterBody, options?: RequestOptions): Promise<T.PostSupportCardsOrgIdAdapterResponse> => t.op("postSupportCardsOrgIdAdapter", { path: { orgId, adapter }, body }, options),
|
|
1986
|
+
},
|
|
1987
|
+
platform: {
|
|
1988
|
+
/** Answer a partner's question for Referalli's own support desk. GET /v1/support/platform/chatly-answers */
|
|
1989
|
+
chatlyAnswers: (query?: (T.GetSupportPlatformChatlyAnswersQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetSupportPlatformChatlyAnswersResponse> => t.op("getSupportPlatformChatlyAnswers", { query }, options),
|
|
1990
|
+
/** Render the card for Referalli's own support desk. POST /v1/support/platform/chatly-card */
|
|
1991
|
+
chatlyCard: (body: T.PostSupportPlatformChatlyCardBody, options?: RequestOptions): Promise<T.PostSupportPlatformChatlyCardResponse> => t.op("postSupportPlatformChatlyCard", { body }, options),
|
|
1992
|
+
},
|
|
1993
|
+
},
|
|
1994
|
+
tax: {
|
|
1995
|
+
form1099: {
|
|
1996
|
+
/** Export 1099-NEC data. GET /v1/tax/1099 */
|
|
1997
|
+
list: (query: T.GetTax1099Query & PageParams, options?: RequestOptions): ListPromise<T.GetTax1099Response['data'][number], T.GetTax1099Response> => t.list("getTax1099", { query }, options),
|
|
1998
|
+
/** Preview 1099-NEC filings. GET /v1/tax/1099/preview */
|
|
1999
|
+
preview: (query: T.GetTax1099PreviewQuery, options?: RequestOptions): Promise<T.GetTax1099PreviewResponse> => t.op("getTax1099Preview", { query }, options),
|
|
2000
|
+
documents: {
|
|
2001
|
+
/** File a corrected 1099. POST /v1/tax/1099/documents/{id}/correct */
|
|
2002
|
+
correct: (id: string, options?: RequestOptions): Promise<T.PostTax1099DocumentsIdCorrectResponse> => t.op("postTax1099DocumentsIdCorrect", { path: { id } }, options),
|
|
2003
|
+
},
|
|
2004
|
+
filings: {
|
|
2005
|
+
/** List 1099 filings. GET /v1/tax/1099/filings */
|
|
2006
|
+
list: (query: T.GetTax1099FilingsQuery & PageParams, options?: RequestOptions): ListPromise<T.GetTax1099FilingsResponse['data'][number], T.GetTax1099FilingsResponse> => t.list("getTax1099Filings", { query }, options),
|
|
2007
|
+
/** File 1099-NEC forms. POST /v1/tax/1099/filings */
|
|
2008
|
+
create: (body: T.PostTax1099FilingsBody, options?: RequestOptions): Promise<T.PostTax1099FilingsResponse> => t.op("postTax1099Filings", { body }, options),
|
|
2009
|
+
/** Refresh a filing status. POST /v1/tax/1099/filings/{id}/refresh */
|
|
2010
|
+
refresh: (id: string, options?: RequestOptions): Promise<T.PostTax1099FilingsIdRefreshResponse> => t.op("postTax1099FilingsIdRefresh", { path: { id } }, options),
|
|
2011
|
+
},
|
|
2012
|
+
},
|
|
2013
|
+
},
|
|
2014
|
+
test: {
|
|
2015
|
+
/** List captured test emails. GET /v1/test/emails */
|
|
2016
|
+
emails: (query?: (T.GetTestEmailsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetTestEmailsResponse['data'][number], T.GetTestEmailsResponse> => t.list("getTestEmails", { query }, options),
|
|
2017
|
+
},
|
|
2018
|
+
testClock: {
|
|
2019
|
+
/** Get the test clock. GET /v1/test_clock */
|
|
2020
|
+
retrieve: (options?: RequestOptions): Promise<T.GetTestClockResponse> => t.op("getTestClock", { }, options),
|
|
2021
|
+
/** Advance the test clock. POST /v1/test_clock/advance */
|
|
2022
|
+
advance: (body: T.PostTestClockAdvanceBody, options?: RequestOptions): Promise<T.PostTestClockAdvanceResponse> => t.op("postTestClockAdvance", { body }, options),
|
|
2023
|
+
},
|
|
2024
|
+
track: {
|
|
2025
|
+
/** Track an event. POST /v1/track/events */
|
|
2026
|
+
events: (body: T.PostTrackEventsBody, options?: RequestOptions): Promise<T.PostTrackEventsResponse> => t.op("postTrackEvents", { body }, options),
|
|
2027
|
+
},
|
|
2028
|
+
unsubscribe: {
|
|
2029
|
+
/** Unsubscribe from outreach. POST /v1/unsubscribe/{token} */
|
|
2030
|
+
create: (token: string, options?: RequestOptions): Promise<T.PostUnsubscribeTokenResponse> => t.op("postUnsubscribeToken", { path: { token } }, options),
|
|
2031
|
+
},
|
|
2032
|
+
value: {
|
|
2033
|
+
/** Record value events. POST /v1/value/events */
|
|
2034
|
+
events: (body: T.PostValueEventsBody, options?: RequestOptions): Promise<T.PostValueEventsResponse> => t.op("postValueEvents", { body }, options),
|
|
2035
|
+
import: {
|
|
2036
|
+
/** Get a value import job. GET /v1/value/import/{jobId} */
|
|
2037
|
+
retrieve: (jobId: string, options?: RequestOptions): Promise<T.GetValueImportJobIdResponse> => t.op("getValueImportJobId", { path: { jobId } }, options),
|
|
2038
|
+
/** Import value events from CSV. POST /v1/value/import */
|
|
2039
|
+
create: (body: T.PostValueImportBody, options?: RequestOptions): Promise<T.PostValueImportResponse> => t.op("postValueImport", { body }, options),
|
|
2040
|
+
},
|
|
2041
|
+
},
|
|
2042
|
+
versions: {
|
|
2043
|
+
/** List API versions. GET /v1/versions */
|
|
2044
|
+
retrieve: (options?: RequestOptions): Promise<T.GetVersionsResponse> => t.op("getVersions", { }, options),
|
|
2045
|
+
},
|
|
2046
|
+
webhookDeliveries: {
|
|
2047
|
+
/** List webhook deliveries. GET /v1/webhook-deliveries */
|
|
2048
|
+
list: (query?: (T.GetWebhookDeliveriesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetWebhookDeliveriesResponse['data'][number], T.GetWebhookDeliveriesResponse> => t.list("getWebhookDeliveries", { query }, options),
|
|
2049
|
+
/** Get a webhook delivery. GET /v1/webhook-deliveries/{id} */
|
|
2050
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetWebhookDeliveriesIdResponse> => t.op("getWebhookDeliveriesId", { path: { id } }, options),
|
|
2051
|
+
/** Replay a webhook delivery. POST /v1/webhook-deliveries/{id}/replay */
|
|
2052
|
+
replay: (id: string, options?: RequestOptions): Promise<T.PostWebhookDeliveriesIdReplayResponse> => t.op("postWebhookDeliveriesIdReplay", { path: { id } }, options),
|
|
2053
|
+
},
|
|
2054
|
+
webhookEndpoints: {
|
|
2055
|
+
/** Delete a webhook endpoint. DELETE /v1/webhook-endpoints/{id} */
|
|
2056
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteWebhookEndpointsIdResponse> => t.op("deleteWebhookEndpointsId", { path: { id } }, options),
|
|
2057
|
+
/** List webhook endpoints. GET /v1/webhook-endpoints */
|
|
2058
|
+
list: (query?: (T.GetWebhookEndpointsQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetWebhookEndpointsResponse['data'][number], T.GetWebhookEndpointsResponse> => t.list("getWebhookEndpoints", { query }, options),
|
|
2059
|
+
/** Get a webhook endpoint. GET /v1/webhook-endpoints/{id} */
|
|
2060
|
+
retrieve: (id: string, options?: RequestOptions): Promise<T.GetWebhookEndpointsIdResponse> => t.op("getWebhookEndpointsId", { path: { id } }, options),
|
|
2061
|
+
/** List an endpoint's deliveries. GET /v1/webhook-endpoints/{id}/deliveries */
|
|
2062
|
+
deliveries: (id: string, query?: (T.GetWebhookEndpointsIdDeliveriesQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetWebhookEndpointsIdDeliveriesResponse['data'][number], T.GetWebhookEndpointsIdDeliveriesResponse> => t.list("getWebhookEndpointsIdDeliveries", { path: { id }, query }, options),
|
|
2063
|
+
/** Update a webhook endpoint. PATCH /v1/webhook-endpoints/{id} */
|
|
2064
|
+
update: (id: string, body: T.PatchWebhookEndpointsIdBody, options?: RequestOptions): Promise<T.PatchWebhookEndpointsIdResponse> => t.op("patchWebhookEndpointsId", { path: { id }, body }, options),
|
|
2065
|
+
/** Create a webhook endpoint. POST /v1/webhook-endpoints */
|
|
2066
|
+
create: (body: T.PostWebhookEndpointsBody, options?: RequestOptions): Promise<T.PostWebhookEndpointsResponse> => t.op("postWebhookEndpoints", { body }, options),
|
|
2067
|
+
/** Replay failed deliveries. POST /v1/webhook-endpoints/{id}/replay */
|
|
2068
|
+
replay: (id: string, query: T.PostWebhookEndpointsIdReplayQuery, options?: RequestOptions): Promise<T.PostWebhookEndpointsIdReplayResponse> => t.op("postWebhookEndpointsIdReplay", { path: { id }, query }, options),
|
|
2069
|
+
/** Rotate an endpoint secret. POST /v1/webhook-endpoints/{id}/rotate-secret */
|
|
2070
|
+
rotateSecret: (id: string, body?: T.PostWebhookEndpointsIdRotateSecretBody, options?: RequestOptions): Promise<T.PostWebhookEndpointsIdRotateSecretResponse> => t.op("postWebhookEndpointsIdRotateSecret", { path: { id }, body }, options),
|
|
2071
|
+
},
|
|
2072
|
+
widget: {
|
|
2073
|
+
/** Exchange a user session for a widget token. POST /v1/widget/session */
|
|
2074
|
+
session: (body: T.PostWidgetSessionBody, options?: RequestOptions): Promise<T.PostWidgetSessionResponse> => t.op("postWidgetSession", { body }, options),
|
|
2075
|
+
/** Mint a referral widget token. POST /v1/widget/tokens */
|
|
2076
|
+
tokens: (body: T.PostWidgetTokensBody, options?: RequestOptions): Promise<T.PostWidgetTokensResponse> => t.op("postWidgetTokens", { body }, options),
|
|
2077
|
+
},
|
|
2078
|
+
zapier: {
|
|
2079
|
+
/** List Zapier trigger events. GET /v1/zapier/events */
|
|
2080
|
+
events: (options?: RequestOptions): Promise<T.GetZapierEventsResponse> => t.op("getZapierEvents", { }, options),
|
|
2081
|
+
/** Poll a Zapier trigger. GET /v1/zapier/triggers/{event} */
|
|
2082
|
+
triggers: (event: string, query?: (T.GetZapierTriggersEventQuery) | RequestOptions, options?: RequestOptions): Promise<T.GetZapierTriggersEventResponse> => t.op("getZapierTriggersEvent", { path: { event }, query }, options),
|
|
2083
|
+
/** Record a conversion from Zapier. POST /v1/zapier/conversions */
|
|
2084
|
+
conversions: (body: T.PostZapierConversionsBody, options?: RequestOptions): Promise<T.PostZapierConversionsResponse> => t.op("postZapierConversions", { body }, options),
|
|
2085
|
+
hooks: {
|
|
2086
|
+
/** Unsubscribe a Zapier hook. DELETE /v1/zapier/hooks/{id} */
|
|
2087
|
+
delete: (id: string, options?: RequestOptions): Promise<T.DeleteZapierHooksIdResponse> => t.op("deleteZapierHooksId", { path: { id } }, options),
|
|
2088
|
+
/** List Zapier hooks. GET /v1/zapier/hooks */
|
|
2089
|
+
list: (query?: (T.GetZapierHooksQuery & PageParams) | RequestOptions, options?: RequestOptions): ListPromise<T.GetZapierHooksResponse['data'][number], T.GetZapierHooksResponse> => t.list("getZapierHooks", { query }, options),
|
|
2090
|
+
/** Subscribe a Zapier hook. POST /v1/zapier/hooks */
|
|
2091
|
+
create: (body: T.PostZapierHooksBody, options?: RequestOptions): Promise<T.PostZapierHooksResponse> => t.op("postZapierHooks", { body }, options),
|
|
2092
|
+
},
|
|
2093
|
+
},
|
|
2094
|
+
};
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
export type Resources = ReturnType<typeof buildResources>;
|