@superdurable/connector-copper 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +6 -2
- package/dex-connector.json +1760 -0
- package/dist/chunk-HEWAN7RM.js +1335 -0
- package/dist/connection-Sm_oLyz3.d.ts +830 -0
- package/dist/index.d.ts +1803 -0
- package/dist/index.js +2135 -0
- package/dist/mock.d.ts +635 -0
- package/dist/mock.js +1537 -0
- package/package.json +59 -4
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1803 @@
|
|
|
1
|
+
import { C as CreateCompanyInput, a as CompanyMetadata, b as Connection, c as CreateLeadInput, L as LeadMetadata, d as CreateOpportunityInput, O as OpportunityMetadata, e as CreatePersonInput, P as PersonMetadata, f as CreateProjectInput, g as ProjectMetadata, h as CreateTaskInput, T as TaskMetadata, D as DeleteCompanyInput, i as DeleteCompanyOutput, j as DeleteLeadInput, k as DeleteLeadOutput, l as DeleteOpportunityInput, m as DeleteOpportunityOutput, n as DeletePersonInput, o as DeletePersonOutput, p as DeleteProjectInput, q as DeleteProjectOutput, r as DeleteTaskInput, s as DeleteTaskOutput, G as GetCompanyInput, t as GetLeadInput, u as GetOpportunityInput, v as GetPersonInput, w as GetProjectInput, x as GetTaskInput, y as ListCompaniesInput, z as CompaniesPage, A as ListCustomerSourcesInput, B as CustomerSourcesList, E as ListLeadStatusesInput, F as LeadStatusesList, H as ListLeadsInput, I as LeadsPage, J as ListOpportunitiesInput, K as OpportunitiesPage, M as ListPeopleInput, N as PeoplePage, Q as ListProjectsInput, R as ProjectsPage, S as ListTasksInput, U as TasksPage, V as ListUsersInput, W as UsersPage, X as UpdateCompanyInput, Y as UpdateLeadInput, Z as UpdateOpportunityInput, _ as UpdatePersonInput, $ as UpdateProjectInput, a0 as UpdateTaskInput, a1 as Operations, a2 as Config, a3 as Credentials } from './connection-Sm_oLyz3.js';
|
|
2
|
+
export { a4 as CompaniesPageSchema, a5 as CompanyMetadataSchema, a6 as ConfigSchema, a7 as CreateCompanyInputSchema, a8 as CreateLeadInputSchema, a9 as CreateOpportunityInputSchema, aa as CreatePersonInputSchema, ab as CreateProjectInputSchema, ac as CreateTaskInputSchema, ad as CredentialMaterialError, ae as CredentialSource, af as CustomerSourceMetadata, ag as CustomerSourceMetadataSchema, ah as CustomerSourcesListSchema, ai as DeleteCompanyInputSchema, aj as DeleteCompanyOutputSchema, ak as DeleteLeadInputSchema, al as DeleteLeadOutputSchema, am as DeleteOpportunityInputSchema, an as DeleteOpportunityOutputSchema, ao as DeletePersonInputSchema, ap as DeletePersonOutputSchema, aq as DeleteProjectInputSchema, ar as DeleteProjectOutputSchema, as as DeleteTaskInputSchema, at as DeleteTaskOutputSchema, au as GetCompanyInputSchema, av as GetLeadInputSchema, aw as GetOpportunityInputSchema, ax as GetPersonInputSchema, ay as GetProjectInputSchema, az as GetTaskInputSchema, aA as LeadMetadataSchema, aB as LeadStatusMetadata, aC as LeadStatusMetadataSchema, aD as LeadStatusesListSchema, aE as LeadsPageSchema, aF as ListCompaniesInputSchema, aG as ListCustomerSourcesInputSchema, aH as ListLeadStatusesInputSchema, aI as ListLeadsInputSchema, aJ as ListOpportunitiesInputSchema, aK as ListPeopleInputSchema, aL as ListProjectsInputSchema, aM as ListTasksInputSchema, aN as ListUsersInputSchema, aO as OpportunitiesPageSchema, aP as OpportunityMetadataSchema, aQ as PeoplePageSchema, aR as PersonMetadataSchema, aS as ProjectMetadataSchema, aT as ProjectsPageSchema, aU as TaskMetadataSchema, aV as TasksPageSchema, aW as UpdateCompanyInputSchema, aX as UpdateLeadInputSchema, aY as UpdateOpportunityInputSchema, aZ as UpdatePersonInputSchema, a_ as UpdateProjectInputSchema, a$ as UpdateTaskInputSchema, b0 as UserMetadata, b1 as UserMetadataSchema, b2 as UsersPageSchema, b3 as decodeCredentials, b4 as isCredentialMaterialError, b5 as newConnection, b6 as newConnectionWithOperations } from './connection-Sm_oLyz3.js';
|
|
3
|
+
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, MutationAttempt, Failure, QueryAttempt, CredentialProvider } from '@superdurable/connectors-sdk';
|
|
4
|
+
import { StepTarget } from '@superdurable/dex';
|
|
5
|
+
import { LoadedProject } from '@superdurable/connectors-sdk/projectconfig';
|
|
6
|
+
import { ProviderRequest, ProviderResponse } from '@superdurable/connectors-sdk/providerhttp';
|
|
7
|
+
import 'zod';
|
|
8
|
+
|
|
9
|
+
/** Stable connector identity. */
|
|
10
|
+
declare const ConnectorID = "copper";
|
|
11
|
+
/** Provider identity for named connections. */
|
|
12
|
+
declare const ProviderID = "copper";
|
|
13
|
+
/** Branch IDs for createCompany. */
|
|
14
|
+
declare const CreateCompanyBranch: {
|
|
15
|
+
readonly Created: "created";
|
|
16
|
+
readonly ProviderRejected: "providerRejected";
|
|
17
|
+
readonly Uncertain: "uncertain";
|
|
18
|
+
readonly Defect: "defect";
|
|
19
|
+
};
|
|
20
|
+
/** Copper created the company. */
|
|
21
|
+
declare const CreateCompanyBranchCreated: "created";
|
|
22
|
+
/** Copper rejected creation. */
|
|
23
|
+
declare const CreateCompanyBranchProviderRejected: "providerRejected";
|
|
24
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
25
|
+
declare const CreateCompanyBranchUncertain: "uncertain";
|
|
26
|
+
/** Input or credentials are invalid. */
|
|
27
|
+
declare const CreateCompanyBranchDefect: "defect";
|
|
28
|
+
/** Manifest definition for createCompany. */
|
|
29
|
+
declare const CreateCompanyDefinition: MutationDefinition;
|
|
30
|
+
/** Manifest metadata for createCompany. */
|
|
31
|
+
declare const CreateCompanyMetadata: {
|
|
32
|
+
readonly kind: "mutation";
|
|
33
|
+
readonly idempotency: "required";
|
|
34
|
+
readonly authorization: "required";
|
|
35
|
+
};
|
|
36
|
+
/** Branch IDs for getCompany. */
|
|
37
|
+
declare const GetCompanyBranch: {
|
|
38
|
+
readonly Found: "found";
|
|
39
|
+
readonly NotFound: "notFound";
|
|
40
|
+
readonly ProviderRejected: "providerRejected";
|
|
41
|
+
readonly InvalidResponse: "invalidResponse";
|
|
42
|
+
readonly Defect: "defect";
|
|
43
|
+
};
|
|
44
|
+
/** Copper returned the company. */
|
|
45
|
+
declare const GetCompanyBranchFound: "found";
|
|
46
|
+
/** No company matches the ID. */
|
|
47
|
+
declare const GetCompanyBranchNotFound: "notFound";
|
|
48
|
+
/** Copper rejected the lookup. */
|
|
49
|
+
declare const GetCompanyBranchProviderRejected: "providerRejected";
|
|
50
|
+
/** Copper returned invalid company JSON. */
|
|
51
|
+
declare const GetCompanyBranchInvalidResponse: "invalidResponse";
|
|
52
|
+
/** Input or credentials are invalid. */
|
|
53
|
+
declare const GetCompanyBranchDefect: "defect";
|
|
54
|
+
/** Manifest definition for getCompany. */
|
|
55
|
+
declare const GetCompanyDefinition: QueryDefinition;
|
|
56
|
+
/** Manifest metadata for getCompany. */
|
|
57
|
+
declare const GetCompanyMetadata: {
|
|
58
|
+
readonly kind: "query";
|
|
59
|
+
readonly idempotency: "none";
|
|
60
|
+
readonly authorization: "required";
|
|
61
|
+
};
|
|
62
|
+
/** Branch IDs for listCompanies. */
|
|
63
|
+
declare const ListCompaniesBranch: {
|
|
64
|
+
readonly Listed: "listed";
|
|
65
|
+
readonly ProviderRejected: "providerRejected";
|
|
66
|
+
readonly InvalidResponse: "invalidResponse";
|
|
67
|
+
readonly Defect: "defect";
|
|
68
|
+
};
|
|
69
|
+
/** Copper returned a page of companies. */
|
|
70
|
+
declare const ListCompaniesBranchListed: "listed";
|
|
71
|
+
/** Copper rejected the search. */
|
|
72
|
+
declare const ListCompaniesBranchProviderRejected: "providerRejected";
|
|
73
|
+
/** Copper returned malformed or oversized companies JSON. */
|
|
74
|
+
declare const ListCompaniesBranchInvalidResponse: "invalidResponse";
|
|
75
|
+
/** Input or credentials are invalid. */
|
|
76
|
+
declare const ListCompaniesBranchDefect: "defect";
|
|
77
|
+
/** Manifest definition for listCompanies. */
|
|
78
|
+
declare const ListCompaniesDefinition: QueryDefinition;
|
|
79
|
+
/** Manifest metadata for listCompanies. */
|
|
80
|
+
declare const ListCompaniesMetadata: {
|
|
81
|
+
readonly kind: "query";
|
|
82
|
+
readonly idempotency: "none";
|
|
83
|
+
readonly authorization: "required";
|
|
84
|
+
};
|
|
85
|
+
/** Branch IDs for updateCompany. */
|
|
86
|
+
declare const UpdateCompanyBranch: {
|
|
87
|
+
readonly Updated: "updated";
|
|
88
|
+
readonly NotFound: "notFound";
|
|
89
|
+
readonly ProviderRejected: "providerRejected";
|
|
90
|
+
readonly Defect: "defect";
|
|
91
|
+
};
|
|
92
|
+
/** Copper updated the company. */
|
|
93
|
+
declare const UpdateCompanyBranchUpdated: "updated";
|
|
94
|
+
/** No company matches the ID. */
|
|
95
|
+
declare const UpdateCompanyBranchNotFound: "notFound";
|
|
96
|
+
/** Copper rejected the update. */
|
|
97
|
+
declare const UpdateCompanyBranchProviderRejected: "providerRejected";
|
|
98
|
+
/** Input or credentials are invalid. */
|
|
99
|
+
declare const UpdateCompanyBranchDefect: "defect";
|
|
100
|
+
/** Manifest definition for updateCompany. */
|
|
101
|
+
declare const UpdateCompanyDefinition: MutationDefinition;
|
|
102
|
+
/** Manifest metadata for updateCompany. */
|
|
103
|
+
declare const UpdateCompanyMetadata: {
|
|
104
|
+
readonly kind: "mutation";
|
|
105
|
+
readonly idempotency: "required";
|
|
106
|
+
readonly authorization: "required";
|
|
107
|
+
};
|
|
108
|
+
/** Branch IDs for deleteCompany. */
|
|
109
|
+
declare const DeleteCompanyBranch: {
|
|
110
|
+
readonly Deleted: "deleted";
|
|
111
|
+
readonly NotFound: "notFound";
|
|
112
|
+
readonly ProviderRejected: "providerRejected";
|
|
113
|
+
readonly Defect: "defect";
|
|
114
|
+
};
|
|
115
|
+
/** Copper deleted the company. */
|
|
116
|
+
declare const DeleteCompanyBranchDeleted: "deleted";
|
|
117
|
+
/** No company matches the ID. */
|
|
118
|
+
declare const DeleteCompanyBranchNotFound: "notFound";
|
|
119
|
+
/** Copper rejected the deletion. */
|
|
120
|
+
declare const DeleteCompanyBranchProviderRejected: "providerRejected";
|
|
121
|
+
/** Input or credentials are invalid. */
|
|
122
|
+
declare const DeleteCompanyBranchDefect: "defect";
|
|
123
|
+
/** Manifest definition for deleteCompany. */
|
|
124
|
+
declare const DeleteCompanyDefinition: MutationDefinition;
|
|
125
|
+
/** Manifest metadata for deleteCompany. */
|
|
126
|
+
declare const DeleteCompanyMetadata: {
|
|
127
|
+
readonly kind: "mutation";
|
|
128
|
+
readonly idempotency: "required";
|
|
129
|
+
readonly authorization: "required";
|
|
130
|
+
};
|
|
131
|
+
/** Branch IDs for createPerson. */
|
|
132
|
+
declare const CreatePersonBranch: {
|
|
133
|
+
readonly Created: "created";
|
|
134
|
+
readonly ProviderRejected: "providerRejected";
|
|
135
|
+
readonly Uncertain: "uncertain";
|
|
136
|
+
readonly Defect: "defect";
|
|
137
|
+
};
|
|
138
|
+
/** Copper created the person. */
|
|
139
|
+
declare const CreatePersonBranchCreated: "created";
|
|
140
|
+
/** Copper rejected creation. */
|
|
141
|
+
declare const CreatePersonBranchProviderRejected: "providerRejected";
|
|
142
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
143
|
+
declare const CreatePersonBranchUncertain: "uncertain";
|
|
144
|
+
/** Input or credentials are invalid. */
|
|
145
|
+
declare const CreatePersonBranchDefect: "defect";
|
|
146
|
+
/** Manifest definition for createPerson. */
|
|
147
|
+
declare const CreatePersonDefinition: MutationDefinition;
|
|
148
|
+
/** Manifest metadata for createPerson. */
|
|
149
|
+
declare const CreatePersonMetadata: {
|
|
150
|
+
readonly kind: "mutation";
|
|
151
|
+
readonly idempotency: "required";
|
|
152
|
+
readonly authorization: "required";
|
|
153
|
+
};
|
|
154
|
+
/** Branch IDs for getPerson. */
|
|
155
|
+
declare const GetPersonBranch: {
|
|
156
|
+
readonly Found: "found";
|
|
157
|
+
readonly NotFound: "notFound";
|
|
158
|
+
readonly ProviderRejected: "providerRejected";
|
|
159
|
+
readonly InvalidResponse: "invalidResponse";
|
|
160
|
+
readonly Defect: "defect";
|
|
161
|
+
};
|
|
162
|
+
/** Copper returned the person. */
|
|
163
|
+
declare const GetPersonBranchFound: "found";
|
|
164
|
+
/** No person matches the ID. */
|
|
165
|
+
declare const GetPersonBranchNotFound: "notFound";
|
|
166
|
+
/** Copper rejected the lookup. */
|
|
167
|
+
declare const GetPersonBranchProviderRejected: "providerRejected";
|
|
168
|
+
/** Copper returned invalid person JSON. */
|
|
169
|
+
declare const GetPersonBranchInvalidResponse: "invalidResponse";
|
|
170
|
+
/** Input or credentials are invalid. */
|
|
171
|
+
declare const GetPersonBranchDefect: "defect";
|
|
172
|
+
/** Manifest definition for getPerson. */
|
|
173
|
+
declare const GetPersonDefinition: QueryDefinition;
|
|
174
|
+
/** Manifest metadata for getPerson. */
|
|
175
|
+
declare const GetPersonMetadata: {
|
|
176
|
+
readonly kind: "query";
|
|
177
|
+
readonly idempotency: "none";
|
|
178
|
+
readonly authorization: "required";
|
|
179
|
+
};
|
|
180
|
+
/** Branch IDs for listPeople. */
|
|
181
|
+
declare const ListPeopleBranch: {
|
|
182
|
+
readonly Listed: "listed";
|
|
183
|
+
readonly ProviderRejected: "providerRejected";
|
|
184
|
+
readonly InvalidResponse: "invalidResponse";
|
|
185
|
+
readonly Defect: "defect";
|
|
186
|
+
};
|
|
187
|
+
/** Copper returned a page of people. */
|
|
188
|
+
declare const ListPeopleBranchListed: "listed";
|
|
189
|
+
/** Copper rejected the search. */
|
|
190
|
+
declare const ListPeopleBranchProviderRejected: "providerRejected";
|
|
191
|
+
/** Copper returned malformed or oversized people JSON. */
|
|
192
|
+
declare const ListPeopleBranchInvalidResponse: "invalidResponse";
|
|
193
|
+
/** Input or credentials are invalid. */
|
|
194
|
+
declare const ListPeopleBranchDefect: "defect";
|
|
195
|
+
/** Manifest definition for listPeople. */
|
|
196
|
+
declare const ListPeopleDefinition: QueryDefinition;
|
|
197
|
+
/** Manifest metadata for listPeople. */
|
|
198
|
+
declare const ListPeopleMetadata: {
|
|
199
|
+
readonly kind: "query";
|
|
200
|
+
readonly idempotency: "none";
|
|
201
|
+
readonly authorization: "required";
|
|
202
|
+
};
|
|
203
|
+
/** Branch IDs for updatePerson. */
|
|
204
|
+
declare const UpdatePersonBranch: {
|
|
205
|
+
readonly Updated: "updated";
|
|
206
|
+
readonly NotFound: "notFound";
|
|
207
|
+
readonly ProviderRejected: "providerRejected";
|
|
208
|
+
readonly Defect: "defect";
|
|
209
|
+
};
|
|
210
|
+
/** Copper updated the person. */
|
|
211
|
+
declare const UpdatePersonBranchUpdated: "updated";
|
|
212
|
+
/** No person matches the ID. */
|
|
213
|
+
declare const UpdatePersonBranchNotFound: "notFound";
|
|
214
|
+
/** Copper rejected the update. */
|
|
215
|
+
declare const UpdatePersonBranchProviderRejected: "providerRejected";
|
|
216
|
+
/** Input or credentials are invalid. */
|
|
217
|
+
declare const UpdatePersonBranchDefect: "defect";
|
|
218
|
+
/** Manifest definition for updatePerson. */
|
|
219
|
+
declare const UpdatePersonDefinition: MutationDefinition;
|
|
220
|
+
/** Manifest metadata for updatePerson. */
|
|
221
|
+
declare const UpdatePersonMetadata: {
|
|
222
|
+
readonly kind: "mutation";
|
|
223
|
+
readonly idempotency: "required";
|
|
224
|
+
readonly authorization: "required";
|
|
225
|
+
};
|
|
226
|
+
/** Branch IDs for deletePerson. */
|
|
227
|
+
declare const DeletePersonBranch: {
|
|
228
|
+
readonly Deleted: "deleted";
|
|
229
|
+
readonly NotFound: "notFound";
|
|
230
|
+
readonly ProviderRejected: "providerRejected";
|
|
231
|
+
readonly Defect: "defect";
|
|
232
|
+
};
|
|
233
|
+
/** Copper deleted the person. */
|
|
234
|
+
declare const DeletePersonBranchDeleted: "deleted";
|
|
235
|
+
/** No person matches the ID. */
|
|
236
|
+
declare const DeletePersonBranchNotFound: "notFound";
|
|
237
|
+
/** Copper rejected the deletion. */
|
|
238
|
+
declare const DeletePersonBranchProviderRejected: "providerRejected";
|
|
239
|
+
/** Input or credentials are invalid. */
|
|
240
|
+
declare const DeletePersonBranchDefect: "defect";
|
|
241
|
+
/** Manifest definition for deletePerson. */
|
|
242
|
+
declare const DeletePersonDefinition: MutationDefinition;
|
|
243
|
+
/** Manifest metadata for deletePerson. */
|
|
244
|
+
declare const DeletePersonMetadata: {
|
|
245
|
+
readonly kind: "mutation";
|
|
246
|
+
readonly idempotency: "required";
|
|
247
|
+
readonly authorization: "required";
|
|
248
|
+
};
|
|
249
|
+
/** Branch IDs for listCustomerSources. */
|
|
250
|
+
declare const ListCustomerSourcesBranch: {
|
|
251
|
+
readonly Listed: "listed";
|
|
252
|
+
readonly ProviderRejected: "providerRejected";
|
|
253
|
+
readonly InvalidResponse: "invalidResponse";
|
|
254
|
+
readonly Defect: "defect";
|
|
255
|
+
};
|
|
256
|
+
/** Copper returned customer sources. */
|
|
257
|
+
declare const ListCustomerSourcesBranchListed: "listed";
|
|
258
|
+
/** Copper conclusively rejected the request. */
|
|
259
|
+
declare const ListCustomerSourcesBranchProviderRejected: "providerRejected";
|
|
260
|
+
/** Copper returned malformed or oversized JSON. */
|
|
261
|
+
declare const ListCustomerSourcesBranchInvalidResponse: "invalidResponse";
|
|
262
|
+
/** Connection credentials are invalid. */
|
|
263
|
+
declare const ListCustomerSourcesBranchDefect: "defect";
|
|
264
|
+
/** Manifest definition for listCustomerSources. */
|
|
265
|
+
declare const ListCustomerSourcesDefinition: QueryDefinition;
|
|
266
|
+
/** Manifest metadata for listCustomerSources. */
|
|
267
|
+
declare const ListCustomerSourcesMetadata: {
|
|
268
|
+
readonly kind: "query";
|
|
269
|
+
readonly idempotency: "none";
|
|
270
|
+
readonly authorization: "required";
|
|
271
|
+
};
|
|
272
|
+
/** Branch IDs for listLeadStatuses. */
|
|
273
|
+
declare const ListLeadStatusesBranch: {
|
|
274
|
+
readonly Listed: "listed";
|
|
275
|
+
readonly ProviderRejected: "providerRejected";
|
|
276
|
+
readonly InvalidResponse: "invalidResponse";
|
|
277
|
+
readonly Defect: "defect";
|
|
278
|
+
};
|
|
279
|
+
/** Copper returned lead statuses. */
|
|
280
|
+
declare const ListLeadStatusesBranchListed: "listed";
|
|
281
|
+
/** Copper conclusively rejected the request. */
|
|
282
|
+
declare const ListLeadStatusesBranchProviderRejected: "providerRejected";
|
|
283
|
+
/** Copper returned malformed or oversized JSON. */
|
|
284
|
+
declare const ListLeadStatusesBranchInvalidResponse: "invalidResponse";
|
|
285
|
+
/** Connection credentials are invalid. */
|
|
286
|
+
declare const ListLeadStatusesBranchDefect: "defect";
|
|
287
|
+
/** Manifest definition for listLeadStatuses. */
|
|
288
|
+
declare const ListLeadStatusesDefinition: QueryDefinition;
|
|
289
|
+
/** Manifest metadata for listLeadStatuses. */
|
|
290
|
+
declare const ListLeadStatusesMetadata: {
|
|
291
|
+
readonly kind: "query";
|
|
292
|
+
readonly idempotency: "none";
|
|
293
|
+
readonly authorization: "required";
|
|
294
|
+
};
|
|
295
|
+
/** Branch IDs for listUsers. */
|
|
296
|
+
declare const ListUsersBranch: {
|
|
297
|
+
readonly Listed: "listed";
|
|
298
|
+
readonly ProviderRejected: "providerRejected";
|
|
299
|
+
readonly InvalidResponse: "invalidResponse";
|
|
300
|
+
readonly Defect: "defect";
|
|
301
|
+
};
|
|
302
|
+
/** Copper returned a page of users. */
|
|
303
|
+
declare const ListUsersBranchListed: "listed";
|
|
304
|
+
/** Copper rejected the search. */
|
|
305
|
+
declare const ListUsersBranchProviderRejected: "providerRejected";
|
|
306
|
+
/** Copper returned malformed or oversized users JSON. */
|
|
307
|
+
declare const ListUsersBranchInvalidResponse: "invalidResponse";
|
|
308
|
+
/** Input or credentials are invalid. */
|
|
309
|
+
declare const ListUsersBranchDefect: "defect";
|
|
310
|
+
/** Manifest definition for listUsers. */
|
|
311
|
+
declare const ListUsersDefinition: QueryDefinition;
|
|
312
|
+
/** Manifest metadata for listUsers. */
|
|
313
|
+
declare const ListUsersMetadata: {
|
|
314
|
+
readonly kind: "query";
|
|
315
|
+
readonly idempotency: "none";
|
|
316
|
+
readonly authorization: "required";
|
|
317
|
+
};
|
|
318
|
+
/** Branch IDs for createTask. */
|
|
319
|
+
declare const CreateTaskBranch: {
|
|
320
|
+
readonly Created: "created";
|
|
321
|
+
readonly ProviderRejected: "providerRejected";
|
|
322
|
+
readonly Uncertain: "uncertain";
|
|
323
|
+
readonly Defect: "defect";
|
|
324
|
+
};
|
|
325
|
+
/** Copper created the task. */
|
|
326
|
+
declare const CreateTaskBranchCreated: "created";
|
|
327
|
+
/** Copper rejected creation. */
|
|
328
|
+
declare const CreateTaskBranchProviderRejected: "providerRejected";
|
|
329
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
330
|
+
declare const CreateTaskBranchUncertain: "uncertain";
|
|
331
|
+
/** Input or credentials are invalid. */
|
|
332
|
+
declare const CreateTaskBranchDefect: "defect";
|
|
333
|
+
/** Manifest definition for createTask. */
|
|
334
|
+
declare const CreateTaskDefinition: MutationDefinition;
|
|
335
|
+
/** Manifest metadata for createTask. */
|
|
336
|
+
declare const CreateTaskMetadata: {
|
|
337
|
+
readonly kind: "mutation";
|
|
338
|
+
readonly idempotency: "required";
|
|
339
|
+
readonly authorization: "required";
|
|
340
|
+
};
|
|
341
|
+
/** Branch IDs for listTasks. */
|
|
342
|
+
declare const ListTasksBranch: {
|
|
343
|
+
readonly Listed: "listed";
|
|
344
|
+
readonly ProviderRejected: "providerRejected";
|
|
345
|
+
readonly InvalidResponse: "invalidResponse";
|
|
346
|
+
readonly Defect: "defect";
|
|
347
|
+
};
|
|
348
|
+
/** Copper returned a page of tasks. */
|
|
349
|
+
declare const ListTasksBranchListed: "listed";
|
|
350
|
+
/** Copper rejected the search. */
|
|
351
|
+
declare const ListTasksBranchProviderRejected: "providerRejected";
|
|
352
|
+
/** Copper returned malformed or oversized tasks JSON. */
|
|
353
|
+
declare const ListTasksBranchInvalidResponse: "invalidResponse";
|
|
354
|
+
/** Input or credentials are invalid. */
|
|
355
|
+
declare const ListTasksBranchDefect: "defect";
|
|
356
|
+
/** Manifest definition for listTasks. */
|
|
357
|
+
declare const ListTasksDefinition: QueryDefinition;
|
|
358
|
+
/** Manifest metadata for listTasks. */
|
|
359
|
+
declare const ListTasksMetadata: {
|
|
360
|
+
readonly kind: "query";
|
|
361
|
+
readonly idempotency: "none";
|
|
362
|
+
readonly authorization: "required";
|
|
363
|
+
};
|
|
364
|
+
/** Branch IDs for updateTask. */
|
|
365
|
+
declare const UpdateTaskBranch: {
|
|
366
|
+
readonly Updated: "updated";
|
|
367
|
+
readonly NotFound: "notFound";
|
|
368
|
+
readonly ProviderRejected: "providerRejected";
|
|
369
|
+
readonly Defect: "defect";
|
|
370
|
+
};
|
|
371
|
+
/** Copper updated the task. */
|
|
372
|
+
declare const UpdateTaskBranchUpdated: "updated";
|
|
373
|
+
/** No task matches the ID. */
|
|
374
|
+
declare const UpdateTaskBranchNotFound: "notFound";
|
|
375
|
+
/** Copper rejected the update. */
|
|
376
|
+
declare const UpdateTaskBranchProviderRejected: "providerRejected";
|
|
377
|
+
/** Input or credentials are invalid. */
|
|
378
|
+
declare const UpdateTaskBranchDefect: "defect";
|
|
379
|
+
/** Manifest definition for updateTask. */
|
|
380
|
+
declare const UpdateTaskDefinition: MutationDefinition;
|
|
381
|
+
/** Manifest metadata for updateTask. */
|
|
382
|
+
declare const UpdateTaskMetadata: {
|
|
383
|
+
readonly kind: "mutation";
|
|
384
|
+
readonly idempotency: "required";
|
|
385
|
+
readonly authorization: "required";
|
|
386
|
+
};
|
|
387
|
+
/** Branch IDs for deleteTask. */
|
|
388
|
+
declare const DeleteTaskBranch: {
|
|
389
|
+
readonly Deleted: "deleted";
|
|
390
|
+
readonly NotFound: "notFound";
|
|
391
|
+
readonly ProviderRejected: "providerRejected";
|
|
392
|
+
readonly Defect: "defect";
|
|
393
|
+
};
|
|
394
|
+
/** Copper deleted the task. */
|
|
395
|
+
declare const DeleteTaskBranchDeleted: "deleted";
|
|
396
|
+
/** No task matches the ID. */
|
|
397
|
+
declare const DeleteTaskBranchNotFound: "notFound";
|
|
398
|
+
/** Copper rejected the deletion. */
|
|
399
|
+
declare const DeleteTaskBranchProviderRejected: "providerRejected";
|
|
400
|
+
/** Input or credentials are invalid. */
|
|
401
|
+
declare const DeleteTaskBranchDefect: "defect";
|
|
402
|
+
/** Manifest definition for deleteTask. */
|
|
403
|
+
declare const DeleteTaskDefinition: MutationDefinition;
|
|
404
|
+
/** Manifest metadata for deleteTask. */
|
|
405
|
+
declare const DeleteTaskMetadata: {
|
|
406
|
+
readonly kind: "mutation";
|
|
407
|
+
readonly idempotency: "required";
|
|
408
|
+
readonly authorization: "required";
|
|
409
|
+
};
|
|
410
|
+
/** Branch IDs for getTask. */
|
|
411
|
+
declare const GetTaskBranch: {
|
|
412
|
+
readonly Found: "found";
|
|
413
|
+
readonly NotFound: "notFound";
|
|
414
|
+
readonly ProviderRejected: "providerRejected";
|
|
415
|
+
readonly InvalidResponse: "invalidResponse";
|
|
416
|
+
readonly Defect: "defect";
|
|
417
|
+
};
|
|
418
|
+
/** Copper returned the selected task. */
|
|
419
|
+
declare const GetTaskBranchFound: "found";
|
|
420
|
+
/** No task matches this ID. */
|
|
421
|
+
declare const GetTaskBranchNotFound: "notFound";
|
|
422
|
+
/** Copper conclusively rejected the request. */
|
|
423
|
+
declare const GetTaskBranchProviderRejected: "providerRejected";
|
|
424
|
+
/** Copper returned malformed or oversized JSON. */
|
|
425
|
+
declare const GetTaskBranchInvalidResponse: "invalidResponse";
|
|
426
|
+
/** Invalid input or unavailable credentials. */
|
|
427
|
+
declare const GetTaskBranchDefect: "defect";
|
|
428
|
+
/** Manifest definition for getTask. */
|
|
429
|
+
declare const GetTaskDefinition: QueryDefinition;
|
|
430
|
+
/** Manifest metadata for getTask. */
|
|
431
|
+
declare const GetTaskMetadata: {
|
|
432
|
+
readonly kind: "query";
|
|
433
|
+
readonly idempotency: "none";
|
|
434
|
+
readonly authorization: "required";
|
|
435
|
+
};
|
|
436
|
+
/** Branch IDs for createProject. */
|
|
437
|
+
declare const CreateProjectBranch: {
|
|
438
|
+
readonly Created: "created";
|
|
439
|
+
readonly ProviderRejected: "providerRejected";
|
|
440
|
+
readonly Uncertain: "uncertain";
|
|
441
|
+
readonly Defect: "defect";
|
|
442
|
+
};
|
|
443
|
+
/** Copper created the project. */
|
|
444
|
+
declare const CreateProjectBranchCreated: "created";
|
|
445
|
+
/** Copper rejected creation. */
|
|
446
|
+
declare const CreateProjectBranchProviderRejected: "providerRejected";
|
|
447
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
448
|
+
declare const CreateProjectBranchUncertain: "uncertain";
|
|
449
|
+
/** Input or credentials are invalid. */
|
|
450
|
+
declare const CreateProjectBranchDefect: "defect";
|
|
451
|
+
/** Manifest definition for createProject. */
|
|
452
|
+
declare const CreateProjectDefinition: MutationDefinition;
|
|
453
|
+
/** Manifest metadata for createProject. */
|
|
454
|
+
declare const CreateProjectMetadata: {
|
|
455
|
+
readonly kind: "mutation";
|
|
456
|
+
readonly idempotency: "required";
|
|
457
|
+
readonly authorization: "required";
|
|
458
|
+
};
|
|
459
|
+
/** Branch IDs for listProjects. */
|
|
460
|
+
declare const ListProjectsBranch: {
|
|
461
|
+
readonly Listed: "listed";
|
|
462
|
+
readonly ProviderRejected: "providerRejected";
|
|
463
|
+
readonly InvalidResponse: "invalidResponse";
|
|
464
|
+
readonly Defect: "defect";
|
|
465
|
+
};
|
|
466
|
+
/** Copper returned a page of projects. */
|
|
467
|
+
declare const ListProjectsBranchListed: "listed";
|
|
468
|
+
/** Copper rejected the search. */
|
|
469
|
+
declare const ListProjectsBranchProviderRejected: "providerRejected";
|
|
470
|
+
/** Copper returned malformed or oversized projects JSON. */
|
|
471
|
+
declare const ListProjectsBranchInvalidResponse: "invalidResponse";
|
|
472
|
+
/** Input or credentials are invalid. */
|
|
473
|
+
declare const ListProjectsBranchDefect: "defect";
|
|
474
|
+
/** Manifest definition for listProjects. */
|
|
475
|
+
declare const ListProjectsDefinition: QueryDefinition;
|
|
476
|
+
/** Manifest metadata for listProjects. */
|
|
477
|
+
declare const ListProjectsMetadata: {
|
|
478
|
+
readonly kind: "query";
|
|
479
|
+
readonly idempotency: "none";
|
|
480
|
+
readonly authorization: "required";
|
|
481
|
+
};
|
|
482
|
+
/** Branch IDs for updateProject. */
|
|
483
|
+
declare const UpdateProjectBranch: {
|
|
484
|
+
readonly Updated: "updated";
|
|
485
|
+
readonly NotFound: "notFound";
|
|
486
|
+
readonly ProviderRejected: "providerRejected";
|
|
487
|
+
readonly Defect: "defect";
|
|
488
|
+
};
|
|
489
|
+
/** Copper updated the project. */
|
|
490
|
+
declare const UpdateProjectBranchUpdated: "updated";
|
|
491
|
+
/** No project matches the ID. */
|
|
492
|
+
declare const UpdateProjectBranchNotFound: "notFound";
|
|
493
|
+
/** Copper rejected the update. */
|
|
494
|
+
declare const UpdateProjectBranchProviderRejected: "providerRejected";
|
|
495
|
+
/** Input or credentials are invalid. */
|
|
496
|
+
declare const UpdateProjectBranchDefect: "defect";
|
|
497
|
+
/** Manifest definition for updateProject. */
|
|
498
|
+
declare const UpdateProjectDefinition: MutationDefinition;
|
|
499
|
+
/** Manifest metadata for updateProject. */
|
|
500
|
+
declare const UpdateProjectMetadata: {
|
|
501
|
+
readonly kind: "mutation";
|
|
502
|
+
readonly idempotency: "required";
|
|
503
|
+
readonly authorization: "required";
|
|
504
|
+
};
|
|
505
|
+
/** Branch IDs for deleteProject. */
|
|
506
|
+
declare const DeleteProjectBranch: {
|
|
507
|
+
readonly Deleted: "deleted";
|
|
508
|
+
readonly NotFound: "notFound";
|
|
509
|
+
readonly ProviderRejected: "providerRejected";
|
|
510
|
+
readonly Defect: "defect";
|
|
511
|
+
};
|
|
512
|
+
/** Copper deleted the project. */
|
|
513
|
+
declare const DeleteProjectBranchDeleted: "deleted";
|
|
514
|
+
/** No project matches the ID. */
|
|
515
|
+
declare const DeleteProjectBranchNotFound: "notFound";
|
|
516
|
+
/** Copper rejected the deletion. */
|
|
517
|
+
declare const DeleteProjectBranchProviderRejected: "providerRejected";
|
|
518
|
+
/** Input or credentials are invalid. */
|
|
519
|
+
declare const DeleteProjectBranchDefect: "defect";
|
|
520
|
+
/** Manifest definition for deleteProject. */
|
|
521
|
+
declare const DeleteProjectDefinition: MutationDefinition;
|
|
522
|
+
/** Manifest metadata for deleteProject. */
|
|
523
|
+
declare const DeleteProjectMetadata: {
|
|
524
|
+
readonly kind: "mutation";
|
|
525
|
+
readonly idempotency: "required";
|
|
526
|
+
readonly authorization: "required";
|
|
527
|
+
};
|
|
528
|
+
/** Branch IDs for getProject. */
|
|
529
|
+
declare const GetProjectBranch: {
|
|
530
|
+
readonly Found: "found";
|
|
531
|
+
readonly NotFound: "notFound";
|
|
532
|
+
readonly ProviderRejected: "providerRejected";
|
|
533
|
+
readonly InvalidResponse: "invalidResponse";
|
|
534
|
+
readonly Defect: "defect";
|
|
535
|
+
};
|
|
536
|
+
/** Copper returned the selected project. */
|
|
537
|
+
declare const GetProjectBranchFound: "found";
|
|
538
|
+
/** No project matches this ID. */
|
|
539
|
+
declare const GetProjectBranchNotFound: "notFound";
|
|
540
|
+
/** Copper conclusively rejected the request. */
|
|
541
|
+
declare const GetProjectBranchProviderRejected: "providerRejected";
|
|
542
|
+
/** Copper returned malformed or oversized JSON. */
|
|
543
|
+
declare const GetProjectBranchInvalidResponse: "invalidResponse";
|
|
544
|
+
/** Invalid input or unavailable credentials. */
|
|
545
|
+
declare const GetProjectBranchDefect: "defect";
|
|
546
|
+
/** Manifest definition for getProject. */
|
|
547
|
+
declare const GetProjectDefinition: QueryDefinition;
|
|
548
|
+
/** Manifest metadata for getProject. */
|
|
549
|
+
declare const GetProjectMetadata: {
|
|
550
|
+
readonly kind: "query";
|
|
551
|
+
readonly idempotency: "none";
|
|
552
|
+
readonly authorization: "required";
|
|
553
|
+
};
|
|
554
|
+
/** Branch IDs for createOpportunity. */
|
|
555
|
+
declare const CreateOpportunityBranch: {
|
|
556
|
+
readonly Created: "created";
|
|
557
|
+
readonly ProviderRejected: "providerRejected";
|
|
558
|
+
readonly Uncertain: "uncertain";
|
|
559
|
+
readonly Defect: "defect";
|
|
560
|
+
};
|
|
561
|
+
/** Copper created the opportunity. */
|
|
562
|
+
declare const CreateOpportunityBranchCreated: "created";
|
|
563
|
+
/** Copper rejected creation. */
|
|
564
|
+
declare const CreateOpportunityBranchProviderRejected: "providerRejected";
|
|
565
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
566
|
+
declare const CreateOpportunityBranchUncertain: "uncertain";
|
|
567
|
+
/** Input or credentials are invalid. */
|
|
568
|
+
declare const CreateOpportunityBranchDefect: "defect";
|
|
569
|
+
/** Manifest definition for createOpportunity. */
|
|
570
|
+
declare const CreateOpportunityDefinition: MutationDefinition;
|
|
571
|
+
/** Manifest metadata for createOpportunity. */
|
|
572
|
+
declare const CreateOpportunityMetadata: {
|
|
573
|
+
readonly kind: "mutation";
|
|
574
|
+
readonly idempotency: "required";
|
|
575
|
+
readonly authorization: "required";
|
|
576
|
+
};
|
|
577
|
+
/** Branch IDs for listOpportunities. */
|
|
578
|
+
declare const ListOpportunitiesBranch: {
|
|
579
|
+
readonly Listed: "listed";
|
|
580
|
+
readonly ProviderRejected: "providerRejected";
|
|
581
|
+
readonly InvalidResponse: "invalidResponse";
|
|
582
|
+
readonly Defect: "defect";
|
|
583
|
+
};
|
|
584
|
+
/** Copper returned a page of opportunities. */
|
|
585
|
+
declare const ListOpportunitiesBranchListed: "listed";
|
|
586
|
+
/** Copper rejected the search. */
|
|
587
|
+
declare const ListOpportunitiesBranchProviderRejected: "providerRejected";
|
|
588
|
+
/** Copper returned malformed or oversized opportunities JSON. */
|
|
589
|
+
declare const ListOpportunitiesBranchInvalidResponse: "invalidResponse";
|
|
590
|
+
/** Input or credentials are invalid. */
|
|
591
|
+
declare const ListOpportunitiesBranchDefect: "defect";
|
|
592
|
+
/** Manifest definition for listOpportunities. */
|
|
593
|
+
declare const ListOpportunitiesDefinition: QueryDefinition;
|
|
594
|
+
/** Manifest metadata for listOpportunities. */
|
|
595
|
+
declare const ListOpportunitiesMetadata: {
|
|
596
|
+
readonly kind: "query";
|
|
597
|
+
readonly idempotency: "none";
|
|
598
|
+
readonly authorization: "required";
|
|
599
|
+
};
|
|
600
|
+
/** Branch IDs for updateOpportunity. */
|
|
601
|
+
declare const UpdateOpportunityBranch: {
|
|
602
|
+
readonly Updated: "updated";
|
|
603
|
+
readonly NotFound: "notFound";
|
|
604
|
+
readonly ProviderRejected: "providerRejected";
|
|
605
|
+
readonly Defect: "defect";
|
|
606
|
+
};
|
|
607
|
+
/** Copper updated the opportunity. */
|
|
608
|
+
declare const UpdateOpportunityBranchUpdated: "updated";
|
|
609
|
+
/** No opportunity matches the ID. */
|
|
610
|
+
declare const UpdateOpportunityBranchNotFound: "notFound";
|
|
611
|
+
/** Copper rejected the update. */
|
|
612
|
+
declare const UpdateOpportunityBranchProviderRejected: "providerRejected";
|
|
613
|
+
/** Input or credentials are invalid. */
|
|
614
|
+
declare const UpdateOpportunityBranchDefect: "defect";
|
|
615
|
+
/** Manifest definition for updateOpportunity. */
|
|
616
|
+
declare const UpdateOpportunityDefinition: MutationDefinition;
|
|
617
|
+
/** Manifest metadata for updateOpportunity. */
|
|
618
|
+
declare const UpdateOpportunityMetadata: {
|
|
619
|
+
readonly kind: "mutation";
|
|
620
|
+
readonly idempotency: "required";
|
|
621
|
+
readonly authorization: "required";
|
|
622
|
+
};
|
|
623
|
+
/** Branch IDs for deleteOpportunity. */
|
|
624
|
+
declare const DeleteOpportunityBranch: {
|
|
625
|
+
readonly Deleted: "deleted";
|
|
626
|
+
readonly NotFound: "notFound";
|
|
627
|
+
readonly ProviderRejected: "providerRejected";
|
|
628
|
+
readonly Defect: "defect";
|
|
629
|
+
};
|
|
630
|
+
/** Copper deleted the opportunity. */
|
|
631
|
+
declare const DeleteOpportunityBranchDeleted: "deleted";
|
|
632
|
+
/** No opportunity matches the ID. */
|
|
633
|
+
declare const DeleteOpportunityBranchNotFound: "notFound";
|
|
634
|
+
/** Copper rejected the deletion. */
|
|
635
|
+
declare const DeleteOpportunityBranchProviderRejected: "providerRejected";
|
|
636
|
+
/** Input or credentials are invalid. */
|
|
637
|
+
declare const DeleteOpportunityBranchDefect: "defect";
|
|
638
|
+
/** Manifest definition for deleteOpportunity. */
|
|
639
|
+
declare const DeleteOpportunityDefinition: MutationDefinition;
|
|
640
|
+
/** Manifest metadata for deleteOpportunity. */
|
|
641
|
+
declare const DeleteOpportunityMetadata: {
|
|
642
|
+
readonly kind: "mutation";
|
|
643
|
+
readonly idempotency: "required";
|
|
644
|
+
readonly authorization: "required";
|
|
645
|
+
};
|
|
646
|
+
/** Branch IDs for getOpportunity. */
|
|
647
|
+
declare const GetOpportunityBranch: {
|
|
648
|
+
readonly Found: "found";
|
|
649
|
+
readonly NotFound: "notFound";
|
|
650
|
+
readonly ProviderRejected: "providerRejected";
|
|
651
|
+
readonly InvalidResponse: "invalidResponse";
|
|
652
|
+
readonly Defect: "defect";
|
|
653
|
+
};
|
|
654
|
+
/** Copper returned the selected opportunity. */
|
|
655
|
+
declare const GetOpportunityBranchFound: "found";
|
|
656
|
+
/** No opportunity matches this ID. */
|
|
657
|
+
declare const GetOpportunityBranchNotFound: "notFound";
|
|
658
|
+
/** Copper conclusively rejected the request. */
|
|
659
|
+
declare const GetOpportunityBranchProviderRejected: "providerRejected";
|
|
660
|
+
/** Copper returned malformed or oversized JSON. */
|
|
661
|
+
declare const GetOpportunityBranchInvalidResponse: "invalidResponse";
|
|
662
|
+
/** Invalid input or unavailable credentials. */
|
|
663
|
+
declare const GetOpportunityBranchDefect: "defect";
|
|
664
|
+
/** Manifest definition for getOpportunity. */
|
|
665
|
+
declare const GetOpportunityDefinition: QueryDefinition;
|
|
666
|
+
/** Manifest metadata for getOpportunity. */
|
|
667
|
+
declare const GetOpportunityMetadata: {
|
|
668
|
+
readonly kind: "query";
|
|
669
|
+
readonly idempotency: "none";
|
|
670
|
+
readonly authorization: "required";
|
|
671
|
+
};
|
|
672
|
+
/** Branch IDs for createLead. */
|
|
673
|
+
declare const CreateLeadBranch: {
|
|
674
|
+
readonly Created: "created";
|
|
675
|
+
readonly ProviderRejected: "providerRejected";
|
|
676
|
+
readonly Uncertain: "uncertain";
|
|
677
|
+
readonly Defect: "defect";
|
|
678
|
+
};
|
|
679
|
+
/** Copper created the lead. */
|
|
680
|
+
declare const CreateLeadBranchCreated: "created";
|
|
681
|
+
/** Copper rejected creation. */
|
|
682
|
+
declare const CreateLeadBranchProviderRejected: "providerRejected";
|
|
683
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
684
|
+
declare const CreateLeadBranchUncertain: "uncertain";
|
|
685
|
+
/** Input or credentials are invalid. */
|
|
686
|
+
declare const CreateLeadBranchDefect: "defect";
|
|
687
|
+
/** Manifest definition for createLead. */
|
|
688
|
+
declare const CreateLeadDefinition: MutationDefinition;
|
|
689
|
+
/** Manifest metadata for createLead. */
|
|
690
|
+
declare const CreateLeadMetadata: {
|
|
691
|
+
readonly kind: "mutation";
|
|
692
|
+
readonly idempotency: "required";
|
|
693
|
+
readonly authorization: "required";
|
|
694
|
+
};
|
|
695
|
+
/** Branch IDs for listLeads. */
|
|
696
|
+
declare const ListLeadsBranch: {
|
|
697
|
+
readonly Listed: "listed";
|
|
698
|
+
readonly ProviderRejected: "providerRejected";
|
|
699
|
+
readonly InvalidResponse: "invalidResponse";
|
|
700
|
+
readonly Defect: "defect";
|
|
701
|
+
};
|
|
702
|
+
/** Copper returned a page of leads. */
|
|
703
|
+
declare const ListLeadsBranchListed: "listed";
|
|
704
|
+
/** Copper rejected the search. */
|
|
705
|
+
declare const ListLeadsBranchProviderRejected: "providerRejected";
|
|
706
|
+
/** Copper returned malformed or oversized leads JSON. */
|
|
707
|
+
declare const ListLeadsBranchInvalidResponse: "invalidResponse";
|
|
708
|
+
/** Input or credentials are invalid. */
|
|
709
|
+
declare const ListLeadsBranchDefect: "defect";
|
|
710
|
+
/** Manifest definition for listLeads. */
|
|
711
|
+
declare const ListLeadsDefinition: QueryDefinition;
|
|
712
|
+
/** Manifest metadata for listLeads. */
|
|
713
|
+
declare const ListLeadsMetadata: {
|
|
714
|
+
readonly kind: "query";
|
|
715
|
+
readonly idempotency: "none";
|
|
716
|
+
readonly authorization: "required";
|
|
717
|
+
};
|
|
718
|
+
/** Branch IDs for updateLead. */
|
|
719
|
+
declare const UpdateLeadBranch: {
|
|
720
|
+
readonly Updated: "updated";
|
|
721
|
+
readonly NotFound: "notFound";
|
|
722
|
+
readonly ProviderRejected: "providerRejected";
|
|
723
|
+
readonly Defect: "defect";
|
|
724
|
+
};
|
|
725
|
+
/** Copper updated the lead. */
|
|
726
|
+
declare const UpdateLeadBranchUpdated: "updated";
|
|
727
|
+
/** No lead matches the ID. */
|
|
728
|
+
declare const UpdateLeadBranchNotFound: "notFound";
|
|
729
|
+
/** Copper rejected the update. */
|
|
730
|
+
declare const UpdateLeadBranchProviderRejected: "providerRejected";
|
|
731
|
+
/** Input or credentials are invalid. */
|
|
732
|
+
declare const UpdateLeadBranchDefect: "defect";
|
|
733
|
+
/** Manifest definition for updateLead. */
|
|
734
|
+
declare const UpdateLeadDefinition: MutationDefinition;
|
|
735
|
+
/** Manifest metadata for updateLead. */
|
|
736
|
+
declare const UpdateLeadMetadata: {
|
|
737
|
+
readonly kind: "mutation";
|
|
738
|
+
readonly idempotency: "required";
|
|
739
|
+
readonly authorization: "required";
|
|
740
|
+
};
|
|
741
|
+
/** Branch IDs for deleteLead. */
|
|
742
|
+
declare const DeleteLeadBranch: {
|
|
743
|
+
readonly Deleted: "deleted";
|
|
744
|
+
readonly NotFound: "notFound";
|
|
745
|
+
readonly ProviderRejected: "providerRejected";
|
|
746
|
+
readonly Defect: "defect";
|
|
747
|
+
};
|
|
748
|
+
/** Copper deleted the lead. */
|
|
749
|
+
declare const DeleteLeadBranchDeleted: "deleted";
|
|
750
|
+
/** No lead matches the ID. */
|
|
751
|
+
declare const DeleteLeadBranchNotFound: "notFound";
|
|
752
|
+
/** Copper rejected the deletion. */
|
|
753
|
+
declare const DeleteLeadBranchProviderRejected: "providerRejected";
|
|
754
|
+
/** Input or credentials are invalid. */
|
|
755
|
+
declare const DeleteLeadBranchDefect: "defect";
|
|
756
|
+
/** Manifest definition for deleteLead. */
|
|
757
|
+
declare const DeleteLeadDefinition: MutationDefinition;
|
|
758
|
+
/** Manifest metadata for deleteLead. */
|
|
759
|
+
declare const DeleteLeadMetadata: {
|
|
760
|
+
readonly kind: "mutation";
|
|
761
|
+
readonly idempotency: "required";
|
|
762
|
+
readonly authorization: "required";
|
|
763
|
+
};
|
|
764
|
+
/** Branch IDs for getLead. */
|
|
765
|
+
declare const GetLeadBranch: {
|
|
766
|
+
readonly Found: "found";
|
|
767
|
+
readonly NotFound: "notFound";
|
|
768
|
+
readonly ProviderRejected: "providerRejected";
|
|
769
|
+
readonly InvalidResponse: "invalidResponse";
|
|
770
|
+
readonly Defect: "defect";
|
|
771
|
+
};
|
|
772
|
+
/** Copper returned the selected lead. */
|
|
773
|
+
declare const GetLeadBranchFound: "found";
|
|
774
|
+
/** No lead matches this ID. */
|
|
775
|
+
declare const GetLeadBranchNotFound: "notFound";
|
|
776
|
+
/** Copper conclusively rejected the request. */
|
|
777
|
+
declare const GetLeadBranchProviderRejected: "providerRejected";
|
|
778
|
+
/** Copper returned malformed or oversized JSON. */
|
|
779
|
+
declare const GetLeadBranchInvalidResponse: "invalidResponse";
|
|
780
|
+
/** Invalid input or unavailable credentials. */
|
|
781
|
+
declare const GetLeadBranchDefect: "defect";
|
|
782
|
+
/** Manifest definition for getLead. */
|
|
783
|
+
declare const GetLeadDefinition: QueryDefinition;
|
|
784
|
+
/** Manifest metadata for getLead. */
|
|
785
|
+
declare const GetLeadMetadata: {
|
|
786
|
+
readonly kind: "query";
|
|
787
|
+
readonly idempotency: "none";
|
|
788
|
+
readonly authorization: "required";
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
/** Configuration for the createCompany connector Step. */
|
|
792
|
+
interface CreateCompanyStepConfig<StepInput, OperationInput = CreateCompanyInput, OperationOutput = CompanyMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
793
|
+
/** Named connection supplying this operation. */
|
|
794
|
+
connection: Connection<{
|
|
795
|
+
createCompany(): Mutation<OperationInput, OperationOutput>;
|
|
796
|
+
}>;
|
|
797
|
+
/** Name matching the bound connection. */
|
|
798
|
+
connectionName: string;
|
|
799
|
+
/** Copper created the company. */
|
|
800
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
801
|
+
/** Copper rejected creation. */
|
|
802
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
803
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
804
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
805
|
+
/** Input or credentials are invalid. */
|
|
806
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
807
|
+
}
|
|
808
|
+
/** Build the createCompany Step from a named connection. */
|
|
809
|
+
declare function newCreateCompanyStep<StepInput, OperationInput = CreateCompanyInput, OperationOutput = CompanyMetadata>(configuration: CreateCompanyStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
810
|
+
/** Configuration for the getCompany connector Step. */
|
|
811
|
+
interface GetCompanyStepConfig<StepInput, OperationInput = GetCompanyInput, OperationOutput = CompanyMetadata> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
812
|
+
/** Named connection supplying this operation. */
|
|
813
|
+
connection: Connection<{
|
|
814
|
+
getCompany(): Query<OperationInput, OperationOutput>;
|
|
815
|
+
}>;
|
|
816
|
+
/** Name matching the bound connection. */
|
|
817
|
+
connectionName: string;
|
|
818
|
+
/** Copper returned the company. */
|
|
819
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
820
|
+
/** No company matches the ID. */
|
|
821
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
822
|
+
/** Copper rejected the lookup. */
|
|
823
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
824
|
+
/** Copper returned invalid company JSON. */
|
|
825
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
826
|
+
/** Input or credentials are invalid. */
|
|
827
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
828
|
+
}
|
|
829
|
+
/** Build the getCompany Step from a named connection. */
|
|
830
|
+
declare function newGetCompanyStep<StepInput, OperationInput = GetCompanyInput, OperationOutput = CompanyMetadata>(configuration: GetCompanyStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
831
|
+
/** Configuration for the listCompanies connector Step. */
|
|
832
|
+
interface ListCompaniesStepConfig<StepInput, OperationInput = ListCompaniesInput, OperationOutput = CompaniesPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
833
|
+
/** Named connection supplying this operation. */
|
|
834
|
+
connection: Connection<{
|
|
835
|
+
listCompanies(): Query<OperationInput, OperationOutput>;
|
|
836
|
+
}>;
|
|
837
|
+
/** Name matching the bound connection. */
|
|
838
|
+
connectionName: string;
|
|
839
|
+
/** Copper returned a page of companies. */
|
|
840
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
841
|
+
/** Copper rejected the search. */
|
|
842
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
843
|
+
/** Copper returned malformed or oversized companies JSON. */
|
|
844
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
845
|
+
/** Input or credentials are invalid. */
|
|
846
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
847
|
+
}
|
|
848
|
+
/** Build the listCompanies Step from a named connection. */
|
|
849
|
+
declare function newListCompaniesStep<StepInput, OperationInput = ListCompaniesInput, OperationOutput = CompaniesPage>(configuration: ListCompaniesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
850
|
+
/** Configuration for the updateCompany connector Step. */
|
|
851
|
+
interface UpdateCompanyStepConfig<StepInput, OperationInput = UpdateCompanyInput, OperationOutput = CompanyMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
852
|
+
/** Named connection supplying this operation. */
|
|
853
|
+
connection: Connection<{
|
|
854
|
+
updateCompany(): Mutation<OperationInput, OperationOutput>;
|
|
855
|
+
}>;
|
|
856
|
+
/** Name matching the bound connection. */
|
|
857
|
+
connectionName: string;
|
|
858
|
+
/** Copper updated the company. */
|
|
859
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
860
|
+
/** No company matches the ID. */
|
|
861
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
862
|
+
/** Copper rejected the update. */
|
|
863
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
864
|
+
/** Input or credentials are invalid. */
|
|
865
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
866
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
867
|
+
maxSends?: number;
|
|
868
|
+
}
|
|
869
|
+
/** Build the updateCompany Step from a named connection. */
|
|
870
|
+
declare function newUpdateCompanyStep<StepInput, OperationInput = UpdateCompanyInput, OperationOutput = CompanyMetadata>(configuration: UpdateCompanyStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
871
|
+
/** Configuration for the deleteCompany connector Step. */
|
|
872
|
+
interface DeleteCompanyStepConfig<StepInput, OperationInput = DeleteCompanyInput, OperationOutput = DeleteCompanyOutput> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
873
|
+
/** Named connection supplying this operation. */
|
|
874
|
+
connection: Connection<{
|
|
875
|
+
deleteCompany(): Mutation<OperationInput, OperationOutput>;
|
|
876
|
+
}>;
|
|
877
|
+
/** Name matching the bound connection. */
|
|
878
|
+
connectionName: string;
|
|
879
|
+
/** Copper deleted the company. */
|
|
880
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
881
|
+
/** No company matches the ID. */
|
|
882
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
883
|
+
/** Copper rejected the deletion. */
|
|
884
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
885
|
+
/** Input or credentials are invalid. */
|
|
886
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
887
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
888
|
+
maxSends?: number;
|
|
889
|
+
}
|
|
890
|
+
/** Build the deleteCompany Step from a named connection. */
|
|
891
|
+
declare function newDeleteCompanyStep<StepInput, OperationInput = DeleteCompanyInput, OperationOutput = DeleteCompanyOutput>(configuration: DeleteCompanyStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
892
|
+
/** Configuration for the createPerson connector Step. */
|
|
893
|
+
interface CreatePersonStepConfig<StepInput, OperationInput = CreatePersonInput, OperationOutput = PersonMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
894
|
+
/** Named connection supplying this operation. */
|
|
895
|
+
connection: Connection<{
|
|
896
|
+
createPerson(): Mutation<OperationInput, OperationOutput>;
|
|
897
|
+
}>;
|
|
898
|
+
/** Name matching the bound connection. */
|
|
899
|
+
connectionName: string;
|
|
900
|
+
/** Copper created the person. */
|
|
901
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
902
|
+
/** Copper rejected creation. */
|
|
903
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
904
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
905
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
906
|
+
/** Input or credentials are invalid. */
|
|
907
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
908
|
+
}
|
|
909
|
+
/** Build the createPerson Step from a named connection. */
|
|
910
|
+
declare function newCreatePersonStep<StepInput, OperationInput = CreatePersonInput, OperationOutput = PersonMetadata>(configuration: CreatePersonStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
911
|
+
/** Configuration for the getPerson connector Step. */
|
|
912
|
+
interface GetPersonStepConfig<StepInput, OperationInput = GetPersonInput, OperationOutput = PersonMetadata> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
913
|
+
/** Named connection supplying this operation. */
|
|
914
|
+
connection: Connection<{
|
|
915
|
+
getPerson(): Query<OperationInput, OperationOutput>;
|
|
916
|
+
}>;
|
|
917
|
+
/** Name matching the bound connection. */
|
|
918
|
+
connectionName: string;
|
|
919
|
+
/** Copper returned the person. */
|
|
920
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
921
|
+
/** No person matches the ID. */
|
|
922
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
923
|
+
/** Copper rejected the lookup. */
|
|
924
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
925
|
+
/** Copper returned invalid person JSON. */
|
|
926
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
927
|
+
/** Input or credentials are invalid. */
|
|
928
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
929
|
+
}
|
|
930
|
+
/** Build the getPerson Step from a named connection. */
|
|
931
|
+
declare function newGetPersonStep<StepInput, OperationInput = GetPersonInput, OperationOutput = PersonMetadata>(configuration: GetPersonStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
932
|
+
/** Configuration for the listPeople connector Step. */
|
|
933
|
+
interface ListPeopleStepConfig<StepInput, OperationInput = ListPeopleInput, OperationOutput = PeoplePage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
934
|
+
/** Named connection supplying this operation. */
|
|
935
|
+
connection: Connection<{
|
|
936
|
+
listPeople(): Query<OperationInput, OperationOutput>;
|
|
937
|
+
}>;
|
|
938
|
+
/** Name matching the bound connection. */
|
|
939
|
+
connectionName: string;
|
|
940
|
+
/** Copper returned a page of people. */
|
|
941
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
942
|
+
/** Copper rejected the search. */
|
|
943
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
944
|
+
/** Copper returned malformed or oversized people JSON. */
|
|
945
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
946
|
+
/** Input or credentials are invalid. */
|
|
947
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
948
|
+
}
|
|
949
|
+
/** Build the listPeople Step from a named connection. */
|
|
950
|
+
declare function newListPeopleStep<StepInput, OperationInput = ListPeopleInput, OperationOutput = PeoplePage>(configuration: ListPeopleStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
951
|
+
/** Configuration for the updatePerson connector Step. */
|
|
952
|
+
interface UpdatePersonStepConfig<StepInput, OperationInput = UpdatePersonInput, OperationOutput = PersonMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
953
|
+
/** Named connection supplying this operation. */
|
|
954
|
+
connection: Connection<{
|
|
955
|
+
updatePerson(): Mutation<OperationInput, OperationOutput>;
|
|
956
|
+
}>;
|
|
957
|
+
/** Name matching the bound connection. */
|
|
958
|
+
connectionName: string;
|
|
959
|
+
/** Copper updated the person. */
|
|
960
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
961
|
+
/** No person matches the ID. */
|
|
962
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
963
|
+
/** Copper rejected the update. */
|
|
964
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
965
|
+
/** Input or credentials are invalid. */
|
|
966
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
967
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
968
|
+
maxSends?: number;
|
|
969
|
+
}
|
|
970
|
+
/** Build the updatePerson Step from a named connection. */
|
|
971
|
+
declare function newUpdatePersonStep<StepInput, OperationInput = UpdatePersonInput, OperationOutput = PersonMetadata>(configuration: UpdatePersonStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
972
|
+
/** Configuration for the deletePerson connector Step. */
|
|
973
|
+
interface DeletePersonStepConfig<StepInput, OperationInput = DeletePersonInput, OperationOutput = DeletePersonOutput> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
974
|
+
/** Named connection supplying this operation. */
|
|
975
|
+
connection: Connection<{
|
|
976
|
+
deletePerson(): Mutation<OperationInput, OperationOutput>;
|
|
977
|
+
}>;
|
|
978
|
+
/** Name matching the bound connection. */
|
|
979
|
+
connectionName: string;
|
|
980
|
+
/** Copper deleted the person. */
|
|
981
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
982
|
+
/** No person matches the ID. */
|
|
983
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
984
|
+
/** Copper rejected the deletion. */
|
|
985
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
986
|
+
/** Input or credentials are invalid. */
|
|
987
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
988
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
989
|
+
maxSends?: number;
|
|
990
|
+
}
|
|
991
|
+
/** Build the deletePerson Step from a named connection. */
|
|
992
|
+
declare function newDeletePersonStep<StepInput, OperationInput = DeletePersonInput, OperationOutput = DeletePersonOutput>(configuration: DeletePersonStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
993
|
+
/** Configuration for the listCustomerSources connector Step. */
|
|
994
|
+
interface ListCustomerSourcesStepConfig<StepInput, OperationInput = ListCustomerSourcesInput, OperationOutput = CustomerSourcesList> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
995
|
+
/** Named connection supplying this operation. */
|
|
996
|
+
connection: Connection<{
|
|
997
|
+
listCustomerSources(): Query<OperationInput, OperationOutput>;
|
|
998
|
+
}>;
|
|
999
|
+
/** Name matching the bound connection. */
|
|
1000
|
+
connectionName: string;
|
|
1001
|
+
/** Copper returned customer sources. */
|
|
1002
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1003
|
+
/** Copper conclusively rejected the request. */
|
|
1004
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1005
|
+
/** Copper returned malformed or oversized JSON. */
|
|
1006
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1007
|
+
/** Connection credentials are invalid. */
|
|
1008
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1009
|
+
}
|
|
1010
|
+
/** Build the listCustomerSources Step from a named connection. */
|
|
1011
|
+
declare function newListCustomerSourcesStep<StepInput, OperationInput = ListCustomerSourcesInput, OperationOutput = CustomerSourcesList>(configuration: ListCustomerSourcesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1012
|
+
/** Configuration for the listLeadStatuses connector Step. */
|
|
1013
|
+
interface ListLeadStatusesStepConfig<StepInput, OperationInput = ListLeadStatusesInput, OperationOutput = LeadStatusesList> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1014
|
+
/** Named connection supplying this operation. */
|
|
1015
|
+
connection: Connection<{
|
|
1016
|
+
listLeadStatuses(): Query<OperationInput, OperationOutput>;
|
|
1017
|
+
}>;
|
|
1018
|
+
/** Name matching the bound connection. */
|
|
1019
|
+
connectionName: string;
|
|
1020
|
+
/** Copper returned lead statuses. */
|
|
1021
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1022
|
+
/** Copper conclusively rejected the request. */
|
|
1023
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1024
|
+
/** Copper returned malformed or oversized JSON. */
|
|
1025
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1026
|
+
/** Connection credentials are invalid. */
|
|
1027
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1028
|
+
}
|
|
1029
|
+
/** Build the listLeadStatuses Step from a named connection. */
|
|
1030
|
+
declare function newListLeadStatusesStep<StepInput, OperationInput = ListLeadStatusesInput, OperationOutput = LeadStatusesList>(configuration: ListLeadStatusesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1031
|
+
/** Configuration for the listUsers connector Step. */
|
|
1032
|
+
interface ListUsersStepConfig<StepInput, OperationInput = ListUsersInput, OperationOutput = UsersPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1033
|
+
/** Named connection supplying this operation. */
|
|
1034
|
+
connection: Connection<{
|
|
1035
|
+
listUsers(): Query<OperationInput, OperationOutput>;
|
|
1036
|
+
}>;
|
|
1037
|
+
/** Name matching the bound connection. */
|
|
1038
|
+
connectionName: string;
|
|
1039
|
+
/** Copper returned a page of users. */
|
|
1040
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1041
|
+
/** Copper rejected the search. */
|
|
1042
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1043
|
+
/** Copper returned malformed or oversized users JSON. */
|
|
1044
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1045
|
+
/** Input or credentials are invalid. */
|
|
1046
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1047
|
+
}
|
|
1048
|
+
/** Build the listUsers Step from a named connection. */
|
|
1049
|
+
declare function newListUsersStep<StepInput, OperationInput = ListUsersInput, OperationOutput = UsersPage>(configuration: ListUsersStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1050
|
+
/** Configuration for the createTask connector Step. */
|
|
1051
|
+
interface CreateTaskStepConfig<StepInput, OperationInput = CreateTaskInput, OperationOutput = TaskMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1052
|
+
/** Named connection supplying this operation. */
|
|
1053
|
+
connection: Connection<{
|
|
1054
|
+
createTask(): Mutation<OperationInput, OperationOutput>;
|
|
1055
|
+
}>;
|
|
1056
|
+
/** Name matching the bound connection. */
|
|
1057
|
+
connectionName: string;
|
|
1058
|
+
/** Copper created the task. */
|
|
1059
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
1060
|
+
/** Copper rejected creation. */
|
|
1061
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1062
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
1063
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
1064
|
+
/** Input or credentials are invalid. */
|
|
1065
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1066
|
+
}
|
|
1067
|
+
/** Build the createTask Step from a named connection. */
|
|
1068
|
+
declare function newCreateTaskStep<StepInput, OperationInput = CreateTaskInput, OperationOutput = TaskMetadata>(configuration: CreateTaskStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1069
|
+
/** Configuration for the listTasks connector Step. */
|
|
1070
|
+
interface ListTasksStepConfig<StepInput, OperationInput = ListTasksInput, OperationOutput = TasksPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1071
|
+
/** Named connection supplying this operation. */
|
|
1072
|
+
connection: Connection<{
|
|
1073
|
+
listTasks(): Query<OperationInput, OperationOutput>;
|
|
1074
|
+
}>;
|
|
1075
|
+
/** Name matching the bound connection. */
|
|
1076
|
+
connectionName: string;
|
|
1077
|
+
/** Copper returned a page of tasks. */
|
|
1078
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1079
|
+
/** Copper rejected the search. */
|
|
1080
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1081
|
+
/** Copper returned malformed or oversized tasks JSON. */
|
|
1082
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1083
|
+
/** Input or credentials are invalid. */
|
|
1084
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1085
|
+
}
|
|
1086
|
+
/** Build the listTasks Step from a named connection. */
|
|
1087
|
+
declare function newListTasksStep<StepInput, OperationInput = ListTasksInput, OperationOutput = TasksPage>(configuration: ListTasksStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1088
|
+
/** Configuration for the updateTask connector Step. */
|
|
1089
|
+
interface UpdateTaskStepConfig<StepInput, OperationInput = UpdateTaskInput, OperationOutput = TaskMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1090
|
+
/** Named connection supplying this operation. */
|
|
1091
|
+
connection: Connection<{
|
|
1092
|
+
updateTask(): Mutation<OperationInput, OperationOutput>;
|
|
1093
|
+
}>;
|
|
1094
|
+
/** Name matching the bound connection. */
|
|
1095
|
+
connectionName: string;
|
|
1096
|
+
/** Copper updated the task. */
|
|
1097
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
1098
|
+
/** No task matches the ID. */
|
|
1099
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1100
|
+
/** Copper rejected the update. */
|
|
1101
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1102
|
+
/** Input or credentials are invalid. */
|
|
1103
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1104
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1105
|
+
maxSends?: number;
|
|
1106
|
+
}
|
|
1107
|
+
/** Build the updateTask Step from a named connection. */
|
|
1108
|
+
declare function newUpdateTaskStep<StepInput, OperationInput = UpdateTaskInput, OperationOutput = TaskMetadata>(configuration: UpdateTaskStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1109
|
+
/** Configuration for the deleteTask connector Step. */
|
|
1110
|
+
interface DeleteTaskStepConfig<StepInput, OperationInput = DeleteTaskInput, OperationOutput = DeleteTaskOutput> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1111
|
+
/** Named connection supplying this operation. */
|
|
1112
|
+
connection: Connection<{
|
|
1113
|
+
deleteTask(): Mutation<OperationInput, OperationOutput>;
|
|
1114
|
+
}>;
|
|
1115
|
+
/** Name matching the bound connection. */
|
|
1116
|
+
connectionName: string;
|
|
1117
|
+
/** Copper deleted the task. */
|
|
1118
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
1119
|
+
/** No task matches the ID. */
|
|
1120
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1121
|
+
/** Copper rejected the deletion. */
|
|
1122
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1123
|
+
/** Input or credentials are invalid. */
|
|
1124
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1125
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1126
|
+
maxSends?: number;
|
|
1127
|
+
}
|
|
1128
|
+
/** Build the deleteTask Step from a named connection. */
|
|
1129
|
+
declare function newDeleteTaskStep<StepInput, OperationInput = DeleteTaskInput, OperationOutput = DeleteTaskOutput>(configuration: DeleteTaskStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1130
|
+
/** Configuration for the getTask connector Step. */
|
|
1131
|
+
interface GetTaskStepConfig<StepInput, OperationInput = GetTaskInput, OperationOutput = TaskMetadata> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1132
|
+
/** Named connection supplying this operation. */
|
|
1133
|
+
connection: Connection<{
|
|
1134
|
+
getTask(): Query<OperationInput, OperationOutput>;
|
|
1135
|
+
}>;
|
|
1136
|
+
/** Name matching the bound connection. */
|
|
1137
|
+
connectionName: string;
|
|
1138
|
+
/** Copper returned the selected task. */
|
|
1139
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1140
|
+
/** No task matches this ID. */
|
|
1141
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1142
|
+
/** Copper conclusively rejected the request. */
|
|
1143
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1144
|
+
/** Copper returned malformed or oversized JSON. */
|
|
1145
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1146
|
+
/** Invalid input or unavailable credentials. */
|
|
1147
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1148
|
+
}
|
|
1149
|
+
/** Build the getTask Step from a named connection. */
|
|
1150
|
+
declare function newGetTaskStep<StepInput, OperationInput = GetTaskInput, OperationOutput = TaskMetadata>(configuration: GetTaskStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1151
|
+
/** Configuration for the createProject connector Step. */
|
|
1152
|
+
interface CreateProjectStepConfig<StepInput, OperationInput = CreateProjectInput, OperationOutput = ProjectMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1153
|
+
/** Named connection supplying this operation. */
|
|
1154
|
+
connection: Connection<{
|
|
1155
|
+
createProject(): Mutation<OperationInput, OperationOutput>;
|
|
1156
|
+
}>;
|
|
1157
|
+
/** Name matching the bound connection. */
|
|
1158
|
+
connectionName: string;
|
|
1159
|
+
/** Copper created the project. */
|
|
1160
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
1161
|
+
/** Copper rejected creation. */
|
|
1162
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1163
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
1164
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
1165
|
+
/** Input or credentials are invalid. */
|
|
1166
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1167
|
+
}
|
|
1168
|
+
/** Build the createProject Step from a named connection. */
|
|
1169
|
+
declare function newCreateProjectStep<StepInput, OperationInput = CreateProjectInput, OperationOutput = ProjectMetadata>(configuration: CreateProjectStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1170
|
+
/** Configuration for the listProjects connector Step. */
|
|
1171
|
+
interface ListProjectsStepConfig<StepInput, OperationInput = ListProjectsInput, OperationOutput = ProjectsPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1172
|
+
/** Named connection supplying this operation. */
|
|
1173
|
+
connection: Connection<{
|
|
1174
|
+
listProjects(): Query<OperationInput, OperationOutput>;
|
|
1175
|
+
}>;
|
|
1176
|
+
/** Name matching the bound connection. */
|
|
1177
|
+
connectionName: string;
|
|
1178
|
+
/** Copper returned a page of projects. */
|
|
1179
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1180
|
+
/** Copper rejected the search. */
|
|
1181
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1182
|
+
/** Copper returned malformed or oversized projects JSON. */
|
|
1183
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1184
|
+
/** Input or credentials are invalid. */
|
|
1185
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1186
|
+
}
|
|
1187
|
+
/** Build the listProjects Step from a named connection. */
|
|
1188
|
+
declare function newListProjectsStep<StepInput, OperationInput = ListProjectsInput, OperationOutput = ProjectsPage>(configuration: ListProjectsStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1189
|
+
/** Configuration for the updateProject connector Step. */
|
|
1190
|
+
interface UpdateProjectStepConfig<StepInput, OperationInput = UpdateProjectInput, OperationOutput = ProjectMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1191
|
+
/** Named connection supplying this operation. */
|
|
1192
|
+
connection: Connection<{
|
|
1193
|
+
updateProject(): Mutation<OperationInput, OperationOutput>;
|
|
1194
|
+
}>;
|
|
1195
|
+
/** Name matching the bound connection. */
|
|
1196
|
+
connectionName: string;
|
|
1197
|
+
/** Copper updated the project. */
|
|
1198
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
1199
|
+
/** No project matches the ID. */
|
|
1200
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1201
|
+
/** Copper rejected the update. */
|
|
1202
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1203
|
+
/** Input or credentials are invalid. */
|
|
1204
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1205
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1206
|
+
maxSends?: number;
|
|
1207
|
+
}
|
|
1208
|
+
/** Build the updateProject Step from a named connection. */
|
|
1209
|
+
declare function newUpdateProjectStep<StepInput, OperationInput = UpdateProjectInput, OperationOutput = ProjectMetadata>(configuration: UpdateProjectStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1210
|
+
/** Configuration for the deleteProject connector Step. */
|
|
1211
|
+
interface DeleteProjectStepConfig<StepInput, OperationInput = DeleteProjectInput, OperationOutput = DeleteProjectOutput> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1212
|
+
/** Named connection supplying this operation. */
|
|
1213
|
+
connection: Connection<{
|
|
1214
|
+
deleteProject(): Mutation<OperationInput, OperationOutput>;
|
|
1215
|
+
}>;
|
|
1216
|
+
/** Name matching the bound connection. */
|
|
1217
|
+
connectionName: string;
|
|
1218
|
+
/** Copper deleted the project. */
|
|
1219
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
1220
|
+
/** No project matches the ID. */
|
|
1221
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1222
|
+
/** Copper rejected the deletion. */
|
|
1223
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1224
|
+
/** Input or credentials are invalid. */
|
|
1225
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1226
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1227
|
+
maxSends?: number;
|
|
1228
|
+
}
|
|
1229
|
+
/** Build the deleteProject Step from a named connection. */
|
|
1230
|
+
declare function newDeleteProjectStep<StepInput, OperationInput = DeleteProjectInput, OperationOutput = DeleteProjectOutput>(configuration: DeleteProjectStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1231
|
+
/** Configuration for the getProject connector Step. */
|
|
1232
|
+
interface GetProjectStepConfig<StepInput, OperationInput = GetProjectInput, OperationOutput = ProjectMetadata> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1233
|
+
/** Named connection supplying this operation. */
|
|
1234
|
+
connection: Connection<{
|
|
1235
|
+
getProject(): Query<OperationInput, OperationOutput>;
|
|
1236
|
+
}>;
|
|
1237
|
+
/** Name matching the bound connection. */
|
|
1238
|
+
connectionName: string;
|
|
1239
|
+
/** Copper returned the selected project. */
|
|
1240
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1241
|
+
/** No project matches this ID. */
|
|
1242
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1243
|
+
/** Copper conclusively rejected the request. */
|
|
1244
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1245
|
+
/** Copper returned malformed or oversized JSON. */
|
|
1246
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1247
|
+
/** Invalid input or unavailable credentials. */
|
|
1248
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1249
|
+
}
|
|
1250
|
+
/** Build the getProject Step from a named connection. */
|
|
1251
|
+
declare function newGetProjectStep<StepInput, OperationInput = GetProjectInput, OperationOutput = ProjectMetadata>(configuration: GetProjectStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1252
|
+
/** Configuration for the createOpportunity connector Step. */
|
|
1253
|
+
interface CreateOpportunityStepConfig<StepInput, OperationInput = CreateOpportunityInput, OperationOutput = OpportunityMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1254
|
+
/** Named connection supplying this operation. */
|
|
1255
|
+
connection: Connection<{
|
|
1256
|
+
createOpportunity(): Mutation<OperationInput, OperationOutput>;
|
|
1257
|
+
}>;
|
|
1258
|
+
/** Name matching the bound connection. */
|
|
1259
|
+
connectionName: string;
|
|
1260
|
+
/** Copper created the opportunity. */
|
|
1261
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
1262
|
+
/** Copper rejected creation. */
|
|
1263
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1264
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
1265
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
1266
|
+
/** Input or credentials are invalid. */
|
|
1267
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1268
|
+
}
|
|
1269
|
+
/** Build the createOpportunity Step from a named connection. */
|
|
1270
|
+
declare function newCreateOpportunityStep<StepInput, OperationInput = CreateOpportunityInput, OperationOutput = OpportunityMetadata>(configuration: CreateOpportunityStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1271
|
+
/** Configuration for the listOpportunities connector Step. */
|
|
1272
|
+
interface ListOpportunitiesStepConfig<StepInput, OperationInput = ListOpportunitiesInput, OperationOutput = OpportunitiesPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1273
|
+
/** Named connection supplying this operation. */
|
|
1274
|
+
connection: Connection<{
|
|
1275
|
+
listOpportunities(): Query<OperationInput, OperationOutput>;
|
|
1276
|
+
}>;
|
|
1277
|
+
/** Name matching the bound connection. */
|
|
1278
|
+
connectionName: string;
|
|
1279
|
+
/** Copper returned a page of opportunities. */
|
|
1280
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1281
|
+
/** Copper rejected the search. */
|
|
1282
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1283
|
+
/** Copper returned malformed or oversized opportunities JSON. */
|
|
1284
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1285
|
+
/** Input or credentials are invalid. */
|
|
1286
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1287
|
+
}
|
|
1288
|
+
/** Build the listOpportunities Step from a named connection. */
|
|
1289
|
+
declare function newListOpportunitiesStep<StepInput, OperationInput = ListOpportunitiesInput, OperationOutput = OpportunitiesPage>(configuration: ListOpportunitiesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1290
|
+
/** Configuration for the updateOpportunity connector Step. */
|
|
1291
|
+
interface UpdateOpportunityStepConfig<StepInput, OperationInput = UpdateOpportunityInput, OperationOutput = OpportunityMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1292
|
+
/** Named connection supplying this operation. */
|
|
1293
|
+
connection: Connection<{
|
|
1294
|
+
updateOpportunity(): Mutation<OperationInput, OperationOutput>;
|
|
1295
|
+
}>;
|
|
1296
|
+
/** Name matching the bound connection. */
|
|
1297
|
+
connectionName: string;
|
|
1298
|
+
/** Copper updated the opportunity. */
|
|
1299
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
1300
|
+
/** No opportunity matches the ID. */
|
|
1301
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1302
|
+
/** Copper rejected the update. */
|
|
1303
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1304
|
+
/** Input or credentials are invalid. */
|
|
1305
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1306
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1307
|
+
maxSends?: number;
|
|
1308
|
+
}
|
|
1309
|
+
/** Build the updateOpportunity Step from a named connection. */
|
|
1310
|
+
declare function newUpdateOpportunityStep<StepInput, OperationInput = UpdateOpportunityInput, OperationOutput = OpportunityMetadata>(configuration: UpdateOpportunityStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1311
|
+
/** Configuration for the deleteOpportunity connector Step. */
|
|
1312
|
+
interface DeleteOpportunityStepConfig<StepInput, OperationInput = DeleteOpportunityInput, OperationOutput = DeleteOpportunityOutput> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1313
|
+
/** Named connection supplying this operation. */
|
|
1314
|
+
connection: Connection<{
|
|
1315
|
+
deleteOpportunity(): Mutation<OperationInput, OperationOutput>;
|
|
1316
|
+
}>;
|
|
1317
|
+
/** Name matching the bound connection. */
|
|
1318
|
+
connectionName: string;
|
|
1319
|
+
/** Copper deleted the opportunity. */
|
|
1320
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
1321
|
+
/** No opportunity matches the ID. */
|
|
1322
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1323
|
+
/** Copper rejected the deletion. */
|
|
1324
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1325
|
+
/** Input or credentials are invalid. */
|
|
1326
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1327
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1328
|
+
maxSends?: number;
|
|
1329
|
+
}
|
|
1330
|
+
/** Build the deleteOpportunity Step from a named connection. */
|
|
1331
|
+
declare function newDeleteOpportunityStep<StepInput, OperationInput = DeleteOpportunityInput, OperationOutput = DeleteOpportunityOutput>(configuration: DeleteOpportunityStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1332
|
+
/** Configuration for the getOpportunity connector Step. */
|
|
1333
|
+
interface GetOpportunityStepConfig<StepInput, OperationInput = GetOpportunityInput, OperationOutput = OpportunityMetadata> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1334
|
+
/** Named connection supplying this operation. */
|
|
1335
|
+
connection: Connection<{
|
|
1336
|
+
getOpportunity(): Query<OperationInput, OperationOutput>;
|
|
1337
|
+
}>;
|
|
1338
|
+
/** Name matching the bound connection. */
|
|
1339
|
+
connectionName: string;
|
|
1340
|
+
/** Copper returned the selected opportunity. */
|
|
1341
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1342
|
+
/** No opportunity matches this ID. */
|
|
1343
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1344
|
+
/** Copper conclusively rejected the request. */
|
|
1345
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1346
|
+
/** Copper returned malformed or oversized JSON. */
|
|
1347
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1348
|
+
/** Invalid input or unavailable credentials. */
|
|
1349
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1350
|
+
}
|
|
1351
|
+
/** Build the getOpportunity Step from a named connection. */
|
|
1352
|
+
declare function newGetOpportunityStep<StepInput, OperationInput = GetOpportunityInput, OperationOutput = OpportunityMetadata>(configuration: GetOpportunityStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1353
|
+
/** Configuration for the createLead connector Step. */
|
|
1354
|
+
interface CreateLeadStepConfig<StepInput, OperationInput = CreateLeadInput, OperationOutput = LeadMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1355
|
+
/** Named connection supplying this operation. */
|
|
1356
|
+
connection: Connection<{
|
|
1357
|
+
createLead(): Mutation<OperationInput, OperationOutput>;
|
|
1358
|
+
}>;
|
|
1359
|
+
/** Name matching the bound connection. */
|
|
1360
|
+
connectionName: string;
|
|
1361
|
+
/** Copper created the lead. */
|
|
1362
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
1363
|
+
/** Copper rejected creation. */
|
|
1364
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1365
|
+
/** Creation may have succeeded but could not be confirmed. */
|
|
1366
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
1367
|
+
/** Input or credentials are invalid. */
|
|
1368
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1369
|
+
}
|
|
1370
|
+
/** Build the createLead Step from a named connection. */
|
|
1371
|
+
declare function newCreateLeadStep<StepInput, OperationInput = CreateLeadInput, OperationOutput = LeadMetadata>(configuration: CreateLeadStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1372
|
+
/** Configuration for the listLeads connector Step. */
|
|
1373
|
+
interface ListLeadsStepConfig<StepInput, OperationInput = ListLeadsInput, OperationOutput = LeadsPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1374
|
+
/** Named connection supplying this operation. */
|
|
1375
|
+
connection: Connection<{
|
|
1376
|
+
listLeads(): Query<OperationInput, OperationOutput>;
|
|
1377
|
+
}>;
|
|
1378
|
+
/** Name matching the bound connection. */
|
|
1379
|
+
connectionName: string;
|
|
1380
|
+
/** Copper returned a page of leads. */
|
|
1381
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
1382
|
+
/** Copper rejected the search. */
|
|
1383
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1384
|
+
/** Copper returned malformed or oversized leads JSON. */
|
|
1385
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1386
|
+
/** Input or credentials are invalid. */
|
|
1387
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1388
|
+
}
|
|
1389
|
+
/** Build the listLeads Step from a named connection. */
|
|
1390
|
+
declare function newListLeadsStep<StepInput, OperationInput = ListLeadsInput, OperationOutput = LeadsPage>(configuration: ListLeadsStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1391
|
+
/** Configuration for the updateLead connector Step. */
|
|
1392
|
+
interface UpdateLeadStepConfig<StepInput, OperationInput = UpdateLeadInput, OperationOutput = LeadMetadata> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1393
|
+
/** Named connection supplying this operation. */
|
|
1394
|
+
connection: Connection<{
|
|
1395
|
+
updateLead(): Mutation<OperationInput, OperationOutput>;
|
|
1396
|
+
}>;
|
|
1397
|
+
/** Name matching the bound connection. */
|
|
1398
|
+
connectionName: string;
|
|
1399
|
+
/** Copper updated the lead. */
|
|
1400
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
1401
|
+
/** No lead matches the ID. */
|
|
1402
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1403
|
+
/** Copper rejected the update. */
|
|
1404
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1405
|
+
/** Input or credentials are invalid. */
|
|
1406
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1407
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1408
|
+
maxSends?: number;
|
|
1409
|
+
}
|
|
1410
|
+
/** Build the updateLead Step from a named connection. */
|
|
1411
|
+
declare function newUpdateLeadStep<StepInput, OperationInput = UpdateLeadInput, OperationOutput = LeadMetadata>(configuration: UpdateLeadStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1412
|
+
/** Configuration for the deleteLead connector Step. */
|
|
1413
|
+
interface DeleteLeadStepConfig<StepInput, OperationInput = DeleteLeadInput, OperationOutput = DeleteLeadOutput> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1414
|
+
/** Named connection supplying this operation. */
|
|
1415
|
+
connection: Connection<{
|
|
1416
|
+
deleteLead(): Mutation<OperationInput, OperationOutput>;
|
|
1417
|
+
}>;
|
|
1418
|
+
/** Name matching the bound connection. */
|
|
1419
|
+
connectionName: string;
|
|
1420
|
+
/** Copper deleted the lead. */
|
|
1421
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
1422
|
+
/** No lead matches the ID. */
|
|
1423
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1424
|
+
/** Copper rejected the deletion. */
|
|
1425
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1426
|
+
/** Input or credentials are invalid. */
|
|
1427
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1428
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1429
|
+
maxSends?: number;
|
|
1430
|
+
}
|
|
1431
|
+
/** Build the deleteLead Step from a named connection. */
|
|
1432
|
+
declare function newDeleteLeadStep<StepInput, OperationInput = DeleteLeadInput, OperationOutput = DeleteLeadOutput>(configuration: DeleteLeadStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1433
|
+
/** Configuration for the getLead connector Step. */
|
|
1434
|
+
interface GetLeadStepConfig<StepInput, OperationInput = GetLeadInput, OperationOutput = LeadMetadata> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1435
|
+
/** Named connection supplying this operation. */
|
|
1436
|
+
connection: Connection<{
|
|
1437
|
+
getLead(): Query<OperationInput, OperationOutput>;
|
|
1438
|
+
}>;
|
|
1439
|
+
/** Name matching the bound connection. */
|
|
1440
|
+
connectionName: string;
|
|
1441
|
+
/** Copper returned the selected lead. */
|
|
1442
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1443
|
+
/** No lead matches this ID. */
|
|
1444
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1445
|
+
/** Copper conclusively rejected the request. */
|
|
1446
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1447
|
+
/** Copper returned malformed or oversized JSON. */
|
|
1448
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1449
|
+
/** Invalid input or unavailable credentials. */
|
|
1450
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1451
|
+
}
|
|
1452
|
+
/** Build the getLead Step from a named connection. */
|
|
1453
|
+
declare function newGetLeadStep<StepInput, OperationInput = GetLeadInput, OperationOutput = LeadMetadata>(configuration: GetLeadStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1454
|
+
|
|
1455
|
+
/** Open one named Copper connection from Dex project configuration. */
|
|
1456
|
+
declare function newProjectConnection(project: LoadedProject, connectionName: string): Connection<Operations>;
|
|
1457
|
+
|
|
1458
|
+
/** Shared Copper mutation identity and write outcomes. */
|
|
1459
|
+
declare abstract class CopperMutation<Input, Output> implements Mutation<Input, Output> {
|
|
1460
|
+
protected readonly client: CopperClient;
|
|
1461
|
+
protected readonly contract: MutationDefinition;
|
|
1462
|
+
protected readonly empty: () => Output;
|
|
1463
|
+
protected readonly branch: string;
|
|
1464
|
+
constructor(client: CopperClient, contract: MutationDefinition, empty: () => Output, branch: string);
|
|
1465
|
+
/** Return the manifest-generated Mutation definition. */
|
|
1466
|
+
definition(): MutationDefinition;
|
|
1467
|
+
/** Preserve the logical identity of a Dex write across retries. */
|
|
1468
|
+
idempotencyKey(callID: string, input: Input): string;
|
|
1469
|
+
abstract invoke(call: Call, input: Input): Promise<MutationAttempt<Output>>;
|
|
1470
|
+
protected write(call: Call, path: string, decode: (raw: unknown) => Output, payload?: Record<string, unknown>): Promise<MutationAttempt<Output>>;
|
|
1471
|
+
protected invalid(): MutationAttempt<Output>;
|
|
1472
|
+
protected terminal(branch: string, kind: Failure['kind'], message: string): MutationAttempt<Output>;
|
|
1473
|
+
protected retry(kind: Failure['kind'], message: string, delay?: number): MutationAttempt<Output>;
|
|
1474
|
+
protected failure(kind: Failure['kind'], message: string): Failure;
|
|
1475
|
+
}
|
|
1476
|
+
/** Update a Copper company. */
|
|
1477
|
+
declare class UpdateCompanyOperation extends CopperMutation<UpdateCompanyInput, CompanyMetadata> {
|
|
1478
|
+
/** Bind the Copper provider client. */
|
|
1479
|
+
constructor(client: CopperClient);
|
|
1480
|
+
/** Validate the write and send it to Copper. */
|
|
1481
|
+
invoke(call: Call, input: UpdateCompanyInput): Promise<MutationAttempt<CompanyMetadata>>;
|
|
1482
|
+
}
|
|
1483
|
+
/** Delete a Copper company. */
|
|
1484
|
+
declare class DeleteCompanyOperation extends CopperMutation<DeleteCompanyInput, DeleteCompanyOutput> {
|
|
1485
|
+
/** Bind the Copper provider client. */
|
|
1486
|
+
constructor(client: CopperClient);
|
|
1487
|
+
/** Validate the write and send it to Copper. */
|
|
1488
|
+
invoke(call: Call, input: DeleteCompanyInput): Promise<MutationAttempt<DeleteCompanyOutput>>;
|
|
1489
|
+
}
|
|
1490
|
+
/** Update a Copper person. */
|
|
1491
|
+
declare class UpdatePersonOperation extends CopperMutation<UpdatePersonInput, PersonMetadata> {
|
|
1492
|
+
/** Bind the Copper provider client. */
|
|
1493
|
+
constructor(client: CopperClient);
|
|
1494
|
+
/** Validate the write and send it to Copper. */
|
|
1495
|
+
invoke(call: Call, input: UpdatePersonInput): Promise<MutationAttempt<PersonMetadata>>;
|
|
1496
|
+
}
|
|
1497
|
+
/** Delete a Copper person. */
|
|
1498
|
+
declare class DeletePersonOperation extends CopperMutation<DeletePersonInput, DeletePersonOutput> {
|
|
1499
|
+
/** Bind the Copper provider client. */
|
|
1500
|
+
constructor(client: CopperClient);
|
|
1501
|
+
/** Validate the write and send it to Copper. */
|
|
1502
|
+
invoke(call: Call, input: DeletePersonInput): Promise<MutationAttempt<DeletePersonOutput>>;
|
|
1503
|
+
}
|
|
1504
|
+
/** Update a Copper task. */
|
|
1505
|
+
declare class UpdateTaskOperation extends CopperMutation<UpdateTaskInput, TaskMetadata> {
|
|
1506
|
+
/** Bind the Copper provider client. */
|
|
1507
|
+
constructor(client: CopperClient);
|
|
1508
|
+
/** Validate the write and send it to Copper. */
|
|
1509
|
+
invoke(call: Call, input: UpdateTaskInput): Promise<MutationAttempt<TaskMetadata>>;
|
|
1510
|
+
}
|
|
1511
|
+
/** Delete a Copper task. */
|
|
1512
|
+
declare class DeleteTaskOperation extends CopperMutation<DeleteTaskInput, DeleteTaskOutput> {
|
|
1513
|
+
/** Bind the Copper provider client. */
|
|
1514
|
+
constructor(client: CopperClient);
|
|
1515
|
+
/** Validate the write and send it to Copper. */
|
|
1516
|
+
invoke(call: Call, input: DeleteTaskInput): Promise<MutationAttempt<DeleteTaskOutput>>;
|
|
1517
|
+
}
|
|
1518
|
+
/** Update a Copper project. */
|
|
1519
|
+
declare class UpdateProjectOperation extends CopperMutation<UpdateProjectInput, ProjectMetadata> {
|
|
1520
|
+
/** Bind the Copper provider client. */
|
|
1521
|
+
constructor(client: CopperClient);
|
|
1522
|
+
/** Validate the write and send it to Copper. */
|
|
1523
|
+
invoke(call: Call, input: UpdateProjectInput): Promise<MutationAttempt<ProjectMetadata>>;
|
|
1524
|
+
}
|
|
1525
|
+
/** Delete a Copper project. */
|
|
1526
|
+
declare class DeleteProjectOperation extends CopperMutation<DeleteProjectInput, DeleteProjectOutput> {
|
|
1527
|
+
/** Bind the Copper provider client. */
|
|
1528
|
+
constructor(client: CopperClient);
|
|
1529
|
+
/** Validate the write and send it to Copper. */
|
|
1530
|
+
invoke(call: Call, input: DeleteProjectInput): Promise<MutationAttempt<DeleteProjectOutput>>;
|
|
1531
|
+
}
|
|
1532
|
+
/** Update a Copper opportunity. */
|
|
1533
|
+
declare class UpdateOpportunityOperation extends CopperMutation<UpdateOpportunityInput, OpportunityMetadata> {
|
|
1534
|
+
/** Bind the Copper provider client. */
|
|
1535
|
+
constructor(client: CopperClient);
|
|
1536
|
+
/** Validate the write and send it to Copper. */
|
|
1537
|
+
invoke(call: Call, input: UpdateOpportunityInput): Promise<MutationAttempt<OpportunityMetadata>>;
|
|
1538
|
+
}
|
|
1539
|
+
/** Delete a Copper opportunity. */
|
|
1540
|
+
declare class DeleteOpportunityOperation extends CopperMutation<DeleteOpportunityInput, DeleteOpportunityOutput> {
|
|
1541
|
+
/** Bind the Copper provider client. */
|
|
1542
|
+
constructor(client: CopperClient);
|
|
1543
|
+
/** Validate the write and send it to Copper. */
|
|
1544
|
+
invoke(call: Call, input: DeleteOpportunityInput): Promise<MutationAttempt<DeleteOpportunityOutput>>;
|
|
1545
|
+
}
|
|
1546
|
+
/** Update a Copper lead. */
|
|
1547
|
+
declare class UpdateLeadOperation extends CopperMutation<UpdateLeadInput, LeadMetadata> {
|
|
1548
|
+
/** Bind the Copper provider client. */
|
|
1549
|
+
constructor(client: CopperClient);
|
|
1550
|
+
/** Validate the write and send it to Copper. */
|
|
1551
|
+
invoke(call: Call, input: UpdateLeadInput): Promise<MutationAttempt<LeadMetadata>>;
|
|
1552
|
+
}
|
|
1553
|
+
/** Delete a Copper lead. */
|
|
1554
|
+
declare class DeleteLeadOperation extends CopperMutation<DeleteLeadInput, DeleteLeadOutput> {
|
|
1555
|
+
/** Bind the Copper provider client. */
|
|
1556
|
+
constructor(client: CopperClient);
|
|
1557
|
+
/** Validate the write and send it to Copper. */
|
|
1558
|
+
invoke(call: Call, input: DeleteLeadInput): Promise<MutationAttempt<DeleteLeadOutput>>;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
interface Recovery<Output> {
|
|
1562
|
+
payload: Record<string, unknown>;
|
|
1563
|
+
matches: (raw: unknown, value: Output) => boolean | undefined;
|
|
1564
|
+
}
|
|
1565
|
+
declare abstract class LimitedMutation<Input, Output extends {
|
|
1566
|
+
id: number;
|
|
1567
|
+
}> extends CopperMutation<Input, Output> {
|
|
1568
|
+
protected create(call: Call, path: string, payload: Record<string, unknown>, decode: (raw: unknown) => Output, recovery?: Recovery<Output>, requireCheckpoint?: boolean): Promise<MutationAttempt<Output>>;
|
|
1569
|
+
private readSearch;
|
|
1570
|
+
private readByID;
|
|
1571
|
+
private uncertain;
|
|
1572
|
+
}
|
|
1573
|
+
/** Create a Copper company. */
|
|
1574
|
+
declare class CreateCompanyOperation extends LimitedMutation<CreateCompanyInput, CompanyMetadata> {
|
|
1575
|
+
/** Bind the provider client. */
|
|
1576
|
+
constructor(client: CopperClient);
|
|
1577
|
+
/** Validate input and dispatch a bounded create. */
|
|
1578
|
+
invoke(call: Call, input: CreateCompanyInput): Promise<MutationAttempt<CompanyMetadata>>;
|
|
1579
|
+
}
|
|
1580
|
+
/** Create a Copper person. */
|
|
1581
|
+
declare class CreatePersonOperation extends LimitedMutation<CreatePersonInput, PersonMetadata> {
|
|
1582
|
+
/** Bind the provider client. */
|
|
1583
|
+
constructor(client: CopperClient);
|
|
1584
|
+
/** Validate input and dispatch a bounded create. */
|
|
1585
|
+
invoke(call: Call, input: CreatePersonInput): Promise<MutationAttempt<PersonMetadata>>;
|
|
1586
|
+
}
|
|
1587
|
+
/** Create a Copper task. */
|
|
1588
|
+
declare class CreateTaskOperation extends LimitedMutation<CreateTaskInput, TaskMetadata> {
|
|
1589
|
+
/** Bind the provider client. */
|
|
1590
|
+
constructor(client: CopperClient);
|
|
1591
|
+
/** Validate input and dispatch a bounded create. */
|
|
1592
|
+
invoke(call: Call, input: CreateTaskInput): Promise<MutationAttempt<TaskMetadata>>;
|
|
1593
|
+
}
|
|
1594
|
+
/** Create a Copper project. */
|
|
1595
|
+
declare class CreateProjectOperation extends LimitedMutation<CreateProjectInput, ProjectMetadata> {
|
|
1596
|
+
/** Bind the provider client. */
|
|
1597
|
+
constructor(client: CopperClient);
|
|
1598
|
+
/** Validate input and dispatch a bounded create. */
|
|
1599
|
+
invoke(call: Call, input: CreateProjectInput): Promise<MutationAttempt<ProjectMetadata>>;
|
|
1600
|
+
}
|
|
1601
|
+
/** Create a Copper opportunity. */
|
|
1602
|
+
declare class CreateOpportunityOperation extends LimitedMutation<CreateOpportunityInput, OpportunityMetadata> {
|
|
1603
|
+
/** Bind the provider client. */
|
|
1604
|
+
constructor(client: CopperClient);
|
|
1605
|
+
/** Validate input and dispatch a bounded create. */
|
|
1606
|
+
invoke(call: Call, input: CreateOpportunityInput): Promise<MutationAttempt<OpportunityMetadata>>;
|
|
1607
|
+
}
|
|
1608
|
+
/** Create a Copper lead. */
|
|
1609
|
+
declare class CreateLeadOperation extends LimitedMutation<CreateLeadInput, LeadMetadata> {
|
|
1610
|
+
/** Bind the provider client. */
|
|
1611
|
+
constructor(client: CopperClient);
|
|
1612
|
+
/** Validate input and dispatch a bounded create. */
|
|
1613
|
+
invoke(call: Call, input: CreateLeadInput): Promise<MutationAttempt<LeadMetadata>>;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
declare abstract class ResourceQuery<Input, Output> implements Query<Input, Output> {
|
|
1617
|
+
private readonly client;
|
|
1618
|
+
private readonly contract;
|
|
1619
|
+
private readonly empty;
|
|
1620
|
+
private readonly branch;
|
|
1621
|
+
constructor(client: CopperClient, contract: QueryDefinition, empty: () => Output, branch: 'found' | 'listed');
|
|
1622
|
+
/** Return the manifest-generated Query definition. */
|
|
1623
|
+
definition(): QueryDefinition;
|
|
1624
|
+
abstract invoke(call: Call, input: Input): Promise<QueryAttempt<Output>>;
|
|
1625
|
+
protected read(call: Call, path: string, decode: (value: unknown) => Output, payload?: Record<string, unknown>): Promise<QueryAttempt<Output>>;
|
|
1626
|
+
protected defect(): QueryAttempt<Output>;
|
|
1627
|
+
}
|
|
1628
|
+
/** Read Copper company. */
|
|
1629
|
+
declare class GetCompanyOperation extends ResourceQuery<GetCompanyInput, CompanyMetadata> {
|
|
1630
|
+
/** Bind the provider client. */
|
|
1631
|
+
constructor(client: CopperClient);
|
|
1632
|
+
/** Validate input and read a bounded provider response. */
|
|
1633
|
+
invoke(call: Call, input: GetCompanyInput): Promise<QueryAttempt<CompanyMetadata>>;
|
|
1634
|
+
}
|
|
1635
|
+
/** List Copper companies. */
|
|
1636
|
+
declare class ListCompaniesOperation extends ResourceQuery<ListCompaniesInput, CompaniesPage> {
|
|
1637
|
+
/** Bind the provider client. */
|
|
1638
|
+
constructor(client: CopperClient);
|
|
1639
|
+
/** Validate input and read a bounded provider response. */
|
|
1640
|
+
invoke(call: Call, input: ListCompaniesInput): Promise<QueryAttempt<CompaniesPage>>;
|
|
1641
|
+
}
|
|
1642
|
+
/** Read Copper person. */
|
|
1643
|
+
declare class GetPersonOperation extends ResourceQuery<GetPersonInput, PersonMetadata> {
|
|
1644
|
+
/** Bind the provider client. */
|
|
1645
|
+
constructor(client: CopperClient);
|
|
1646
|
+
/** Validate input and read a bounded provider response. */
|
|
1647
|
+
invoke(call: Call, input: GetPersonInput): Promise<QueryAttempt<PersonMetadata>>;
|
|
1648
|
+
}
|
|
1649
|
+
/** List Copper people. */
|
|
1650
|
+
declare class ListPeopleOperation extends ResourceQuery<ListPeopleInput, PeoplePage> {
|
|
1651
|
+
/** Bind the provider client. */
|
|
1652
|
+
constructor(client: CopperClient);
|
|
1653
|
+
/** Validate input and read a bounded provider response. */
|
|
1654
|
+
invoke(call: Call, input: ListPeopleInput): Promise<QueryAttempt<PeoplePage>>;
|
|
1655
|
+
}
|
|
1656
|
+
/** List Copper sources. */
|
|
1657
|
+
declare class ListCustomerSourcesOperation extends ResourceQuery<ListCustomerSourcesInput, CustomerSourcesList> {
|
|
1658
|
+
/** Bind the provider client. */
|
|
1659
|
+
constructor(client: CopperClient);
|
|
1660
|
+
/** Validate input and read a bounded provider response. */
|
|
1661
|
+
invoke(call: Call, input: ListCustomerSourcesInput): Promise<QueryAttempt<CustomerSourcesList>>;
|
|
1662
|
+
}
|
|
1663
|
+
/** List Copper users. */
|
|
1664
|
+
declare class ListUsersOperation extends ResourceQuery<ListUsersInput, UsersPage> {
|
|
1665
|
+
/** Bind the provider client. */
|
|
1666
|
+
constructor(client: CopperClient);
|
|
1667
|
+
/** Validate input and read a bounded provider response. */
|
|
1668
|
+
invoke(call: Call, input: ListUsersInput): Promise<QueryAttempt<UsersPage>>;
|
|
1669
|
+
}
|
|
1670
|
+
/** List Copper tasks. */
|
|
1671
|
+
declare class ListTasksOperation extends ResourceQuery<ListTasksInput, TasksPage> {
|
|
1672
|
+
/** Bind the provider client. */
|
|
1673
|
+
constructor(client: CopperClient);
|
|
1674
|
+
/** Validate input and read a bounded provider response. */
|
|
1675
|
+
invoke(call: Call, input: ListTasksInput): Promise<QueryAttempt<TasksPage>>;
|
|
1676
|
+
}
|
|
1677
|
+
/** Read Copper task. */
|
|
1678
|
+
declare class GetTaskOperation extends ResourceQuery<GetTaskInput, TaskMetadata> {
|
|
1679
|
+
/** Bind the provider client. */
|
|
1680
|
+
constructor(client: CopperClient);
|
|
1681
|
+
/** Validate input and read a bounded provider response. */
|
|
1682
|
+
invoke(call: Call, input: GetTaskInput): Promise<QueryAttempt<TaskMetadata>>;
|
|
1683
|
+
}
|
|
1684
|
+
/** List Copper projects. */
|
|
1685
|
+
declare class ListProjectsOperation extends ResourceQuery<ListProjectsInput, ProjectsPage> {
|
|
1686
|
+
/** Bind the provider client. */
|
|
1687
|
+
constructor(client: CopperClient);
|
|
1688
|
+
/** Validate input and read a bounded provider response. */
|
|
1689
|
+
invoke(call: Call, input: ListProjectsInput): Promise<QueryAttempt<ProjectsPage>>;
|
|
1690
|
+
}
|
|
1691
|
+
/** Read Copper project. */
|
|
1692
|
+
declare class GetProjectOperation extends ResourceQuery<GetProjectInput, ProjectMetadata> {
|
|
1693
|
+
/** Bind the provider client. */
|
|
1694
|
+
constructor(client: CopperClient);
|
|
1695
|
+
/** Validate input and read a bounded provider response. */
|
|
1696
|
+
invoke(call: Call, input: GetProjectInput): Promise<QueryAttempt<ProjectMetadata>>;
|
|
1697
|
+
}
|
|
1698
|
+
/** List Copper opportunities. */
|
|
1699
|
+
declare class ListOpportunitiesOperation extends ResourceQuery<ListOpportunitiesInput, OpportunitiesPage> {
|
|
1700
|
+
/** Bind the provider client. */
|
|
1701
|
+
constructor(client: CopperClient);
|
|
1702
|
+
/** Validate input and read a bounded provider response. */
|
|
1703
|
+
invoke(call: Call, input: ListOpportunitiesInput): Promise<QueryAttempt<OpportunitiesPage>>;
|
|
1704
|
+
}
|
|
1705
|
+
/** Read Copper opportunity. */
|
|
1706
|
+
declare class GetOpportunityOperation extends ResourceQuery<GetOpportunityInput, OpportunityMetadata> {
|
|
1707
|
+
/** Bind the provider client. */
|
|
1708
|
+
constructor(client: CopperClient);
|
|
1709
|
+
/** Validate input and read a bounded provider response. */
|
|
1710
|
+
invoke(call: Call, input: GetOpportunityInput): Promise<QueryAttempt<OpportunityMetadata>>;
|
|
1711
|
+
}
|
|
1712
|
+
/** List Copper leads. */
|
|
1713
|
+
declare class ListLeadsOperation extends ResourceQuery<ListLeadsInput, LeadsPage> {
|
|
1714
|
+
/** Bind the provider client. */
|
|
1715
|
+
constructor(client: CopperClient);
|
|
1716
|
+
/** Validate input and read a bounded provider response. */
|
|
1717
|
+
invoke(call: Call, input: ListLeadsInput): Promise<QueryAttempt<LeadsPage>>;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
/** Optional transport dependency for provider tests and local Dex examples. */
|
|
1721
|
+
interface CopperClientOptions {
|
|
1722
|
+
/** One bounded provider request sender. */ send?: (request: ProviderRequest) => Promise<ProviderResponse>;
|
|
1723
|
+
}
|
|
1724
|
+
interface ProviderOutcome {
|
|
1725
|
+
body?: Uint8Array;
|
|
1726
|
+
branch?: string;
|
|
1727
|
+
failure?: Failure;
|
|
1728
|
+
retry?: boolean;
|
|
1729
|
+
retryAfterMs?: number;
|
|
1730
|
+
}
|
|
1731
|
+
interface RawResponse {
|
|
1732
|
+
status: number;
|
|
1733
|
+
body: Uint8Array;
|
|
1734
|
+
retryAfterMs: number;
|
|
1735
|
+
error?: 'credential' | 'request' | 'interrupted' | 'tooLarge';
|
|
1736
|
+
}
|
|
1737
|
+
/** Requests accepted by the Copper transport. */
|
|
1738
|
+
type ProviderMethod = 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
1739
|
+
/** Authenticated Copper Developer API v1 client with call-time credential resolution. */
|
|
1740
|
+
declare class CopperClient {
|
|
1741
|
+
private readonly credentials;
|
|
1742
|
+
private readonly baseUrl;
|
|
1743
|
+
private readonly timeoutMs;
|
|
1744
|
+
private readonly maxResponseBytes;
|
|
1745
|
+
private readonly sendRequest;
|
|
1746
|
+
/** Validate connection configuration without contacting Copper. */
|
|
1747
|
+
constructor(config: Config, credentials: CredentialProvider<Credentials>, options?: CopperClientOptions);
|
|
1748
|
+
/** Bind the lead status discovery Query. */ listLeadStatuses(): ListLeadStatusesOperation;
|
|
1749
|
+
/** Bind the lead metadata Query. */ getLead(): GetLeadOperation;
|
|
1750
|
+
/** Bind the getCompany Query. */ getCompany(): GetCompanyOperation;
|
|
1751
|
+
/** Bind the listCompanies Query. */ listCompanies(): ListCompaniesOperation;
|
|
1752
|
+
/** Bind the getPerson Query. */ getPerson(): GetPersonOperation;
|
|
1753
|
+
/** Bind the listPeople Query. */ listPeople(): ListPeopleOperation;
|
|
1754
|
+
/** Bind the listCustomerSources Query. */ listCustomerSources(): ListCustomerSourcesOperation;
|
|
1755
|
+
/** Bind the listUsers Query. */ listUsers(): ListUsersOperation;
|
|
1756
|
+
/** Bind the listTasks Query. */ listTasks(): ListTasksOperation;
|
|
1757
|
+
/** Bind the getTask Query. */ getTask(): GetTaskOperation;
|
|
1758
|
+
/** Bind the listProjects Query. */ listProjects(): ListProjectsOperation;
|
|
1759
|
+
/** Bind the getProject Query. */ getProject(): GetProjectOperation;
|
|
1760
|
+
/** Bind the listOpportunities Query. */ listOpportunities(): ListOpportunitiesOperation;
|
|
1761
|
+
/** Bind the getOpportunity Query. */ getOpportunity(): GetOpportunityOperation;
|
|
1762
|
+
/** Bind the listLeads Query. */ listLeads(): ListLeadsOperation;
|
|
1763
|
+
/** Bind the updateCompany Mutation. */ updateCompany(): UpdateCompanyOperation;
|
|
1764
|
+
/** Bind the deleteCompany Mutation. */ deleteCompany(): DeleteCompanyOperation;
|
|
1765
|
+
/** Bind the updatePerson Mutation. */ updatePerson(): UpdatePersonOperation;
|
|
1766
|
+
/** Bind the deletePerson Mutation. */ deletePerson(): DeletePersonOperation;
|
|
1767
|
+
/** Bind the updateTask Mutation. */ updateTask(): UpdateTaskOperation;
|
|
1768
|
+
/** Bind the deleteTask Mutation. */ deleteTask(): DeleteTaskOperation;
|
|
1769
|
+
/** Bind the updateProject Mutation. */ updateProject(): UpdateProjectOperation;
|
|
1770
|
+
/** Bind the deleteProject Mutation. */ deleteProject(): DeleteProjectOperation;
|
|
1771
|
+
/** Bind the updateOpportunity Mutation. */ updateOpportunity(): UpdateOpportunityOperation;
|
|
1772
|
+
/** Bind the deleteOpportunity Mutation. */ deleteOpportunity(): DeleteOpportunityOperation;
|
|
1773
|
+
/** Bind the updateLead Mutation. */ updateLead(): UpdateLeadOperation;
|
|
1774
|
+
/** Bind the deleteLead Mutation. */ deleteLead(): DeleteLeadOperation;
|
|
1775
|
+
/** Bind the createCompany Mutation. */ createCompany(): CreateCompanyOperation;
|
|
1776
|
+
/** Bind the createPerson Mutation. */ createPerson(): CreatePersonOperation;
|
|
1777
|
+
/** Bind the createTask Mutation. */ createTask(): CreateTaskOperation;
|
|
1778
|
+
/** Bind the createProject Mutation. */ createProject(): CreateProjectOperation;
|
|
1779
|
+
/** Bind the createOpportunity Mutation. */ createOpportunity(): CreateOpportunityOperation;
|
|
1780
|
+
/** Bind the createLead Mutation. */ createLead(): CreateLeadOperation;
|
|
1781
|
+
/** Send one read and classify transport, HTTP, and response-size outcomes. */
|
|
1782
|
+
exchange(call: Call, operation: string, path: string, hasNotFound: boolean, payload?: Record<string, unknown>): Promise<ProviderOutcome>;
|
|
1783
|
+
/** Send a bounded request to a connector-owned endpoint. */
|
|
1784
|
+
request(call: Call, method: ProviderMethod, path: string, payload?: Record<string, unknown>, signal?: AbortSignal, writeCredentials?: boolean): Promise<RawResponse>;
|
|
1785
|
+
}
|
|
1786
|
+
/** List Copper lead status IDs and names without private fields. */
|
|
1787
|
+
declare class ListLeadStatusesOperation implements Query<ListLeadStatusesInput, LeadStatusesList> {
|
|
1788
|
+
private readonly client;
|
|
1789
|
+
/** Bind the provider client. */ constructor(client: CopperClient);
|
|
1790
|
+
/** Return the manifest-generated operation definition. */ definition(): QueryDefinition;
|
|
1791
|
+
/** Read visible lead status identities. */
|
|
1792
|
+
invoke(call: Call, input: ListLeadStatusesInput): Promise<QueryAttempt<LeadStatusesList>>;
|
|
1793
|
+
}
|
|
1794
|
+
/** Read one Copper lead's identity and status without custom fields. */
|
|
1795
|
+
declare class GetLeadOperation implements Query<GetLeadInput, LeadMetadata> {
|
|
1796
|
+
private readonly client;
|
|
1797
|
+
/** Bind the provider client. */ constructor(client: CopperClient);
|
|
1798
|
+
/** Return the manifest-generated operation definition. */ definition(): QueryDefinition;
|
|
1799
|
+
/** Validate the lead ID and read its metadata. */
|
|
1800
|
+
invoke(call: Call, input: GetLeadInput): Promise<QueryAttempt<LeadMetadata>>;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
export { CompaniesPage, CompanyMetadata, Config, Connection, ConnectorID, CopperClient, type CopperClientOptions, CreateCompanyBranch, CreateCompanyBranchCreated, CreateCompanyBranchDefect, CreateCompanyBranchProviderRejected, CreateCompanyBranchUncertain, CreateCompanyDefinition, CreateCompanyInput, CreateCompanyMetadata, CreateCompanyOperation, type CreateCompanyStepConfig, CreateLeadBranch, CreateLeadBranchCreated, CreateLeadBranchDefect, CreateLeadBranchProviderRejected, CreateLeadBranchUncertain, CreateLeadDefinition, CreateLeadInput, CreateLeadMetadata, CreateLeadOperation, type CreateLeadStepConfig, CreateOpportunityBranch, CreateOpportunityBranchCreated, CreateOpportunityBranchDefect, CreateOpportunityBranchProviderRejected, CreateOpportunityBranchUncertain, CreateOpportunityDefinition, CreateOpportunityInput, CreateOpportunityMetadata, CreateOpportunityOperation, type CreateOpportunityStepConfig, CreatePersonBranch, CreatePersonBranchCreated, CreatePersonBranchDefect, CreatePersonBranchProviderRejected, CreatePersonBranchUncertain, CreatePersonDefinition, CreatePersonInput, CreatePersonMetadata, CreatePersonOperation, type CreatePersonStepConfig, CreateProjectBranch, CreateProjectBranchCreated, CreateProjectBranchDefect, CreateProjectBranchProviderRejected, CreateProjectBranchUncertain, CreateProjectDefinition, CreateProjectInput, CreateProjectMetadata, CreateProjectOperation, type CreateProjectStepConfig, CreateTaskBranch, CreateTaskBranchCreated, CreateTaskBranchDefect, CreateTaskBranchProviderRejected, CreateTaskBranchUncertain, CreateTaskDefinition, CreateTaskInput, CreateTaskMetadata, CreateTaskOperation, type CreateTaskStepConfig, Credentials, CustomerSourcesList, DeleteCompanyBranch, DeleteCompanyBranchDefect, DeleteCompanyBranchDeleted, DeleteCompanyBranchNotFound, DeleteCompanyBranchProviderRejected, DeleteCompanyDefinition, DeleteCompanyInput, DeleteCompanyMetadata, DeleteCompanyOperation, DeleteCompanyOutput, type DeleteCompanyStepConfig, DeleteLeadBranch, DeleteLeadBranchDefect, DeleteLeadBranchDeleted, DeleteLeadBranchNotFound, DeleteLeadBranchProviderRejected, DeleteLeadDefinition, DeleteLeadInput, DeleteLeadMetadata, DeleteLeadOperation, DeleteLeadOutput, type DeleteLeadStepConfig, DeleteOpportunityBranch, DeleteOpportunityBranchDefect, DeleteOpportunityBranchDeleted, DeleteOpportunityBranchNotFound, DeleteOpportunityBranchProviderRejected, DeleteOpportunityDefinition, DeleteOpportunityInput, DeleteOpportunityMetadata, DeleteOpportunityOperation, DeleteOpportunityOutput, type DeleteOpportunityStepConfig, DeletePersonBranch, DeletePersonBranchDefect, DeletePersonBranchDeleted, DeletePersonBranchNotFound, DeletePersonBranchProviderRejected, DeletePersonDefinition, DeletePersonInput, DeletePersonMetadata, DeletePersonOperation, DeletePersonOutput, type DeletePersonStepConfig, DeleteProjectBranch, DeleteProjectBranchDefect, DeleteProjectBranchDeleted, DeleteProjectBranchNotFound, DeleteProjectBranchProviderRejected, DeleteProjectDefinition, DeleteProjectInput, DeleteProjectMetadata, DeleteProjectOperation, DeleteProjectOutput, type DeleteProjectStepConfig, DeleteTaskBranch, DeleteTaskBranchDefect, DeleteTaskBranchDeleted, DeleteTaskBranchNotFound, DeleteTaskBranchProviderRejected, DeleteTaskDefinition, DeleteTaskInput, DeleteTaskMetadata, DeleteTaskOperation, DeleteTaskOutput, type DeleteTaskStepConfig, GetCompanyBranch, GetCompanyBranchDefect, GetCompanyBranchFound, GetCompanyBranchInvalidResponse, GetCompanyBranchNotFound, GetCompanyBranchProviderRejected, GetCompanyDefinition, GetCompanyInput, GetCompanyMetadata, GetCompanyOperation, type GetCompanyStepConfig, GetLeadBranch, GetLeadBranchDefect, GetLeadBranchFound, GetLeadBranchInvalidResponse, GetLeadBranchNotFound, GetLeadBranchProviderRejected, GetLeadDefinition, GetLeadInput, GetLeadMetadata, GetLeadOperation, type GetLeadStepConfig, GetOpportunityBranch, GetOpportunityBranchDefect, GetOpportunityBranchFound, GetOpportunityBranchInvalidResponse, GetOpportunityBranchNotFound, GetOpportunityBranchProviderRejected, GetOpportunityDefinition, GetOpportunityInput, GetOpportunityMetadata, GetOpportunityOperation, type GetOpportunityStepConfig, GetPersonBranch, GetPersonBranchDefect, GetPersonBranchFound, GetPersonBranchInvalidResponse, GetPersonBranchNotFound, GetPersonBranchProviderRejected, GetPersonDefinition, GetPersonInput, GetPersonMetadata, GetPersonOperation, type GetPersonStepConfig, GetProjectBranch, GetProjectBranchDefect, GetProjectBranchFound, GetProjectBranchInvalidResponse, GetProjectBranchNotFound, GetProjectBranchProviderRejected, GetProjectDefinition, GetProjectInput, GetProjectMetadata, GetProjectOperation, type GetProjectStepConfig, GetTaskBranch, GetTaskBranchDefect, GetTaskBranchFound, GetTaskBranchInvalidResponse, GetTaskBranchNotFound, GetTaskBranchProviderRejected, GetTaskDefinition, GetTaskInput, GetTaskMetadata, GetTaskOperation, type GetTaskStepConfig, LeadMetadata, LeadStatusesList, LeadsPage, ListCompaniesBranch, ListCompaniesBranchDefect, ListCompaniesBranchInvalidResponse, ListCompaniesBranchListed, ListCompaniesBranchProviderRejected, ListCompaniesDefinition, ListCompaniesInput, ListCompaniesMetadata, ListCompaniesOperation, type ListCompaniesStepConfig, ListCustomerSourcesBranch, ListCustomerSourcesBranchDefect, ListCustomerSourcesBranchInvalidResponse, ListCustomerSourcesBranchListed, ListCustomerSourcesBranchProviderRejected, ListCustomerSourcesDefinition, ListCustomerSourcesInput, ListCustomerSourcesMetadata, ListCustomerSourcesOperation, type ListCustomerSourcesStepConfig, ListLeadStatusesBranch, ListLeadStatusesBranchDefect, ListLeadStatusesBranchInvalidResponse, ListLeadStatusesBranchListed, ListLeadStatusesBranchProviderRejected, ListLeadStatusesDefinition, ListLeadStatusesInput, ListLeadStatusesMetadata, ListLeadStatusesOperation, type ListLeadStatusesStepConfig, ListLeadsBranch, ListLeadsBranchDefect, ListLeadsBranchInvalidResponse, ListLeadsBranchListed, ListLeadsBranchProviderRejected, ListLeadsDefinition, ListLeadsInput, ListLeadsMetadata, ListLeadsOperation, type ListLeadsStepConfig, ListOpportunitiesBranch, ListOpportunitiesBranchDefect, ListOpportunitiesBranchInvalidResponse, ListOpportunitiesBranchListed, ListOpportunitiesBranchProviderRejected, ListOpportunitiesDefinition, ListOpportunitiesInput, ListOpportunitiesMetadata, ListOpportunitiesOperation, type ListOpportunitiesStepConfig, ListPeopleBranch, ListPeopleBranchDefect, ListPeopleBranchInvalidResponse, ListPeopleBranchListed, ListPeopleBranchProviderRejected, ListPeopleDefinition, ListPeopleInput, ListPeopleMetadata, ListPeopleOperation, type ListPeopleStepConfig, ListProjectsBranch, ListProjectsBranchDefect, ListProjectsBranchInvalidResponse, ListProjectsBranchListed, ListProjectsBranchProviderRejected, ListProjectsDefinition, ListProjectsInput, ListProjectsMetadata, ListProjectsOperation, type ListProjectsStepConfig, ListTasksBranch, ListTasksBranchDefect, ListTasksBranchInvalidResponse, ListTasksBranchListed, ListTasksBranchProviderRejected, ListTasksDefinition, ListTasksInput, ListTasksMetadata, ListTasksOperation, type ListTasksStepConfig, ListUsersBranch, ListUsersBranchDefect, ListUsersBranchInvalidResponse, ListUsersBranchListed, ListUsersBranchProviderRejected, ListUsersDefinition, ListUsersInput, ListUsersMetadata, ListUsersOperation, type ListUsersStepConfig, OpportunitiesPage, OpportunityMetadata, PeoplePage, PersonMetadata, ProjectMetadata, ProjectsPage, ProviderID, TaskMetadata, TasksPage, UpdateCompanyBranch, UpdateCompanyBranchDefect, UpdateCompanyBranchNotFound, UpdateCompanyBranchProviderRejected, UpdateCompanyBranchUpdated, UpdateCompanyDefinition, UpdateCompanyInput, UpdateCompanyMetadata, UpdateCompanyOperation, type UpdateCompanyStepConfig, UpdateLeadBranch, UpdateLeadBranchDefect, UpdateLeadBranchNotFound, UpdateLeadBranchProviderRejected, UpdateLeadBranchUpdated, UpdateLeadDefinition, UpdateLeadInput, UpdateLeadMetadata, UpdateLeadOperation, type UpdateLeadStepConfig, UpdateOpportunityBranch, UpdateOpportunityBranchDefect, UpdateOpportunityBranchNotFound, UpdateOpportunityBranchProviderRejected, UpdateOpportunityBranchUpdated, UpdateOpportunityDefinition, UpdateOpportunityInput, UpdateOpportunityMetadata, UpdateOpportunityOperation, type UpdateOpportunityStepConfig, UpdatePersonBranch, UpdatePersonBranchDefect, UpdatePersonBranchNotFound, UpdatePersonBranchProviderRejected, UpdatePersonBranchUpdated, UpdatePersonDefinition, UpdatePersonInput, UpdatePersonMetadata, UpdatePersonOperation, type UpdatePersonStepConfig, UpdateProjectBranch, UpdateProjectBranchDefect, UpdateProjectBranchNotFound, UpdateProjectBranchProviderRejected, UpdateProjectBranchUpdated, UpdateProjectDefinition, UpdateProjectInput, UpdateProjectMetadata, UpdateProjectOperation, type UpdateProjectStepConfig, UpdateTaskBranch, UpdateTaskBranchDefect, UpdateTaskBranchNotFound, UpdateTaskBranchProviderRejected, UpdateTaskBranchUpdated, UpdateTaskDefinition, UpdateTaskInput, UpdateTaskMetadata, UpdateTaskOperation, type UpdateTaskStepConfig, UsersPage, newCreateCompanyStep, newCreateLeadStep, newCreateOpportunityStep, newCreatePersonStep, newCreateProjectStep, newCreateTaskStep, newDeleteCompanyStep, newDeleteLeadStep, newDeleteOpportunityStep, newDeletePersonStep, newDeleteProjectStep, newDeleteTaskStep, newGetCompanyStep, newGetLeadStep, newGetOpportunityStep, newGetPersonStep, newGetProjectStep, newGetTaskStep, newListCompaniesStep, newListCustomerSourcesStep, newListLeadStatusesStep, newListLeadsStep, newListOpportunitiesStep, newListPeopleStep, newListProjectsStep, newListTasksStep, newListUsersStep, newProjectConnection, newUpdateCompanyStep, newUpdateLeadStep, newUpdateOpportunityStep, newUpdatePersonStep, newUpdateProjectStep, newUpdateTaskStep };
|