@superdurable/connector-atlassian-bitbucket 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dex-connector.json +1367 -4
- package/dist/chunk-4VFVRU2P.js +1020 -0
- package/dist/connection-DtDaG9sh.d.ts +641 -0
- package/dist/index.d.ts +1335 -10
- package/dist/index.js +1821 -35
- package/dist/mock.d.ts +388 -7
- package/dist/mock.js +968 -13
- package/package.json +6 -4
- package/dist/chunk-WKSBYF2I.js +0 -151
- package/dist/connection-DbC0QPe8.d.ts +0 -147
package/dist/mock.d.ts
CHANGED
|
@@ -1,21 +1,382 @@
|
|
|
1
|
-
import { MockQuery, Case } from '@superdurable/connectors-sdk/connectormock';
|
|
1
|
+
import { MockQuery, MockMutation, Case } from '@superdurable/connectors-sdk/connectormock';
|
|
2
2
|
import { Failure } from '@superdurable/connectors-sdk';
|
|
3
|
-
import { O as Operations,
|
|
3
|
+
import { O as Operations, a as Connection, L as ListBranchesInput, m as BranchPage, g as BranchRefInput, B as Branch, C as CreateBranchInput, D as DeletedBranch, f as PullRequestActionInput, n as PullRequestCommentPage, h as PullRequestCommentIDInput, P as PullRequestComment, b as CreatePullRequestCommentInput, U as UpdatePullRequestCommentInput, i as DeletedPullRequestComment, c as CreatePullRequestInput, d as PullRequest, e as CreateRepositoryInput, R as Repository, t as UpdateRepositoryInput, j as DeleteRepositoryInput, k as DeletedRepository, l as GetRepositoryInput, G as GetPullRequestInput, s as UpdatePullRequestTitleInput, q as ListRepositoriesInput, r as RepositoryPage, o as ListPullRequestsInput, p as PullRequestPage, z as BranchTarget, $ as PullRequestCommentContent, a3 as PullRequestCommentResolution } from './connection-DtDaG9sh.js';
|
|
4
4
|
import 'zod';
|
|
5
|
+
import '@superdurable/dex';
|
|
5
6
|
|
|
6
|
-
/** Go zero value for
|
|
7
|
-
declare const
|
|
7
|
+
/** Go zero value for ListBranchesInput in scripted cases. */
|
|
8
|
+
declare const emptyListBranchesInput: ListBranchesInput;
|
|
9
|
+
/** Go zero value for BranchTarget in scripted cases. */
|
|
10
|
+
declare const emptyBranchTarget: BranchTarget;
|
|
11
|
+
/** Go zero value for Branch in scripted cases. */
|
|
12
|
+
declare const emptyBranch: Branch;
|
|
13
|
+
/** Go zero value for BranchPage in scripted cases. */
|
|
14
|
+
declare const emptyBranchPage: BranchPage;
|
|
15
|
+
/** Go zero value for BranchRefInput in scripted cases. */
|
|
16
|
+
declare const emptyBranchRefInput: BranchRefInput;
|
|
17
|
+
/** Go zero value for CreateBranchInput in scripted cases. */
|
|
18
|
+
declare const emptyCreateBranchInput: CreateBranchInput;
|
|
19
|
+
/** Go zero value for DeletedBranch in scripted cases. */
|
|
20
|
+
declare const emptyDeletedBranch: DeletedBranch;
|
|
21
|
+
/** Go zero value for PullRequestActionInput in scripted cases. */
|
|
22
|
+
declare const emptyPullRequestActionInput: PullRequestActionInput;
|
|
23
|
+
/** Go zero value for PullRequestCommentContent in scripted cases. */
|
|
24
|
+
declare const emptyPullRequestCommentContent: PullRequestCommentContent;
|
|
25
|
+
/** Go zero value for PullRequestCommentResolution in scripted cases. */
|
|
26
|
+
declare const emptyPullRequestCommentResolution: PullRequestCommentResolution;
|
|
27
|
+
/** Go zero value for PullRequestComment in scripted cases. */
|
|
28
|
+
declare const emptyPullRequestComment: PullRequestComment;
|
|
29
|
+
/** Go zero value for PullRequestCommentPage in scripted cases. */
|
|
30
|
+
declare const emptyPullRequestCommentPage: PullRequestCommentPage;
|
|
31
|
+
/** Go zero value for PullRequestCommentIDInput in scripted cases. */
|
|
32
|
+
declare const emptyPullRequestCommentIDInput: PullRequestCommentIDInput;
|
|
33
|
+
/** Go zero value for CreatePullRequestCommentInput in scripted cases. */
|
|
34
|
+
declare const emptyCreatePullRequestCommentInput: CreatePullRequestCommentInput;
|
|
35
|
+
/** Go zero value for UpdatePullRequestCommentInput in scripted cases. */
|
|
36
|
+
declare const emptyUpdatePullRequestCommentInput: UpdatePullRequestCommentInput;
|
|
37
|
+
/** Go zero value for DeletedPullRequestComment in scripted cases. */
|
|
38
|
+
declare const emptyDeletedPullRequestComment: DeletedPullRequestComment;
|
|
39
|
+
/** Go zero value for CreatePullRequestInput in scripted cases. */
|
|
40
|
+
declare const emptyCreatePullRequestInput: CreatePullRequestInput;
|
|
41
|
+
/** Go zero value for PullRequest in scripted cases. */
|
|
42
|
+
declare const emptyPullRequest: PullRequest;
|
|
43
|
+
/** Go zero value for CreateRepositoryInput in scripted cases. */
|
|
44
|
+
declare const emptyCreateRepositoryInput: CreateRepositoryInput;
|
|
8
45
|
/** Go zero value for Repository in scripted cases. */
|
|
9
46
|
declare const emptyRepository: Repository;
|
|
47
|
+
/** Go zero value for UpdateRepositoryInput in scripted cases. */
|
|
48
|
+
declare const emptyUpdateRepositoryInput: UpdateRepositoryInput;
|
|
49
|
+
/** Go zero value for DeleteRepositoryInput in scripted cases. */
|
|
50
|
+
declare const emptyDeleteRepositoryInput: DeleteRepositoryInput;
|
|
51
|
+
/** Go zero value for DeletedRepository in scripted cases. */
|
|
52
|
+
declare const emptyDeletedRepository: DeletedRepository;
|
|
53
|
+
/** Go zero value for GetRepositoryInput in scripted cases. */
|
|
54
|
+
declare const emptyGetRepositoryInput: GetRepositoryInput;
|
|
55
|
+
/** Go zero value for GetPullRequestInput in scripted cases. */
|
|
56
|
+
declare const emptyGetPullRequestInput: GetPullRequestInput;
|
|
57
|
+
/** Go zero value for UpdatePullRequestTitleInput in scripted cases. */
|
|
58
|
+
declare const emptyUpdatePullRequestTitleInput: UpdatePullRequestTitleInput;
|
|
59
|
+
/** Go zero value for ListRepositoriesInput in scripted cases. */
|
|
60
|
+
declare const emptyListRepositoriesInput: ListRepositoriesInput;
|
|
10
61
|
/** Go zero value for RepositoryPage in scripted cases. */
|
|
11
62
|
declare const emptyRepositoryPage: RepositoryPage;
|
|
12
63
|
/** Go zero value for ListPullRequestsInput in scripted cases. */
|
|
13
64
|
declare const emptyListPullRequestsInput: ListPullRequestsInput;
|
|
14
|
-
/** Go zero value for PullRequest in scripted cases. */
|
|
15
|
-
declare const emptyPullRequest: PullRequest;
|
|
16
65
|
/** Go zero value for PullRequestPage in scripted cases. */
|
|
17
66
|
declare const emptyPullRequestPage: PullRequestPage;
|
|
18
67
|
/** Script the listed branch. */
|
|
68
|
+
declare function listBranchesListed(value: BranchPage, failure?: Failure): Case<BranchPage>;
|
|
69
|
+
/** Script the notFound branch. */
|
|
70
|
+
declare function listBranchesNotFound(value: BranchPage, failure?: Failure): Case<BranchPage>;
|
|
71
|
+
/** Script the providerRejected branch. */
|
|
72
|
+
declare function listBranchesProviderRejected(value: BranchPage, failure?: Failure): Case<BranchPage>;
|
|
73
|
+
/** Script the invalidResponse branch. */
|
|
74
|
+
declare function listBranchesInvalidResponse(value: BranchPage, failure?: Failure): Case<BranchPage>;
|
|
75
|
+
/** Script the defect branch. */
|
|
76
|
+
declare function listBranchesDefect(value: BranchPage, failure?: Failure): Case<BranchPage>;
|
|
77
|
+
/** Script a safe retry of listBranches. */
|
|
78
|
+
declare function listBranchesRetry(failure: Failure, retryAfterMs?: number): Case<BranchPage>;
|
|
79
|
+
/** Manifest scenario listedDefault for listBranches. */
|
|
80
|
+
declare function listBranchesListedDefault(): Case<BranchPage>;
|
|
81
|
+
/** Default listBranches scenario. */
|
|
82
|
+
declare function listBranchesDefault(): Case<BranchPage>;
|
|
83
|
+
/** Script the found branch. */
|
|
84
|
+
declare function getBranchFound(value: Branch, failure?: Failure): Case<Branch>;
|
|
85
|
+
/** Script the notFound branch. */
|
|
86
|
+
declare function getBranchNotFound(value: Branch, failure?: Failure): Case<Branch>;
|
|
87
|
+
/** Script the providerRejected branch. */
|
|
88
|
+
declare function getBranchProviderRejected(value: Branch, failure?: Failure): Case<Branch>;
|
|
89
|
+
/** Script the invalidResponse branch. */
|
|
90
|
+
declare function getBranchInvalidResponse(value: Branch, failure?: Failure): Case<Branch>;
|
|
91
|
+
/** Script the defect branch. */
|
|
92
|
+
declare function getBranchDefect(value: Branch, failure?: Failure): Case<Branch>;
|
|
93
|
+
/** Script a safe retry of getBranch. */
|
|
94
|
+
declare function getBranchRetry(failure: Failure, retryAfterMs?: number): Case<Branch>;
|
|
95
|
+
/** Manifest scenario foundDefault for getBranch. */
|
|
96
|
+
declare function getBranchFoundDefault(): Case<Branch>;
|
|
97
|
+
/** Default getBranch scenario. */
|
|
98
|
+
declare function getBranchDefault(): Case<Branch>;
|
|
99
|
+
/** Script the created branch. */
|
|
100
|
+
declare function createBranchCreated(value: Branch, failure?: Failure): Case<Branch>;
|
|
101
|
+
/** Script the notFound branch. */
|
|
102
|
+
declare function createBranchNotFound(value: Branch, failure?: Failure): Case<Branch>;
|
|
103
|
+
/** Script the providerRejected branch. */
|
|
104
|
+
declare function createBranchProviderRejected(value: Branch, failure?: Failure): Case<Branch>;
|
|
105
|
+
/** Script the invalidResponse branch. */
|
|
106
|
+
declare function createBranchInvalidResponse(value: Branch, failure?: Failure): Case<Branch>;
|
|
107
|
+
/** Script the defect branch. */
|
|
108
|
+
declare function createBranchDefect(value: Branch, failure?: Failure): Case<Branch>;
|
|
109
|
+
/** Script a safe retry of createBranch. */
|
|
110
|
+
declare function createBranchRetry(failure: Failure, retryAfterMs?: number): Case<Branch>;
|
|
111
|
+
/** Manifest scenario createdDefault for createBranch. */
|
|
112
|
+
declare function createBranchCreatedDefault(): Case<Branch>;
|
|
113
|
+
/** Default createBranch scenario. */
|
|
114
|
+
declare function createBranchDefault(): Case<Branch>;
|
|
115
|
+
/** Script the deleted branch. */
|
|
116
|
+
declare function deleteBranchDeleted(value: DeletedBranch, failure?: Failure): Case<DeletedBranch>;
|
|
117
|
+
/** Script the notFound branch. */
|
|
118
|
+
declare function deleteBranchNotFound(value: DeletedBranch, failure?: Failure): Case<DeletedBranch>;
|
|
119
|
+
/** Script the providerRejected branch. */
|
|
120
|
+
declare function deleteBranchProviderRejected(value: DeletedBranch, failure?: Failure): Case<DeletedBranch>;
|
|
121
|
+
/** Script the defect branch. */
|
|
122
|
+
declare function deleteBranchDefect(value: DeletedBranch, failure?: Failure): Case<DeletedBranch>;
|
|
123
|
+
/** Script a safe retry of deleteBranch. */
|
|
124
|
+
declare function deleteBranchRetry(failure: Failure, retryAfterMs?: number): Case<DeletedBranch>;
|
|
125
|
+
/** Manifest scenario deletedDefault for deleteBranch. */
|
|
126
|
+
declare function deleteBranchDeletedDefault(): Case<DeletedBranch>;
|
|
127
|
+
/** Default deleteBranch scenario. */
|
|
128
|
+
declare function deleteBranchDefault(): Case<DeletedBranch>;
|
|
129
|
+
/** Script the listed branch. */
|
|
130
|
+
declare function listPullRequestCommentsListed(value: PullRequestCommentPage, failure?: Failure): Case<PullRequestCommentPage>;
|
|
131
|
+
/** Script the notFound branch. */
|
|
132
|
+
declare function listPullRequestCommentsNotFound(value: PullRequestCommentPage, failure?: Failure): Case<PullRequestCommentPage>;
|
|
133
|
+
/** Script the providerRejected branch. */
|
|
134
|
+
declare function listPullRequestCommentsProviderRejected(value: PullRequestCommentPage, failure?: Failure): Case<PullRequestCommentPage>;
|
|
135
|
+
/** Script the invalidResponse branch. */
|
|
136
|
+
declare function listPullRequestCommentsInvalidResponse(value: PullRequestCommentPage, failure?: Failure): Case<PullRequestCommentPage>;
|
|
137
|
+
/** Script the defect branch. */
|
|
138
|
+
declare function listPullRequestCommentsDefect(value: PullRequestCommentPage, failure?: Failure): Case<PullRequestCommentPage>;
|
|
139
|
+
/** Script a safe retry of listPullRequestComments. */
|
|
140
|
+
declare function listPullRequestCommentsRetry(failure: Failure, retryAfterMs?: number): Case<PullRequestCommentPage>;
|
|
141
|
+
/** Manifest scenario listedDefault for listPullRequestComments. */
|
|
142
|
+
declare function listPullRequestCommentsListedDefault(): Case<PullRequestCommentPage>;
|
|
143
|
+
/** Default listPullRequestComments scenario. */
|
|
144
|
+
declare function listPullRequestCommentsDefault(): Case<PullRequestCommentPage>;
|
|
145
|
+
/** Script the found branch. */
|
|
146
|
+
declare function getPullRequestCommentFound(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
147
|
+
/** Script the notFound branch. */
|
|
148
|
+
declare function getPullRequestCommentNotFound(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
149
|
+
/** Script the providerRejected branch. */
|
|
150
|
+
declare function getPullRequestCommentProviderRejected(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
151
|
+
/** Script the invalidResponse branch. */
|
|
152
|
+
declare function getPullRequestCommentInvalidResponse(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
153
|
+
/** Script the defect branch. */
|
|
154
|
+
declare function getPullRequestCommentDefect(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
155
|
+
/** Script a safe retry of getPullRequestComment. */
|
|
156
|
+
declare function getPullRequestCommentRetry(failure: Failure, retryAfterMs?: number): Case<PullRequestComment>;
|
|
157
|
+
/** Manifest scenario foundDefault for getPullRequestComment. */
|
|
158
|
+
declare function getPullRequestCommentFoundDefault(): Case<PullRequestComment>;
|
|
159
|
+
/** Default getPullRequestComment scenario. */
|
|
160
|
+
declare function getPullRequestCommentDefault(): Case<PullRequestComment>;
|
|
161
|
+
/** Script the created branch. */
|
|
162
|
+
declare function createPullRequestCommentCreated(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
163
|
+
/** Script the providerRejected branch. */
|
|
164
|
+
declare function createPullRequestCommentProviderRejected(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
165
|
+
/** Script the defect branch. */
|
|
166
|
+
declare function createPullRequestCommentDefect(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
167
|
+
/** Script a safe retry of createPullRequestComment. */
|
|
168
|
+
declare function createPullRequestCommentRetry(failure: Failure, retryAfterMs?: number): Case<PullRequestComment>;
|
|
169
|
+
/** Script an uncertain createPullRequestComment attempt. */
|
|
170
|
+
declare function createPullRequestCommentUncertain(value: PullRequestComment, failure: Failure): Case<PullRequestComment>;
|
|
171
|
+
/** Manifest scenario createdDefault for createPullRequestComment. */
|
|
172
|
+
declare function createPullRequestCommentCreatedDefault(): Case<PullRequestComment>;
|
|
173
|
+
/** Default createPullRequestComment scenario. */
|
|
174
|
+
declare function createPullRequestCommentDefault(): Case<PullRequestComment>;
|
|
175
|
+
/** Script the updated branch. */
|
|
176
|
+
declare function updatePullRequestCommentUpdated(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
177
|
+
/** Script the notFound branch. */
|
|
178
|
+
declare function updatePullRequestCommentNotFound(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
179
|
+
/** Script the providerRejected branch. */
|
|
180
|
+
declare function updatePullRequestCommentProviderRejected(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
181
|
+
/** Script the invalidResponse branch. */
|
|
182
|
+
declare function updatePullRequestCommentInvalidResponse(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
183
|
+
/** Script the defect branch. */
|
|
184
|
+
declare function updatePullRequestCommentDefect(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
185
|
+
/** Script a safe retry of updatePullRequestComment. */
|
|
186
|
+
declare function updatePullRequestCommentRetry(failure: Failure, retryAfterMs?: number): Case<PullRequestComment>;
|
|
187
|
+
/** Manifest scenario updatedDefault for updatePullRequestComment. */
|
|
188
|
+
declare function updatePullRequestCommentUpdatedDefault(): Case<PullRequestComment>;
|
|
189
|
+
/** Default updatePullRequestComment scenario. */
|
|
190
|
+
declare function updatePullRequestCommentDefault(): Case<PullRequestComment>;
|
|
191
|
+
/** Script the deleted branch. */
|
|
192
|
+
declare function deletePullRequestCommentDeleted(value: DeletedPullRequestComment, failure?: Failure): Case<DeletedPullRequestComment>;
|
|
193
|
+
/** Script the notFound branch. */
|
|
194
|
+
declare function deletePullRequestCommentNotFound(value: DeletedPullRequestComment, failure?: Failure): Case<DeletedPullRequestComment>;
|
|
195
|
+
/** Script the providerRejected branch. */
|
|
196
|
+
declare function deletePullRequestCommentProviderRejected(value: DeletedPullRequestComment, failure?: Failure): Case<DeletedPullRequestComment>;
|
|
197
|
+
/** Script the defect branch. */
|
|
198
|
+
declare function deletePullRequestCommentDefect(value: DeletedPullRequestComment, failure?: Failure): Case<DeletedPullRequestComment>;
|
|
199
|
+
/** Script a safe retry of deletePullRequestComment. */
|
|
200
|
+
declare function deletePullRequestCommentRetry(failure: Failure, retryAfterMs?: number): Case<DeletedPullRequestComment>;
|
|
201
|
+
/** Manifest scenario deletedDefault for deletePullRequestComment. */
|
|
202
|
+
declare function deletePullRequestCommentDeletedDefault(): Case<DeletedPullRequestComment>;
|
|
203
|
+
/** Default deletePullRequestComment scenario. */
|
|
204
|
+
declare function deletePullRequestCommentDefault(): Case<DeletedPullRequestComment>;
|
|
205
|
+
/** Script the resolved branch. */
|
|
206
|
+
declare function resolvePullRequestCommentResolved(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
207
|
+
/** Script the notFound branch. */
|
|
208
|
+
declare function resolvePullRequestCommentNotFound(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
209
|
+
/** Script the providerRejected branch. */
|
|
210
|
+
declare function resolvePullRequestCommentProviderRejected(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
211
|
+
/** Script the invalidResponse branch. */
|
|
212
|
+
declare function resolvePullRequestCommentInvalidResponse(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
213
|
+
/** Script the defect branch. */
|
|
214
|
+
declare function resolvePullRequestCommentDefect(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
215
|
+
/** Script a safe retry of resolvePullRequestComment. */
|
|
216
|
+
declare function resolvePullRequestCommentRetry(failure: Failure, retryAfterMs?: number): Case<PullRequestComment>;
|
|
217
|
+
/** Manifest scenario resolvedDefault for resolvePullRequestComment. */
|
|
218
|
+
declare function resolvePullRequestCommentResolvedDefault(): Case<PullRequestComment>;
|
|
219
|
+
/** Default resolvePullRequestComment scenario. */
|
|
220
|
+
declare function resolvePullRequestCommentDefault(): Case<PullRequestComment>;
|
|
221
|
+
/** Script the unresolved branch. */
|
|
222
|
+
declare function unresolvePullRequestCommentUnresolved(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
223
|
+
/** Script the notFound branch. */
|
|
224
|
+
declare function unresolvePullRequestCommentNotFound(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
225
|
+
/** Script the providerRejected branch. */
|
|
226
|
+
declare function unresolvePullRequestCommentProviderRejected(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
227
|
+
/** Script the invalidResponse branch. */
|
|
228
|
+
declare function unresolvePullRequestCommentInvalidResponse(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
229
|
+
/** Script the defect branch. */
|
|
230
|
+
declare function unresolvePullRequestCommentDefect(value: PullRequestComment, failure?: Failure): Case<PullRequestComment>;
|
|
231
|
+
/** Script a safe retry of unresolvePullRequestComment. */
|
|
232
|
+
declare function unresolvePullRequestCommentRetry(failure: Failure, retryAfterMs?: number): Case<PullRequestComment>;
|
|
233
|
+
/** Manifest scenario unresolvedDefault for unresolvePullRequestComment. */
|
|
234
|
+
declare function unresolvePullRequestCommentUnresolvedDefault(): Case<PullRequestComment>;
|
|
235
|
+
/** Default unresolvePullRequestComment scenario. */
|
|
236
|
+
declare function unresolvePullRequestCommentDefault(): Case<PullRequestComment>;
|
|
237
|
+
/** Script the created branch. */
|
|
238
|
+
declare function createPullRequestCreated(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
239
|
+
/** Script the providerRejected branch. */
|
|
240
|
+
declare function createPullRequestProviderRejected(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
241
|
+
/** Script the defect branch. */
|
|
242
|
+
declare function createPullRequestDefect(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
243
|
+
/** Script a safe retry of createPullRequest. */
|
|
244
|
+
declare function createPullRequestRetry(failure: Failure, retryAfterMs?: number): Case<PullRequest>;
|
|
245
|
+
/** Script an uncertain createPullRequest attempt. */
|
|
246
|
+
declare function createPullRequestUncertain(value: PullRequest, failure: Failure): Case<PullRequest>;
|
|
247
|
+
/** Manifest scenario createdDefault for createPullRequest. */
|
|
248
|
+
declare function createPullRequestCreatedDefault(): Case<PullRequest>;
|
|
249
|
+
/** Default createPullRequest scenario. */
|
|
250
|
+
declare function createPullRequestDefault(): Case<PullRequest>;
|
|
251
|
+
/** Script the merged branch. */
|
|
252
|
+
declare function mergePullRequestMerged(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
253
|
+
/** Script the notFound branch. */
|
|
254
|
+
declare function mergePullRequestNotFound(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
255
|
+
/** Script the providerRejected branch. */
|
|
256
|
+
declare function mergePullRequestProviderRejected(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
257
|
+
/** Script the invalidResponse branch. */
|
|
258
|
+
declare function mergePullRequestInvalidResponse(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
259
|
+
/** Script the defect branch. */
|
|
260
|
+
declare function mergePullRequestDefect(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
261
|
+
/** Script a safe retry of mergePullRequest. */
|
|
262
|
+
declare function mergePullRequestRetry(failure: Failure, retryAfterMs?: number): Case<PullRequest>;
|
|
263
|
+
/** Manifest scenario mergedDefault for mergePullRequest. */
|
|
264
|
+
declare function mergePullRequestMergedDefault(): Case<PullRequest>;
|
|
265
|
+
/** Default mergePullRequest scenario. */
|
|
266
|
+
declare function mergePullRequestDefault(): Case<PullRequest>;
|
|
267
|
+
/** Script the declined branch. */
|
|
268
|
+
declare function declinePullRequestDeclined(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
269
|
+
/** Script the notFound branch. */
|
|
270
|
+
declare function declinePullRequestNotFound(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
271
|
+
/** Script the providerRejected branch. */
|
|
272
|
+
declare function declinePullRequestProviderRejected(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
273
|
+
/** Script the invalidResponse branch. */
|
|
274
|
+
declare function declinePullRequestInvalidResponse(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
275
|
+
/** Script the defect branch. */
|
|
276
|
+
declare function declinePullRequestDefect(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
277
|
+
/** Script a safe retry of declinePullRequest. */
|
|
278
|
+
declare function declinePullRequestRetry(failure: Failure, retryAfterMs?: number): Case<PullRequest>;
|
|
279
|
+
/** Manifest scenario declinedDefault for declinePullRequest. */
|
|
280
|
+
declare function declinePullRequestDeclinedDefault(): Case<PullRequest>;
|
|
281
|
+
/** Default declinePullRequest scenario. */
|
|
282
|
+
declare function declinePullRequestDefault(): Case<PullRequest>;
|
|
283
|
+
/** Script the created branch. */
|
|
284
|
+
declare function createRepositoryCreated(value: Repository, failure?: Failure): Case<Repository>;
|
|
285
|
+
/** Script the notFound branch. */
|
|
286
|
+
declare function createRepositoryNotFound(value: Repository, failure?: Failure): Case<Repository>;
|
|
287
|
+
/** Script the providerRejected branch. */
|
|
288
|
+
declare function createRepositoryProviderRejected(value: Repository, failure?: Failure): Case<Repository>;
|
|
289
|
+
/** Script the invalidResponse branch. */
|
|
290
|
+
declare function createRepositoryInvalidResponse(value: Repository, failure?: Failure): Case<Repository>;
|
|
291
|
+
/** Script the defect branch. */
|
|
292
|
+
declare function createRepositoryDefect(value: Repository, failure?: Failure): Case<Repository>;
|
|
293
|
+
/** Script a safe retry of createRepository. */
|
|
294
|
+
declare function createRepositoryRetry(failure: Failure, retryAfterMs?: number): Case<Repository>;
|
|
295
|
+
/** Manifest scenario createdDefault for createRepository. */
|
|
296
|
+
declare function createRepositoryCreatedDefault(): Case<Repository>;
|
|
297
|
+
/** Default createRepository scenario. */
|
|
298
|
+
declare function createRepositoryDefault(): Case<Repository>;
|
|
299
|
+
/** Script the updated branch. */
|
|
300
|
+
declare function updateRepositoryUpdated(value: Repository, failure?: Failure): Case<Repository>;
|
|
301
|
+
/** Script the notFound branch. */
|
|
302
|
+
declare function updateRepositoryNotFound(value: Repository, failure?: Failure): Case<Repository>;
|
|
303
|
+
/** Script the providerRejected branch. */
|
|
304
|
+
declare function updateRepositoryProviderRejected(value: Repository, failure?: Failure): Case<Repository>;
|
|
305
|
+
/** Script the invalidResponse branch. */
|
|
306
|
+
declare function updateRepositoryInvalidResponse(value: Repository, failure?: Failure): Case<Repository>;
|
|
307
|
+
/** Script the defect branch. */
|
|
308
|
+
declare function updateRepositoryDefect(value: Repository, failure?: Failure): Case<Repository>;
|
|
309
|
+
/** Script a safe retry of updateRepository. */
|
|
310
|
+
declare function updateRepositoryRetry(failure: Failure, retryAfterMs?: number): Case<Repository>;
|
|
311
|
+
/** Manifest scenario updatedDefault for updateRepository. */
|
|
312
|
+
declare function updateRepositoryUpdatedDefault(): Case<Repository>;
|
|
313
|
+
/** Default updateRepository scenario. */
|
|
314
|
+
declare function updateRepositoryDefault(): Case<Repository>;
|
|
315
|
+
/** Script the deleted branch. */
|
|
316
|
+
declare function deleteRepositoryDeleted(value: DeletedRepository, failure?: Failure): Case<DeletedRepository>;
|
|
317
|
+
/** Script the notFound branch. */
|
|
318
|
+
declare function deleteRepositoryNotFound(value: DeletedRepository, failure?: Failure): Case<DeletedRepository>;
|
|
319
|
+
/** Script the providerRejected branch. */
|
|
320
|
+
declare function deleteRepositoryProviderRejected(value: DeletedRepository, failure?: Failure): Case<DeletedRepository>;
|
|
321
|
+
/** Script the invalidResponse branch. */
|
|
322
|
+
declare function deleteRepositoryInvalidResponse(value: DeletedRepository, failure?: Failure): Case<DeletedRepository>;
|
|
323
|
+
/** Script the defect branch. */
|
|
324
|
+
declare function deleteRepositoryDefect(value: DeletedRepository, failure?: Failure): Case<DeletedRepository>;
|
|
325
|
+
/** Script a safe retry of deleteRepository. */
|
|
326
|
+
declare function deleteRepositoryRetry(failure: Failure, retryAfterMs?: number): Case<DeletedRepository>;
|
|
327
|
+
/** Manifest scenario deletedDefault for deleteRepository. */
|
|
328
|
+
declare function deleteRepositoryDeletedDefault(): Case<DeletedRepository>;
|
|
329
|
+
/** Default deleteRepository scenario. */
|
|
330
|
+
declare function deleteRepositoryDefault(): Case<DeletedRepository>;
|
|
331
|
+
/** Script the found branch. */
|
|
332
|
+
declare function getRepositoryFound(value: Repository, failure?: Failure): Case<Repository>;
|
|
333
|
+
/** Script the notFound branch. */
|
|
334
|
+
declare function getRepositoryNotFound(value: Repository, failure?: Failure): Case<Repository>;
|
|
335
|
+
/** Script the providerRejected branch. */
|
|
336
|
+
declare function getRepositoryProviderRejected(value: Repository, failure?: Failure): Case<Repository>;
|
|
337
|
+
/** Script the invalidResponse branch. */
|
|
338
|
+
declare function getRepositoryInvalidResponse(value: Repository, failure?: Failure): Case<Repository>;
|
|
339
|
+
/** Script the defect branch. */
|
|
340
|
+
declare function getRepositoryDefect(value: Repository, failure?: Failure): Case<Repository>;
|
|
341
|
+
/** Script a safe retry of getRepository. */
|
|
342
|
+
declare function getRepositoryRetry(failure: Failure, retryAfterMs?: number): Case<Repository>;
|
|
343
|
+
/** Manifest scenario foundDefault for getRepository. */
|
|
344
|
+
declare function getRepositoryFoundDefault(): Case<Repository>;
|
|
345
|
+
/** Default getRepository scenario. */
|
|
346
|
+
declare function getRepositoryDefault(): Case<Repository>;
|
|
347
|
+
/** Script the found branch. */
|
|
348
|
+
declare function getPullRequestFound(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
349
|
+
/** Script the notFound branch. */
|
|
350
|
+
declare function getPullRequestNotFound(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
351
|
+
/** Script the providerRejected branch. */
|
|
352
|
+
declare function getPullRequestProviderRejected(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
353
|
+
/** Script the invalidResponse branch. */
|
|
354
|
+
declare function getPullRequestInvalidResponse(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
355
|
+
/** Script the defect branch. */
|
|
356
|
+
declare function getPullRequestDefect(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
357
|
+
/** Script a safe retry of getPullRequest. */
|
|
358
|
+
declare function getPullRequestRetry(failure: Failure, retryAfterMs?: number): Case<PullRequest>;
|
|
359
|
+
/** Manifest scenario foundDefault for getPullRequest. */
|
|
360
|
+
declare function getPullRequestFoundDefault(): Case<PullRequest>;
|
|
361
|
+
/** Default getPullRequest scenario. */
|
|
362
|
+
declare function getPullRequestDefault(): Case<PullRequest>;
|
|
363
|
+
/** Script the updated branch. */
|
|
364
|
+
declare function updatePullRequestTitleUpdated(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
365
|
+
/** Script the notFound branch. */
|
|
366
|
+
declare function updatePullRequestTitleNotFound(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
367
|
+
/** Script the providerRejected branch. */
|
|
368
|
+
declare function updatePullRequestTitleProviderRejected(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
369
|
+
/** Script the invalidResponse branch. */
|
|
370
|
+
declare function updatePullRequestTitleInvalidResponse(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
371
|
+
/** Script the defect branch. */
|
|
372
|
+
declare function updatePullRequestTitleDefect(value: PullRequest, failure?: Failure): Case<PullRequest>;
|
|
373
|
+
/** Script a safe retry of updatePullRequestTitle. */
|
|
374
|
+
declare function updatePullRequestTitleRetry(failure: Failure, retryAfterMs?: number): Case<PullRequest>;
|
|
375
|
+
/** Manifest scenario updatedDefault for updatePullRequestTitle. */
|
|
376
|
+
declare function updatePullRequestTitleUpdatedDefault(): Case<PullRequest>;
|
|
377
|
+
/** Default updatePullRequestTitle scenario. */
|
|
378
|
+
declare function updatePullRequestTitleDefault(): Case<PullRequest>;
|
|
379
|
+
/** Script the listed branch. */
|
|
19
380
|
declare function listRepositoriesListed(value: RepositoryPage, failure?: Failure): Case<RepositoryPage>;
|
|
20
381
|
/** Script the notFound branch. */
|
|
21
382
|
declare function listRepositoriesNotFound(value: RepositoryPage, failure?: Failure): Case<RepositoryPage>;
|
|
@@ -52,9 +413,29 @@ declare class GeneratedMock implements Operations {
|
|
|
52
413
|
#private;
|
|
53
414
|
constructor(connectionName: string);
|
|
54
415
|
connection(): Connection;
|
|
416
|
+
listBranches(): MockQuery<ListBranchesInput, BranchPage>;
|
|
417
|
+
getBranch(): MockQuery<BranchRefInput, Branch>;
|
|
418
|
+
createBranch(): MockMutation<CreateBranchInput, Branch>;
|
|
419
|
+
deleteBranch(): MockMutation<BranchRefInput, DeletedBranch>;
|
|
420
|
+
listPullRequestComments(): MockQuery<PullRequestActionInput, PullRequestCommentPage>;
|
|
421
|
+
getPullRequestComment(): MockQuery<PullRequestCommentIDInput, PullRequestComment>;
|
|
422
|
+
createPullRequestComment(): MockMutation<CreatePullRequestCommentInput, PullRequestComment>;
|
|
423
|
+
updatePullRequestComment(): MockMutation<UpdatePullRequestCommentInput, PullRequestComment>;
|
|
424
|
+
deletePullRequestComment(): MockMutation<PullRequestCommentIDInput, DeletedPullRequestComment>;
|
|
425
|
+
resolvePullRequestComment(): MockMutation<PullRequestCommentIDInput, PullRequestComment>;
|
|
426
|
+
unresolvePullRequestComment(): MockMutation<PullRequestCommentIDInput, PullRequestComment>;
|
|
427
|
+
createPullRequest(): MockMutation<CreatePullRequestInput, PullRequest>;
|
|
428
|
+
mergePullRequest(): MockMutation<PullRequestActionInput, PullRequest>;
|
|
429
|
+
declinePullRequest(): MockMutation<PullRequestActionInput, PullRequest>;
|
|
430
|
+
createRepository(): MockMutation<CreateRepositoryInput, Repository>;
|
|
431
|
+
updateRepository(): MockMutation<UpdateRepositoryInput, Repository>;
|
|
432
|
+
deleteRepository(): MockMutation<DeleteRepositoryInput, DeletedRepository>;
|
|
433
|
+
getRepository(): MockQuery<GetRepositoryInput, Repository>;
|
|
434
|
+
getPullRequest(): MockQuery<GetPullRequestInput, PullRequest>;
|
|
435
|
+
updatePullRequestTitle(): MockMutation<UpdatePullRequestTitleInput, PullRequest>;
|
|
55
436
|
listRepositories(): MockQuery<ListRepositoriesInput, RepositoryPage>;
|
|
56
437
|
listPullRequests(): MockQuery<ListPullRequestsInput, PullRequestPage>;
|
|
57
438
|
assertNoFailures(): void;
|
|
58
439
|
}
|
|
59
440
|
|
|
60
|
-
export { GeneratedMock, emptyListPullRequestsInput, emptyListRepositoriesInput, emptyPullRequest, emptyPullRequestPage, emptyRepository, emptyRepositoryPage, listPullRequestsDefault, listPullRequestsDefaultAnswer, listPullRequestsDefect, listPullRequestsInvalidResponse, listPullRequestsListed, listPullRequestsNotFound, listPullRequestsProviderRejected, listPullRequestsRetry, listRepositoriesDefault, listRepositoriesDefaultAnswer, listRepositoriesDefect, listRepositoriesInvalidResponse, listRepositoriesListed, listRepositoriesNotFound, listRepositoriesProviderRejected, listRepositoriesRetry };
|
|
441
|
+
export { GeneratedMock, createBranchCreated, createBranchCreatedDefault, createBranchDefault, createBranchDefect, createBranchInvalidResponse, createBranchNotFound, createBranchProviderRejected, createBranchRetry, createPullRequestCommentCreated, createPullRequestCommentCreatedDefault, createPullRequestCommentDefault, createPullRequestCommentDefect, createPullRequestCommentProviderRejected, createPullRequestCommentRetry, createPullRequestCommentUncertain, createPullRequestCreated, createPullRequestCreatedDefault, createPullRequestDefault, createPullRequestDefect, createPullRequestProviderRejected, createPullRequestRetry, createPullRequestUncertain, createRepositoryCreated, createRepositoryCreatedDefault, createRepositoryDefault, createRepositoryDefect, createRepositoryInvalidResponse, createRepositoryNotFound, createRepositoryProviderRejected, createRepositoryRetry, declinePullRequestDeclined, declinePullRequestDeclinedDefault, declinePullRequestDefault, declinePullRequestDefect, declinePullRequestInvalidResponse, declinePullRequestNotFound, declinePullRequestProviderRejected, declinePullRequestRetry, deleteBranchDefault, deleteBranchDefect, deleteBranchDeleted, deleteBranchDeletedDefault, deleteBranchNotFound, deleteBranchProviderRejected, deleteBranchRetry, deletePullRequestCommentDefault, deletePullRequestCommentDefect, deletePullRequestCommentDeleted, deletePullRequestCommentDeletedDefault, deletePullRequestCommentNotFound, deletePullRequestCommentProviderRejected, deletePullRequestCommentRetry, deleteRepositoryDefault, deleteRepositoryDefect, deleteRepositoryDeleted, deleteRepositoryDeletedDefault, deleteRepositoryInvalidResponse, deleteRepositoryNotFound, deleteRepositoryProviderRejected, deleteRepositoryRetry, emptyBranch, emptyBranchPage, emptyBranchRefInput, emptyBranchTarget, emptyCreateBranchInput, emptyCreatePullRequestCommentInput, emptyCreatePullRequestInput, emptyCreateRepositoryInput, emptyDeleteRepositoryInput, emptyDeletedBranch, emptyDeletedPullRequestComment, emptyDeletedRepository, emptyGetPullRequestInput, emptyGetRepositoryInput, emptyListBranchesInput, emptyListPullRequestsInput, emptyListRepositoriesInput, emptyPullRequest, emptyPullRequestActionInput, emptyPullRequestComment, emptyPullRequestCommentContent, emptyPullRequestCommentIDInput, emptyPullRequestCommentPage, emptyPullRequestCommentResolution, emptyPullRequestPage, emptyRepository, emptyRepositoryPage, emptyUpdatePullRequestCommentInput, emptyUpdatePullRequestTitleInput, emptyUpdateRepositoryInput, getBranchDefault, getBranchDefect, getBranchFound, getBranchFoundDefault, getBranchInvalidResponse, getBranchNotFound, getBranchProviderRejected, getBranchRetry, getPullRequestCommentDefault, getPullRequestCommentDefect, getPullRequestCommentFound, getPullRequestCommentFoundDefault, getPullRequestCommentInvalidResponse, getPullRequestCommentNotFound, getPullRequestCommentProviderRejected, getPullRequestCommentRetry, getPullRequestDefault, getPullRequestDefect, getPullRequestFound, getPullRequestFoundDefault, getPullRequestInvalidResponse, getPullRequestNotFound, getPullRequestProviderRejected, getPullRequestRetry, getRepositoryDefault, getRepositoryDefect, getRepositoryFound, getRepositoryFoundDefault, getRepositoryInvalidResponse, getRepositoryNotFound, getRepositoryProviderRejected, getRepositoryRetry, listBranchesDefault, listBranchesDefect, listBranchesInvalidResponse, listBranchesListed, listBranchesListedDefault, listBranchesNotFound, listBranchesProviderRejected, listBranchesRetry, listPullRequestCommentsDefault, listPullRequestCommentsDefect, listPullRequestCommentsInvalidResponse, listPullRequestCommentsListed, listPullRequestCommentsListedDefault, listPullRequestCommentsNotFound, listPullRequestCommentsProviderRejected, listPullRequestCommentsRetry, listPullRequestsDefault, listPullRequestsDefaultAnswer, listPullRequestsDefect, listPullRequestsInvalidResponse, listPullRequestsListed, listPullRequestsNotFound, listPullRequestsProviderRejected, listPullRequestsRetry, listRepositoriesDefault, listRepositoriesDefaultAnswer, listRepositoriesDefect, listRepositoriesInvalidResponse, listRepositoriesListed, listRepositoriesNotFound, listRepositoriesProviderRejected, listRepositoriesRetry, mergePullRequestDefault, mergePullRequestDefect, mergePullRequestInvalidResponse, mergePullRequestMerged, mergePullRequestMergedDefault, mergePullRequestNotFound, mergePullRequestProviderRejected, mergePullRequestRetry, resolvePullRequestCommentDefault, resolvePullRequestCommentDefect, resolvePullRequestCommentInvalidResponse, resolvePullRequestCommentNotFound, resolvePullRequestCommentProviderRejected, resolvePullRequestCommentResolved, resolvePullRequestCommentResolvedDefault, resolvePullRequestCommentRetry, unresolvePullRequestCommentDefault, unresolvePullRequestCommentDefect, unresolvePullRequestCommentInvalidResponse, unresolvePullRequestCommentNotFound, unresolvePullRequestCommentProviderRejected, unresolvePullRequestCommentRetry, unresolvePullRequestCommentUnresolved, unresolvePullRequestCommentUnresolvedDefault, updatePullRequestCommentDefault, updatePullRequestCommentDefect, updatePullRequestCommentInvalidResponse, updatePullRequestCommentNotFound, updatePullRequestCommentProviderRejected, updatePullRequestCommentRetry, updatePullRequestCommentUpdated, updatePullRequestCommentUpdatedDefault, updatePullRequestTitleDefault, updatePullRequestTitleDefect, updatePullRequestTitleInvalidResponse, updatePullRequestTitleNotFound, updatePullRequestTitleProviderRejected, updatePullRequestTitleRetry, updatePullRequestTitleUpdated, updatePullRequestTitleUpdatedDefault, updateRepositoryDefault, updateRepositoryDefect, updateRepositoryInvalidResponse, updateRepositoryNotFound, updateRepositoryProviderRejected, updateRepositoryRetry, updateRepositoryUpdated, updateRepositoryUpdatedDefault };
|