hanzoai 8.5.654 → 8.5.704
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/api/agent-api.d.ts +96 -4
- package/dist/api/agent-api.js +136 -4
- package/dist/api/ai-api.d.ts +114 -14
- package/dist/api/ai-api.js +154 -17
- package/dist/api/billing-api.d.ts +8 -8
- package/dist/api/billing-api.js +8 -8
- package/dist/api/event-api.d.ts +42 -18
- package/dist/api/event-api.js +42 -27
- package/dist/api/git-api.d.ts +97 -127
- package/dist/api/git-api.js +117 -176
- package/dist/api/iam-api.d.ts +8 -8
- package/dist/api/iam-api.js +8 -8
- package/dist/esm/api/agent-api.d.ts +96 -4
- package/dist/esm/api/agent-api.js +136 -4
- package/dist/esm/api/ai-api.d.ts +114 -14
- package/dist/esm/api/ai-api.js +154 -17
- package/dist/esm/api/billing-api.d.ts +8 -8
- package/dist/esm/api/billing-api.js +8 -8
- package/dist/esm/api/event-api.d.ts +42 -18
- package/dist/esm/api/event-api.js +42 -27
- package/dist/esm/api/git-api.d.ts +97 -127
- package/dist/esm/api/git-api.js +117 -176
- package/dist/esm/api/iam-api.d.ts +8 -8
- package/dist/esm/api/iam-api.js +8 -8
- package/dist/esm/models/ai-model-info.d.ts +12 -0
- package/dist/esm/models/ai-model-pricing-info.d.ts +16 -0
- package/dist/esm/models/ai-model.d.ts +18 -0
- package/dist/esm/models/ai-price.d.ts +16 -0
- package/dist/esm/models/{git-register-key-req.d.ts → audit-act.d.ts} +14 -8
- package/dist/esm/models/audit-wire.d.ts +7 -0
- package/dist/esm/models/billing-subscription.d.ts +6 -0
- package/dist/{models/git-register-key-req.d.ts → esm/models/compliance-act.d.ts} +14 -8
- package/dist/esm/models/compliance-wire.d.ts +7 -0
- package/dist/esm/models/event-overview.d.ts +6 -0
- package/dist/esm/models/event-top.d.ts +6 -0
- package/dist/esm/models/git-link-all.d.ts +24 -0
- package/dist/{models/git-mirror-req.d.ts → esm/models/git-link-req.d.ts} +8 -8
- package/dist/esm/models/git-link.d.ts +42 -0
- package/dist/esm/models/git-link.js +14 -0
- package/dist/esm/models/git-linked.d.ts +38 -0
- package/dist/esm/models/git-linked.js +14 -0
- package/dist/esm/models/git-repo-view.d.ts +7 -0
- package/dist/esm/models/{git-key-list.d.ts → git-unmatched.d.ts} +12 -7
- package/dist/esm/models/git-unmatched.js +14 -0
- package/dist/esm/models/iam-token.d.ts +12 -0
- package/dist/esm/models/index.d.ts +7 -4
- package/dist/esm/models/index.js +7 -4
- package/dist/esm/models/provider-github-backfill-in.d.ts +6 -0
- package/dist/models/ai-model-info.d.ts +12 -0
- package/dist/models/ai-model-pricing-info.d.ts +16 -0
- package/dist/models/ai-model.d.ts +18 -0
- package/dist/models/ai-price.d.ts +16 -0
- package/dist/models/audit-act.d.ts +36 -0
- package/dist/models/audit-wire.d.ts +7 -0
- package/dist/models/billing-subscription.d.ts +6 -0
- package/dist/models/compliance-act.d.ts +36 -0
- package/dist/models/compliance-wire.d.ts +7 -0
- package/dist/models/event-overview.d.ts +6 -0
- package/dist/models/event-top.d.ts +6 -0
- package/dist/models/git-link-all.d.ts +24 -0
- package/dist/{esm/models/git-mirror-req.d.ts → models/git-link-req.d.ts} +8 -8
- package/dist/models/git-link.d.ts +42 -0
- package/dist/models/git-link.js +15 -0
- package/dist/models/git-linked.d.ts +38 -0
- package/dist/models/git-linked.js +15 -0
- package/dist/models/git-repo-view.d.ts +7 -0
- package/dist/models/{git-key-list.d.ts → git-unmatched.d.ts} +12 -7
- package/dist/models/git-unmatched.js +15 -0
- package/dist/models/iam-token.d.ts +12 -0
- package/dist/models/index.d.ts +7 -4
- package/dist/models/index.js +7 -4
- package/dist/models/provider-github-backfill-in.d.ts +6 -0
- package/package.json +1 -1
- package/src/api/agent-api.ts +178 -4
- package/src/api/ai-api.ts +204 -17
- package/src/api/billing-api.ts +8 -8
- package/src/api/event-api.ts +66 -27
- package/src/api/git-api.ts +156 -224
- package/src/api/iam-api.ts +8 -8
- package/src/models/ai-model-info.ts +12 -0
- package/src/models/ai-model-pricing-info.ts +12 -0
- package/src/models/ai-model.ts +18 -0
- package/src/models/ai-price.ts +12 -0
- package/src/models/{git-register-key-req.ts → audit-act.ts} +14 -8
- package/src/models/audit-wire.ts +9 -0
- package/src/models/billing-subscription.ts +6 -0
- package/src/models/compliance-act.ts +42 -0
- package/src/models/compliance-wire.ts +9 -0
- package/src/models/event-overview.ts +6 -0
- package/src/models/event-top.ts +6 -0
- package/src/models/git-link-all.ts +30 -0
- package/src/models/{git-mirror-req.ts → git-link-req.ts} +8 -8
- package/src/models/git-link.ts +48 -0
- package/src/models/git-linked.ts +48 -0
- package/src/models/git-repo-view.ts +9 -0
- package/src/models/{git-key-list.ts → git-unmatched.ts} +12 -9
- package/src/models/iam-token.ts +12 -0
- package/src/models/index.ts +7 -4
- package/src/models/provider-github-backfill-in.ts +6 -0
- package/dist/esm/models/git-key-view.d.ts +0 -48
- package/dist/models/git-key-view.d.ts +0 -48
- package/src/models/git-key-view.ts +0 -54
- /package/dist/esm/models/{git-key-list.js → audit-act.js} +0 -0
- /package/dist/esm/models/{git-key-view.js → compliance-act.js} +0 -0
- /package/dist/esm/models/{git-mirror-req.js → git-link-all.js} +0 -0
- /package/dist/esm/models/{git-register-key-req.js → git-link-req.js} +0 -0
- /package/dist/models/{git-key-list.js → audit-act.js} +0 -0
- /package/dist/models/{git-key-view.js → compliance-act.js} +0 -0
- /package/dist/models/{git-mirror-req.js → git-link-all.js} +0 -0
- /package/dist/models/{git-register-key-req.js → git-link-req.js} +0 -0
package/dist/api/agent-api.d.ts
CHANGED
|
@@ -67,6 +67,14 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
69
|
deleteAgentByRef: (ref: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
72
|
+
* @summary Delete one of your conversations
|
|
73
|
+
* @param {string} id
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
deleteAgentChatConversationsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
78
|
/**
|
|
71
79
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
72
80
|
* @summary Revoke a link to one of your conversations
|
|
@@ -160,7 +168,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
160
168
|
*/
|
|
161
169
|
getAgentByRefSpend: (ref: string, by?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
162
170
|
/**
|
|
163
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
171
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
164
172
|
* @summary List the agent threads in your org
|
|
165
173
|
* @param {*} [options] Override http request option.
|
|
166
174
|
* @throws {RequiredError}
|
|
@@ -341,6 +349,14 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
341
349
|
* @throws {RequiredError}
|
|
342
350
|
*/
|
|
343
351
|
patchAgentByRef: (ref: string, agentUpdateAgentIn: AgentUpdateAgentIn, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
352
|
+
/**
|
|
353
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
354
|
+
* @summary Rename, pin or archive one of your conversations
|
|
355
|
+
* @param {string} id
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
patchAgentChatConversationsById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
344
360
|
/**
|
|
345
361
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
346
362
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
|
@@ -545,6 +561,14 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
545
561
|
* @throws {RequiredError}
|
|
546
562
|
*/
|
|
547
563
|
deleteAgentByRef(ref: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
564
|
+
/**
|
|
565
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
566
|
+
* @summary Delete one of your conversations
|
|
567
|
+
* @param {string} id
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
*/
|
|
571
|
+
deleteAgentChatConversationsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
548
572
|
/**
|
|
549
573
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
550
574
|
* @summary Revoke a link to one of your conversations
|
|
@@ -638,7 +662,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
638
662
|
*/
|
|
639
663
|
getAgentByRefSpend(ref: string, by?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentSpendView>>;
|
|
640
664
|
/**
|
|
641
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
665
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
642
666
|
* @summary List the agent threads in your org
|
|
643
667
|
* @param {*} [options] Override http request option.
|
|
644
668
|
* @throws {RequiredError}
|
|
@@ -819,6 +843,14 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
819
843
|
* @throws {RequiredError}
|
|
820
844
|
*/
|
|
821
845
|
patchAgentByRef(ref: string, agentUpdateAgentIn: AgentUpdateAgentIn, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentAgentView>>;
|
|
846
|
+
/**
|
|
847
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
848
|
+
* @summary Rename, pin or archive one of your conversations
|
|
849
|
+
* @param {string} id
|
|
850
|
+
* @param {*} [options] Override http request option.
|
|
851
|
+
* @throws {RequiredError}
|
|
852
|
+
*/
|
|
853
|
+
patchAgentChatConversationsById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
822
854
|
/**
|
|
823
855
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
824
856
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
|
@@ -1023,6 +1055,14 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
1023
1055
|
* @throws {RequiredError}
|
|
1024
1056
|
*/
|
|
1025
1057
|
deleteAgentByRef(requestParameters: AgentApiDeleteAgentByRefRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
1060
|
+
* @summary Delete one of your conversations
|
|
1061
|
+
* @param {AgentApiDeleteAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
1062
|
+
* @param {*} [options] Override http request option.
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
*/
|
|
1065
|
+
deleteAgentChatConversationsById(requestParameters: AgentApiDeleteAgentChatConversationsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1026
1066
|
/**
|
|
1027
1067
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
1028
1068
|
* @summary Revoke a link to one of your conversations
|
|
@@ -1110,7 +1150,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
1110
1150
|
*/
|
|
1111
1151
|
getAgentByRefSpend(requestParameters: AgentApiGetAgentByRefSpendRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentSpendView>;
|
|
1112
1152
|
/**
|
|
1113
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
1153
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
1114
1154
|
* @summary List the agent threads in your org
|
|
1115
1155
|
* @param {*} [options] Override http request option.
|
|
1116
1156
|
* @throws {RequiredError}
|
|
@@ -1279,6 +1319,14 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
1279
1319
|
* @throws {RequiredError}
|
|
1280
1320
|
*/
|
|
1281
1321
|
patchAgentByRef(requestParameters: AgentApiPatchAgentByRefRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentAgentView>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
1324
|
+
* @summary Rename, pin or archive one of your conversations
|
|
1325
|
+
* @param {AgentApiPatchAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
1326
|
+
* @param {*} [options] Override http request option.
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
*/
|
|
1329
|
+
patchAgentChatConversationsById(requestParameters: AgentApiPatchAgentChatConversationsByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1282
1330
|
/**
|
|
1283
1331
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
1284
1332
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
|
@@ -1473,6 +1521,19 @@ export interface AgentApiDeleteAgentByRefRequest {
|
|
|
1473
1521
|
*/
|
|
1474
1522
|
readonly ref: string;
|
|
1475
1523
|
}
|
|
1524
|
+
/**
|
|
1525
|
+
* Request parameters for deleteAgentChatConversationsById operation in AgentApi.
|
|
1526
|
+
* @export
|
|
1527
|
+
* @interface AgentApiDeleteAgentChatConversationsByIdRequest
|
|
1528
|
+
*/
|
|
1529
|
+
export interface AgentApiDeleteAgentChatConversationsByIdRequest {
|
|
1530
|
+
/**
|
|
1531
|
+
*
|
|
1532
|
+
* @type {string}
|
|
1533
|
+
* @memberof AgentApiDeleteAgentChatConversationsById
|
|
1534
|
+
*/
|
|
1535
|
+
readonly id: string;
|
|
1536
|
+
}
|
|
1476
1537
|
/**
|
|
1477
1538
|
* Request parameters for deleteAgentChatConversationsByIdSharesByShare operation in AgentApi.
|
|
1478
1539
|
* @export
|
|
@@ -1906,6 +1967,19 @@ export interface AgentApiPatchAgentByRefRequest {
|
|
|
1906
1967
|
*/
|
|
1907
1968
|
readonly agentUpdateAgentIn: AgentUpdateAgentIn;
|
|
1908
1969
|
}
|
|
1970
|
+
/**
|
|
1971
|
+
* Request parameters for patchAgentChatConversationsById operation in AgentApi.
|
|
1972
|
+
* @export
|
|
1973
|
+
* @interface AgentApiPatchAgentChatConversationsByIdRequest
|
|
1974
|
+
*/
|
|
1975
|
+
export interface AgentApiPatchAgentChatConversationsByIdRequest {
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @type {string}
|
|
1979
|
+
* @memberof AgentApiPatchAgentChatConversationsById
|
|
1980
|
+
*/
|
|
1981
|
+
readonly id: string;
|
|
1982
|
+
}
|
|
1909
1983
|
/**
|
|
1910
1984
|
* Request parameters for patchAgentSessionsById operation in AgentApi.
|
|
1911
1985
|
* @export
|
|
@@ -2229,6 +2303,15 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2229
2303
|
* @memberof AgentApi
|
|
2230
2304
|
*/
|
|
2231
2305
|
deleteAgentByRef(requestParameters: AgentApiDeleteAgentByRefRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
2306
|
+
/**
|
|
2307
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
2308
|
+
* @summary Delete one of your conversations
|
|
2309
|
+
* @param {AgentApiDeleteAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
2310
|
+
* @param {*} [options] Override http request option.
|
|
2311
|
+
* @throws {RequiredError}
|
|
2312
|
+
* @memberof AgentApi
|
|
2313
|
+
*/
|
|
2314
|
+
deleteAgentChatConversationsById(requestParameters: AgentApiDeleteAgentChatConversationsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
2232
2315
|
/**
|
|
2233
2316
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
2234
2317
|
* @summary Revoke a link to one of your conversations
|
|
@@ -2327,7 +2410,7 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2327
2410
|
*/
|
|
2328
2411
|
getAgentByRefSpend(requestParameters: AgentApiGetAgentByRefSpendRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AgentSpendView, any, {}>>;
|
|
2329
2412
|
/**
|
|
2330
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
2413
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
2331
2414
|
* @summary List the agent threads in your org
|
|
2332
2415
|
* @param {*} [options] Override http request option.
|
|
2333
2416
|
* @throws {RequiredError}
|
|
@@ -2518,6 +2601,15 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2518
2601
|
* @memberof AgentApi
|
|
2519
2602
|
*/
|
|
2520
2603
|
patchAgentByRef(requestParameters: AgentApiPatchAgentByRefRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AgentAgentView, any, {}>>;
|
|
2604
|
+
/**
|
|
2605
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
2606
|
+
* @summary Rename, pin or archive one of your conversations
|
|
2607
|
+
* @param {AgentApiPatchAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
2608
|
+
* @param {*} [options] Override http request option.
|
|
2609
|
+
* @throws {RequiredError}
|
|
2610
|
+
* @memberof AgentApi
|
|
2611
|
+
*/
|
|
2612
|
+
patchAgentChatConversationsById(requestParameters: AgentApiPatchAgentChatConversationsByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
2521
2613
|
/**
|
|
2522
2614
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
2523
2615
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
package/dist/api/agent-api.js
CHANGED
|
@@ -61,6 +61,38 @@ const AgentApiAxiosParamCreator = function (configuration) {
|
|
|
61
61
|
options: localVarRequestOptions,
|
|
62
62
|
};
|
|
63
63
|
},
|
|
64
|
+
/**
|
|
65
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
66
|
+
* @summary Delete one of your conversations
|
|
67
|
+
* @param {string} id
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
deleteAgentChatConversationsById: async (id, options = {}) => {
|
|
72
|
+
// verify required parameter 'id' is not null or undefined
|
|
73
|
+
(0, common_1.assertParamExists)('deleteAgentChatConversationsById', 'id', id);
|
|
74
|
+
const localVarPath = `/v1/agent/chat/conversations/{id}`
|
|
75
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
76
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
77
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
78
|
+
let baseOptions;
|
|
79
|
+
if (configuration) {
|
|
80
|
+
baseOptions = configuration.baseOptions;
|
|
81
|
+
}
|
|
82
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
83
|
+
const localVarHeaderParameter = {};
|
|
84
|
+
const localVarQueryParameter = {};
|
|
85
|
+
// authentication bearer required
|
|
86
|
+
// http bearer authentication required
|
|
87
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
88
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
91
|
+
return {
|
|
92
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
93
|
+
options: localVarRequestOptions,
|
|
94
|
+
};
|
|
95
|
+
},
|
|
64
96
|
/**
|
|
65
97
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
66
98
|
* @summary Revoke a link to one of your conversations
|
|
@@ -430,7 +462,7 @@ const AgentApiAxiosParamCreator = function (configuration) {
|
|
|
430
462
|
};
|
|
431
463
|
},
|
|
432
464
|
/**
|
|
433
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
465
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
434
466
|
* @summary List the agent threads in your org
|
|
435
467
|
* @param {*} [options] Override http request option.
|
|
436
468
|
* @throws {RequiredError}
|
|
@@ -1158,6 +1190,38 @@ const AgentApiAxiosParamCreator = function (configuration) {
|
|
|
1158
1190
|
options: localVarRequestOptions,
|
|
1159
1191
|
};
|
|
1160
1192
|
},
|
|
1193
|
+
/**
|
|
1194
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
1195
|
+
* @summary Rename, pin or archive one of your conversations
|
|
1196
|
+
* @param {string} id
|
|
1197
|
+
* @param {*} [options] Override http request option.
|
|
1198
|
+
* @throws {RequiredError}
|
|
1199
|
+
*/
|
|
1200
|
+
patchAgentChatConversationsById: async (id, options = {}) => {
|
|
1201
|
+
// verify required parameter 'id' is not null or undefined
|
|
1202
|
+
(0, common_1.assertParamExists)('patchAgentChatConversationsById', 'id', id);
|
|
1203
|
+
const localVarPath = `/v1/agent/chat/conversations/{id}`
|
|
1204
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1206
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1207
|
+
let baseOptions;
|
|
1208
|
+
if (configuration) {
|
|
1209
|
+
baseOptions = configuration.baseOptions;
|
|
1210
|
+
}
|
|
1211
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
1212
|
+
const localVarHeaderParameter = {};
|
|
1213
|
+
const localVarQueryParameter = {};
|
|
1214
|
+
// authentication bearer required
|
|
1215
|
+
// http bearer authentication required
|
|
1216
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1217
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1218
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1219
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1220
|
+
return {
|
|
1221
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1222
|
+
options: localVarRequestOptions,
|
|
1223
|
+
};
|
|
1224
|
+
},
|
|
1161
1225
|
/**
|
|
1162
1226
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
1163
1227
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
|
@@ -1954,6 +2018,19 @@ const AgentApiFp = function (configuration) {
|
|
|
1954
2018
|
const localVarOperationServerBasePath = base_1.operationServerMap['AgentApi.deleteAgentByRef']?.[localVarOperationServerIndex]?.url;
|
|
1955
2019
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1956
2020
|
},
|
|
2021
|
+
/**
|
|
2022
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
2023
|
+
* @summary Delete one of your conversations
|
|
2024
|
+
* @param {string} id
|
|
2025
|
+
* @param {*} [options] Override http request option.
|
|
2026
|
+
* @throws {RequiredError}
|
|
2027
|
+
*/
|
|
2028
|
+
async deleteAgentChatConversationsById(id, options) {
|
|
2029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgentChatConversationsById(id, options);
|
|
2030
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2031
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AgentApi.deleteAgentChatConversationsById']?.[localVarOperationServerIndex]?.url;
|
|
2032
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2033
|
+
},
|
|
1957
2034
|
/**
|
|
1958
2035
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
1959
2036
|
* @summary Revoke a link to one of your conversations
|
|
@@ -2102,7 +2179,7 @@ const AgentApiFp = function (configuration) {
|
|
|
2102
2179
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2103
2180
|
},
|
|
2104
2181
|
/**
|
|
2105
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
2182
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
2106
2183
|
* @summary List the agent threads in your org
|
|
2107
2184
|
* @param {*} [options] Override http request option.
|
|
2108
2185
|
* @throws {RequiredError}
|
|
@@ -2393,6 +2470,19 @@ const AgentApiFp = function (configuration) {
|
|
|
2393
2470
|
const localVarOperationServerBasePath = base_1.operationServerMap['AgentApi.patchAgentByRef']?.[localVarOperationServerIndex]?.url;
|
|
2394
2471
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2395
2472
|
},
|
|
2473
|
+
/**
|
|
2474
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
2475
|
+
* @summary Rename, pin or archive one of your conversations
|
|
2476
|
+
* @param {string} id
|
|
2477
|
+
* @param {*} [options] Override http request option.
|
|
2478
|
+
* @throws {RequiredError}
|
|
2479
|
+
*/
|
|
2480
|
+
async patchAgentChatConversationsById(id, options) {
|
|
2481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchAgentChatConversationsById(id, options);
|
|
2482
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2483
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['AgentApi.patchAgentChatConversationsById']?.[localVarOperationServerIndex]?.url;
|
|
2484
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2485
|
+
},
|
|
2396
2486
|
/**
|
|
2397
2487
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
2398
2488
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
|
@@ -2718,6 +2808,16 @@ const AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
2718
2808
|
deleteAgentByRef(requestParameters, options) {
|
|
2719
2809
|
return localVarFp.deleteAgentByRef(requestParameters.ref, options).then((request) => request(axios, basePath));
|
|
2720
2810
|
},
|
|
2811
|
+
/**
|
|
2812
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
2813
|
+
* @summary Delete one of your conversations
|
|
2814
|
+
* @param {AgentApiDeleteAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
2815
|
+
* @param {*} [options] Override http request option.
|
|
2816
|
+
* @throws {RequiredError}
|
|
2817
|
+
*/
|
|
2818
|
+
deleteAgentChatConversationsById(requestParameters, options) {
|
|
2819
|
+
return localVarFp.deleteAgentChatConversationsById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2820
|
+
},
|
|
2721
2821
|
/**
|
|
2722
2822
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
2723
2823
|
* @summary Revoke a link to one of your conversations
|
|
@@ -2827,7 +2927,7 @@ const AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
2827
2927
|
return localVarFp.getAgentByRefSpend(requestParameters.ref, requestParameters.by, options).then((request) => request(axios, basePath));
|
|
2828
2928
|
},
|
|
2829
2929
|
/**
|
|
2830
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
2930
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
2831
2931
|
* @summary List the agent threads in your org
|
|
2832
2932
|
* @param {*} [options] Override http request option.
|
|
2833
2933
|
* @throws {RequiredError}
|
|
@@ -3040,6 +3140,16 @@ const AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
3040
3140
|
patchAgentByRef(requestParameters, options) {
|
|
3041
3141
|
return localVarFp.patchAgentByRef(requestParameters.ref, requestParameters.agentUpdateAgentIn, options).then((request) => request(axios, basePath));
|
|
3042
3142
|
},
|
|
3143
|
+
/**
|
|
3144
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
3145
|
+
* @summary Rename, pin or archive one of your conversations
|
|
3146
|
+
* @param {AgentApiPatchAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
3147
|
+
* @param {*} [options] Override http request option.
|
|
3148
|
+
* @throws {RequiredError}
|
|
3149
|
+
*/
|
|
3150
|
+
patchAgentChatConversationsById(requestParameters, options) {
|
|
3151
|
+
return localVarFp.patchAgentChatConversationsById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3152
|
+
},
|
|
3043
3153
|
/**
|
|
3044
3154
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
3045
3155
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|
|
@@ -3287,6 +3397,17 @@ class AgentApi extends base_1.BaseAPI {
|
|
|
3287
3397
|
deleteAgentByRef(requestParameters, options) {
|
|
3288
3398
|
return (0, exports.AgentApiFp)(this.configuration).deleteAgentByRef(requestParameters.ref, options).then((request) => request(this.axios, this.basePath));
|
|
3289
3399
|
}
|
|
3400
|
+
/**
|
|
3401
|
+
* Removes the conversation for good: every turn of it, and every link it was shared by, which stops opening and leaves the lists of the people it was open to. Only the member who opened it may delete it; anyone else is answered 404, as for one that is not there. Every delete is written to the audit trail.
|
|
3402
|
+
* @summary Delete one of your conversations
|
|
3403
|
+
* @param {AgentApiDeleteAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
3404
|
+
* @param {*} [options] Override http request option.
|
|
3405
|
+
* @throws {RequiredError}
|
|
3406
|
+
* @memberof AgentApi
|
|
3407
|
+
*/
|
|
3408
|
+
deleteAgentChatConversationsById(requestParameters, options) {
|
|
3409
|
+
return (0, exports.AgentApiFp)(this.configuration).deleteAgentChatConversationsById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3410
|
+
}
|
|
3290
3411
|
/**
|
|
3291
3412
|
* Ends one share of a conversation the caller owns, for every viewer: it leaves their lists, and its token opens nothing and reads exactly like a token that never existed. Every revoke is written to the audit trail.
|
|
3292
3413
|
* @summary Revoke a link to one of your conversations
|
|
@@ -3407,7 +3528,7 @@ class AgentApi extends base_1.BaseAPI {
|
|
|
3407
3528
|
return (0, exports.AgentApiFp)(this.configuration).getAgentByRefSpend(requestParameters.ref, requestParameters.by, options).then((request) => request(this.axios, this.basePath));
|
|
3408
3529
|
}
|
|
3409
3530
|
/**
|
|
3410
|
-
* Returns a summary of every agent conversation in the caller\'s org — id,
|
|
3531
|
+
* Returns a summary of every agent conversation in the caller\'s org — id, title, when it was last appended to, and whether it is pinned or archived — for populating a thread list: pinned first, then most recent. Archived conversations are left out; `?archived=true` lists them alone. Scoped to the caller\'s org and nothing else, and that isolation is structural rather than a filter: conversations are persisted in a store opened PER ORG, so there is no query in which another tenant\'s threads could appear. A validated principal with a non-empty org is required: 401 without a principal, 403 without an org.
|
|
3411
3532
|
* @summary List the agent threads in your org
|
|
3412
3533
|
* @param {*} [options] Override http request option.
|
|
3413
3534
|
* @throws {RequiredError}
|
|
@@ -3642,6 +3763,17 @@ class AgentApi extends base_1.BaseAPI {
|
|
|
3642
3763
|
patchAgentByRef(requestParameters, options) {
|
|
3643
3764
|
return (0, exports.AgentApiFp)(this.configuration).patchAgentByRef(requestParameters.ref, requestParameters.agentUpdateAgentIn, options).then((request) => request(this.axios, this.basePath));
|
|
3644
3765
|
}
|
|
3766
|
+
/**
|
|
3767
|
+
* Takes `{title?, pinned?, archived?}` and changes what it names, leaving the rest; a body naming none is refused 400, and so is an empty title. A title is cut to one line of at most 80 characters. Answers the conversation as the list does — id, title, updatedAt, pinned, archived — and the change does not move `updatedAt`, which stays when it was last spoken in. The list puts pinned conversations first and leaves archived ones out; `?archived=true` lists those alone. Only the member who opened the conversation may change it; another member\'s, another org\'s, and one recorded with no member answer 404. Every change is written to the audit trail.
|
|
3768
|
+
* @summary Rename, pin or archive one of your conversations
|
|
3769
|
+
* @param {AgentApiPatchAgentChatConversationsByIdRequest} requestParameters Request parameters.
|
|
3770
|
+
* @param {*} [options] Override http request option.
|
|
3771
|
+
* @throws {RequiredError}
|
|
3772
|
+
* @memberof AgentApi
|
|
3773
|
+
*/
|
|
3774
|
+
patchAgentChatConversationsById(requestParameters, options) {
|
|
3775
|
+
return (0, exports.AgentApiFp)(this.configuration).patchAgentChatConversationsById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3776
|
+
}
|
|
3645
3777
|
/**
|
|
3646
3778
|
* Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public. A FINISHED session stays finished — reopening a done/error run would fabricate liveness — and publishing is refused unless the session names the project it built, because the public build route is keyed on (org, project).
|
|
3647
3779
|
* @summary Updates a session\'s surface-owned truth: its status, its title, the run-target it is dispatched to, and the product it built plus whether that build\'s story is public.
|