@deepraxis/sdk 0.1.0-dev.ed6ad1b → 0.1.0-dev.f8a7b74
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/METHODS.md +132 -1
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +274 -10
- package/dist/generated/sdk.gen.js +854 -9
- package/dist/generated/types.gen.d.ts +3891 -33
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +1322 -13
- package/dist/operations.generated.js +1661 -13
- package/dist/resources.generated.d.ts +249 -0
- package/dist/resources.generated.js +83 -0
- package/package.json +1 -1
|
@@ -27,6 +27,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
27
27
|
type: "agent";
|
|
28
28
|
updated_at: string;
|
|
29
29
|
version: number;
|
|
30
|
+
databases: Array<{
|
|
31
|
+
id: string;
|
|
32
|
+
access: "read_only" | "read_write";
|
|
33
|
+
instructions?: string;
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
vector_stores: Array<{
|
|
37
|
+
id: string;
|
|
38
|
+
access: "read_only" | "read_write";
|
|
39
|
+
instructions?: string;
|
|
40
|
+
enabled?: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
files: Array<{
|
|
43
|
+
id: string;
|
|
44
|
+
access: "read_only";
|
|
45
|
+
instructions?: string;
|
|
46
|
+
enabled?: boolean;
|
|
47
|
+
}>;
|
|
30
48
|
kind: "personal" | "service";
|
|
31
49
|
computer_id?: string;
|
|
32
50
|
subagent_model?: string | null;
|
|
@@ -158,6 +176,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
176
|
type: "agent";
|
|
159
177
|
updated_at: string;
|
|
160
178
|
version: number;
|
|
179
|
+
databases: Array<{
|
|
180
|
+
id: string;
|
|
181
|
+
access: "read_only" | "read_write";
|
|
182
|
+
instructions?: string;
|
|
183
|
+
enabled?: boolean;
|
|
184
|
+
}>;
|
|
185
|
+
vector_stores: Array<{
|
|
186
|
+
id: string;
|
|
187
|
+
access: "read_only" | "read_write";
|
|
188
|
+
instructions?: string;
|
|
189
|
+
enabled?: boolean;
|
|
190
|
+
}>;
|
|
191
|
+
files: Array<{
|
|
192
|
+
id: string;
|
|
193
|
+
access: "read_only";
|
|
194
|
+
instructions?: string;
|
|
195
|
+
enabled?: boolean;
|
|
196
|
+
}>;
|
|
161
197
|
kind: "personal" | "service";
|
|
162
198
|
computer_id?: string;
|
|
163
199
|
subagent_model?: string | null;
|
|
@@ -362,6 +398,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
362
398
|
type: "agent";
|
|
363
399
|
updated_at: string;
|
|
364
400
|
version: number;
|
|
401
|
+
databases: Array<{
|
|
402
|
+
id: string;
|
|
403
|
+
access: "read_only" | "read_write";
|
|
404
|
+
instructions?: string;
|
|
405
|
+
enabled?: boolean;
|
|
406
|
+
}>;
|
|
407
|
+
vector_stores: Array<{
|
|
408
|
+
id: string;
|
|
409
|
+
access: "read_only" | "read_write";
|
|
410
|
+
instructions?: string;
|
|
411
|
+
enabled?: boolean;
|
|
412
|
+
}>;
|
|
413
|
+
files: Array<{
|
|
414
|
+
id: string;
|
|
415
|
+
access: "read_only";
|
|
416
|
+
instructions?: string;
|
|
417
|
+
enabled?: boolean;
|
|
418
|
+
}>;
|
|
365
419
|
kind: "personal" | "service";
|
|
366
420
|
computer_id?: string;
|
|
367
421
|
subagent_model?: string | null;
|
|
@@ -495,6 +549,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
495
549
|
type: "agent";
|
|
496
550
|
updated_at: string;
|
|
497
551
|
version: number;
|
|
552
|
+
databases: Array<{
|
|
553
|
+
id: string;
|
|
554
|
+
access: "read_only" | "read_write";
|
|
555
|
+
instructions?: string;
|
|
556
|
+
enabled?: boolean;
|
|
557
|
+
}>;
|
|
558
|
+
vector_stores: Array<{
|
|
559
|
+
id: string;
|
|
560
|
+
access: "read_only" | "read_write";
|
|
561
|
+
instructions?: string;
|
|
562
|
+
enabled?: boolean;
|
|
563
|
+
}>;
|
|
564
|
+
files: Array<{
|
|
565
|
+
id: string;
|
|
566
|
+
access: "read_only";
|
|
567
|
+
instructions?: string;
|
|
568
|
+
enabled?: boolean;
|
|
569
|
+
}>;
|
|
498
570
|
kind: "personal" | "service";
|
|
499
571
|
computer_id?: string;
|
|
500
572
|
subagent_model?: string | null;
|
|
@@ -829,6 +901,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
829
901
|
type: "agent";
|
|
830
902
|
updated_at: string;
|
|
831
903
|
version: number;
|
|
904
|
+
databases: Array<{
|
|
905
|
+
id: string;
|
|
906
|
+
access: "read_only" | "read_write";
|
|
907
|
+
instructions?: string;
|
|
908
|
+
enabled?: boolean;
|
|
909
|
+
}>;
|
|
910
|
+
vector_stores: Array<{
|
|
911
|
+
id: string;
|
|
912
|
+
access: "read_only" | "read_write";
|
|
913
|
+
instructions?: string;
|
|
914
|
+
enabled?: boolean;
|
|
915
|
+
}>;
|
|
916
|
+
files: Array<{
|
|
917
|
+
id: string;
|
|
918
|
+
access: "read_only";
|
|
919
|
+
instructions?: string;
|
|
920
|
+
enabled?: boolean;
|
|
921
|
+
}>;
|
|
832
922
|
kind: "personal" | "service";
|
|
833
923
|
computer_id?: string;
|
|
834
924
|
subagent_model?: string | null;
|
|
@@ -961,6 +1051,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
961
1051
|
type: "agent";
|
|
962
1052
|
updated_at: string;
|
|
963
1053
|
version: number;
|
|
1054
|
+
databases: Array<{
|
|
1055
|
+
id: string;
|
|
1056
|
+
access: "read_only" | "read_write";
|
|
1057
|
+
instructions?: string;
|
|
1058
|
+
enabled?: boolean;
|
|
1059
|
+
}>;
|
|
1060
|
+
vector_stores: Array<{
|
|
1061
|
+
id: string;
|
|
1062
|
+
access: "read_only" | "read_write";
|
|
1063
|
+
instructions?: string;
|
|
1064
|
+
enabled?: boolean;
|
|
1065
|
+
}>;
|
|
1066
|
+
files: Array<{
|
|
1067
|
+
id: string;
|
|
1068
|
+
access: "read_only";
|
|
1069
|
+
instructions?: string;
|
|
1070
|
+
enabled?: boolean;
|
|
1071
|
+
}>;
|
|
964
1072
|
kind: "personal" | "service";
|
|
965
1073
|
computer_id?: string;
|
|
966
1074
|
subagent_model?: string | null;
|
|
@@ -1094,6 +1202,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
1094
1202
|
type: "agent";
|
|
1095
1203
|
updated_at: string;
|
|
1096
1204
|
version: number;
|
|
1205
|
+
databases: Array<{
|
|
1206
|
+
id: string;
|
|
1207
|
+
access: "read_only" | "read_write";
|
|
1208
|
+
instructions?: string;
|
|
1209
|
+
enabled?: boolean;
|
|
1210
|
+
}>;
|
|
1211
|
+
vector_stores: Array<{
|
|
1212
|
+
id: string;
|
|
1213
|
+
access: "read_only" | "read_write";
|
|
1214
|
+
instructions?: string;
|
|
1215
|
+
enabled?: boolean;
|
|
1216
|
+
}>;
|
|
1217
|
+
files: Array<{
|
|
1218
|
+
id: string;
|
|
1219
|
+
access: "read_only";
|
|
1220
|
+
instructions?: string;
|
|
1221
|
+
enabled?: boolean;
|
|
1222
|
+
}>;
|
|
1097
1223
|
kind: "personal" | "service";
|
|
1098
1224
|
computer_id?: string;
|
|
1099
1225
|
subagent_model?: string | null;
|
|
@@ -3455,6 +3581,14 @@ export declare function createFile(transport: Transport): {
|
|
|
3455
3581
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3456
3582
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
|
|
3457
3583
|
};
|
|
3584
|
+
uploads: {
|
|
3585
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3586
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3587
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3588
|
+
parts: {
|
|
3589
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3590
|
+
};
|
|
3591
|
+
};
|
|
3458
3592
|
};
|
|
3459
3593
|
export declare function createKnowledge(transport: Transport): {
|
|
3460
3594
|
vectorStores: {
|
|
@@ -4498,6 +4632,120 @@ export declare function createSearch(transport: Transport): {
|
|
|
4498
4632
|
}>;
|
|
4499
4633
|
};
|
|
4500
4634
|
};
|
|
4635
|
+
export declare function createTicket(transport: Transport): {
|
|
4636
|
+
activity: {
|
|
4637
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
|
|
4638
|
+
activity: Array<Types.TicketActivity>;
|
|
4639
|
+
next_page_token: string;
|
|
4640
|
+
}>;
|
|
4641
|
+
};
|
|
4642
|
+
comments: {
|
|
4643
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
|
|
4644
|
+
reactions: {
|
|
4645
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
4646
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
4647
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
|
|
4648
|
+
reactions: Array<Types.TicketReaction>;
|
|
4649
|
+
next_page_token: string;
|
|
4650
|
+
}>;
|
|
4651
|
+
};
|
|
4652
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
|
|
4653
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
|
|
4654
|
+
};
|
|
4655
|
+
labels: {
|
|
4656
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
|
|
4657
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
|
|
4658
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
|
|
4659
|
+
labels: Array<Types.TicketLabel>;
|
|
4660
|
+
next_page_token: string;
|
|
4661
|
+
}>;
|
|
4662
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
|
|
4663
|
+
};
|
|
4664
|
+
milestones: {
|
|
4665
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
|
|
4666
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
|
|
4667
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
|
|
4668
|
+
milestones: Array<Types.TicketMilestone>;
|
|
4669
|
+
next_page_token: string;
|
|
4670
|
+
}>;
|
|
4671
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
4672
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
4673
|
+
};
|
|
4674
|
+
repositories: {
|
|
4675
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
|
|
4676
|
+
repositories: Array<Types.TicketRepository>;
|
|
4677
|
+
next_page_token: string;
|
|
4678
|
+
}>;
|
|
4679
|
+
};
|
|
4680
|
+
tickets: {
|
|
4681
|
+
comments: {
|
|
4682
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
|
|
4683
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
|
|
4684
|
+
comments: Array<Types.TicketComment>;
|
|
4685
|
+
next_page_token: string;
|
|
4686
|
+
}>;
|
|
4687
|
+
};
|
|
4688
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
|
|
4689
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
|
|
4690
|
+
dependencies: {
|
|
4691
|
+
blockedBy: {
|
|
4692
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
|
|
4693
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
|
|
4694
|
+
};
|
|
4695
|
+
retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
|
|
4696
|
+
tickets: Array<Types.TicketRecord>;
|
|
4697
|
+
next_page_token: string;
|
|
4698
|
+
}>;
|
|
4699
|
+
retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
|
|
4700
|
+
tickets: Array<Types.TicketRecord>;
|
|
4701
|
+
next_page_token: string;
|
|
4702
|
+
}>;
|
|
4703
|
+
};
|
|
4704
|
+
events: {
|
|
4705
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
|
|
4706
|
+
events: Array<Types.TicketEvent>;
|
|
4707
|
+
next_page_token: string;
|
|
4708
|
+
}>;
|
|
4709
|
+
};
|
|
4710
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
|
|
4711
|
+
tickets: Array<Types.TicketRecord>;
|
|
4712
|
+
next_page_token: string;
|
|
4713
|
+
total_size?: number;
|
|
4714
|
+
}>;
|
|
4715
|
+
reactions: {
|
|
4716
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
4717
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
4718
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
|
|
4719
|
+
reactions: Array<Types.TicketReaction>;
|
|
4720
|
+
next_page_token: string;
|
|
4721
|
+
}>;
|
|
4722
|
+
};
|
|
4723
|
+
relations: {
|
|
4724
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
|
|
4725
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
|
|
4726
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
|
|
4727
|
+
tickets: Array<Types.TicketRecord>;
|
|
4728
|
+
next_page_token: string;
|
|
4729
|
+
}>;
|
|
4730
|
+
};
|
|
4731
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
4732
|
+
subTickets: {
|
|
4733
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
|
|
4734
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
|
|
4735
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
|
|
4736
|
+
tickets: Array<Types.TicketRecord>;
|
|
4737
|
+
next_page_token: string;
|
|
4738
|
+
}>;
|
|
4739
|
+
};
|
|
4740
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
4741
|
+
updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
|
|
4742
|
+
};
|
|
4743
|
+
types: {
|
|
4744
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
|
|
4745
|
+
types: Array<Types.TicketType>;
|
|
4746
|
+
}>;
|
|
4747
|
+
};
|
|
4748
|
+
};
|
|
4501
4749
|
export declare function createVault(transport: Transport): {
|
|
4502
4750
|
authorizations: {
|
|
4503
4751
|
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
@@ -4567,5 +4815,6 @@ export declare const resourceFactories: {
|
|
|
4567
4815
|
organization: typeof createOrganization;
|
|
4568
4816
|
sandbox: typeof createSandbox;
|
|
4569
4817
|
search: typeof createSearch;
|
|
4818
|
+
ticket: typeof createTicket;
|
|
4570
4819
|
vault: typeof createVault;
|
|
4571
4820
|
};
|
|
@@ -400,6 +400,14 @@ export function createFile(transport) {
|
|
|
400
400
|
retrieve: bind(transport, sdk.fileRetrieveFile),
|
|
401
401
|
retrieveContent: bind(transport, sdk.fileRetrieveFileContent),
|
|
402
402
|
},
|
|
403
|
+
uploads: {
|
|
404
|
+
cancel: bind(transport, sdk.fileCancelUpload),
|
|
405
|
+
complete: bind(transport, sdk.fileCompleteUpload),
|
|
406
|
+
create: bind(transport, sdk.fileCreateUpload),
|
|
407
|
+
parts: {
|
|
408
|
+
create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
409
|
+
},
|
|
410
|
+
},
|
|
403
411
|
};
|
|
404
412
|
}
|
|
405
413
|
export function createKnowledge(transport) {
|
|
@@ -695,6 +703,80 @@ export function createSearch(transport) {
|
|
|
695
703
|
},
|
|
696
704
|
};
|
|
697
705
|
}
|
|
706
|
+
export function createTicket(transport) {
|
|
707
|
+
return {
|
|
708
|
+
activity: {
|
|
709
|
+
retrieve: bind(transport, sdk.ticketGetActivity),
|
|
710
|
+
},
|
|
711
|
+
comments: {
|
|
712
|
+
delete: bind(transport, sdk.ticketDeleteCommentsId),
|
|
713
|
+
reactions: {
|
|
714
|
+
create: bind(transport, sdk.ticketPostCommentsIdReactions),
|
|
715
|
+
delete: bind(transport, sdk.ticketDeleteCommentsIdReactionsContent),
|
|
716
|
+
list: bind(transport, sdk.ticketGetCommentsIdReactions),
|
|
717
|
+
},
|
|
718
|
+
retrieve: bind(transport, sdk.ticketGetCommentsId),
|
|
719
|
+
update: bind(transport, sdk.ticketPatchCommentsId),
|
|
720
|
+
},
|
|
721
|
+
labels: {
|
|
722
|
+
create: bind(transport, sdk.ticketPostLabels),
|
|
723
|
+
delete: bind(transport, sdk.ticketDeleteLabelsName),
|
|
724
|
+
list: bind(transport, sdk.ticketGetLabels),
|
|
725
|
+
update: bind(transport, sdk.ticketPatchLabelsName),
|
|
726
|
+
},
|
|
727
|
+
milestones: {
|
|
728
|
+
create: bind(transport, sdk.ticketPostMilestones),
|
|
729
|
+
delete: bind(transport, sdk.ticketDeleteMilestonesNumber),
|
|
730
|
+
list: bind(transport, sdk.ticketGetMilestones),
|
|
731
|
+
retrieve: bind(transport, sdk.ticketGetMilestonesNumber),
|
|
732
|
+
update: bind(transport, sdk.ticketPatchMilestonesNumber),
|
|
733
|
+
},
|
|
734
|
+
repositories: {
|
|
735
|
+
list: bind(transport, sdk.ticketGetRepositories),
|
|
736
|
+
},
|
|
737
|
+
tickets: {
|
|
738
|
+
comments: {
|
|
739
|
+
create: bind(transport, sdk.ticketPostTicketsNumberComments),
|
|
740
|
+
list: bind(transport, sdk.ticketGetTicketsNumberComments),
|
|
741
|
+
},
|
|
742
|
+
create: bind(transport, sdk.ticketPostTickets),
|
|
743
|
+
deleteLock: bind(transport, sdk.ticketDeleteTicketsNumberLock),
|
|
744
|
+
dependencies: {
|
|
745
|
+
blockedBy: {
|
|
746
|
+
create: bind(transport, sdk.ticketPostTicketsNumberDependenciesBlockedBy),
|
|
747
|
+
delete: bind(transport, sdk.ticketDeleteTicketsNumberDependenciesBlockedByN),
|
|
748
|
+
},
|
|
749
|
+
retrieveBlockedBy: bind(transport, sdk.ticketGetTicketsNumberDependenciesBlockedBy),
|
|
750
|
+
retrieveBlocking: bind(transport, sdk.ticketGetTicketsNumberDependenciesBlocking),
|
|
751
|
+
},
|
|
752
|
+
events: {
|
|
753
|
+
list: bind(transport, sdk.ticketGetTicketsNumberEvents),
|
|
754
|
+
},
|
|
755
|
+
list: bind(transport, sdk.ticketGetTickets),
|
|
756
|
+
reactions: {
|
|
757
|
+
create: bind(transport, sdk.ticketPostTicketsNumberReactions),
|
|
758
|
+
delete: bind(transport, sdk.ticketDeleteTicketsNumberReactionsContent),
|
|
759
|
+
list: bind(transport, sdk.ticketGetTicketsNumberReactions),
|
|
760
|
+
},
|
|
761
|
+
relations: {
|
|
762
|
+
create: bind(transport, sdk.ticketPostTicketsNumberRelations),
|
|
763
|
+
delete: bind(transport, sdk.ticketDeleteTicketsNumberRelationsN),
|
|
764
|
+
list: bind(transport, sdk.ticketGetTicketsNumberRelations),
|
|
765
|
+
},
|
|
766
|
+
retrieve: bind(transport, sdk.ticketGetTicketsNumber),
|
|
767
|
+
subTickets: {
|
|
768
|
+
create: bind(transport, sdk.ticketPostTicketsNumberSubTickets),
|
|
769
|
+
delete: bind(transport, sdk.ticketDeleteTicketsNumberSubTicketsChild),
|
|
770
|
+
list: bind(transport, sdk.ticketGetTicketsNumberSubTickets),
|
|
771
|
+
},
|
|
772
|
+
update: bind(transport, sdk.ticketPatchTicketsNumber),
|
|
773
|
+
updateLock: bind(transport, sdk.ticketPutTicketsNumberLock),
|
|
774
|
+
},
|
|
775
|
+
types: {
|
|
776
|
+
list: bind(transport, sdk.ticketGetTypes),
|
|
777
|
+
},
|
|
778
|
+
};
|
|
779
|
+
}
|
|
698
780
|
export function createVault(transport) {
|
|
699
781
|
return {
|
|
700
782
|
authorizations: {
|
|
@@ -766,5 +848,6 @@ export const resourceFactories = {
|
|
|
766
848
|
organization: createOrganization,
|
|
767
849
|
sandbox: createSandbox,
|
|
768
850
|
search: createSearch,
|
|
851
|
+
ticket: createTicket,
|
|
769
852
|
vault: createVault,
|
|
770
853
|
};
|