@devrev/typescript-sdk 1.1.46 → 1.1.48
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.
|
@@ -1307,7 +1307,7 @@ export declare enum AssociatedToType {
|
|
|
1307
1307
|
RevOrg = "rev_org"
|
|
1308
1308
|
}
|
|
1309
1309
|
/** atom */
|
|
1310
|
-
export type Atom = (Account | AppFragment | Capability | Conversation | CustomTypeFragment | DevUser | Engagement | Enhancement | Feature | Incident | Issue | Meeting | Opportunity | Product | RevOrg | RevUser | ServiceAccount | SysUser | Tag | Task | TenantFragment | Ticket | TimelineChangeEvent | TimelineComment | UserPreferences | Webhook) & {
|
|
1310
|
+
export type Atom = (Account | AppFragment | Capability | Conversation | CustomTypeFragment | DevUser | Engagement | Enhancement | Feature | Incident | Issue | Meeting | Opportunity | Product | QuestionAnswer | RevOrg | RevUser | ServiceAccount | SysUser | Tag | Task | TenantFragment | Ticket | TimelineChangeEvent | TimelineComment | UserPreferences | Webhook) & {
|
|
1311
1311
|
type: AtomType;
|
|
1312
1312
|
};
|
|
1313
1313
|
/** atom-base */
|
|
@@ -1339,7 +1339,7 @@ export interface AtomBaseSummary {
|
|
|
1339
1339
|
id: string;
|
|
1340
1340
|
}
|
|
1341
1341
|
/** atom-summary */
|
|
1342
|
-
export type AtomSummary = (AccountSummary | AppFragmentSummary | CapabilitySummary | ConversationSummary | CustomTypeFragmentSummary | DevUserSummary | EngagementSummary | EnhancementSummary | FeatureSummary | IncidentSummary | IssueSummary | MeetingSummary | OpportunitySummary | ProductSummary | RevOrgSummary | RevUserSummary | ServiceAccountSummary | SysUserSummary | TagSummary | TaskSummary | TenantFragmentSummary | TicketSummary | TimelineChangeEventSummary | TimelineCommentSummary | UserPreferencesSummary | WebhookSummary) & {
|
|
1342
|
+
export type AtomSummary = (AccountSummary | AppFragmentSummary | CapabilitySummary | ConversationSummary | CustomTypeFragmentSummary | DevUserSummary | EngagementSummary | EnhancementSummary | FeatureSummary | IncidentSummary | IssueSummary | MeetingSummary | OpportunitySummary | ProductSummary | QuestionAnswerSummary | RevOrgSummary | RevUserSummary | ServiceAccountSummary | SysUserSummary | TagSummary | TaskSummary | TenantFragmentSummary | TicketSummary | TimelineChangeEventSummary | TimelineCommentSummary | UserPreferencesSummary | WebhookSummary) & {
|
|
1343
1343
|
type: AtomType;
|
|
1344
1344
|
};
|
|
1345
1345
|
export declare enum AtomType {
|
|
@@ -1357,6 +1357,7 @@ export declare enum AtomType {
|
|
|
1357
1357
|
Meeting = "meeting",
|
|
1358
1358
|
Opportunity = "opportunity",
|
|
1359
1359
|
Product = "product",
|
|
1360
|
+
QuestionAnswer = "question_answer",
|
|
1360
1361
|
RevOrg = "rev_org",
|
|
1361
1362
|
RevUser = "rev_user",
|
|
1362
1363
|
ServiceAccount = "service_account",
|
|
@@ -4274,7 +4275,7 @@ export type DevUserSummary = UserBaseSummary;
|
|
|
4274
4275
|
export interface DevUsersActivateRequest {
|
|
4275
4276
|
/** IDs of the groups assigned to user during activation. */
|
|
4276
4277
|
groups?: string[];
|
|
4277
|
-
/** The ID for the Dev
|
|
4278
|
+
/** The ID for the Dev user. */
|
|
4278
4279
|
id: string;
|
|
4279
4280
|
}
|
|
4280
4281
|
/**
|
|
@@ -4287,7 +4288,7 @@ export interface DevUsersActivateResponse {
|
|
|
4287
4288
|
}
|
|
4288
4289
|
/**
|
|
4289
4290
|
* dev-users-create-request
|
|
4290
|
-
* Request object to create a new Dev
|
|
4291
|
+
* Request object to create a new Dev user for a Dev organization.
|
|
4291
4292
|
*/
|
|
4292
4293
|
export interface DevUsersCreateRequest {
|
|
4293
4294
|
/** Application-defined custom fields. */
|
|
@@ -4300,19 +4301,19 @@ export interface DevUsersCreateRequest {
|
|
|
4300
4301
|
* specifier, it remains unmodified.
|
|
4301
4302
|
*/
|
|
4302
4303
|
custom_schema_spec?: CustomSchemaSpec;
|
|
4303
|
-
/** Email of the Dev
|
|
4304
|
+
/** Email of the Dev user. */
|
|
4304
4305
|
email: string;
|
|
4305
|
-
/** Full name of the Dev
|
|
4306
|
+
/** Full name of the Dev user. */
|
|
4306
4307
|
full_name?: string;
|
|
4307
|
-
state
|
|
4308
|
+
state: DevUsersCreateRequestStateEnumValue;
|
|
4308
4309
|
}
|
|
4309
|
-
export declare enum
|
|
4310
|
+
export declare enum DevUsersCreateRequestStateEnumValue {
|
|
4310
4311
|
Shadow = "shadow"
|
|
4311
4312
|
}
|
|
4312
4313
|
/**
|
|
4313
4314
|
* dev-users-create-response
|
|
4314
|
-
* Response object for request to create a new Dev
|
|
4315
|
-
*
|
|
4315
|
+
* Response object for request to create a new Dev user for a Dev
|
|
4316
|
+
* organization.
|
|
4316
4317
|
*/
|
|
4317
4318
|
export interface DevUsersCreateResponse {
|
|
4318
4319
|
dev_user: DevUser;
|
|
@@ -4322,7 +4323,7 @@ export interface DevUsersCreateResponse {
|
|
|
4322
4323
|
* A request to deactivate the Dev user.
|
|
4323
4324
|
*/
|
|
4324
4325
|
export interface DevUsersDeactivateRequest {
|
|
4325
|
-
/** The ID for the Dev
|
|
4326
|
+
/** The ID for the Dev user. */
|
|
4326
4327
|
id: string;
|
|
4327
4328
|
}
|
|
4328
4329
|
/**
|
|
@@ -5479,6 +5480,21 @@ export interface EventPartUpdated {
|
|
|
5479
5480
|
old_part?: Part;
|
|
5480
5481
|
part: Part;
|
|
5481
5482
|
}
|
|
5483
|
+
/** event-question-answer-created */
|
|
5484
|
+
export interface EventQuestionAnswerCreated {
|
|
5485
|
+
question_answer: QuestionAnswer;
|
|
5486
|
+
}
|
|
5487
|
+
/** event-question-answer-deleted */
|
|
5488
|
+
export interface EventQuestionAnswerDeleted {
|
|
5489
|
+
/** The ID of the question-answer that was deleted. */
|
|
5490
|
+
id: string;
|
|
5491
|
+
old_question_answer?: QuestionAnswer;
|
|
5492
|
+
}
|
|
5493
|
+
/** event-question-answer-updated */
|
|
5494
|
+
export interface EventQuestionAnswerUpdated {
|
|
5495
|
+
old_question_answer?: QuestionAnswer;
|
|
5496
|
+
question_answer: QuestionAnswer;
|
|
5497
|
+
}
|
|
5482
5498
|
/** event-rev-org-created */
|
|
5483
5499
|
export interface EventRevOrgCreated {
|
|
5484
5500
|
rev_org: RevOrg;
|
|
@@ -7174,6 +7190,7 @@ export type Meeting = AtomBase & {
|
|
|
7174
7190
|
};
|
|
7175
7191
|
/** The channel of meeting. */
|
|
7176
7192
|
export declare enum MeetingChannel {
|
|
7193
|
+
AmazonConnect = "amazon_connect",
|
|
7177
7194
|
GoogleMeet = "google_meet",
|
|
7178
7195
|
Offline = "offline",
|
|
7179
7196
|
Other = "other",
|
|
@@ -7185,8 +7202,11 @@ export declare enum MeetingState {
|
|
|
7185
7202
|
Canceled = "canceled",
|
|
7186
7203
|
Completed = "completed",
|
|
7187
7204
|
NoShow = "no_show",
|
|
7205
|
+
Ongoing = "ongoing",
|
|
7206
|
+
Rejected = "rejected",
|
|
7188
7207
|
Rescheduled = "rescheduled",
|
|
7189
|
-
Scheduled = "scheduled"
|
|
7208
|
+
Scheduled = "scheduled",
|
|
7209
|
+
Waiting = "waiting"
|
|
7190
7210
|
}
|
|
7191
7211
|
/** meeting-summary */
|
|
7192
7212
|
export type MeetingSummary = AtomBaseSummary;
|
|
@@ -7245,7 +7265,7 @@ export interface MeetingsCreateRequest {
|
|
|
7245
7265
|
* @format date-time
|
|
7246
7266
|
* @example "2023-01-01T12:00:00.000Z"
|
|
7247
7267
|
*/
|
|
7248
|
-
ended_date
|
|
7268
|
+
ended_date?: string;
|
|
7249
7269
|
/** External reference for the meeting. */
|
|
7250
7270
|
external_ref?: string;
|
|
7251
7271
|
/** External URL for the meeting. */
|
|
@@ -9321,7 +9341,7 @@ export interface RevUsersGetResponse {
|
|
|
9321
9341
|
/**
|
|
9322
9342
|
* rev-users-list-request
|
|
9323
9343
|
* Gets the list of Rev users belonging to the authenticated user's Dev
|
|
9324
|
-
*
|
|
9344
|
+
* organization which the user is also authorized to access.
|
|
9325
9345
|
*/
|
|
9326
9346
|
export interface RevUsersListRequest {
|
|
9327
9347
|
/**
|
|
@@ -9527,99 +9547,27 @@ export declare enum RolePrivileges {
|
|
|
9527
9547
|
export type RoleSummary = AtomBaseSummary;
|
|
9528
9548
|
/** Target object type of the role. */
|
|
9529
9549
|
export declare enum RoleTarget {
|
|
9530
|
-
AccessControlEntry = "access_control_entry",
|
|
9531
|
-
Account = "account",
|
|
9532
|
-
AccountCommerceDetails = "account_commerce_details",
|
|
9533
|
-
AddonRule = "addon_rule",
|
|
9534
|
-
AiAgent = "ai_agent",
|
|
9535
|
-
AiAgentSession = "ai_agent_session",
|
|
9536
|
-
AiAssistantChat = "ai_assistant_chat",
|
|
9537
|
-
AppFragment = "app_fragment",
|
|
9538
9550
|
Article = "article",
|
|
9539
9551
|
Artifact = "artifact",
|
|
9540
9552
|
Capability = "capability",
|
|
9541
|
-
Channel = "channel",
|
|
9542
|
-
Command = "command",
|
|
9543
|
-
Comment = "comment",
|
|
9544
9553
|
Conversation = "conversation",
|
|
9545
|
-
Credit = "credit",
|
|
9546
|
-
CreditCoupon = "credit_coupon",
|
|
9547
|
-
CustomObject = "custom_object",
|
|
9548
|
-
CustomPart = "custom_part",
|
|
9549
|
-
CustomStage = "custom_stage",
|
|
9550
|
-
CustomState = "custom_state",
|
|
9551
|
-
CustomTypeFragment = "custom_type_fragment",
|
|
9552
|
-
Dashboard = "dashboard",
|
|
9553
|
-
Dataset = "dataset",
|
|
9554
|
-
DevOrg = "dev_org",
|
|
9555
9554
|
DevUser = "dev_user",
|
|
9556
|
-
Directory = "directory",
|
|
9557
|
-
DiscoveryRun = "discovery_run",
|
|
9558
|
-
Dm = "dm",
|
|
9559
|
-
Enhancement = "enhancement",
|
|
9560
|
-
ExternalSyncUnit = "external_sync_unit",
|
|
9561
9555
|
Feature = "feature",
|
|
9562
|
-
Flow = "flow",
|
|
9563
9556
|
Group = "group",
|
|
9564
|
-
Incident = "incident",
|
|
9565
|
-
Invoice = "invoice",
|
|
9566
9557
|
Issue = "issue",
|
|
9567
|
-
Job = "job",
|
|
9568
|
-
Keyring = "keyring",
|
|
9569
|
-
LicenseAssignment = "license_assignment",
|
|
9570
|
-
Link = "link",
|
|
9571
9558
|
Linkable = "linkable",
|
|
9572
|
-
Marketplace = "marketplace",
|
|
9573
|
-
MarketplaceCategory = "marketplace_category",
|
|
9574
|
-
MarketplaceItem = "marketplace_item",
|
|
9575
|
-
MarketplaceSubmission = "marketplace_submission",
|
|
9576
9559
|
Meeting = "meeting",
|
|
9577
|
-
MetricSet = "metric_set",
|
|
9578
|
-
OasisData = "oasis_data",
|
|
9579
|
-
ObjectMember = "object_member",
|
|
9580
9560
|
Opportunity = "opportunity",
|
|
9581
|
-
OrgPreferences = "org_preferences",
|
|
9582
|
-
PaymentMethodCard = "payment_method_card",
|
|
9583
|
-
PortalPreferences = "portal_preferences",
|
|
9584
|
-
Pricing = "pricing",
|
|
9585
9561
|
Product = "product",
|
|
9586
|
-
QuestionAnswer = "question_answer",
|
|
9587
|
-
Quote = "quote",
|
|
9588
|
-
RecordTemplate = "record_template",
|
|
9589
|
-
RevOrg = "rev_org",
|
|
9590
9562
|
RevUser = "rev_user",
|
|
9591
|
-
RevoConfig = "revo_config",
|
|
9592
|
-
Role = "role",
|
|
9593
|
-
RoleSet = "role_set",
|
|
9594
9563
|
Runnable = "runnable",
|
|
9595
|
-
|
|
9596
|
-
ServicePlan = "service_plan",
|
|
9597
|
-
Sku = "sku",
|
|
9598
|
-
SkuRule = "sku_rule",
|
|
9599
|
-
SnapIn = "snap_in",
|
|
9600
|
-
SnapWidget = "snap_widget",
|
|
9601
|
-
StageDiagram = "stage_diagram",
|
|
9602
|
-
SvcAcc = "svc_acc",
|
|
9603
|
-
SyncHistory = "sync_history",
|
|
9604
|
-
SyncMapperRecord = "sync_mapper_record",
|
|
9605
|
-
SyncUnit = "sync_unit",
|
|
9606
|
-
Task = "task",
|
|
9607
|
-
TenantFragment = "tenant_fragment",
|
|
9608
|
-
Ticket = "ticket",
|
|
9609
|
-
Token = "token",
|
|
9610
|
-
Uom = "uom",
|
|
9611
|
-
Vista = "vista",
|
|
9612
|
-
Webhook = "webhook",
|
|
9613
|
-
Widget = "widget",
|
|
9614
|
-
Workflow = "workflow"
|
|
9564
|
+
Ticket = "ticket"
|
|
9615
9565
|
}
|
|
9616
9566
|
/**
|
|
9617
9567
|
* roles-apply-request
|
|
9618
9568
|
* A request to apply (assign or revoke) roles of a principal.
|
|
9619
9569
|
*/
|
|
9620
9570
|
export interface RolesApplyRequest {
|
|
9621
|
-
/** Act as ID. */
|
|
9622
|
-
act_as?: string;
|
|
9623
9571
|
/** Roles to be additionally assigned to principal. */
|
|
9624
9572
|
assign?: string[];
|
|
9625
9573
|
/**
|
|
@@ -9627,8 +9575,6 @@ export interface RolesApplyRequest {
|
|
|
9627
9575
|
* @example "DEV-AbCdEfGh"
|
|
9628
9576
|
*/
|
|
9629
9577
|
principal: string;
|
|
9630
|
-
/** Roles to be revoked from principal. */
|
|
9631
|
-
revoke?: string[];
|
|
9632
9578
|
}
|
|
9633
9579
|
/**
|
|
9634
9580
|
* roles-apply-response
|
|
@@ -9640,14 +9586,8 @@ export type RolesApplyResponse = object;
|
|
|
9640
9586
|
* A request to create a new role.
|
|
9641
9587
|
*/
|
|
9642
9588
|
export interface RolesCreateRequest {
|
|
9643
|
-
/** The caveats on the role. */
|
|
9644
|
-
caveats?: RolesCreateRequestCaveat[];
|
|
9645
|
-
/** Leaf type of the custom object target. */
|
|
9646
|
-
custom_object_target?: string;
|
|
9647
9589
|
/** The description of the role. */
|
|
9648
9590
|
description?: string;
|
|
9649
|
-
/** Field Privileges. */
|
|
9650
|
-
field_privileges?: RolesCreateRequestFieldPrivileges;
|
|
9651
9591
|
/**
|
|
9652
9592
|
* Whether to include all subtypes of the leaf type as target of the
|
|
9653
9593
|
* role.
|
|
@@ -9665,16 +9605,6 @@ export interface RolesCreateRequest {
|
|
|
9665
9605
|
/** The subtype of the target. */
|
|
9666
9606
|
target_subtype?: string;
|
|
9667
9607
|
}
|
|
9668
|
-
/**
|
|
9669
|
-
* roles-create-request-caveat
|
|
9670
|
-
* Caveat under which the role applies.
|
|
9671
|
-
*/
|
|
9672
|
-
export type RolesCreateRequestCaveat = object;
|
|
9673
|
-
/**
|
|
9674
|
-
* roles-create-request-field-privileges
|
|
9675
|
-
* Field Privileges.
|
|
9676
|
-
*/
|
|
9677
|
-
export type RolesCreateRequestFieldPrivileges = object;
|
|
9678
9608
|
/**
|
|
9679
9609
|
* roles-create-response
|
|
9680
9610
|
* A response to a request to create a new role.
|
|
@@ -10291,8 +10221,8 @@ export interface SchemasSubtypePrepareUpdateGetResponseDroppedField {
|
|
|
10291
10221
|
*/
|
|
10292
10222
|
export interface SearchCoreRequest {
|
|
10293
10223
|
/**
|
|
10294
|
-
* The cursor
|
|
10295
|
-
*
|
|
10224
|
+
* The cursor to resume iteration from. If not provided, then
|
|
10225
|
+
* iteration starts from the beginning.
|
|
10296
10226
|
*/
|
|
10297
10227
|
cursor?: string;
|
|
10298
10228
|
/**
|
|
@@ -10301,6 +10231,14 @@ export interface SearchCoreRequest {
|
|
|
10301
10231
|
* @format int32
|
|
10302
10232
|
*/
|
|
10303
10233
|
limit?: number;
|
|
10234
|
+
/**
|
|
10235
|
+
* The iteration mode to use. If "after", then entries after the provided
|
|
10236
|
+
* cursor will be returned, or if no cursor is provided, then from the
|
|
10237
|
+
* beginning. If "before", then entries before the provided cursor will be
|
|
10238
|
+
* returned, or if no cursor is provided, then from the end. Entries will
|
|
10239
|
+
* always be returned in the specified sort-by order.
|
|
10240
|
+
*/
|
|
10241
|
+
mode?: ListMode;
|
|
10304
10242
|
/** The namespaces to search in. */
|
|
10305
10243
|
namespaces?: SearchNamespace[];
|
|
10306
10244
|
/**
|
|
@@ -10323,6 +10261,16 @@ export interface SearchCoreResponse {
|
|
|
10323
10261
|
* not provided.
|
|
10324
10262
|
*/
|
|
10325
10263
|
cursor?: string;
|
|
10264
|
+
/**
|
|
10265
|
+
* The cursor used to iterate subsequent results in accordance to the
|
|
10266
|
+
* sort order. If not set, then no later elements exist.
|
|
10267
|
+
*/
|
|
10268
|
+
next_cursor?: string;
|
|
10269
|
+
/**
|
|
10270
|
+
* The cursor used to iterate preceding results in accordance to the
|
|
10271
|
+
* sort order. If not set, then no prior elements exist.
|
|
10272
|
+
*/
|
|
10273
|
+
prev_cursor?: string;
|
|
10326
10274
|
/** The search results. */
|
|
10327
10275
|
results: SearchResult[];
|
|
10328
10276
|
}
|
|
@@ -13583,6 +13531,9 @@ export interface WebhookEventRequest {
|
|
|
13583
13531
|
part_created?: EventPartCreated;
|
|
13584
13532
|
part_deleted?: EventPartDeleted;
|
|
13585
13533
|
part_updated?: EventPartUpdated;
|
|
13534
|
+
question_answer_created?: EventQuestionAnswerCreated;
|
|
13535
|
+
question_answer_deleted?: EventQuestionAnswerDeleted;
|
|
13536
|
+
question_answer_updated?: EventQuestionAnswerUpdated;
|
|
13586
13537
|
rev_org_created?: EventRevOrgCreated;
|
|
13587
13538
|
rev_org_deleted?: EventRevOrgDeleted;
|
|
13588
13539
|
rev_org_updated?: EventRevOrgUpdated;
|
|
@@ -13664,6 +13615,9 @@ export declare enum WebhookEventType {
|
|
|
13664
13615
|
PartCreated = "part_created",
|
|
13665
13616
|
PartDeleted = "part_deleted",
|
|
13666
13617
|
PartUpdated = "part_updated",
|
|
13618
|
+
QuestionAnswerCreated = "question_answer_created",
|
|
13619
|
+
QuestionAnswerDeleted = "question_answer_deleted",
|
|
13620
|
+
QuestionAnswerUpdated = "question_answer_updated",
|
|
13667
13621
|
RevOrgCreated = "rev_org_created",
|
|
13668
13622
|
RevOrgDeleted = "rev_org_deleted",
|
|
13669
13623
|
RevOrgUpdated = "rev_org_updated",
|
|
@@ -16167,7 +16121,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
16167
16121
|
*/
|
|
16168
16122
|
devUsersActivate: (data: DevUsersActivateRequest, params?: RequestParams) => Promise<AxiosResponse<DevUsersActivateResponse, any>>;
|
|
16169
16123
|
/**
|
|
16170
|
-
* @description Creates a Dev
|
|
16124
|
+
* @description Creates a Dev user for a Dev organization.
|
|
16171
16125
|
*
|
|
16172
16126
|
* @tags dev-users
|
|
16173
16127
|
* @name DevUsersCreate
|
|
@@ -18276,7 +18230,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18276
18230
|
*/
|
|
18277
18231
|
linkRevUserToRevOrg: (data: LinkRevUserToRevOrgRequest, params?: RequestParams) => Promise<AxiosResponse<LinkRevUserToRevOrgResponse, any>>;
|
|
18278
18232
|
/**
|
|
18279
|
-
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev
|
|
18233
|
+
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
|
|
18280
18234
|
*
|
|
18281
18235
|
* @tags rev-users
|
|
18282
18236
|
* @name RevUsersList
|
|
@@ -18354,7 +18308,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18354
18308
|
tags?: string[];
|
|
18355
18309
|
}, params?: RequestParams) => Promise<AxiosResponse<RevUsersListResponse, any>>;
|
|
18356
18310
|
/**
|
|
18357
|
-
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev
|
|
18311
|
+
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
|
|
18358
18312
|
*
|
|
18359
18313
|
* @tags rev-users
|
|
18360
18314
|
* @name RevUsersListPost
|
|
@@ -18746,8 +18700,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18746
18700
|
*/
|
|
18747
18701
|
query: string;
|
|
18748
18702
|
/**
|
|
18749
|
-
* The cursor
|
|
18750
|
-
*
|
|
18703
|
+
* The cursor to resume iteration from. If not provided, then iteration
|
|
18704
|
+
* starts from the beginning.
|
|
18751
18705
|
*/
|
|
18752
18706
|
cursor?: string | undefined;
|
|
18753
18707
|
/**
|
|
@@ -18755,6 +18709,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
18755
18709
|
* @format int32
|
|
18756
18710
|
*/
|
|
18757
18711
|
limit?: number | undefined;
|
|
18712
|
+
/**
|
|
18713
|
+
* The iteration mode to use, otherwise if not set, then "after" is
|
|
18714
|
+
* used.
|
|
18715
|
+
*/
|
|
18716
|
+
mode?: ListMode | undefined;
|
|
18758
18717
|
/** The namespaces to search in. */
|
|
18759
18718
|
namespaces?: SearchNamespace[] | undefined;
|
|
18760
18719
|
/**
|
|
@@ -33,7 +33,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.
|
|
36
|
+
exports.GroupIngestionSource = exports.GenericNotificationEventType = exports.FieldValueType = exports.ExternalSystemType = exports.EventSourceStatus = exports.EventFetchedResult = exports.ErrorUnauthorizedType = exports.ErrorTooManyRequestsType = exports.ErrorServiceUnavailableType = exports.ErrorNotFoundType = exports.ErrorInternalServerErrorType = exports.ErrorForbiddenType = exports.ErrorConflictType = exports.ErrorBadRequestUnexpectedJsonTypeType = exports.ErrorBadRequestType = exports.EngagementsCreateRequestEngagementType = exports.EngagementType = exports.DevUsersCreateRequestStateEnumValue = exports.DevUserJobTitle = exports.DevOrgAuthConnectionsUpdateRequestType = exports.DevOrgAuthConnectionsCreateRequestType = exports.Definedness = exports.DateTimePresetType = exports.DateFilterType = exports.CustomSchemaFragmentsSetRequestType = exports.CustomSchemaFragmentsListRequestPrune = exports.CustomSchemaFragmentType = exports.CustomSchemaFragmentFragmentType = exports.ConversationsCreateRequestTypeValue = exports.CommandSurfaceSurface = exports.CommandSurfaceObjectTypes = exports.CommandStatus = exports.CommandActionTemplateType = exports.CommandActionExecutorType = exports.CodeChangeSource = exports.ChatCompletionsRequestMessageRole = exports.BooleanExpressionType = exports.AuthTokenTokenType = exports.AuthTokenSubjectTokenType = exports.AuthTokenStatus = exports.AuthTokenRequestedTokenType = exports.AuthTokenGrantType = exports.AuthConnectionType = exports.AuthConnectionToggle = exports.AtomType = exports.AssociatedToType = exports.ArticleType = exports.ArticleStatus = exports.AggregationDetailAggregationType = exports.AccessLevel = void 0;
|
|
37
37
|
exports.SnapWidgetsCreateRequestType = exports.SnapWidgetType = exports.SnapWidgetStatus = exports.SnapWidgetNamespace = exports.SlasFilterAppliesToOperatorType = exports.SlaType = exports.SlaTrackerAppliesToType = exports.SlaSummaryStage = exports.SlaStatus = exports.SlaSelectorSeverity = exports.SlaSelectorPriority = exports.SlaSelectorAppliesTo = exports.SlaEvaluationPeriod = exports.SlaAppliesTo = exports.SendNotificationType = exports.SearchSortOrderParam = exports.SearchSortByParam = exports.SearchResultType = exports.SearchNamespace = exports.SearchHybridNamespace = exports.SchemasSubtypePrepareUpdateGetResponseConflictType = exports.SchemaFieldDescriptorFieldType = exports.SchemaFieldDescriptorArrayTypeBaseType = exports.RoleTarget = exports.RolePrivileges = exports.ReactionsUpdateRequestAction = exports.QuestionAnswerStatus = exports.PreferencesType = exports.PartType = exports.OrgType = exports.OrgScheduleStatus = exports.OrgScheduleFragmentStatus = exports.OrgEnvironment = exports.OpportunityPriority = exports.OpportunityForecastCategory = exports.MetricDefinitionStatus = exports.MetricDefinitionMetricType = exports.MetricDefinitionAppliesTo = exports.MetricActionExecuteRequestAction = exports.MemberType = exports.MeetingState = exports.MeetingChannel = exports.ListMode = exports.LinksDirection = exports.LinkType = exports.LinkEndpointType = exports.IssuePriority = exports.GroupedVistaFlavor = exports.GroupType = exports.GroupMemberType = void 0;
|
|
38
38
|
exports.Api = exports.HttpClient = exports.ContentType = exports.WorkType = exports.WebhooksUpdateAction = exports.WebhookStatus = exports.WebhookEventType = exports.VistaType = exports.VistaGroupItemType = exports.VistaGroupItemState = exports.UserType = exports.UserState = exports.UomMetricScope = exports.UnitType = exports.TuringSourcesType = exports.TimelineEntryVisibility = exports.TimelineEntryType = exports.TimelineEntryPanel = exports.TimelineEntryObjectType = exports.TimelineEntriesUpdateRequestType = exports.TimelineEntriesCreateRequestType = exports.TimelineEntriesCollection = exports.TimelineCommentBodyType = exports.TimelineChangeEventEventType = exports.TicketSeverity = exports.TicketChannels = exports.TaskPriority = exports.SyncUnitSyncType = exports.SyncRunStartedBy = exports.SyncRunProgressState = exports.SyncRunMode = exports.SyncProgressState = exports.SyncOutStatus = exports.SyncMetadataFilterSyncOutFilterStatus = exports.SyncMetadataFilterSyncInFilterStatus = exports.SyncInStatus = exports.StockSchemaFragmentsListRequestPrune = exports.StockSchemaFragmentsListRequestFilterPreset = exports.StageValidationOptionForUpdate = exports.StageValidationOptionForCreate = void 0;
|
|
39
39
|
var AccessLevel;
|
|
@@ -112,6 +112,7 @@ var AtomType;
|
|
|
112
112
|
AtomType["Meeting"] = "meeting";
|
|
113
113
|
AtomType["Opportunity"] = "opportunity";
|
|
114
114
|
AtomType["Product"] = "product";
|
|
115
|
+
AtomType["QuestionAnswer"] = "question_answer";
|
|
115
116
|
AtomType["RevOrg"] = "rev_org";
|
|
116
117
|
AtomType["RevUser"] = "rev_user";
|
|
117
118
|
AtomType["ServiceAccount"] = "service_account";
|
|
@@ -345,10 +346,10 @@ var DevUserJobTitle;
|
|
|
345
346
|
DevUserJobTitle["Support"] = "support";
|
|
346
347
|
DevUserJobTitle["TechLead"] = "tech_lead";
|
|
347
348
|
})(DevUserJobTitle = exports.DevUserJobTitle || (exports.DevUserJobTitle = {}));
|
|
348
|
-
var
|
|
349
|
-
(function (
|
|
350
|
-
|
|
351
|
-
})(
|
|
349
|
+
var DevUsersCreateRequestStateEnumValue;
|
|
350
|
+
(function (DevUsersCreateRequestStateEnumValue) {
|
|
351
|
+
DevUsersCreateRequestStateEnumValue["Shadow"] = "shadow";
|
|
352
|
+
})(DevUsersCreateRequestStateEnumValue = exports.DevUsersCreateRequestStateEnumValue || (exports.DevUsersCreateRequestStateEnumValue = {}));
|
|
352
353
|
/** Type of engagement. */
|
|
353
354
|
var EngagementType;
|
|
354
355
|
(function (EngagementType) {
|
|
@@ -579,6 +580,7 @@ var ListMode;
|
|
|
579
580
|
/** The channel of meeting. */
|
|
580
581
|
var MeetingChannel;
|
|
581
582
|
(function (MeetingChannel) {
|
|
583
|
+
MeetingChannel["AmazonConnect"] = "amazon_connect";
|
|
582
584
|
MeetingChannel["GoogleMeet"] = "google_meet";
|
|
583
585
|
MeetingChannel["Offline"] = "offline";
|
|
584
586
|
MeetingChannel["Other"] = "other";
|
|
@@ -591,8 +593,11 @@ var MeetingState;
|
|
|
591
593
|
MeetingState["Canceled"] = "canceled";
|
|
592
594
|
MeetingState["Completed"] = "completed";
|
|
593
595
|
MeetingState["NoShow"] = "no_show";
|
|
596
|
+
MeetingState["Ongoing"] = "ongoing";
|
|
597
|
+
MeetingState["Rejected"] = "rejected";
|
|
594
598
|
MeetingState["Rescheduled"] = "rescheduled";
|
|
595
599
|
MeetingState["Scheduled"] = "scheduled";
|
|
600
|
+
MeetingState["Waiting"] = "waiting";
|
|
596
601
|
})(MeetingState = exports.MeetingState || (exports.MeetingState = {}));
|
|
597
602
|
var MemberType;
|
|
598
603
|
(function (MemberType) {
|
|
@@ -725,91 +730,21 @@ var RolePrivileges;
|
|
|
725
730
|
/** Target object type of the role. */
|
|
726
731
|
var RoleTarget;
|
|
727
732
|
(function (RoleTarget) {
|
|
728
|
-
RoleTarget["AccessControlEntry"] = "access_control_entry";
|
|
729
|
-
RoleTarget["Account"] = "account";
|
|
730
|
-
RoleTarget["AccountCommerceDetails"] = "account_commerce_details";
|
|
731
|
-
RoleTarget["AddonRule"] = "addon_rule";
|
|
732
|
-
RoleTarget["AiAgent"] = "ai_agent";
|
|
733
|
-
RoleTarget["AiAgentSession"] = "ai_agent_session";
|
|
734
|
-
RoleTarget["AiAssistantChat"] = "ai_assistant_chat";
|
|
735
|
-
RoleTarget["AppFragment"] = "app_fragment";
|
|
736
733
|
RoleTarget["Article"] = "article";
|
|
737
734
|
RoleTarget["Artifact"] = "artifact";
|
|
738
735
|
RoleTarget["Capability"] = "capability";
|
|
739
|
-
RoleTarget["Channel"] = "channel";
|
|
740
|
-
RoleTarget["Command"] = "command";
|
|
741
|
-
RoleTarget["Comment"] = "comment";
|
|
742
736
|
RoleTarget["Conversation"] = "conversation";
|
|
743
|
-
RoleTarget["Credit"] = "credit";
|
|
744
|
-
RoleTarget["CreditCoupon"] = "credit_coupon";
|
|
745
|
-
RoleTarget["CustomObject"] = "custom_object";
|
|
746
|
-
RoleTarget["CustomPart"] = "custom_part";
|
|
747
|
-
RoleTarget["CustomStage"] = "custom_stage";
|
|
748
|
-
RoleTarget["CustomState"] = "custom_state";
|
|
749
|
-
RoleTarget["CustomTypeFragment"] = "custom_type_fragment";
|
|
750
|
-
RoleTarget["Dashboard"] = "dashboard";
|
|
751
|
-
RoleTarget["Dataset"] = "dataset";
|
|
752
|
-
RoleTarget["DevOrg"] = "dev_org";
|
|
753
737
|
RoleTarget["DevUser"] = "dev_user";
|
|
754
|
-
RoleTarget["Directory"] = "directory";
|
|
755
|
-
RoleTarget["DiscoveryRun"] = "discovery_run";
|
|
756
|
-
RoleTarget["Dm"] = "dm";
|
|
757
|
-
RoleTarget["Enhancement"] = "enhancement";
|
|
758
|
-
RoleTarget["ExternalSyncUnit"] = "external_sync_unit";
|
|
759
738
|
RoleTarget["Feature"] = "feature";
|
|
760
|
-
RoleTarget["Flow"] = "flow";
|
|
761
739
|
RoleTarget["Group"] = "group";
|
|
762
|
-
RoleTarget["Incident"] = "incident";
|
|
763
|
-
RoleTarget["Invoice"] = "invoice";
|
|
764
740
|
RoleTarget["Issue"] = "issue";
|
|
765
|
-
RoleTarget["Job"] = "job";
|
|
766
|
-
RoleTarget["Keyring"] = "keyring";
|
|
767
|
-
RoleTarget["LicenseAssignment"] = "license_assignment";
|
|
768
|
-
RoleTarget["Link"] = "link";
|
|
769
741
|
RoleTarget["Linkable"] = "linkable";
|
|
770
|
-
RoleTarget["Marketplace"] = "marketplace";
|
|
771
|
-
RoleTarget["MarketplaceCategory"] = "marketplace_category";
|
|
772
|
-
RoleTarget["MarketplaceItem"] = "marketplace_item";
|
|
773
|
-
RoleTarget["MarketplaceSubmission"] = "marketplace_submission";
|
|
774
742
|
RoleTarget["Meeting"] = "meeting";
|
|
775
|
-
RoleTarget["MetricSet"] = "metric_set";
|
|
776
|
-
RoleTarget["OasisData"] = "oasis_data";
|
|
777
|
-
RoleTarget["ObjectMember"] = "object_member";
|
|
778
743
|
RoleTarget["Opportunity"] = "opportunity";
|
|
779
|
-
RoleTarget["OrgPreferences"] = "org_preferences";
|
|
780
|
-
RoleTarget["PaymentMethodCard"] = "payment_method_card";
|
|
781
|
-
RoleTarget["PortalPreferences"] = "portal_preferences";
|
|
782
|
-
RoleTarget["Pricing"] = "pricing";
|
|
783
744
|
RoleTarget["Product"] = "product";
|
|
784
|
-
RoleTarget["QuestionAnswer"] = "question_answer";
|
|
785
|
-
RoleTarget["Quote"] = "quote";
|
|
786
|
-
RoleTarget["RecordTemplate"] = "record_template";
|
|
787
|
-
RoleTarget["RevOrg"] = "rev_org";
|
|
788
745
|
RoleTarget["RevUser"] = "rev_user";
|
|
789
|
-
RoleTarget["RevoConfig"] = "revo_config";
|
|
790
|
-
RoleTarget["Role"] = "role";
|
|
791
|
-
RoleTarget["RoleSet"] = "role_set";
|
|
792
746
|
RoleTarget["Runnable"] = "runnable";
|
|
793
|
-
RoleTarget["Score"] = "score";
|
|
794
|
-
RoleTarget["ServicePlan"] = "service_plan";
|
|
795
|
-
RoleTarget["Sku"] = "sku";
|
|
796
|
-
RoleTarget["SkuRule"] = "sku_rule";
|
|
797
|
-
RoleTarget["SnapIn"] = "snap_in";
|
|
798
|
-
RoleTarget["SnapWidget"] = "snap_widget";
|
|
799
|
-
RoleTarget["StageDiagram"] = "stage_diagram";
|
|
800
|
-
RoleTarget["SvcAcc"] = "svc_acc";
|
|
801
|
-
RoleTarget["SyncHistory"] = "sync_history";
|
|
802
|
-
RoleTarget["SyncMapperRecord"] = "sync_mapper_record";
|
|
803
|
-
RoleTarget["SyncUnit"] = "sync_unit";
|
|
804
|
-
RoleTarget["Task"] = "task";
|
|
805
|
-
RoleTarget["TenantFragment"] = "tenant_fragment";
|
|
806
747
|
RoleTarget["Ticket"] = "ticket";
|
|
807
|
-
RoleTarget["Token"] = "token";
|
|
808
|
-
RoleTarget["Uom"] = "uom";
|
|
809
|
-
RoleTarget["Vista"] = "vista";
|
|
810
|
-
RoleTarget["Webhook"] = "webhook";
|
|
811
|
-
RoleTarget["Widget"] = "widget";
|
|
812
|
-
RoleTarget["Workflow"] = "workflow";
|
|
813
748
|
})(RoleTarget = exports.RoleTarget || (exports.RoleTarget = {}));
|
|
814
749
|
var SchemaFieldDescriptorArrayTypeBaseType;
|
|
815
750
|
(function (SchemaFieldDescriptorArrayTypeBaseType) {
|
|
@@ -1333,6 +1268,9 @@ var WebhookEventType;
|
|
|
1333
1268
|
WebhookEventType["PartCreated"] = "part_created";
|
|
1334
1269
|
WebhookEventType["PartDeleted"] = "part_deleted";
|
|
1335
1270
|
WebhookEventType["PartUpdated"] = "part_updated";
|
|
1271
|
+
WebhookEventType["QuestionAnswerCreated"] = "question_answer_created";
|
|
1272
|
+
WebhookEventType["QuestionAnswerDeleted"] = "question_answer_deleted";
|
|
1273
|
+
WebhookEventType["QuestionAnswerUpdated"] = "question_answer_updated";
|
|
1336
1274
|
WebhookEventType["RevOrgCreated"] = "rev_org_created";
|
|
1337
1275
|
WebhookEventType["RevOrgDeleted"] = "rev_org_deleted";
|
|
1338
1276
|
WebhookEventType["RevOrgUpdated"] = "rev_org_updated";
|
|
@@ -2359,7 +2297,7 @@ class Api extends HttpClient {
|
|
|
2359
2297
|
*/
|
|
2360
2298
|
this.devUsersActivate = (data, params = {}) => this.request(Object.assign({ path: `/dev-users.activate`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
2361
2299
|
/**
|
|
2362
|
-
* @description Creates a Dev
|
|
2300
|
+
* @description Creates a Dev user for a Dev organization.
|
|
2363
2301
|
*
|
|
2364
2302
|
* @tags dev-users
|
|
2365
2303
|
* @name DevUsersCreate
|
|
@@ -3728,7 +3666,7 @@ class Api extends HttpClient {
|
|
|
3728
3666
|
*/
|
|
3729
3667
|
this.linkRevUserToRevOrg = (data, params = {}) => this.request(Object.assign({ path: `/rev-users.link`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
3730
3668
|
/**
|
|
3731
|
-
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev
|
|
3669
|
+
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
|
|
3732
3670
|
*
|
|
3733
3671
|
* @tags rev-users
|
|
3734
3672
|
* @name RevUsersList
|
|
@@ -3738,7 +3676,7 @@ class Api extends HttpClient {
|
|
|
3738
3676
|
*/
|
|
3739
3677
|
this.revUsersList = (query, params = {}) => this.request(Object.assign({ path: `/rev-users.list`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
3740
3678
|
/**
|
|
3741
|
-
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev
|
|
3679
|
+
* @description Returns a list of all Rev Users belonging to the authenticated user's Dev organization.
|
|
3742
3680
|
*
|
|
3743
3681
|
* @tags rev-users
|
|
3744
3682
|
* @name RevUsersListPost
|
|
@@ -1939,6 +1939,21 @@ export interface EventPartUpdated {
|
|
|
1939
1939
|
old_part?: Part;
|
|
1940
1940
|
part: Part;
|
|
1941
1941
|
}
|
|
1942
|
+
/** event-question-answer-created */
|
|
1943
|
+
export interface EventQuestionAnswerCreated {
|
|
1944
|
+
question_answer: QuestionAnswer;
|
|
1945
|
+
}
|
|
1946
|
+
/** event-question-answer-deleted */
|
|
1947
|
+
export interface EventQuestionAnswerDeleted {
|
|
1948
|
+
/** The ID of the question-answer that was deleted. */
|
|
1949
|
+
id: string;
|
|
1950
|
+
old_question_answer?: QuestionAnswer;
|
|
1951
|
+
}
|
|
1952
|
+
/** event-question-answer-updated */
|
|
1953
|
+
export interface EventQuestionAnswerUpdated {
|
|
1954
|
+
old_question_answer?: QuestionAnswer;
|
|
1955
|
+
question_answer: QuestionAnswer;
|
|
1956
|
+
}
|
|
1942
1957
|
/** event-rev-org-created */
|
|
1943
1958
|
export interface EventRevOrgCreated {
|
|
1944
1959
|
rev_org: RevOrg;
|
|
@@ -2731,6 +2746,24 @@ export interface PartsUpdateResponse {
|
|
|
2731
2746
|
export type Product = PartBase;
|
|
2732
2747
|
/** product-summary */
|
|
2733
2748
|
export type ProductSummary = PartBaseSummary;
|
|
2749
|
+
/** question-answer */
|
|
2750
|
+
export type QuestionAnswer = AtomBase & {
|
|
2751
|
+
/** The Answer. */
|
|
2752
|
+
answer?: string;
|
|
2753
|
+
/** The Question. */
|
|
2754
|
+
question?: string;
|
|
2755
|
+
/** An alternative answer suggested by the Q/A generation algorithm. */
|
|
2756
|
+
suggested_answer?: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* Whether the Q/A was marked for deletion by the Q/A generation
|
|
2759
|
+
* algorithm.
|
|
2760
|
+
*/
|
|
2761
|
+
suggested_for_deletion?: boolean;
|
|
2762
|
+
/** The topic to which the QA belongs. */
|
|
2763
|
+
topic?: string;
|
|
2764
|
+
/** Whether the Q/A was verified. */
|
|
2765
|
+
verified?: boolean;
|
|
2766
|
+
};
|
|
2734
2767
|
/**
|
|
2735
2768
|
* removed-sla-metric-history
|
|
2736
2769
|
* User, timestamp and metric id of removed metrics.
|
|
@@ -4769,6 +4802,9 @@ export interface WebhookEventRequest {
|
|
|
4769
4802
|
part_created?: EventPartCreated;
|
|
4770
4803
|
part_deleted?: EventPartDeleted;
|
|
4771
4804
|
part_updated?: EventPartUpdated;
|
|
4805
|
+
question_answer_created?: EventQuestionAnswerCreated;
|
|
4806
|
+
question_answer_deleted?: EventQuestionAnswerDeleted;
|
|
4807
|
+
question_answer_updated?: EventQuestionAnswerUpdated;
|
|
4772
4808
|
rev_org_created?: EventRevOrgCreated;
|
|
4773
4809
|
rev_org_deleted?: EventRevOrgDeleted;
|
|
4774
4810
|
rev_org_updated?: EventRevOrgUpdated;
|
|
@@ -4850,6 +4886,9 @@ export declare enum WebhookEventType {
|
|
|
4850
4886
|
PartCreated = "part_created",
|
|
4851
4887
|
PartDeleted = "part_deleted",
|
|
4852
4888
|
PartUpdated = "part_updated",
|
|
4889
|
+
QuestionAnswerCreated = "question_answer_created",
|
|
4890
|
+
QuestionAnswerDeleted = "question_answer_deleted",
|
|
4891
|
+
QuestionAnswerUpdated = "question_answer_updated",
|
|
4853
4892
|
RevOrgCreated = "rev_org_created",
|
|
4854
4893
|
RevOrgDeleted = "rev_org_deleted",
|
|
4855
4894
|
RevOrgUpdated = "rev_org_updated",
|
|
@@ -622,6 +622,9 @@ var WebhookEventType;
|
|
|
622
622
|
WebhookEventType["PartCreated"] = "part_created";
|
|
623
623
|
WebhookEventType["PartDeleted"] = "part_deleted";
|
|
624
624
|
WebhookEventType["PartUpdated"] = "part_updated";
|
|
625
|
+
WebhookEventType["QuestionAnswerCreated"] = "question_answer_created";
|
|
626
|
+
WebhookEventType["QuestionAnswerDeleted"] = "question_answer_deleted";
|
|
627
|
+
WebhookEventType["QuestionAnswerUpdated"] = "question_answer_updated";
|
|
625
628
|
WebhookEventType["RevOrgCreated"] = "rev_org_created";
|
|
626
629
|
WebhookEventType["RevOrgDeleted"] = "rev_org_deleted";
|
|
627
630
|
WebhookEventType["RevOrgUpdated"] = "rev_org_updated";
|