@faiber/faiber-crm 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +74 -74
- package/dist/operations.d.ts +92 -92
- package/package.json +2 -2
- package/provenance.json +3 -3
package/dist/operations.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
8
8
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
9
9
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
10
10
|
*/
|
|
11
|
-
routerStatusRouteGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}>>;
|
|
11
|
+
routerStatusRouteGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}, any>>;
|
|
12
12
|
/**
|
|
13
13
|
* Reach the legacy API not-found boundary with the chosen method. The handler returns structured 404; HEAD has no body and production CORS answers OPTIONS with empty 200. Axios rejects 404 by default; intentional diagnostics should check empty bodies. Registered paths are rejected locally by wildcard diagnostics. Does not mutate CRM records.
|
|
14
14
|
* Calls `ANY /api` through the shared IDP-aware Faiber client.
|
|
@@ -17,7 +17,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
17
17
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
18
18
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
19
19
|
*/
|
|
20
|
-
routerApiNotFoundAny(method: import("@faiber/sdk-core").HttpRequestMethod, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiFallbackResponse, unknown, {}>>;
|
|
20
|
+
routerApiNotFoundAny(method: import("@faiber/sdk-core").HttpRequestMethod, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiFallbackResponse, unknown, {}, any>>;
|
|
21
21
|
/**
|
|
22
22
|
* Reach the legacy API not-found boundary with the chosen method. The handler returns structured 404; HEAD has no body and production CORS answers OPTIONS with empty 200. Axios rejects 404 by default; intentional diagnostics should check empty bodies. Registered paths are rejected locally by wildcard diagnostics. Does not mutate CRM records.
|
|
23
23
|
* Calls `ANY /api/{*path}` through the shared IDP-aware Faiber client.
|
|
@@ -27,7 +27,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
27
27
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
28
28
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
29
29
|
*/
|
|
30
|
-
routerApiPathNotFoundAny(path: string, method: import("@faiber/sdk-core").HttpRequestMethod, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiFallbackResponse, unknown, {}>>;
|
|
30
|
+
routerApiPathNotFoundAny(path: string, method: import("@faiber/sdk-core").HttpRequestMethod, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiFallbackResponse, unknown, {}, any>>;
|
|
31
31
|
/**
|
|
32
32
|
* List workspace activities ordered by occurred_at DESC,id DESC, with id < cursor; enrich nullable owner profiles. Only cursor/limit are consumed. Limit defaults 50, clamped 1..100.
|
|
33
33
|
* Calls `GET /api/v1/activities` through the shared IDP-aware Faiber client.
|
|
@@ -36,7 +36,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
36
36
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
37
37
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:activity:read.
|
|
38
38
|
*/
|
|
39
|
-
apiActivitiesGet(params?: T.ApiActivitiesGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmActivityListResponse, unknown, {}>>;
|
|
39
|
+
apiActivitiesGet(params?: T.ApiActivitiesGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmActivityListResponse, unknown, {}, any>>;
|
|
40
40
|
/**
|
|
41
41
|
* Create note/call/email/meeting/demo/message activity, default occurred_at to now and owner to caller; return nullable owner profile and HTTP 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
42
42
|
* Calls `POST /api/v1/activities` through the shared IDP-aware Faiber client.
|
|
@@ -45,7 +45,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
45
45
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
46
46
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:activity:create.
|
|
47
47
|
*/
|
|
48
|
-
apiCreateActivityPost(data: T.ApiCreateActivityPostInput, options?: RequestOptions<T.ApiCreateActivityPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateActivityPostResponseData>, import("./contracts.types.js").CrmActivityCreateInput, {}>>;
|
|
48
|
+
apiCreateActivityPost(data: T.ApiCreateActivityPostInput, options?: RequestOptions<T.ApiCreateActivityPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateActivityPostResponseData>, import("./contracts.types.js").CrmActivityCreateInput, {}, any>>;
|
|
49
49
|
/**
|
|
50
50
|
* Create an activity and reminder task atomically under one key. Validate activity type, nonempty reminder title and priority; reminder assignee defaults caller and type defaults reminder. Returns 201 with both records. Authorization accepts either listed create permission. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
51
51
|
* Calls `POST /api/v1/activities/with-reminder` through the shared IDP-aware Faiber client.
|
|
@@ -54,7 +54,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
54
54
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
55
55
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:activity:create, crm:task:create.
|
|
56
56
|
*/
|
|
57
|
-
apiCreateActivityWithReminderPost(data: T.ApiCreateActivityWithReminderPostInput, options?: RequestOptions<T.ApiCreateActivityWithReminderPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateActivityWithReminderPostResponseData>, import("./contracts.types.js").CrmActivityReminderCreateInput, {}>>;
|
|
57
|
+
apiCreateActivityWithReminderPost(data: T.ApiCreateActivityWithReminderPostInput, options?: RequestOptions<T.ApiCreateActivityWithReminderPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateActivityWithReminderPostResponseData>, import("./contracts.types.js").CrmActivityReminderCreateInput, {}, any>>;
|
|
58
58
|
/**
|
|
59
59
|
* List workspace durable jobs with cursor/status, ascending UUID; limit defaults 50, clamped 1..100. Result is nullable job-type-specific stored JSON.
|
|
60
60
|
* Calls `GET /api/v1/automation/jobs` through the shared IDP-aware Faiber client.
|
|
@@ -63,7 +63,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
63
63
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
64
64
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:automation:read.
|
|
65
65
|
*/
|
|
66
|
-
apiAutomationJobsGet(params?: T.ApiAutomationJobsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmAutomationJobListResponse, unknown, {}>>;
|
|
66
|
+
apiAutomationJobsGet(params?: T.ApiAutomationJobsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmAutomationJobListResponse, unknown, {}, any>>;
|
|
67
67
|
/**
|
|
68
68
|
* List workspace webhook subscriptions, including inactive entries, with total and failed/dead-letter delivery counts.
|
|
69
69
|
* Calls `GET /api/v1/automation/webhooks` through the shared IDP-aware Faiber client.
|
|
@@ -71,7 +71,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
71
71
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
72
72
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:automation:read.
|
|
73
73
|
*/
|
|
74
|
-
apiAutomationWebhooksGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAutomationWebhooksGetResponseItem[]>, unknown, {}>>;
|
|
74
|
+
apiAutomationWebhooksGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAutomationWebhooksGetResponseItem[]>, unknown, {}, any>>;
|
|
75
75
|
/**
|
|
76
76
|
* Read a lead or deal board with concrete pipeline/stage/record columns and summed value. Invalid entity_type 400, missing workspace pipeline 404. At most 1000 recently updated records; board permission does not apply per-record owner filtering.
|
|
77
77
|
* Calls `GET /api/v1/boards/{entity_type}/{pipeline_id}` through the shared IDP-aware Faiber client.
|
|
@@ -81,7 +81,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
81
81
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
82
82
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:board:read.
|
|
83
83
|
*/
|
|
84
|
-
apiBoardGet(entityType: Identifier, pipelineId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmBoardResponse, unknown, {}>>;
|
|
84
|
+
apiBoardGet(entityType: Identifier, pipelineId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmBoardResponse, unknown, {}, any>>;
|
|
85
85
|
/**
|
|
86
86
|
* List nondeleted workspace marketing campaigns, including inactive statuses, newest first.
|
|
87
87
|
* Calls `GET /api/v1/campaigns` through the shared IDP-aware Faiber client.
|
|
@@ -89,7 +89,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
89
89
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
90
90
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:marketing:read.
|
|
91
91
|
*/
|
|
92
|
-
apiCampaignsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCampaignsGetResponseItem[]>, unknown, {}>>;
|
|
92
|
+
apiCampaignsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCampaignsGetResponseItem[]>, unknown, {}, any>>;
|
|
93
93
|
/**
|
|
94
94
|
* Create a campaign with trimmed nonempty name/slug, status draft/active/paused/completed/archived (default draft), currency default IRR and extensible metadata; return 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
95
95
|
* Calls `POST /api/v1/campaigns` through the shared IDP-aware Faiber client.
|
|
@@ -98,7 +98,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
98
98
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
99
99
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:marketing:manage.
|
|
100
100
|
*/
|
|
101
|
-
apiCreateCampaignPost(data: T.ApiCreateCampaignPostInput, options?: RequestOptions<T.ApiCreateCampaignPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateCampaignPostResponseData>, import("./contracts.types.js").CrmCampaignCreateInput, {}>>;
|
|
101
|
+
apiCreateCampaignPost(data: T.ApiCreateCampaignPostInput, options?: RequestOptions<T.ApiCreateCampaignPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateCampaignPostResponseData>, import("./contracts.types.js").CrmCampaignCreateInput, {}, any>>;
|
|
102
102
|
/**
|
|
103
103
|
* Search nondeleted workspace companies by name/domain with q and ascending UUID cursor. Only cursor/limit/q are consumed; limit defaults 50, clamped 1..100.
|
|
104
104
|
* Calls `GET /api/v1/companies` through the shared IDP-aware Faiber client.
|
|
@@ -107,7 +107,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
107
107
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
108
108
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:company:read, crm:company:read_all.
|
|
109
109
|
*/
|
|
110
|
-
apiCompaniesGet(params?: T.ApiCompaniesGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmCompanyListResponse, unknown, {}>>;
|
|
110
|
+
apiCompaniesGet(params?: T.ApiCompaniesGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmCompanyListResponse, unknown, {}, any>>;
|
|
111
111
|
/**
|
|
112
112
|
* Create a company with trimmed nonempty name and nonnegative employee count/revenue. Validate selected active team and owner membership; return 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
113
113
|
* Calls `POST /api/v1/companies` through the shared IDP-aware Faiber client.
|
|
@@ -116,7 +116,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
116
116
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
117
117
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:company:create.
|
|
118
118
|
*/
|
|
119
|
-
apiCreateCompanyPost(data: T.ApiCreateCompanyPostInput, options?: RequestOptions<T.ApiCreateCompanyPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateCompanyPostResponseData>, T.ApiCreateCompanyPostInput, {}>>;
|
|
119
|
+
apiCreateCompanyPost(data: T.ApiCreateCompanyPostInput, options?: RequestOptions<T.ApiCreateCompanyPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateCompanyPostResponseData>, T.ApiCreateCompanyPostInput, {}, any>>;
|
|
120
120
|
/**
|
|
121
121
|
* Read a nondeleted workspace company by UUID; missing or foreign workspace company returns 404.
|
|
122
122
|
* Calls `GET /api/v1/companies/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -125,7 +125,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
125
125
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
126
126
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:company:read, crm:company:read_all.
|
|
127
127
|
*/
|
|
128
|
-
apiCompanyGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCompanyGetResponseData>, unknown, {}>>;
|
|
128
|
+
apiCompanyGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCompanyGetResponseData>, unknown, {}, any>>;
|
|
129
129
|
/**
|
|
130
130
|
* Patch company fields using required version; validate nonempty name and nonnegative count/revenue. Optional nulls preserve fields; missing company 404 and stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
131
131
|
* Calls `PATCH /api/v1/companies/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -135,7 +135,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
135
135
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
136
136
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:company:update.
|
|
137
137
|
*/
|
|
138
|
-
apiUpdateCompanyPatch(id: Identifier, data: T.ApiUpdateCompanyPatchInput, options?: RequestOptions<T.ApiUpdateCompanyPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateCompanyPatchResponseData>, T.ApiUpdateCompanyPatchInput, {}>>;
|
|
138
|
+
apiUpdateCompanyPatch(id: Identifier, data: T.ApiUpdateCompanyPatchInput, options?: RequestOptions<T.ApiUpdateCompanyPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateCompanyPatchResponseData>, T.ApiUpdateCompanyPatchInput, {}, any>>;
|
|
139
139
|
/**
|
|
140
140
|
* Search nondeleted workspace contacts by first/last name/email with q and ascending UUID cursor. Only cursor/limit/q are consumed; limit defaults 50, clamped 1..100.
|
|
141
141
|
* Calls `GET /api/v1/contacts` through the shared IDP-aware Faiber client.
|
|
@@ -144,7 +144,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
144
144
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
145
145
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:contact:read, crm:contact:read_all.
|
|
146
146
|
*/
|
|
147
|
-
apiContactsGet(params?: T.ApiContactsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmContactListResponse, unknown, {}>>;
|
|
147
|
+
apiContactsGet(params?: T.ApiContactsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmContactListResponse, unknown, {}, any>>;
|
|
148
148
|
/**
|
|
149
149
|
* Create a contact with trimmed nonempty first_name and optional profile/consent/custom data; validate selected active team and owner membership. Returns 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
150
150
|
* Calls `POST /api/v1/contacts` through the shared IDP-aware Faiber client.
|
|
@@ -153,7 +153,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
153
153
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
154
154
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:contact:create.
|
|
155
155
|
*/
|
|
156
|
-
apiCreateContactPost(data: T.ApiCreateContactPostInput, options?: RequestOptions<T.ApiCreateContactPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateContactPostResponseData>, T.ApiCreateContactPostInput, {}>>;
|
|
156
|
+
apiCreateContactPost(data: T.ApiCreateContactPostInput, options?: RequestOptions<T.ApiCreateContactPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateContactPostResponseData>, T.ApiCreateContactPostInput, {}, any>>;
|
|
157
157
|
/**
|
|
158
158
|
* Read a nondeleted workspace contact by UUID; missing or foreign workspace contact returns 404.
|
|
159
159
|
* Calls `GET /api/v1/contacts/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -162,7 +162,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
162
162
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
163
163
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:contact:read, crm:contact:read_all.
|
|
164
164
|
*/
|
|
165
|
-
apiContactGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiContactGetResponseData>, unknown, {}>>;
|
|
165
|
+
apiContactGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiContactGetResponseData>, unknown, {}, any>>;
|
|
166
166
|
/**
|
|
167
167
|
* Patch contact with required version; validate nonempty first_name and active/inactive/do_not_contact lifecycle status. Optional nulls preserve fields; missing contact 404, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
168
168
|
* Calls `PATCH /api/v1/contacts/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -172,7 +172,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
172
172
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
173
173
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:contact:update.
|
|
174
174
|
*/
|
|
175
|
-
apiUpdateContactPatch(id: Identifier, data: T.ApiUpdateContactPatchInput, options?: RequestOptions<T.ApiUpdateContactPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateContactPatchResponseData>, import("./contracts.types.js").CrmContactUpdateInput, {}>>;
|
|
175
|
+
apiUpdateContactPatch(id: Identifier, data: T.ApiUpdateContactPatchInput, options?: RequestOptions<T.ApiUpdateContactPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateContactPatchResponseData>, import("./contracts.types.js").CrmContactUpdateInput, {}, any>>;
|
|
176
176
|
/**
|
|
177
177
|
* Read the configured CRM workspace, including locale, timezone, currency, AI settings and optimistic version; absent workspace returns 404.
|
|
178
178
|
* Calls `GET /api/v1/context` through the shared IDP-aware Faiber client.
|
|
@@ -180,7 +180,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
180
180
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
181
181
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:workspace:read.
|
|
182
182
|
*/
|
|
183
|
-
apiContextGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiContextGetResponseData>, unknown, {}>>;
|
|
183
|
+
apiContextGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiContextGetResponseData>, unknown, {}, any>>;
|
|
184
184
|
/**
|
|
185
185
|
* List bare nondeleted workspace deals with cursor/q/pipeline/stage/status/team/owner filters, ascending UUID. Caller-only unless crm:admin or crm:deal:read_all. Limit defaults 50, clamped 1..100.
|
|
186
186
|
* Calls `GET /api/v1/deals` through the shared IDP-aware Faiber client.
|
|
@@ -189,7 +189,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
189
189
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
190
190
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:deal:read, crm:deal:read_all, crm:deal:read_own.
|
|
191
191
|
*/
|
|
192
|
-
apiDealsGet(params?: T.ApiDealsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmDealListResponse, unknown, {}>>;
|
|
192
|
+
apiDealsGet(params?: T.ApiDealsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmDealListResponse, unknown, {}, any>>;
|
|
193
193
|
/**
|
|
194
194
|
* Create a deal with nonempty trimmed name, nonnegative amounts and probability 0..1. Choose active deal stage when omitted, default probability from stage, owner caller and currency IRR. Validate team membership; return 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
195
195
|
* Calls `POST /api/v1/deals` through the shared IDP-aware Faiber client.
|
|
@@ -198,7 +198,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
198
198
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
199
199
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:deal:create.
|
|
200
200
|
*/
|
|
201
|
-
apiCreateDealPost(data: T.ApiCreateDealPostInput, options?: RequestOptions<T.ApiCreateDealPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateDealPostResponseData>, T.ApiCreateDealPostInput, {}>>;
|
|
201
|
+
apiCreateDealPost(data: T.ApiCreateDealPostInput, options?: RequestOptions<T.ApiCreateDealPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateDealPostResponseData>, T.ApiCreateDealPostInput, {}, any>>;
|
|
202
202
|
/**
|
|
203
203
|
* Read a nondeleted workspace deal visible to caller; only crm:admin or crm:deal:read_all removes owner filtering. Missing/invisible deals return 404.
|
|
204
204
|
* Calls `GET /api/v1/deals/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -207,7 +207,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
207
207
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
208
208
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:deal:read, crm:deal:read_all, crm:deal:read_own.
|
|
209
209
|
*/
|
|
210
|
-
apiDealGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDealGetResponseData>, unknown, {}>>;
|
|
210
|
+
apiDealGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDealGetResponseData>, unknown, {}, any>>;
|
|
211
211
|
/**
|
|
212
212
|
* Patch a deal with required version; validate name, nonnegative amounts and probability 0..1. Optional nulls preserve fields; missing 404, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
213
213
|
* Calls `PATCH /api/v1/deals/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -217,7 +217,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
217
217
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
218
218
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:deal:update.
|
|
219
219
|
*/
|
|
220
|
-
apiUpdateDealPatch(id: Identifier, data: T.ApiUpdateDealPatchInput, options?: RequestOptions<T.ApiUpdateDealPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateDealPatchResponseData>, T.ApiUpdateDealPatchInput, {}>>;
|
|
220
|
+
apiUpdateDealPatch(id: Identifier, data: T.ApiUpdateDealPatchInput, options?: RequestOptions<T.ApiUpdateDealPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateDealPatchResponseData>, T.ApiUpdateDealPatchInput, {}, any>>;
|
|
221
221
|
/**
|
|
222
222
|
* Replace deal team and owner using required version; omitted or null IDs clear assignments. Validate active team and owner membership when selected, and write assignment activity. Missing 404, validation 422, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
223
223
|
* Calls `PATCH /api/v1/deals/{id}/assignment` through the shared IDP-aware Faiber client.
|
|
@@ -227,7 +227,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
227
227
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
228
228
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:deal:assign.
|
|
229
229
|
*/
|
|
230
|
-
apiAssignDealPatch(id: Identifier, data: T.ApiAssignDealPatchInput, options?: RequestOptions<T.ApiAssignDealPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAssignDealPatchResponseData>, T.ApiAssignDealPatchInput, {}>>;
|
|
230
|
+
apiAssignDealPatch(id: Identifier, data: T.ApiAssignDealPatchInput, options?: RequestOptions<T.ApiAssignDealPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAssignDealPatchResponseData>, T.ApiAssignDealPatchInput, {}, any>>;
|
|
231
231
|
/**
|
|
232
232
|
* Move a deal within its pipeline with required version; active stage required. Lost requires nonempty loss_reason; update status/probability/closed_at and write stage-change activity. Missing 404, validation 422, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
233
233
|
* Calls `PATCH /api/v1/deals/{id}/stage` through the shared IDP-aware Faiber client.
|
|
@@ -237,7 +237,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
237
237
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
238
238
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:deal:move.
|
|
239
239
|
*/
|
|
240
|
-
apiMoveDealStagePatch(id: Identifier, data: T.ApiMoveDealStagePatchInput, options?: RequestOptions<T.ApiMoveDealStagePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiMoveDealStagePatchResponseData>, T.ApiMoveDealStagePatchInput, {}>>;
|
|
240
|
+
apiMoveDealStagePatch(id: Identifier, data: T.ApiMoveDealStagePatchInput, options?: RequestOptions<T.ApiMoveDealStagePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiMoveDealStagePatchResponseData>, T.ApiMoveDealStagePatchInput, {}, any>>;
|
|
241
241
|
/**
|
|
242
242
|
* Find a nullable legacy leads-table row by profile_id, foreign_key and comma-separated flags. Empty flags may match a single candidate. Response is legacy status/message/data without meta. This handler has no local authorization or workspace predicate.
|
|
243
243
|
* Calls `GET /api/v1/integration/office/leads/find` through the shared IDP-aware Faiber client.
|
|
@@ -246,7 +246,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
246
246
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
247
247
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
248
248
|
*/
|
|
249
|
-
apiFindOfficeLeadGet(params: T.ApiFindOfficeLeadGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmOfficeLeadResponse, unknown, {}>>;
|
|
249
|
+
apiFindOfficeLeadGet(params: T.ApiFindOfficeLeadGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmOfficeLeadResponse, unknown, {}, any>>;
|
|
250
250
|
/**
|
|
251
251
|
* List bare nondeleted workspace lead records with UUID cursor and q/pipeline/stage/status/team/owner/statuses/profile/active date filters. statuses is comma-separated. Caller-only unless crm:admin or crm:lead:read_all. Limit defaults 50, clamped 1..100; UUID cursor remains id > cursor even with task_priority/created_at/created_at_desc sorting.
|
|
252
252
|
* Calls `GET /api/v1/leads` through the shared IDP-aware Faiber client.
|
|
@@ -255,7 +255,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
255
255
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
256
256
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:read, crm:lead:read_all, crm:lead:read_own.
|
|
257
257
|
*/
|
|
258
|
-
apiLeadsGet(params?: T.ApiLeadsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadListResponse, unknown, {}>>;
|
|
258
|
+
apiLeadsGet(params?: T.ApiLeadsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadListResponse, unknown, {}, any>>;
|
|
259
259
|
/**
|
|
260
260
|
* Create a lead with trimmed title, score 0..100 and nonnegative value; choose an active lead stage when omitted, default owner to caller and currency IRR. Validate active team/member assignment; return a bare Lead with HTTP 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
261
261
|
* Calls `POST /api/v1/leads` through the shared IDP-aware Faiber client.
|
|
@@ -264,7 +264,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
264
264
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
265
265
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:create.
|
|
266
266
|
*/
|
|
267
|
-
apiCreateLeadPost(data: T.ApiCreateLeadPostInput, options?: RequestOptions<T.ApiCreateLeadPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateLeadPostResponseData>, T.ApiCreateLeadPostInput, {}>>;
|
|
267
|
+
apiCreateLeadPost(data: T.ApiCreateLeadPostInput, options?: RequestOptions<T.ApiCreateLeadPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateLeadPostResponseData>, T.ApiCreateLeadPostInput, {}, any>>;
|
|
268
268
|
/**
|
|
269
269
|
* Read a nondeleted workspace lead visible to the caller and enrich a nullable remote profile using column or legacy custom_data.profile_id; missing/invisible leads return 404.
|
|
270
270
|
* Calls `GET /api/v1/leads/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -273,7 +273,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
273
273
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
274
274
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:read, crm:lead:read_all, crm:lead:read_own.
|
|
275
275
|
*/
|
|
276
|
-
apiLeadGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiLeadGetResponseData>, unknown, {}>>;
|
|
276
|
+
apiLeadGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiLeadGetResponseData>, unknown, {}, any>>;
|
|
277
277
|
/**
|
|
278
278
|
* Patch a bare lead with required version; validate nonempty title, score 0..100, nonnegative value and new/working/qualified/disqualified/converted status. Optional nulls preserve fields; missing 404, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
279
279
|
* Calls `PATCH /api/v1/leads/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -283,7 +283,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
283
283
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
284
284
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:update.
|
|
285
285
|
*/
|
|
286
|
-
apiUpdateLeadPatch(id: Identifier, data: T.ApiUpdateLeadPatchInput, options?: RequestOptions<T.ApiUpdateLeadPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateLeadPatchResponseData>, import("./contracts.types.js").CrmLeadUpdateInput, {}>>;
|
|
286
|
+
apiUpdateLeadPatch(id: Identifier, data: T.ApiUpdateLeadPatchInput, options?: RequestOptions<T.ApiUpdateLeadPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateLeadPatchResponseData>, import("./contracts.types.js").CrmLeadUpdateInput, {}, any>>;
|
|
287
287
|
/**
|
|
288
288
|
* Replace lead team and owner using required version; omitted or null IDs clear assignments. Validate active team and owner membership when selected, and write assignment activity. Missing 404, validation 422, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
289
289
|
* Calls `PATCH /api/v1/leads/{id}/assignment` through the shared IDP-aware Faiber client.
|
|
@@ -293,7 +293,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
293
293
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
294
294
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:assign.
|
|
295
295
|
*/
|
|
296
|
-
apiAssignLeadPatch(id: Identifier, data: T.ApiAssignLeadPatchInput, options?: RequestOptions<T.ApiAssignLeadPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAssignLeadPatchResponseData>, T.ApiAssignLeadPatchInput, {}>>;
|
|
296
|
+
apiAssignLeadPatch(id: Identifier, data: T.ApiAssignLeadPatchInput, options?: RequestOptions<T.ApiAssignLeadPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAssignLeadPatchResponseData>, T.ApiAssignLeadPatchInput, {}, any>>;
|
|
297
297
|
/**
|
|
298
298
|
* Merge activities and audit events for a workspace lead, newest first, with nullable actor profiles and extensible event data. Either crm:lead:read or crm:activity:read suffices; this handler does not apply lead ownership filtering.
|
|
299
299
|
* Calls `GET /api/v1/leads/{id}/history` through the shared IDP-aware Faiber client.
|
|
@@ -302,7 +302,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
302
302
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
303
303
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:read, crm:activity:read.
|
|
304
304
|
*/
|
|
305
|
-
apiLeadHistoryGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiLeadHistoryGetResponseItem[]>, unknown, {}>>;
|
|
305
|
+
apiLeadHistoryGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiLeadHistoryGetResponseItem[]>, unknown, {}, any>>;
|
|
306
306
|
/**
|
|
307
307
|
* Soft-delete all nondeleted tasks for the workspace lead UUID; return {lead_id,deleted} with a numeric affected count, including zero. No parent check, version or idempotency key is required.
|
|
308
308
|
* Calls `DELETE /api/v1/leads/{id}/reminders` through the shared IDP-aware Faiber client.
|
|
@@ -311,7 +311,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
311
311
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
312
312
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:task:delete.
|
|
313
313
|
*/
|
|
314
|
-
apiDeleteLeadRemindersDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadReminderDeletionResponse, unknown, {}>>;
|
|
314
|
+
apiDeleteLeadRemindersDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadReminderDeletionResponse, unknown, {}, any>>;
|
|
315
315
|
/**
|
|
316
316
|
* Remove an SOS entry and return {id,deleted:true}, where id is the SOS entry UUID, not the lead UUID; absent entry returns 404. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
317
317
|
* Calls `DELETE /api/v1/leads/{id}/sos` through the shared IDP-aware Faiber client.
|
|
@@ -320,7 +320,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
320
320
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
321
321
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:sos:delete.
|
|
322
322
|
*/
|
|
323
|
-
apiRemoveLeadFromSosDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiRemoveLeadFromSosDeleteResponseData>, unknown, {}>>;
|
|
323
|
+
apiRemoveLeadFromSosDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiRemoveLeadFromSosDeleteResponseData>, unknown, {}, any>>;
|
|
324
324
|
/**
|
|
325
325
|
* Upsert SOS for a nondeleted workspace lead; existing SOS retains its record identity and creator. Missing lead returns 404. Returns 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
326
326
|
* Calls `POST /api/v1/leads/{id}/sos` through the shared IDP-aware Faiber client.
|
|
@@ -329,7 +329,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
329
329
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
330
330
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:sos:create.
|
|
331
331
|
*/
|
|
332
|
-
apiAddLeadToSosPost(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAddLeadToSosPostResponseData>, unknown, {}>>;
|
|
332
|
+
apiAddLeadToSosPost(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAddLeadToSosPostResponseData>, unknown, {}, any>>;
|
|
333
333
|
/**
|
|
334
334
|
* Move a lead within its pipeline with required version; active stage required. Lost stage disqualifies and records loss_reason; won/activation/recurring slug qualifies. Write stage-change activity; missing 404, invalid stage 422, stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
335
335
|
* Calls `PATCH /api/v1/leads/{id}/stage` through the shared IDP-aware Faiber client.
|
|
@@ -339,7 +339,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
339
339
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
340
340
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:move.
|
|
341
341
|
*/
|
|
342
|
-
apiMoveLeadStagePatch(id: Identifier, data: T.ApiMoveLeadStagePatchInput, options?: RequestOptions<T.ApiMoveLeadStagePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiMoveLeadStagePatchResponseData>, T.ApiMoveLeadStagePatchInput, {}>>;
|
|
342
|
+
apiMoveLeadStagePatch(id: Identifier, data: T.ApiMoveLeadStagePatchInput, options?: RequestOptions<T.ApiMoveLeadStagePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiMoveLeadStagePatchResponseData>, T.ApiMoveLeadStagePatchInput, {}, any>>;
|
|
343
343
|
/**
|
|
344
344
|
* Alias of the full lead list with exactly the same filters, ownership restrictions and bare Lead response model; no extra profile enrichment.
|
|
345
345
|
* Calls `GET /api/v1/leads/light` through the shared IDP-aware Faiber client.
|
|
@@ -348,7 +348,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
348
348
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
349
349
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:lead:read, crm:lead:read_all, crm:lead:read_own (delegates to the full lead-list handler).
|
|
350
350
|
*/
|
|
351
|
-
apiLightLeadsGet(params?: T.ApiLightLeadsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadListResponse, unknown, {}>>;
|
|
351
|
+
apiLightLeadsGet(params?: T.ApiLightLeadsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadListResponse, unknown, {}, any>>;
|
|
352
352
|
/**
|
|
353
353
|
* List nondeleted workspace workflows with their nondeleted stages; includes inactive entries, ordered by entity type, priority, default flag and name.
|
|
354
354
|
* Calls `GET /api/v1/pipelines` through the shared IDP-aware Faiber client.
|
|
@@ -356,7 +356,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
356
356
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
357
357
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:pipeline:read.
|
|
358
358
|
*/
|
|
359
|
-
apiPipelinesGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmPipelinesResponse, unknown, {}>>;
|
|
359
|
+
apiPipelinesGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmPipelinesResponse, unknown, {}, any>>;
|
|
360
360
|
/**
|
|
361
361
|
* Patch pipeline fields using required version; negative quota returns 422 and missing/stale version match returns 409. Null fields preserve existing values.
|
|
362
362
|
* Calls `PATCH /api/v1/pipelines/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -366,7 +366,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
366
366
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
367
367
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:pipeline:update.
|
|
368
368
|
*/
|
|
369
|
-
apiUpdatePipelinePatch(id: Identifier, data: T.ApiUpdatePipelinePatchInput, options?: RequestOptions<T.ApiUpdatePipelinePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdatePipelinePatchResponseData>, T.ApiUpdatePipelinePatchInput, {}>>;
|
|
369
|
+
apiUpdatePipelinePatch(id: Identifier, data: T.ApiUpdatePipelinePatchInput, options?: RequestOptions<T.ApiUpdatePipelinePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdatePipelinePatchResponseData>, T.ApiUpdatePipelinePatchInput, {}, any>>;
|
|
370
370
|
/**
|
|
371
371
|
* Read a workspace report run by UUID, including nullable deterministic summary, AI result/error and completion timestamp; missing or foreign run returns 404.
|
|
372
372
|
* Calls `GET /api/v1/reports/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -375,7 +375,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
375
375
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
376
376
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:report:read.
|
|
377
377
|
*/
|
|
378
|
-
apiReportRunGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiReportRunGetResponseData>, unknown, {}>>;
|
|
378
|
+
apiReportRunGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiReportRunGetResponseData>, unknown, {}, any>>;
|
|
379
379
|
/**
|
|
380
380
|
* Queue report insight for a ready/ready_without_ai report, charge to configured project owner only when execution starts. Disabled AI or missing owner returns 422; missing ready run 404. Return queued job/project-owner UUIDs with HTTP 202. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
381
381
|
* Calls `POST /api/v1/reports/{id}/agentic` through the shared IDP-aware Faiber client.
|
|
@@ -384,7 +384,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
384
384
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
385
385
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:agent:run.
|
|
386
386
|
*/
|
|
387
|
-
apiRequestAgenticInsightPost(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmAgenticInsightResponse, unknown, {}>>;
|
|
387
|
+
apiRequestAgenticInsightPost(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmAgenticInsightResponse, unknown, {}, any>>;
|
|
388
388
|
/**
|
|
389
389
|
* Read workspace report definitions and global metric definitions as concrete reports/metrics arrays, ordered by report name/UUID and metric key.
|
|
390
390
|
* Calls `GET /api/v1/reports/catalog` through the shared IDP-aware Faiber client.
|
|
@@ -392,7 +392,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
392
392
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
393
393
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:report:read.
|
|
394
394
|
*/
|
|
395
|
-
apiReportCatalogGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmReportCatalogResponse, unknown, {}>>;
|
|
395
|
+
apiReportCatalogGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmReportCatalogResponse, unknown, {}, any>>;
|
|
396
396
|
/**
|
|
397
397
|
* Calculate provisional metrics and data-quality warnings for period_start/period_end query. Default start is the first UTC day of end month and default end now; financial totals depend on ingested actuals.
|
|
398
398
|
* Calls `GET /api/v1/reports/overview` through the shared IDP-aware Faiber client.
|
|
@@ -401,7 +401,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
401
401
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
402
402
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:report:read.
|
|
403
403
|
*/
|
|
404
|
-
apiOverviewGet(params?: T.ApiOverviewGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmOverviewResponse, unknown, {}>>;
|
|
404
|
+
apiOverviewGet(params?: T.ApiOverviewGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmOverviewResponse, unknown, {}, any>>;
|
|
405
405
|
/**
|
|
406
406
|
* Calculate and persist certified metric snapshots/report run; period bounds are query parameters and no JSON body is read. Returns 201 with ready status, overview and agentic_started:false. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
407
407
|
* Calls `POST /api/v1/reports/refresh` through the shared IDP-aware Faiber client.
|
|
@@ -410,7 +410,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
410
410
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
411
411
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:report:refresh.
|
|
412
412
|
*/
|
|
413
|
-
apiRefreshReportsPost(params?: T.ApiRefreshReportsPostQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmReportRefreshResponse, unknown, {}>>;
|
|
413
|
+
apiRefreshReportsPost(params?: T.ApiRefreshReportsPostQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmReportRefreshResponse, unknown, {}, any>>;
|
|
414
414
|
/**
|
|
415
415
|
* List SOS entries whose leads are nondeleted in this workspace, newest first; returns SOS records rather than enriched lead objects.
|
|
416
416
|
* Calls `GET /api/v1/sos` through the shared IDP-aware Faiber client.
|
|
@@ -418,7 +418,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
418
418
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
419
419
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:sos:read.
|
|
420
420
|
*/
|
|
421
|
-
apiListSosLeadsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListSosLeadsGetResponseItem[]>, unknown, {}>>;
|
|
421
|
+
apiListSosLeadsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListSosLeadsGetResponseItem[]>, unknown, {}, any>>;
|
|
422
422
|
/**
|
|
423
423
|
* List all workspace marketing sources, including inactive entries, ordered by active flag then name and UUID.
|
|
424
424
|
* Calls `GET /api/v1/sources` through the shared IDP-aware Faiber client.
|
|
@@ -426,7 +426,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
426
426
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
427
427
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:marketing:read.
|
|
428
428
|
*/
|
|
429
|
-
apiSourcesGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiSourcesGetResponseItem[]>, unknown, {}>>;
|
|
429
|
+
apiSourcesGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiSourcesGetResponseItem[]>, unknown, {}, any>>;
|
|
430
430
|
/**
|
|
431
431
|
* Create a marketing source with trimmed nonempty name/slug and channel default other; return HTTP 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
432
432
|
* Calls `POST /api/v1/sources` through the shared IDP-aware Faiber client.
|
|
@@ -435,7 +435,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
435
435
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
436
436
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:marketing:manage.
|
|
437
437
|
*/
|
|
438
|
-
apiCreateSourcePost(data: T.ApiCreateSourcePostInput, options?: RequestOptions<T.ApiCreateSourcePostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateSourcePostResponseData>, T.ApiCreateSourcePostInput, {}>>;
|
|
438
|
+
apiCreateSourcePost(data: T.ApiCreateSourcePostInput, options?: RequestOptions<T.ApiCreateSourcePostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateSourcePostResponseData>, T.ApiCreateSourcePostInput, {}, any>>;
|
|
439
439
|
/**
|
|
440
440
|
* Calculate caller-assigned workflow daily quotas from backlog and priority, completed-today counts and extra work in UTC. Default total allocation limit is 50; no assigned/actionable workflows returns empty totals and all_tasks_done:true.
|
|
441
441
|
* Calls `GET /api/v1/stats/daily` through the shared IDP-aware Faiber client.
|
|
@@ -443,7 +443,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
443
443
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
444
444
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:stats:read, crm:stats:read_own.
|
|
445
445
|
*/
|
|
446
|
-
apiDailyStatsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmDailyStatsResponse, unknown, {}>>;
|
|
446
|
+
apiDailyStatsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmDailyStatsResponse, unknown, {}, any>>;
|
|
447
447
|
/**
|
|
448
448
|
* Aggregate total/active/inactive leads for caller-assigned nondeleted lead workflows; active status uses custom_data.is_active_status, default true.
|
|
449
449
|
* Calls `GET /api/v1/stats/lead` through the shared IDP-aware Faiber client.
|
|
@@ -451,7 +451,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
451
451
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
452
452
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:stats:read, crm:stats:read_all, crm:stats:read_own.
|
|
453
453
|
*/
|
|
454
|
-
apiLeadStatsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadStatsResponse, unknown, {}>>;
|
|
454
|
+
apiLeadStatsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmLeadStatsResponse, unknown, {}, any>>;
|
|
455
455
|
/**
|
|
456
456
|
* List nondeleted task rows by ascending UUID; filters cursor/status/profile_id and due_at via active_from/active_to. Caller-only unless crm:admin or crm:task:read_all. Limit defaults 50, clamped 1..100.
|
|
457
457
|
* Calls `GET /api/v1/tasks` through the shared IDP-aware Faiber client.
|
|
@@ -460,7 +460,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
460
460
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
461
461
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:task:read, crm:task:read_all, crm:task:read_own.
|
|
462
462
|
*/
|
|
463
|
-
apiTasksGet(params?: T.ApiTasksGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmTaskListResponse, unknown, {}>>;
|
|
463
|
+
apiTasksGet(params?: T.ApiTasksGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmTaskListResponse, unknown, {}, any>>;
|
|
464
464
|
/**
|
|
465
465
|
* Create a task with nonempty trimmed title, priority low/normal/high/urgent (default normal), task_type default follow_up and assignee default caller; return 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
466
466
|
* Calls `POST /api/v1/tasks` through the shared IDP-aware Faiber client.
|
|
@@ -469,7 +469,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
469
469
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
470
470
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:task:create.
|
|
471
471
|
*/
|
|
472
|
-
apiCreateTaskPost(data: T.ApiCreateTaskPostInput, options?: RequestOptions<T.ApiCreateTaskPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateTaskPostResponseData>, import("./contracts.types.js").CrmTaskCreateInput, {}>>;
|
|
472
|
+
apiCreateTaskPost(data: T.ApiCreateTaskPostInput, options?: RequestOptions<T.ApiCreateTaskPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateTaskPostResponseData>, import("./contracts.types.js").CrmTaskCreateInput, {}, any>>;
|
|
473
473
|
/**
|
|
474
474
|
* Soft-delete a nondeleted workspace task and return {id,deleted:true}; no version body is accepted, and absent task returns 404. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
475
475
|
* Calls `DELETE /api/v1/tasks/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -478,7 +478,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
478
478
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
479
479
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:task:delete.
|
|
480
480
|
*/
|
|
481
|
-
apiDeleteTaskDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteTaskDeleteResponseData>, unknown, {}>>;
|
|
481
|
+
apiDeleteTaskDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteTaskDeleteResponseData>, unknown, {}, any>>;
|
|
482
482
|
/**
|
|
483
483
|
* Set open/in_progress/completed/cancelled with required version; completed sets completed_at and other statuses clear it. Missing task 404; stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
484
484
|
* Calls `PATCH /api/v1/tasks/{id}/status` through the shared IDP-aware Faiber client.
|
|
@@ -488,7 +488,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
488
488
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
489
489
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:task:update.
|
|
490
490
|
*/
|
|
491
|
-
apiUpdateTaskStatusPatch(id: Identifier, data: T.ApiUpdateTaskStatusPatchInput, options?: RequestOptions<T.ApiUpdateTaskStatusPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateTaskStatusPatchResponseData>, import("./contracts.types.js").CrmTaskStatusInput, {}>>;
|
|
491
|
+
apiUpdateTaskStatusPatch(id: Identifier, data: T.ApiUpdateTaskStatusPatchInput, options?: RequestOptions<T.ApiUpdateTaskStatusPatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateTaskStatusPatchResponseData>, import("./contracts.types.js").CrmTaskStatusInput, {}, any>>;
|
|
492
492
|
/**
|
|
493
493
|
* List nondeleted workspace teams with active member counts, ordered by name and UUID; includes inactive teams.
|
|
494
494
|
* Calls `GET /api/v1/teams` through the shared IDP-aware Faiber client.
|
|
@@ -496,7 +496,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
496
496
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
497
497
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:team:read.
|
|
498
498
|
*/
|
|
499
|
-
apiTeamsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiTeamsGetResponseItem[]>, unknown, {}>>;
|
|
499
|
+
apiTeamsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiTeamsGetResponseItem[]>, unknown, {}, any>>;
|
|
500
500
|
/**
|
|
501
501
|
* Create a trimmed nonempty team name with optional description/manager; return the team and zero member count with HTTP 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
502
502
|
* Calls `POST /api/v1/teams` through the shared IDP-aware Faiber client.
|
|
@@ -505,7 +505,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
505
505
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
506
506
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:team:create.
|
|
507
507
|
*/
|
|
508
|
-
apiCreateTeamPost(data: T.ApiCreateTeamPostInput, options?: RequestOptions<T.ApiCreateTeamPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateTeamPostResponseData>, T.ApiCreateTeamPostInput, {}>>;
|
|
508
|
+
apiCreateTeamPost(data: T.ApiCreateTeamPostInput, options?: RequestOptions<T.ApiCreateTeamPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateTeamPostResponseData>, T.ApiCreateTeamPostInput, {}, any>>;
|
|
509
509
|
/**
|
|
510
510
|
* Soft-delete a team with required optimistic version; deactivate members, detach team references and remove workflow assignments transactionally. Missing team returns 404 and version conflict 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
511
511
|
* Calls `DELETE /api/v1/teams/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -515,7 +515,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
515
515
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
516
516
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:team:delete.
|
|
517
517
|
*/
|
|
518
|
-
apiDeleteTeamDelete(id: Identifier, data: T.ApiDeleteTeamDeleteInput, options?: RequestOptions<T.ApiDeleteTeamDeleteInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteTeamDeleteResponseData>, T.ApiDeleteTeamDeleteInput, {}>>;
|
|
518
|
+
apiDeleteTeamDelete(id: Identifier, data: T.ApiDeleteTeamDeleteInput, options?: RequestOptions<T.ApiDeleteTeamDeleteInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteTeamDeleteResponseData>, T.ApiDeleteTeamDeleteInput, {}, any>>;
|
|
519
519
|
/**
|
|
520
520
|
* Read a nondeleted workspace team with all membership rows, including inactive members; absent team returns 404.
|
|
521
521
|
* Calls `GET /api/v1/teams/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -524,7 +524,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
524
524
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
525
525
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:team:read.
|
|
526
526
|
*/
|
|
527
|
-
apiTeamGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmTeamDetailResponse, unknown, {}>>;
|
|
527
|
+
apiTeamGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmTeamDetailResponse, unknown, {}, any>>;
|
|
528
528
|
/**
|
|
529
529
|
* Upsert/reactivate a team user membership with optional title and capacity default 1 in 0..100; missing nondeleted team returns 404. Returns 201. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
530
530
|
* Calls `POST /api/v1/teams/{id}/members` through the shared IDP-aware Faiber client.
|
|
@@ -534,7 +534,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
534
534
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
535
535
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:team:manage_members.
|
|
536
536
|
*/
|
|
537
|
-
apiAddTeamMemberPost(id: Identifier, data: T.ApiAddTeamMemberPostInput, options?: RequestOptions<T.ApiAddTeamMemberPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAddTeamMemberPostResponseData>, T.ApiAddTeamMemberPostInput, {}>>;
|
|
537
|
+
apiAddTeamMemberPost(id: Identifier, data: T.ApiAddTeamMemberPostInput, options?: RequestOptions<T.ApiAddTeamMemberPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiAddTeamMemberPostResponseData>, T.ApiAddTeamMemberPostInput, {}, any>>;
|
|
538
538
|
/**
|
|
539
539
|
* Deactivate an active membership identified by member UUID under the team; return the updated membership, or 404 if inactive/missing. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
540
540
|
* Calls `DELETE /api/v1/teams/{team_id}/members/{member_id}` through the shared IDP-aware Faiber client.
|
|
@@ -544,7 +544,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
544
544
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
545
545
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:team:manage_members.
|
|
546
546
|
*/
|
|
547
|
-
apiRemoveTeamMemberDelete(teamId: Identifier, memberId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiRemoveTeamMemberDeleteResponseData>, unknown, {}>>;
|
|
547
|
+
apiRemoveTeamMemberDelete(teamId: Identifier, memberId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiRemoveTeamMemberDeleteResponseData>, unknown, {}, any>>;
|
|
548
548
|
/**
|
|
549
549
|
* List nondeleted workspace workflows, including inactive entries. Only sort is consumed from ListQuery; comma-separated entity columns support a - prefix and priority is the final ordering.
|
|
550
550
|
* Calls `GET /api/v1/workflow` through the shared IDP-aware Faiber client.
|
|
@@ -553,7 +553,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
553
553
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
554
554
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:read, workflow:read_all, workflow:read_own.
|
|
555
555
|
*/
|
|
556
|
-
apiListWorkflowsRouteGetApiV1Workflow(params?: T.ApiListWorkflowsRouteGetApiV1WorkflowQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowsRouteGetApiV1WorkflowResponseItem[]>, unknown, {}>>;
|
|
556
|
+
apiListWorkflowsRouteGetApiV1Workflow(params?: T.ApiListWorkflowsRouteGetApiV1WorkflowQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowsRouteGetApiV1WorkflowResponseItem[]>, unknown, {}, any>>;
|
|
557
557
|
/**
|
|
558
558
|
* Create a workflow with name/slug, required acquire_flags and priority. Defaults entity_type:lead, is_active:true and zero quota; normalize/deduplicate flags and require unique action keys/forms. Returns 201.
|
|
559
559
|
* Calls `POST /api/v1/workflow` through the shared IDP-aware Faiber client.
|
|
@@ -562,7 +562,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
562
562
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
563
563
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:create.
|
|
564
564
|
*/
|
|
565
|
-
apiCreateWorkflowRoutePostApiV1Workflow(data: T.ApiCreateWorkflowRoutePostApiV1WorkflowInput, options?: RequestOptions<T.ApiCreateWorkflowRoutePostApiV1WorkflowInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowRoutePostApiV1WorkflowResponseData>, import("./contracts.types.js").CrmWorkflowCreateInput, {}>>;
|
|
565
|
+
apiCreateWorkflowRoutePostApiV1Workflow(data: T.ApiCreateWorkflowRoutePostApiV1WorkflowInput, options?: RequestOptions<T.ApiCreateWorkflowRoutePostApiV1WorkflowInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowRoutePostApiV1WorkflowResponseData>, import("./contracts.types.js").CrmWorkflowCreateInput, {}, any>>;
|
|
566
566
|
/**
|
|
567
567
|
* List nondeleted nodes whose parent workflows are nondeleted; includes inactive nodes. The repository has no workspace predicate on this compatibility listing. Only sort is consumed.
|
|
568
568
|
* Calls `GET /api/v1/workflow-node` through the shared IDP-aware Faiber client.
|
|
@@ -571,7 +571,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
571
571
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
572
572
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:read, workflow_node:read_all, workflow_node:read_own.
|
|
573
573
|
*/
|
|
574
|
-
apiListWorkflowNodesCompatRouteGet(params?: T.ApiListWorkflowNodesCompatRouteGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowNodesCompatRouteGetResponseItem[]>, unknown, {}>>;
|
|
574
|
+
apiListWorkflowNodesCompatRouteGet(params?: T.ApiListWorkflowNodesCompatRouteGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowNodesCompatRouteGetResponseItem[]>, unknown, {}, any>>;
|
|
575
575
|
/**
|
|
576
576
|
* Soft-delete a node after checking its workspace parent; this singular compatibility route returns data:true, not a deletion object.
|
|
577
577
|
* Calls `DELETE /api/v1/workflow-node/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -580,7 +580,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
580
580
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
581
581
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:delete.
|
|
582
582
|
*/
|
|
583
|
-
apiDeleteWorkflowNodeCompatRouteDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<boolean>, unknown, {}>>;
|
|
583
|
+
apiDeleteWorkflowNodeCompatRouteDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<boolean>, unknown, {}, any>>;
|
|
584
584
|
/**
|
|
585
585
|
* Read a nondeleted node by UUID, then require its nondeleted parent in the configured workspace; missing parent or node returns 404.
|
|
586
586
|
* Calls `GET /api/v1/workflow-node/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -589,7 +589,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
589
589
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
590
590
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:read, workflow_node:read_all, workflow_node:read_own.
|
|
591
591
|
*/
|
|
592
|
-
apiShowWorkflowNodeCompatRouteGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowNodeCompatRouteGetResponseData>, unknown, {}>>;
|
|
592
|
+
apiShowWorkflowNodeCompatRouteGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowNodeCompatRouteGetResponseData>, unknown, {}, any>>;
|
|
593
593
|
/**
|
|
594
594
|
* Resolve a node UUID to its checked workspace parent, then patch it. Explicit null clears sla_minutes/actions; no version parameter is enforced.
|
|
595
595
|
* Calls `PATCH /api/v1/workflow-node/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -599,7 +599,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
599
599
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
600
600
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:update.
|
|
601
601
|
*/
|
|
602
|
-
apiUpdateWorkflowNodeCompatRoutePatch(id: Identifier, data: T.ApiUpdateWorkflowNodeCompatRoutePatchInput, options?: RequestOptions<T.ApiUpdateWorkflowNodeCompatRoutePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowNodeCompatRoutePatchResponseData>, import("./contracts.types.js").CrmWorkflowNodeUpdateInput, {}>>;
|
|
602
|
+
apiUpdateWorkflowNodeCompatRoutePatch(id: Identifier, data: T.ApiUpdateWorkflowNodeCompatRoutePatchInput, options?: RequestOptions<T.ApiUpdateWorkflowNodeCompatRoutePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowNodeCompatRoutePatchResponseData>, import("./contracts.types.js").CrmWorkflowNodeUpdateInput, {}, any>>;
|
|
603
603
|
/**
|
|
604
604
|
* Create a node under the path workflow UUID (the singular route names that parameter id). Validate name/slug, probability 0..1, open/won/lost stage type and nonnegative SLA; defaults drag permissions true. Returns 201.
|
|
605
605
|
* Calls `POST /api/v1/workflow-node/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -609,7 +609,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
609
609
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
610
610
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:create.
|
|
611
611
|
*/
|
|
612
|
-
apiCreateWorkflowNodeRoutePostApiV1WorkflowNodeId(id: Identifier, data: T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowNodeIdInput, options?: RequestOptions<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowNodeIdInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowNodeIdResponseData>, import("./contracts.types.js").CrmWorkflowNodeCreateInput, {}>>;
|
|
612
|
+
apiCreateWorkflowNodeRoutePostApiV1WorkflowNodeId(id: Identifier, data: T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowNodeIdInput, options?: RequestOptions<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowNodeIdInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowNodeIdResponseData>, import("./contracts.types.js").CrmWorkflowNodeCreateInput, {}, any>>;
|
|
613
613
|
/**
|
|
614
614
|
* Resolve a node UUID to its checked workspace parent, then patch it. Explicit null clears sla_minutes/actions; no version parameter is enforced.
|
|
615
615
|
* Calls `PUT /api/v1/workflow-node/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -619,7 +619,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
619
619
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
620
620
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:update.
|
|
621
621
|
*/
|
|
622
|
-
apiUpdateWorkflowNodeCompatRoutePut(id: Identifier, data: T.ApiUpdateWorkflowNodeCompatRoutePutInput, options?: RequestOptions<T.ApiUpdateWorkflowNodeCompatRoutePutInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowNodeCompatRoutePutResponseData>, import("./contracts.types.js").CrmWorkflowNodeUpdateInput, {}>>;
|
|
622
|
+
apiUpdateWorkflowNodeCompatRoutePut(id: Identifier, data: T.ApiUpdateWorkflowNodeCompatRoutePutInput, options?: RequestOptions<T.ApiUpdateWorkflowNodeCompatRoutePutInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowNodeCompatRoutePutResponseData>, import("./contracts.types.js").CrmWorkflowNodeUpdateInput, {}, any>>;
|
|
623
623
|
/**
|
|
624
624
|
* Soft-delete a workspace workflow and return {id,deleted:true}; missing or previously deleted workflow returns 404.
|
|
625
625
|
* Calls `DELETE /api/v1/workflow/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -628,7 +628,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
628
628
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
629
629
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:delete.
|
|
630
630
|
*/
|
|
631
|
-
apiDeleteWorkflowRouteDeleteApiV1WorkflowId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowRouteDeleteApiV1WorkflowIdResponseData>, unknown, {}>>;
|
|
631
|
+
apiDeleteWorkflowRouteDeleteApiV1WorkflowId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowRouteDeleteApiV1WorkflowIdResponseData>, unknown, {}, any>>;
|
|
632
632
|
/**
|
|
633
633
|
* Read one nondeleted workspace workflow by UUID; absent or foreign-workspace IDs return 404.
|
|
634
634
|
* Calls `GET /api/v1/workflow/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -637,7 +637,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
637
637
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
638
638
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:read, workflow:read_all, workflow:read_own.
|
|
639
639
|
*/
|
|
640
|
-
apiShowWorkflowRouteGetApiV1WorkflowId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowRouteGetApiV1WorkflowIdResponseData>, unknown, {}>>;
|
|
640
|
+
apiShowWorkflowRouteGetApiV1WorkflowId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowRouteGetApiV1WorkflowIdResponseData>, unknown, {}, any>>;
|
|
641
641
|
/**
|
|
642
642
|
* Patch a nondeleted workflow. Explicit null clears team_id/actions/hint; null on ordinary optional fields preserves them. Actions null serializes as an empty array in responses. Version is accepted but repository does not enforce optimistic locking.
|
|
643
643
|
* Calls `PATCH /api/v1/workflow/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -647,7 +647,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
647
647
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
648
648
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:update.
|
|
649
649
|
*/
|
|
650
|
-
apiUpdateWorkflowRoutePatchApiV1WorkflowId(id: Identifier, data: T.ApiUpdateWorkflowRoutePatchApiV1WorkflowIdInput, options?: RequestOptions<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowIdInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowIdResponseData>, import("./contracts.types.js").CrmWorkflowUpdateInput, {}>>;
|
|
650
|
+
apiUpdateWorkflowRoutePatchApiV1WorkflowId(id: Identifier, data: T.ApiUpdateWorkflowRoutePatchApiV1WorkflowIdInput, options?: RequestOptions<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowIdInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowIdResponseData>, import("./contracts.types.js").CrmWorkflowUpdateInput, {}, any>>;
|
|
651
651
|
/**
|
|
652
652
|
* Patch a nondeleted workflow. Explicit null clears team_id/actions/hint; null on ordinary optional fields preserves them. Actions null serializes as an empty array in responses. Version is accepted but repository does not enforce optimistic locking.
|
|
653
653
|
* Calls `PUT /api/v1/workflow/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -657,7 +657,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
657
657
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
658
658
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:update.
|
|
659
659
|
*/
|
|
660
|
-
apiUpdateWorkflowRoutePut(id: Identifier, data: T.ApiUpdateWorkflowRoutePutInput, options?: RequestOptions<T.ApiUpdateWorkflowRoutePutInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowRoutePutResponseData>, import("./contracts.types.js").CrmWorkflowUpdateInput, {}>>;
|
|
660
|
+
apiUpdateWorkflowRoutePut(id: Identifier, data: T.ApiUpdateWorkflowRoutePutInput, options?: RequestOptions<T.ApiUpdateWorkflowRoutePutInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowRoutePutResponseData>, import("./contracts.types.js").CrmWorkflowUpdateInput, {}, any>>;
|
|
661
661
|
/**
|
|
662
662
|
* List nondeleted workspace workflows, including inactive entries. Only sort is consumed from ListQuery; comma-separated entity columns support a - prefix and priority is the final ordering.
|
|
663
663
|
* Calls `GET /api/v1/workflows` through the shared IDP-aware Faiber client.
|
|
@@ -666,7 +666,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
666
666
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
667
667
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:read, workflow:read_all, workflow:read_own.
|
|
668
668
|
*/
|
|
669
|
-
apiListWorkflowsRouteGetApiV1Workflows(params?: T.ApiListWorkflowsRouteGetApiV1WorkflowsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowsRouteGetApiV1WorkflowsResponseItem[]>, unknown, {}>>;
|
|
669
|
+
apiListWorkflowsRouteGetApiV1Workflows(params?: T.ApiListWorkflowsRouteGetApiV1WorkflowsQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowsRouteGetApiV1WorkflowsResponseItem[]>, unknown, {}, any>>;
|
|
670
670
|
/**
|
|
671
671
|
* Create a workflow with name/slug, required acquire_flags and priority. Defaults entity_type:lead, is_active:true and zero quota; normalize/deduplicate flags and require unique action keys/forms. Returns 201.
|
|
672
672
|
* Calls `POST /api/v1/workflows` through the shared IDP-aware Faiber client.
|
|
@@ -675,7 +675,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
675
675
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
676
676
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:create.
|
|
677
677
|
*/
|
|
678
|
-
apiCreateWorkflowRoutePostApiV1Workflows(data: T.ApiCreateWorkflowRoutePostApiV1WorkflowsInput, options?: RequestOptions<T.ApiCreateWorkflowRoutePostApiV1WorkflowsInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowRoutePostApiV1WorkflowsResponseData>, import("./contracts.types.js").CrmWorkflowCreateInput, {}>>;
|
|
678
|
+
apiCreateWorkflowRoutePostApiV1Workflows(data: T.ApiCreateWorkflowRoutePostApiV1WorkflowsInput, options?: RequestOptions<T.ApiCreateWorkflowRoutePostApiV1WorkflowsInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowRoutePostApiV1WorkflowsResponseData>, import("./contracts.types.js").CrmWorkflowCreateInput, {}, any>>;
|
|
679
679
|
/**
|
|
680
680
|
* Soft-delete a workspace workflow and return {id,deleted:true}; missing or previously deleted workflow returns 404.
|
|
681
681
|
* Calls `DELETE /api/v1/workflows/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -684,7 +684,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
684
684
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
685
685
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:delete.
|
|
686
686
|
*/
|
|
687
|
-
apiDeleteWorkflowRouteDeleteApiV1WorkflowsId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowRouteDeleteApiV1WorkflowsIdResponseData>, unknown, {}>>;
|
|
687
|
+
apiDeleteWorkflowRouteDeleteApiV1WorkflowsId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowRouteDeleteApiV1WorkflowsIdResponseData>, unknown, {}, any>>;
|
|
688
688
|
/**
|
|
689
689
|
* Read one nondeleted workspace workflow by UUID; absent or foreign-workspace IDs return 404.
|
|
690
690
|
* Calls `GET /api/v1/workflows/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -693,7 +693,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
693
693
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
694
694
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:read, workflow:read_all, workflow:read_own.
|
|
695
695
|
*/
|
|
696
|
-
apiShowWorkflowRouteGetApiV1WorkflowsId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowRouteGetApiV1WorkflowsIdResponseData>, unknown, {}>>;
|
|
696
|
+
apiShowWorkflowRouteGetApiV1WorkflowsId(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowRouteGetApiV1WorkflowsIdResponseData>, unknown, {}, any>>;
|
|
697
697
|
/**
|
|
698
698
|
* Patch a nondeleted workflow. Explicit null clears team_id/actions/hint; null on ordinary optional fields preserves them. Actions null serializes as an empty array in responses. Version is accepted but repository does not enforce optimistic locking.
|
|
699
699
|
* Calls `PATCH /api/v1/workflows/{id}` through the shared IDP-aware Faiber client.
|
|
@@ -703,7 +703,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
703
703
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
704
704
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow:update.
|
|
705
705
|
*/
|
|
706
|
-
apiUpdateWorkflowRoutePatchApiV1WorkflowsId(id: Identifier, data: T.ApiUpdateWorkflowRoutePatchApiV1WorkflowsIdInput, options?: RequestOptions<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowsIdInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowsIdResponseData>, import("./contracts.types.js").CrmWorkflowUpdateInput, {}>>;
|
|
706
|
+
apiUpdateWorkflowRoutePatchApiV1WorkflowsId(id: Identifier, data: T.ApiUpdateWorkflowRoutePatchApiV1WorkflowsIdInput, options?: RequestOptions<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowsIdInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowRoutePatchApiV1WorkflowsIdResponseData>, import("./contracts.types.js").CrmWorkflowUpdateInput, {}, any>>;
|
|
707
707
|
/**
|
|
708
708
|
* List team/user assignments in this workspace for the path workflow UUID, ordered by creation and UUID; does not check parent existence.
|
|
709
709
|
* Calls `GET /api/v1/workflows/{id}/assignments` through the shared IDP-aware Faiber client.
|
|
@@ -712,7 +712,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
712
712
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
713
713
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:workflow_assignment:read.
|
|
714
714
|
*/
|
|
715
|
-
apiListWorkflowAssignmentsGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowAssignmentsGetResponseItem[]>, unknown, {}>>;
|
|
715
|
+
apiListWorkflowAssignmentsGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowAssignmentsGetResponseItem[]>, unknown, {}, any>>;
|
|
716
716
|
/**
|
|
717
717
|
* Assign exactly one team_id or user_id to a workflow; supplied team must exist and duplicate assignments return 409. Returns 201; parent validity also depends on database constraints. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
718
718
|
* Calls `POST /api/v1/workflows/{id}/assignments` through the shared IDP-aware Faiber client.
|
|
@@ -722,7 +722,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
722
722
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
723
723
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:workflow_assignment:manage.
|
|
724
724
|
*/
|
|
725
|
-
apiCreateWorkflowAssignmentPost(id: Identifier, data: T.ApiCreateWorkflowAssignmentPostInput, options?: RequestOptions<T.ApiCreateWorkflowAssignmentPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowAssignmentPostResponseData>, T.ApiCreateWorkflowAssignmentPostInput, {}>>;
|
|
725
|
+
apiCreateWorkflowAssignmentPost(id: Identifier, data: T.ApiCreateWorkflowAssignmentPostInput, options?: RequestOptions<T.ApiCreateWorkflowAssignmentPostInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowAssignmentPostResponseData>, T.ApiCreateWorkflowAssignmentPostInput, {}, any>>;
|
|
726
726
|
/**
|
|
727
727
|
* Hard-delete a workflow assignment scoped by workspace, workflow UUID and assignment UUID; return {id,deleted:true}, or 404. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
728
728
|
* Calls `DELETE /api/v1/workflows/{workflow_id}/assignments/{assignment_id}` through the shared IDP-aware Faiber client.
|
|
@@ -732,7 +732,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
732
732
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
733
733
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:workflow_assignment:manage.
|
|
734
734
|
*/
|
|
735
|
-
apiDeleteWorkflowAssignmentDelete(workflowId: Identifier, assignmentId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowAssignmentDeleteResponseData>, unknown, {}>>;
|
|
735
|
+
apiDeleteWorkflowAssignmentDelete(workflowId: Identifier, assignmentId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowAssignmentDeleteResponseData>, unknown, {}, any>>;
|
|
736
736
|
/**
|
|
737
737
|
* List nondeleted nodes after checking that the parent workflow belongs to this workspace; includes inactive nodes. Only sort is consumed; sort columns precede priority ordering.
|
|
738
738
|
* Calls `GET /api/v1/workflows/{workflow_id}/nodes` through the shared IDP-aware Faiber client.
|
|
@@ -742,7 +742,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
742
742
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
743
743
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:read, workflow_node:read_all, workflow_node:read_own.
|
|
744
744
|
*/
|
|
745
|
-
apiListWorkflowNodesRouteGet(workflowId: Identifier, params?: T.ApiListWorkflowNodesRouteGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowNodesRouteGetResponseItem[]>, unknown, {}>>;
|
|
745
|
+
apiListWorkflowNodesRouteGet(workflowId: Identifier, params?: T.ApiListWorkflowNodesRouteGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiListWorkflowNodesRouteGetResponseItem[]>, unknown, {}, any>>;
|
|
746
746
|
/**
|
|
747
747
|
* Create a node under the path workflow UUID (the singular route names that parameter id). Validate name/slug, probability 0..1, open/won/lost stage type and nonnegative SLA; defaults drag permissions true. Returns 201.
|
|
748
748
|
* Calls `POST /api/v1/workflows/{workflow_id}/nodes` through the shared IDP-aware Faiber client.
|
|
@@ -752,7 +752,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
752
752
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
753
753
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:create.
|
|
754
754
|
*/
|
|
755
|
-
apiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodes(workflowId: Identifier, data: T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodesInput, options?: RequestOptions<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodesInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodesResponseData>, import("./contracts.types.js").CrmWorkflowNodeCreateInput, {}>>;
|
|
755
|
+
apiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodes(workflowId: Identifier, data: T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodesInput, options?: RequestOptions<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodesInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiCreateWorkflowNodeRoutePostApiV1WorkflowsWorkflowIdNodesResponseData>, import("./contracts.types.js").CrmWorkflowNodeCreateInput, {}, any>>;
|
|
756
756
|
/**
|
|
757
757
|
* Soft-delete a node scoped to its checked workspace parent; return {id,deleted:true}; missing parent or node returns 404.
|
|
758
758
|
* Calls `DELETE /api/v1/workflows/{workflow_id}/nodes/{node_id}` through the shared IDP-aware Faiber client.
|
|
@@ -762,7 +762,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
762
762
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
763
763
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:delete.
|
|
764
764
|
*/
|
|
765
|
-
apiDeleteWorkflowNodeRouteDelete(workflowId: Identifier, nodeId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowNodeRouteDeleteResponseData>, unknown, {}>>;
|
|
765
|
+
apiDeleteWorkflowNodeRouteDelete(workflowId: Identifier, nodeId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiDeleteWorkflowNodeRouteDeleteResponseData>, unknown, {}, any>>;
|
|
766
766
|
/**
|
|
767
767
|
* Read a nondeleted node scoped to a nondeleted workspace parent workflow; missing parent or node returns 404.
|
|
768
768
|
* Calls `GET /api/v1/workflows/{workflow_id}/nodes/{node_id}` through the shared IDP-aware Faiber client.
|
|
@@ -772,7 +772,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
772
772
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
773
773
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:read, workflow_node:read_all, workflow_node:read_own.
|
|
774
774
|
*/
|
|
775
|
-
apiShowWorkflowNodeRouteGet(workflowId: Identifier, nodeId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowNodeRouteGetResponseData>, unknown, {}>>;
|
|
775
|
+
apiShowWorkflowNodeRouteGet(workflowId: Identifier, nodeId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiShowWorkflowNodeRouteGetResponseData>, unknown, {}, any>>;
|
|
776
776
|
/**
|
|
777
777
|
* Patch a node within its checked workspace parent; explicit null clears sla_minutes/actions and ordinary optional nulls preserve fields. Validate probability, stage type, name/slug and SLA. No version parameter is enforced.
|
|
778
778
|
* Calls `PATCH /api/v1/workflows/{workflow_id}/nodes/{node_id}` through the shared IDP-aware Faiber client.
|
|
@@ -783,7 +783,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
783
783
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
784
784
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of workflow_node:update.
|
|
785
785
|
*/
|
|
786
|
-
apiUpdateWorkflowNodeRoutePatch(workflowId: Identifier, nodeId: Identifier, data: T.ApiUpdateWorkflowNodeRoutePatchInput, options?: RequestOptions<T.ApiUpdateWorkflowNodeRoutePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowNodeRoutePatchResponseData>, import("./contracts.types.js").CrmWorkflowNodeUpdateInput, {}>>;
|
|
786
|
+
apiUpdateWorkflowNodeRoutePatch(workflowId: Identifier, nodeId: Identifier, data: T.ApiUpdateWorkflowNodeRoutePatchInput, options?: RequestOptions<T.ApiUpdateWorkflowNodeRoutePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkflowNodeRoutePatchResponseData>, import("./contracts.types.js").CrmWorkflowNodeUpdateInput, {}, any>>;
|
|
787
787
|
/**
|
|
788
788
|
* List nondeleted workflows assigned to the caller directly or through legacy/current team membership, ordered by priority; includes inactive entries.
|
|
789
789
|
* Calls `GET /api/v1/workflows/member-based` through the shared IDP-aware Faiber client.
|
|
@@ -791,7 +791,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
791
791
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
792
792
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:pipeline:read, workflow:read, workflow:read_own.
|
|
793
793
|
*/
|
|
794
|
-
apiMemberWorkflowsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiMemberWorkflowsGetResponseItem[]>, unknown, {}>>;
|
|
794
|
+
apiMemberWorkflowsGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiMemberWorkflowsGetResponseItem[]>, unknown, {}, any>>;
|
|
795
795
|
/**
|
|
796
796
|
* List nondeleted legacy worklogs; restrict assignee_id to caller unless worklog:read_all or crm:admin. Comma-separated entity sort columns support - prefix; no workspace predicate exists in repository.
|
|
797
797
|
* Calls `GET /api/v1/worklog` through the shared IDP-aware Faiber client.
|
|
@@ -800,7 +800,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
800
800
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
801
801
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of worklog:read, worklog:read_all, worklog:read_own.
|
|
802
802
|
*/
|
|
803
|
-
apiWorklogsGet(params?: T.ApiWorklogsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiWorklogsGetResponseItem[]>, unknown, {}>>;
|
|
803
|
+
apiWorklogsGet(params?: T.ApiWorklogsGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiWorklogsGetResponseItem[]>, unknown, {}, any>>;
|
|
804
804
|
/**
|
|
805
805
|
* Patch workspace settings with required version. AI mode must be off/advisory/approval_required/bounded_auto; ordinary optional nulls preserve values. Missing workspace returns 404; stale version 409. Requires a nonempty Idempotency-Key header up to 128 characters; duplicate submissions return 409 instead of replaying a response.
|
|
806
806
|
* Calls `PATCH /api/v1/workspace/settings` through the shared IDP-aware Faiber client.
|
|
@@ -809,7 +809,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
809
809
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
810
810
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: crm:admin or any one of crm:settings:update.
|
|
811
811
|
*/
|
|
812
|
-
apiUpdateWorkspacePatch(data: T.ApiUpdateWorkspacePatchInput, options?: RequestOptions<T.ApiUpdateWorkspacePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkspacePatchResponseData>, import("./contracts.types.js").CrmWorkspaceUpdateInput, {}>>;
|
|
812
|
+
apiUpdateWorkspacePatch(data: T.ApiUpdateWorkspacePatchInput, options?: RequestOptions<T.ApiUpdateWorkspacePatchInput>): Promise<import("axios").AxiosResponse<import("./types.js").CrmApiResponse<T.ApiUpdateWorkspacePatchResponseData>, import("./contracts.types.js").CrmWorkspaceUpdateInput, {}, any>>;
|
|
813
813
|
/**
|
|
814
814
|
* Read process liveness and package version in the legacy status/message/data envelope; no dependency probe.
|
|
815
815
|
* Calls `GET /health` through the shared IDP-aware Faiber client.
|
|
@@ -817,7 +817,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
817
817
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
818
818
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
819
819
|
*/
|
|
820
|
-
routerStatusRouteGetHealth(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}>>;
|
|
820
|
+
routerStatusRouteGetHealth(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}, any>>;
|
|
821
821
|
/**
|
|
822
822
|
* Read process liveness and package version in the legacy status/message/data envelope; no dependency probe.
|
|
823
823
|
* Calls `GET /livez` through the shared IDP-aware Faiber client.
|
|
@@ -825,7 +825,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
825
825
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
826
826
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
827
827
|
*/
|
|
828
|
-
routerStatusRouteGetLivez(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}>>;
|
|
828
|
+
routerStatusRouteGetLivez(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}, any>>;
|
|
829
829
|
/**
|
|
830
830
|
* Probe database and broker readiness; return legacy status/message/data with dependency booleans and HTTP 503 if either dependency is unavailable.
|
|
831
831
|
* Calls `GET /readyz` through the shared IDP-aware Faiber client.
|
|
@@ -833,7 +833,7 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
833
833
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
834
834
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
835
835
|
*/
|
|
836
|
-
routerReadinessRouteGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmReadinessResponse, unknown, {}>>;
|
|
836
|
+
routerReadinessRouteGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmReadinessResponse, unknown, {}, any>>;
|
|
837
837
|
/**
|
|
838
838
|
* Read process liveness and package version in the legacy status/message/data envelope; no dependency probe.
|
|
839
839
|
* Calls `GET /up` through the shared IDP-aware Faiber client.
|
|
@@ -841,6 +841,6 @@ export declare class CrmOperations extends ServiceApi {
|
|
|
841
841
|
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
842
842
|
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: No local handler permission check; deployment/gateway authority must be independently verified.
|
|
843
843
|
*/
|
|
844
|
-
routerStatusRouteGetUp(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}>>;
|
|
844
|
+
routerStatusRouteGetUp(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").CrmHealthResponse, unknown, {}, any>>;
|
|
845
845
|
}
|
|
846
846
|
//# sourceMappingURL=operations.d.ts.map
|