@superdurable/connector-copper 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dex-connector.json +1661 -7
- package/dist/chunk-HEWAN7RM.js +1335 -0
- package/dist/connection-Sm_oLyz3.d.ts +830 -0
- package/dist/index.d.ts +1679 -25
- package/dist/index.js +1902 -45
- package/dist/mock.d.ts +584 -5
- package/dist/mock.js +1417 -5
- package/package.json +3 -3
- package/dist/chunk-ND3EMY5U.js +0 -149
- package/dist/connection-91oJS2hl.d.ts +0 -108
|
@@ -0,0 +1,1335 @@
|
|
|
1
|
+
// src/generated/models.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { SecretString } from "@superdurable/connectors-sdk";
|
|
4
|
+
var ConfigSchema = z.object({
|
|
5
|
+
"baseUrl": z.string().optional(),
|
|
6
|
+
"timeoutMs": z.number().int().optional(),
|
|
7
|
+
"maxResponseBytes": z.number().int().optional()
|
|
8
|
+
});
|
|
9
|
+
var CredentialMaterialError = class extends TypeError {
|
|
10
|
+
constructor(message) {
|
|
11
|
+
super(message);
|
|
12
|
+
this.name = "CredentialMaterialError";
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
var sdkCredentialDecodingFailureMessages = /* @__PURE__ */ new Set([
|
|
16
|
+
"project credential decoding failed",
|
|
17
|
+
"shared project credential decoding failed",
|
|
18
|
+
"project credential decoding failed: this connector version does not support shared credentials"
|
|
19
|
+
]);
|
|
20
|
+
function isCredentialMaterialError(error) {
|
|
21
|
+
return error instanceof CredentialMaterialError || error instanceof TypeError && sdkCredentialDecodingFailureMessages.has(error.message);
|
|
22
|
+
}
|
|
23
|
+
function decodeCredentials(value) {
|
|
24
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw new CredentialMaterialError("credential fields are invalid");
|
|
25
|
+
const fields = value;
|
|
26
|
+
const allowed = /* @__PURE__ */ new Set(["api_key", "user_email"]);
|
|
27
|
+
if (Object.keys(fields).some((key) => !allowed.has(key))) throw new CredentialMaterialError("stored credential does not match the connector credential fields");
|
|
28
|
+
if (fields["api_key"] != null && !(typeof fields["api_key"] === "string")) throw new CredentialMaterialError("credential api_key has an invalid type");
|
|
29
|
+
if (fields["user_email"] != null && !(typeof fields["user_email"] === "string")) throw new CredentialMaterialError("credential user_email has an invalid type");
|
|
30
|
+
const credentials = {};
|
|
31
|
+
if (!fields["api_key"]) throw new CredentialMaterialError("credential api_key is required");
|
|
32
|
+
credentials.apiKey = new SecretString(fields["api_key"] ?? "");
|
|
33
|
+
if (!fields["user_email"]) throw new CredentialMaterialError("credential user_email is required");
|
|
34
|
+
credentials.userEmail = new SecretString(fields["user_email"] ?? "");
|
|
35
|
+
return credentials;
|
|
36
|
+
}
|
|
37
|
+
var CreateCompanyInputSchema = z.strictObject({
|
|
38
|
+
"name": z.string(),
|
|
39
|
+
"emailDomain": z.string()
|
|
40
|
+
});
|
|
41
|
+
var CompanyMetadataSchema = z.strictObject({
|
|
42
|
+
"id": z.number().int(),
|
|
43
|
+
"name": z.string(),
|
|
44
|
+
"emailDomain": z.string().optional(),
|
|
45
|
+
"details": z.string().optional()
|
|
46
|
+
});
|
|
47
|
+
var GetCompanyInputSchema = z.strictObject({
|
|
48
|
+
"companyId": z.string()
|
|
49
|
+
});
|
|
50
|
+
var ListCompaniesInputSchema = z.strictObject({
|
|
51
|
+
"pageNumber": z.number().int().optional(),
|
|
52
|
+
"pageSize": z.number().int().optional(),
|
|
53
|
+
"name": z.string().optional(),
|
|
54
|
+
"emailDomain": z.string().optional()
|
|
55
|
+
});
|
|
56
|
+
var CompaniesPageSchema = z.strictObject({
|
|
57
|
+
"companies": z.array(CompanyMetadataSchema).nullable()
|
|
58
|
+
});
|
|
59
|
+
var UpdateCompanyInputSchema = z.strictObject({
|
|
60
|
+
"companyId": z.string(),
|
|
61
|
+
"name": z.string(),
|
|
62
|
+
"details": z.string()
|
|
63
|
+
});
|
|
64
|
+
var DeleteCompanyInputSchema = z.strictObject({
|
|
65
|
+
"companyId": z.string()
|
|
66
|
+
});
|
|
67
|
+
var DeleteCompanyOutputSchema = z.strictObject({
|
|
68
|
+
"id": z.number().int(),
|
|
69
|
+
"deleted": z.boolean()
|
|
70
|
+
});
|
|
71
|
+
var CreatePersonInputSchema = z.strictObject({
|
|
72
|
+
"name": z.string(),
|
|
73
|
+
"email": z.string()
|
|
74
|
+
});
|
|
75
|
+
var PersonMetadataSchema = z.strictObject({
|
|
76
|
+
"id": z.number().int(),
|
|
77
|
+
"name": z.string(),
|
|
78
|
+
"email": z.string().optional(),
|
|
79
|
+
"details": z.string().optional()
|
|
80
|
+
});
|
|
81
|
+
var GetPersonInputSchema = z.strictObject({
|
|
82
|
+
"personId": z.string()
|
|
83
|
+
});
|
|
84
|
+
var ListPeopleInputSchema = z.strictObject({
|
|
85
|
+
"pageNumber": z.number().int().optional(),
|
|
86
|
+
"pageSize": z.number().int().optional(),
|
|
87
|
+
"name": z.string().optional(),
|
|
88
|
+
"email": z.string().optional()
|
|
89
|
+
});
|
|
90
|
+
var PeoplePageSchema = z.strictObject({
|
|
91
|
+
"people": z.array(PersonMetadataSchema).nullable()
|
|
92
|
+
});
|
|
93
|
+
var UpdatePersonInputSchema = z.strictObject({
|
|
94
|
+
"personId": z.string(),
|
|
95
|
+
"name": z.string(),
|
|
96
|
+
"details": z.string()
|
|
97
|
+
});
|
|
98
|
+
var DeletePersonInputSchema = z.strictObject({
|
|
99
|
+
"personId": z.string()
|
|
100
|
+
});
|
|
101
|
+
var DeletePersonOutputSchema = z.strictObject({
|
|
102
|
+
"id": z.number().int(),
|
|
103
|
+
"deleted": z.boolean()
|
|
104
|
+
});
|
|
105
|
+
var ListCustomerSourcesInputSchema = z.strictObject({});
|
|
106
|
+
var CustomerSourceMetadataSchema = z.strictObject({
|
|
107
|
+
"id": z.number().int(),
|
|
108
|
+
"name": z.string()
|
|
109
|
+
});
|
|
110
|
+
var CustomerSourcesListSchema = z.strictObject({
|
|
111
|
+
"sources": z.array(CustomerSourceMetadataSchema).nullable()
|
|
112
|
+
});
|
|
113
|
+
var ListLeadStatusesInputSchema = z.strictObject({});
|
|
114
|
+
var LeadStatusMetadataSchema = z.strictObject({
|
|
115
|
+
"id": z.number().int(),
|
|
116
|
+
"name": z.string()
|
|
117
|
+
});
|
|
118
|
+
var LeadStatusesListSchema = z.strictObject({
|
|
119
|
+
"statuses": z.array(LeadStatusMetadataSchema).nullable()
|
|
120
|
+
});
|
|
121
|
+
var ListUsersInputSchema = z.strictObject({
|
|
122
|
+
"pageNumber": z.number().int().optional(),
|
|
123
|
+
"pageSize": z.number().int().optional()
|
|
124
|
+
});
|
|
125
|
+
var UserMetadataSchema = z.strictObject({
|
|
126
|
+
"id": z.number().int(),
|
|
127
|
+
"name": z.string(),
|
|
128
|
+
"email": z.string()
|
|
129
|
+
});
|
|
130
|
+
var UsersPageSchema = z.strictObject({
|
|
131
|
+
"users": z.array(UserMetadataSchema).nullable()
|
|
132
|
+
});
|
|
133
|
+
var CreateTaskInputSchema = z.strictObject({
|
|
134
|
+
"name": z.string()
|
|
135
|
+
});
|
|
136
|
+
var TaskMetadataSchema = z.strictObject({
|
|
137
|
+
"id": z.number().int(),
|
|
138
|
+
"name": z.string(),
|
|
139
|
+
"status": z.string()
|
|
140
|
+
});
|
|
141
|
+
var ListTasksInputSchema = z.strictObject({
|
|
142
|
+
"pageNumber": z.number().int().optional(),
|
|
143
|
+
"pageSize": z.number().int().optional(),
|
|
144
|
+
"status": z.string().optional()
|
|
145
|
+
});
|
|
146
|
+
var TasksPageSchema = z.strictObject({
|
|
147
|
+
"tasks": z.array(TaskMetadataSchema).nullable()
|
|
148
|
+
});
|
|
149
|
+
var UpdateTaskInputSchema = z.strictObject({
|
|
150
|
+
"taskId": z.string(),
|
|
151
|
+
"name": z.string(),
|
|
152
|
+
"details": z.string()
|
|
153
|
+
});
|
|
154
|
+
var DeleteTaskInputSchema = z.strictObject({
|
|
155
|
+
"taskId": z.string()
|
|
156
|
+
});
|
|
157
|
+
var DeleteTaskOutputSchema = z.strictObject({
|
|
158
|
+
"id": z.number().int(),
|
|
159
|
+
"deleted": z.boolean()
|
|
160
|
+
});
|
|
161
|
+
var GetTaskInputSchema = z.strictObject({
|
|
162
|
+
"taskId": z.string()
|
|
163
|
+
});
|
|
164
|
+
var CreateProjectInputSchema = z.strictObject({
|
|
165
|
+
"name": z.string()
|
|
166
|
+
});
|
|
167
|
+
var ProjectMetadataSchema = z.strictObject({
|
|
168
|
+
"id": z.number().int(),
|
|
169
|
+
"name": z.string(),
|
|
170
|
+
"status": z.string()
|
|
171
|
+
});
|
|
172
|
+
var ListProjectsInputSchema = z.strictObject({
|
|
173
|
+
"pageNumber": z.number().int().optional(),
|
|
174
|
+
"pageSize": z.number().int().optional(),
|
|
175
|
+
"name": z.string().optional()
|
|
176
|
+
});
|
|
177
|
+
var ProjectsPageSchema = z.strictObject({
|
|
178
|
+
"projects": z.array(ProjectMetadataSchema).nullable()
|
|
179
|
+
});
|
|
180
|
+
var UpdateProjectInputSchema = z.strictObject({
|
|
181
|
+
"projectId": z.string(),
|
|
182
|
+
"name": z.string(),
|
|
183
|
+
"details": z.string()
|
|
184
|
+
});
|
|
185
|
+
var DeleteProjectInputSchema = z.strictObject({
|
|
186
|
+
"projectId": z.string()
|
|
187
|
+
});
|
|
188
|
+
var DeleteProjectOutputSchema = z.strictObject({
|
|
189
|
+
"id": z.number().int(),
|
|
190
|
+
"deleted": z.boolean()
|
|
191
|
+
});
|
|
192
|
+
var GetProjectInputSchema = z.strictObject({
|
|
193
|
+
"projectId": z.string()
|
|
194
|
+
});
|
|
195
|
+
var CreateOpportunityInputSchema = z.strictObject({
|
|
196
|
+
"name": z.string()
|
|
197
|
+
});
|
|
198
|
+
var OpportunityMetadataSchema = z.strictObject({
|
|
199
|
+
"id": z.number().int(),
|
|
200
|
+
"name": z.string(),
|
|
201
|
+
"status": z.string()
|
|
202
|
+
});
|
|
203
|
+
var ListOpportunitiesInputSchema = z.strictObject({
|
|
204
|
+
"pageNumber": z.number().int().optional(),
|
|
205
|
+
"pageSize": z.number().int().optional(),
|
|
206
|
+
"name": z.string().optional()
|
|
207
|
+
});
|
|
208
|
+
var OpportunitiesPageSchema = z.strictObject({
|
|
209
|
+
"opportunities": z.array(OpportunityMetadataSchema).nullable()
|
|
210
|
+
});
|
|
211
|
+
var UpdateOpportunityInputSchema = z.strictObject({
|
|
212
|
+
"opportunityId": z.string(),
|
|
213
|
+
"name": z.string(),
|
|
214
|
+
"details": z.string()
|
|
215
|
+
});
|
|
216
|
+
var DeleteOpportunityInputSchema = z.strictObject({
|
|
217
|
+
"opportunityId": z.string()
|
|
218
|
+
});
|
|
219
|
+
var DeleteOpportunityOutputSchema = z.strictObject({
|
|
220
|
+
"id": z.number().int(),
|
|
221
|
+
"deleted": z.boolean()
|
|
222
|
+
});
|
|
223
|
+
var GetOpportunityInputSchema = z.strictObject({
|
|
224
|
+
"opportunityId": z.string()
|
|
225
|
+
});
|
|
226
|
+
var CreateLeadInputSchema = z.strictObject({
|
|
227
|
+
"name": z.string(),
|
|
228
|
+
"email": z.string()
|
|
229
|
+
});
|
|
230
|
+
var LeadMetadataSchema = z.strictObject({
|
|
231
|
+
"id": z.number().int(),
|
|
232
|
+
"name": z.string(),
|
|
233
|
+
"status": z.string(),
|
|
234
|
+
"companyName": z.string()
|
|
235
|
+
});
|
|
236
|
+
var ListLeadsInputSchema = z.strictObject({
|
|
237
|
+
"pageNumber": z.number().int().optional(),
|
|
238
|
+
"pageSize": z.number().int().optional(),
|
|
239
|
+
"name": z.string().optional(),
|
|
240
|
+
"email": z.string().optional()
|
|
241
|
+
});
|
|
242
|
+
var LeadsPageSchema = z.strictObject({
|
|
243
|
+
"leads": z.array(LeadMetadataSchema).nullable()
|
|
244
|
+
});
|
|
245
|
+
var UpdateLeadInputSchema = z.strictObject({
|
|
246
|
+
"leadId": z.string(),
|
|
247
|
+
"name": z.string(),
|
|
248
|
+
"details": z.string()
|
|
249
|
+
});
|
|
250
|
+
var DeleteLeadInputSchema = z.strictObject({
|
|
251
|
+
"leadId": z.string()
|
|
252
|
+
});
|
|
253
|
+
var DeleteLeadOutputSchema = z.strictObject({
|
|
254
|
+
"id": z.number().int(),
|
|
255
|
+
"deleted": z.boolean()
|
|
256
|
+
});
|
|
257
|
+
var GetLeadInputSchema = z.strictObject({
|
|
258
|
+
"leadId": z.string()
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
// src/generated/definitions.ts
|
|
262
|
+
var ConnectorID = "copper";
|
|
263
|
+
var ProviderID = "copper";
|
|
264
|
+
var CreateCompanyBranch = {
|
|
265
|
+
Created: "created",
|
|
266
|
+
ProviderRejected: "providerRejected",
|
|
267
|
+
Uncertain: "uncertain",
|
|
268
|
+
Defect: "defect"
|
|
269
|
+
};
|
|
270
|
+
var CreateCompanyBranchCreated = CreateCompanyBranch.Created;
|
|
271
|
+
var CreateCompanyBranchProviderRejected = CreateCompanyBranch.ProviderRejected;
|
|
272
|
+
var CreateCompanyBranchUncertain = CreateCompanyBranch.Uncertain;
|
|
273
|
+
var CreateCompanyBranchDefect = CreateCompanyBranch.Defect;
|
|
274
|
+
var CreateCompanyDefinition = {
|
|
275
|
+
operation: { connectorId: ConnectorID, operationId: "createCompany" },
|
|
276
|
+
branches: [
|
|
277
|
+
{ id: "created", description: "Copper created the company." },
|
|
278
|
+
{ id: "providerRejected", description: "Copper rejected creation.", optional: true },
|
|
279
|
+
{ id: "uncertain", description: "Creation may have succeeded but could not be confirmed.", optional: true },
|
|
280
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
281
|
+
],
|
|
282
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
283
|
+
repeatOnUnknown: "limited",
|
|
284
|
+
maxSends: 3
|
|
285
|
+
};
|
|
286
|
+
var CreateCompanyMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
287
|
+
var GetCompanyBranch = {
|
|
288
|
+
Found: "found",
|
|
289
|
+
NotFound: "notFound",
|
|
290
|
+
ProviderRejected: "providerRejected",
|
|
291
|
+
InvalidResponse: "invalidResponse",
|
|
292
|
+
Defect: "defect"
|
|
293
|
+
};
|
|
294
|
+
var GetCompanyBranchFound = GetCompanyBranch.Found;
|
|
295
|
+
var GetCompanyBranchNotFound = GetCompanyBranch.NotFound;
|
|
296
|
+
var GetCompanyBranchProviderRejected = GetCompanyBranch.ProviderRejected;
|
|
297
|
+
var GetCompanyBranchInvalidResponse = GetCompanyBranch.InvalidResponse;
|
|
298
|
+
var GetCompanyBranchDefect = GetCompanyBranch.Defect;
|
|
299
|
+
var GetCompanyDefinition = {
|
|
300
|
+
operation: { connectorId: ConnectorID, operationId: "getCompany" },
|
|
301
|
+
branches: [
|
|
302
|
+
{ id: "found", description: "Copper returned the company." },
|
|
303
|
+
{ id: "notFound", description: "No company matches the ID.", optional: true },
|
|
304
|
+
{ id: "providerRejected", description: "Copper rejected the lookup.", optional: true },
|
|
305
|
+
{ id: "invalidResponse", description: "Copper returned invalid company JSON.", optional: true },
|
|
306
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
307
|
+
],
|
|
308
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
309
|
+
};
|
|
310
|
+
var GetCompanyMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
311
|
+
var ListCompaniesBranch = {
|
|
312
|
+
Listed: "listed",
|
|
313
|
+
ProviderRejected: "providerRejected",
|
|
314
|
+
InvalidResponse: "invalidResponse",
|
|
315
|
+
Defect: "defect"
|
|
316
|
+
};
|
|
317
|
+
var ListCompaniesBranchListed = ListCompaniesBranch.Listed;
|
|
318
|
+
var ListCompaniesBranchProviderRejected = ListCompaniesBranch.ProviderRejected;
|
|
319
|
+
var ListCompaniesBranchInvalidResponse = ListCompaniesBranch.InvalidResponse;
|
|
320
|
+
var ListCompaniesBranchDefect = ListCompaniesBranch.Defect;
|
|
321
|
+
var ListCompaniesDefinition = {
|
|
322
|
+
operation: { connectorId: ConnectorID, operationId: "listCompanies" },
|
|
323
|
+
branches: [
|
|
324
|
+
{ id: "listed", description: "Copper returned a page of companies." },
|
|
325
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
326
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized companies JSON.", optional: true },
|
|
327
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
328
|
+
],
|
|
329
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
330
|
+
};
|
|
331
|
+
var ListCompaniesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
332
|
+
var UpdateCompanyBranch = {
|
|
333
|
+
Updated: "updated",
|
|
334
|
+
NotFound: "notFound",
|
|
335
|
+
ProviderRejected: "providerRejected",
|
|
336
|
+
Defect: "defect"
|
|
337
|
+
};
|
|
338
|
+
var UpdateCompanyBranchUpdated = UpdateCompanyBranch.Updated;
|
|
339
|
+
var UpdateCompanyBranchNotFound = UpdateCompanyBranch.NotFound;
|
|
340
|
+
var UpdateCompanyBranchProviderRejected = UpdateCompanyBranch.ProviderRejected;
|
|
341
|
+
var UpdateCompanyBranchDefect = UpdateCompanyBranch.Defect;
|
|
342
|
+
var UpdateCompanyDefinition = {
|
|
343
|
+
operation: { connectorId: ConnectorID, operationId: "updateCompany" },
|
|
344
|
+
branches: [
|
|
345
|
+
{ id: "updated", description: "Copper updated the company." },
|
|
346
|
+
{ id: "notFound", description: "No company matches the ID.", optional: true },
|
|
347
|
+
{ id: "providerRejected", description: "Copper rejected the update.", optional: true },
|
|
348
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
349
|
+
],
|
|
350
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
351
|
+
repeatOnUnknown: "safe"
|
|
352
|
+
};
|
|
353
|
+
var UpdateCompanyMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
354
|
+
var DeleteCompanyBranch = {
|
|
355
|
+
Deleted: "deleted",
|
|
356
|
+
NotFound: "notFound",
|
|
357
|
+
ProviderRejected: "providerRejected",
|
|
358
|
+
Defect: "defect"
|
|
359
|
+
};
|
|
360
|
+
var DeleteCompanyBranchDeleted = DeleteCompanyBranch.Deleted;
|
|
361
|
+
var DeleteCompanyBranchNotFound = DeleteCompanyBranch.NotFound;
|
|
362
|
+
var DeleteCompanyBranchProviderRejected = DeleteCompanyBranch.ProviderRejected;
|
|
363
|
+
var DeleteCompanyBranchDefect = DeleteCompanyBranch.Defect;
|
|
364
|
+
var DeleteCompanyDefinition = {
|
|
365
|
+
operation: { connectorId: ConnectorID, operationId: "deleteCompany" },
|
|
366
|
+
branches: [
|
|
367
|
+
{ id: "deleted", description: "Copper deleted the company." },
|
|
368
|
+
{ id: "notFound", description: "No company matches the ID.", optional: true },
|
|
369
|
+
{ id: "providerRejected", description: "Copper rejected the deletion.", optional: true },
|
|
370
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
371
|
+
],
|
|
372
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
373
|
+
repeatOnUnknown: "safe"
|
|
374
|
+
};
|
|
375
|
+
var DeleteCompanyMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
376
|
+
var CreatePersonBranch = {
|
|
377
|
+
Created: "created",
|
|
378
|
+
ProviderRejected: "providerRejected",
|
|
379
|
+
Uncertain: "uncertain",
|
|
380
|
+
Defect: "defect"
|
|
381
|
+
};
|
|
382
|
+
var CreatePersonBranchCreated = CreatePersonBranch.Created;
|
|
383
|
+
var CreatePersonBranchProviderRejected = CreatePersonBranch.ProviderRejected;
|
|
384
|
+
var CreatePersonBranchUncertain = CreatePersonBranch.Uncertain;
|
|
385
|
+
var CreatePersonBranchDefect = CreatePersonBranch.Defect;
|
|
386
|
+
var CreatePersonDefinition = {
|
|
387
|
+
operation: { connectorId: ConnectorID, operationId: "createPerson" },
|
|
388
|
+
branches: [
|
|
389
|
+
{ id: "created", description: "Copper created the person." },
|
|
390
|
+
{ id: "providerRejected", description: "Copper rejected creation.", optional: true },
|
|
391
|
+
{ id: "uncertain", description: "Creation may have succeeded but could not be confirmed.", optional: true },
|
|
392
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
393
|
+
],
|
|
394
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
395
|
+
repeatOnUnknown: "limited",
|
|
396
|
+
maxSends: 3
|
|
397
|
+
};
|
|
398
|
+
var CreatePersonMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
399
|
+
var GetPersonBranch = {
|
|
400
|
+
Found: "found",
|
|
401
|
+
NotFound: "notFound",
|
|
402
|
+
ProviderRejected: "providerRejected",
|
|
403
|
+
InvalidResponse: "invalidResponse",
|
|
404
|
+
Defect: "defect"
|
|
405
|
+
};
|
|
406
|
+
var GetPersonBranchFound = GetPersonBranch.Found;
|
|
407
|
+
var GetPersonBranchNotFound = GetPersonBranch.NotFound;
|
|
408
|
+
var GetPersonBranchProviderRejected = GetPersonBranch.ProviderRejected;
|
|
409
|
+
var GetPersonBranchInvalidResponse = GetPersonBranch.InvalidResponse;
|
|
410
|
+
var GetPersonBranchDefect = GetPersonBranch.Defect;
|
|
411
|
+
var GetPersonDefinition = {
|
|
412
|
+
operation: { connectorId: ConnectorID, operationId: "getPerson" },
|
|
413
|
+
branches: [
|
|
414
|
+
{ id: "found", description: "Copper returned the person." },
|
|
415
|
+
{ id: "notFound", description: "No person matches the ID.", optional: true },
|
|
416
|
+
{ id: "providerRejected", description: "Copper rejected the lookup.", optional: true },
|
|
417
|
+
{ id: "invalidResponse", description: "Copper returned invalid person JSON.", optional: true },
|
|
418
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
419
|
+
],
|
|
420
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
421
|
+
};
|
|
422
|
+
var GetPersonMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
423
|
+
var ListPeopleBranch = {
|
|
424
|
+
Listed: "listed",
|
|
425
|
+
ProviderRejected: "providerRejected",
|
|
426
|
+
InvalidResponse: "invalidResponse",
|
|
427
|
+
Defect: "defect"
|
|
428
|
+
};
|
|
429
|
+
var ListPeopleBranchListed = ListPeopleBranch.Listed;
|
|
430
|
+
var ListPeopleBranchProviderRejected = ListPeopleBranch.ProviderRejected;
|
|
431
|
+
var ListPeopleBranchInvalidResponse = ListPeopleBranch.InvalidResponse;
|
|
432
|
+
var ListPeopleBranchDefect = ListPeopleBranch.Defect;
|
|
433
|
+
var ListPeopleDefinition = {
|
|
434
|
+
operation: { connectorId: ConnectorID, operationId: "listPeople" },
|
|
435
|
+
branches: [
|
|
436
|
+
{ id: "listed", description: "Copper returned a page of people." },
|
|
437
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
438
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized people JSON.", optional: true },
|
|
439
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
440
|
+
],
|
|
441
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
442
|
+
};
|
|
443
|
+
var ListPeopleMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
444
|
+
var UpdatePersonBranch = {
|
|
445
|
+
Updated: "updated",
|
|
446
|
+
NotFound: "notFound",
|
|
447
|
+
ProviderRejected: "providerRejected",
|
|
448
|
+
Defect: "defect"
|
|
449
|
+
};
|
|
450
|
+
var UpdatePersonBranchUpdated = UpdatePersonBranch.Updated;
|
|
451
|
+
var UpdatePersonBranchNotFound = UpdatePersonBranch.NotFound;
|
|
452
|
+
var UpdatePersonBranchProviderRejected = UpdatePersonBranch.ProviderRejected;
|
|
453
|
+
var UpdatePersonBranchDefect = UpdatePersonBranch.Defect;
|
|
454
|
+
var UpdatePersonDefinition = {
|
|
455
|
+
operation: { connectorId: ConnectorID, operationId: "updatePerson" },
|
|
456
|
+
branches: [
|
|
457
|
+
{ id: "updated", description: "Copper updated the person." },
|
|
458
|
+
{ id: "notFound", description: "No person matches the ID.", optional: true },
|
|
459
|
+
{ id: "providerRejected", description: "Copper rejected the update.", optional: true },
|
|
460
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
461
|
+
],
|
|
462
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
463
|
+
repeatOnUnknown: "safe"
|
|
464
|
+
};
|
|
465
|
+
var UpdatePersonMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
466
|
+
var DeletePersonBranch = {
|
|
467
|
+
Deleted: "deleted",
|
|
468
|
+
NotFound: "notFound",
|
|
469
|
+
ProviderRejected: "providerRejected",
|
|
470
|
+
Defect: "defect"
|
|
471
|
+
};
|
|
472
|
+
var DeletePersonBranchDeleted = DeletePersonBranch.Deleted;
|
|
473
|
+
var DeletePersonBranchNotFound = DeletePersonBranch.NotFound;
|
|
474
|
+
var DeletePersonBranchProviderRejected = DeletePersonBranch.ProviderRejected;
|
|
475
|
+
var DeletePersonBranchDefect = DeletePersonBranch.Defect;
|
|
476
|
+
var DeletePersonDefinition = {
|
|
477
|
+
operation: { connectorId: ConnectorID, operationId: "deletePerson" },
|
|
478
|
+
branches: [
|
|
479
|
+
{ id: "deleted", description: "Copper deleted the person." },
|
|
480
|
+
{ id: "notFound", description: "No person matches the ID.", optional: true },
|
|
481
|
+
{ id: "providerRejected", description: "Copper rejected the deletion.", optional: true },
|
|
482
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
483
|
+
],
|
|
484
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
485
|
+
repeatOnUnknown: "safe"
|
|
486
|
+
};
|
|
487
|
+
var DeletePersonMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
488
|
+
var ListCustomerSourcesBranch = {
|
|
489
|
+
Listed: "listed",
|
|
490
|
+
ProviderRejected: "providerRejected",
|
|
491
|
+
InvalidResponse: "invalidResponse",
|
|
492
|
+
Defect: "defect"
|
|
493
|
+
};
|
|
494
|
+
var ListCustomerSourcesBranchListed = ListCustomerSourcesBranch.Listed;
|
|
495
|
+
var ListCustomerSourcesBranchProviderRejected = ListCustomerSourcesBranch.ProviderRejected;
|
|
496
|
+
var ListCustomerSourcesBranchInvalidResponse = ListCustomerSourcesBranch.InvalidResponse;
|
|
497
|
+
var ListCustomerSourcesBranchDefect = ListCustomerSourcesBranch.Defect;
|
|
498
|
+
var ListCustomerSourcesDefinition = {
|
|
499
|
+
operation: { connectorId: ConnectorID, operationId: "listCustomerSources" },
|
|
500
|
+
branches: [
|
|
501
|
+
{ id: "listed", description: "Copper returned customer sources." },
|
|
502
|
+
{ id: "providerRejected", description: "Copper conclusively rejected the request.", optional: true },
|
|
503
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized JSON.", optional: true },
|
|
504
|
+
{ id: "defect", description: "Connection credentials are invalid.", optional: true }
|
|
505
|
+
],
|
|
506
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
507
|
+
};
|
|
508
|
+
var ListCustomerSourcesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
509
|
+
var ListLeadStatusesBranch = {
|
|
510
|
+
Listed: "listed",
|
|
511
|
+
ProviderRejected: "providerRejected",
|
|
512
|
+
InvalidResponse: "invalidResponse",
|
|
513
|
+
Defect: "defect"
|
|
514
|
+
};
|
|
515
|
+
var ListLeadStatusesBranchListed = ListLeadStatusesBranch.Listed;
|
|
516
|
+
var ListLeadStatusesBranchProviderRejected = ListLeadStatusesBranch.ProviderRejected;
|
|
517
|
+
var ListLeadStatusesBranchInvalidResponse = ListLeadStatusesBranch.InvalidResponse;
|
|
518
|
+
var ListLeadStatusesBranchDefect = ListLeadStatusesBranch.Defect;
|
|
519
|
+
var ListLeadStatusesDefinition = {
|
|
520
|
+
operation: { connectorId: ConnectorID, operationId: "listLeadStatuses" },
|
|
521
|
+
branches: [
|
|
522
|
+
{ id: "listed", description: "Copper returned lead statuses." },
|
|
523
|
+
{ id: "providerRejected", description: "Copper conclusively rejected the request.", optional: true },
|
|
524
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized JSON.", optional: true },
|
|
525
|
+
{ id: "defect", description: "Connection credentials are invalid.", optional: true }
|
|
526
|
+
],
|
|
527
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
528
|
+
};
|
|
529
|
+
var ListLeadStatusesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
530
|
+
var ListUsersBranch = {
|
|
531
|
+
Listed: "listed",
|
|
532
|
+
ProviderRejected: "providerRejected",
|
|
533
|
+
InvalidResponse: "invalidResponse",
|
|
534
|
+
Defect: "defect"
|
|
535
|
+
};
|
|
536
|
+
var ListUsersBranchListed = ListUsersBranch.Listed;
|
|
537
|
+
var ListUsersBranchProviderRejected = ListUsersBranch.ProviderRejected;
|
|
538
|
+
var ListUsersBranchInvalidResponse = ListUsersBranch.InvalidResponse;
|
|
539
|
+
var ListUsersBranchDefect = ListUsersBranch.Defect;
|
|
540
|
+
var ListUsersDefinition = {
|
|
541
|
+
operation: { connectorId: ConnectorID, operationId: "listUsers" },
|
|
542
|
+
branches: [
|
|
543
|
+
{ id: "listed", description: "Copper returned a page of users." },
|
|
544
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
545
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized users JSON.", optional: true },
|
|
546
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
547
|
+
],
|
|
548
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
549
|
+
};
|
|
550
|
+
var ListUsersMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
551
|
+
var CreateTaskBranch = {
|
|
552
|
+
Created: "created",
|
|
553
|
+
ProviderRejected: "providerRejected",
|
|
554
|
+
Uncertain: "uncertain",
|
|
555
|
+
Defect: "defect"
|
|
556
|
+
};
|
|
557
|
+
var CreateTaskBranchCreated = CreateTaskBranch.Created;
|
|
558
|
+
var CreateTaskBranchProviderRejected = CreateTaskBranch.ProviderRejected;
|
|
559
|
+
var CreateTaskBranchUncertain = CreateTaskBranch.Uncertain;
|
|
560
|
+
var CreateTaskBranchDefect = CreateTaskBranch.Defect;
|
|
561
|
+
var CreateTaskDefinition = {
|
|
562
|
+
operation: { connectorId: ConnectorID, operationId: "createTask" },
|
|
563
|
+
branches: [
|
|
564
|
+
{ id: "created", description: "Copper created the task." },
|
|
565
|
+
{ id: "providerRejected", description: "Copper rejected creation.", optional: true },
|
|
566
|
+
{ id: "uncertain", description: "Creation may have succeeded but could not be confirmed.", optional: true },
|
|
567
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
568
|
+
],
|
|
569
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
570
|
+
repeatOnUnknown: "limited",
|
|
571
|
+
maxSends: 3
|
|
572
|
+
};
|
|
573
|
+
var CreateTaskMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
574
|
+
var ListTasksBranch = {
|
|
575
|
+
Listed: "listed",
|
|
576
|
+
ProviderRejected: "providerRejected",
|
|
577
|
+
InvalidResponse: "invalidResponse",
|
|
578
|
+
Defect: "defect"
|
|
579
|
+
};
|
|
580
|
+
var ListTasksBranchListed = ListTasksBranch.Listed;
|
|
581
|
+
var ListTasksBranchProviderRejected = ListTasksBranch.ProviderRejected;
|
|
582
|
+
var ListTasksBranchInvalidResponse = ListTasksBranch.InvalidResponse;
|
|
583
|
+
var ListTasksBranchDefect = ListTasksBranch.Defect;
|
|
584
|
+
var ListTasksDefinition = {
|
|
585
|
+
operation: { connectorId: ConnectorID, operationId: "listTasks" },
|
|
586
|
+
branches: [
|
|
587
|
+
{ id: "listed", description: "Copper returned a page of tasks." },
|
|
588
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
589
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized tasks JSON.", optional: true },
|
|
590
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
591
|
+
],
|
|
592
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
593
|
+
};
|
|
594
|
+
var ListTasksMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
595
|
+
var UpdateTaskBranch = {
|
|
596
|
+
Updated: "updated",
|
|
597
|
+
NotFound: "notFound",
|
|
598
|
+
ProviderRejected: "providerRejected",
|
|
599
|
+
Defect: "defect"
|
|
600
|
+
};
|
|
601
|
+
var UpdateTaskBranchUpdated = UpdateTaskBranch.Updated;
|
|
602
|
+
var UpdateTaskBranchNotFound = UpdateTaskBranch.NotFound;
|
|
603
|
+
var UpdateTaskBranchProviderRejected = UpdateTaskBranch.ProviderRejected;
|
|
604
|
+
var UpdateTaskBranchDefect = UpdateTaskBranch.Defect;
|
|
605
|
+
var UpdateTaskDefinition = {
|
|
606
|
+
operation: { connectorId: ConnectorID, operationId: "updateTask" },
|
|
607
|
+
branches: [
|
|
608
|
+
{ id: "updated", description: "Copper updated the task." },
|
|
609
|
+
{ id: "notFound", description: "No task matches the ID.", optional: true },
|
|
610
|
+
{ id: "providerRejected", description: "Copper rejected the update.", optional: true },
|
|
611
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
612
|
+
],
|
|
613
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
614
|
+
repeatOnUnknown: "safe"
|
|
615
|
+
};
|
|
616
|
+
var UpdateTaskMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
617
|
+
var DeleteTaskBranch = {
|
|
618
|
+
Deleted: "deleted",
|
|
619
|
+
NotFound: "notFound",
|
|
620
|
+
ProviderRejected: "providerRejected",
|
|
621
|
+
Defect: "defect"
|
|
622
|
+
};
|
|
623
|
+
var DeleteTaskBranchDeleted = DeleteTaskBranch.Deleted;
|
|
624
|
+
var DeleteTaskBranchNotFound = DeleteTaskBranch.NotFound;
|
|
625
|
+
var DeleteTaskBranchProviderRejected = DeleteTaskBranch.ProviderRejected;
|
|
626
|
+
var DeleteTaskBranchDefect = DeleteTaskBranch.Defect;
|
|
627
|
+
var DeleteTaskDefinition = {
|
|
628
|
+
operation: { connectorId: ConnectorID, operationId: "deleteTask" },
|
|
629
|
+
branches: [
|
|
630
|
+
{ id: "deleted", description: "Copper deleted the task." },
|
|
631
|
+
{ id: "notFound", description: "No task matches the ID.", optional: true },
|
|
632
|
+
{ id: "providerRejected", description: "Copper rejected the deletion.", optional: true },
|
|
633
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
634
|
+
],
|
|
635
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
636
|
+
repeatOnUnknown: "safe"
|
|
637
|
+
};
|
|
638
|
+
var DeleteTaskMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
639
|
+
var GetTaskBranch = {
|
|
640
|
+
Found: "found",
|
|
641
|
+
NotFound: "notFound",
|
|
642
|
+
ProviderRejected: "providerRejected",
|
|
643
|
+
InvalidResponse: "invalidResponse",
|
|
644
|
+
Defect: "defect"
|
|
645
|
+
};
|
|
646
|
+
var GetTaskBranchFound = GetTaskBranch.Found;
|
|
647
|
+
var GetTaskBranchNotFound = GetTaskBranch.NotFound;
|
|
648
|
+
var GetTaskBranchProviderRejected = GetTaskBranch.ProviderRejected;
|
|
649
|
+
var GetTaskBranchInvalidResponse = GetTaskBranch.InvalidResponse;
|
|
650
|
+
var GetTaskBranchDefect = GetTaskBranch.Defect;
|
|
651
|
+
var GetTaskDefinition = {
|
|
652
|
+
operation: { connectorId: ConnectorID, operationId: "getTask" },
|
|
653
|
+
branches: [
|
|
654
|
+
{ id: "found", description: "Copper returned the selected task." },
|
|
655
|
+
{ id: "notFound", description: "No task matches this ID.", optional: true },
|
|
656
|
+
{ id: "providerRejected", description: "Copper conclusively rejected the request.", optional: true },
|
|
657
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized JSON.", optional: true },
|
|
658
|
+
{ id: "defect", description: "Invalid input or unavailable credentials.", optional: true }
|
|
659
|
+
],
|
|
660
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
661
|
+
};
|
|
662
|
+
var GetTaskMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
663
|
+
var CreateProjectBranch = {
|
|
664
|
+
Created: "created",
|
|
665
|
+
ProviderRejected: "providerRejected",
|
|
666
|
+
Uncertain: "uncertain",
|
|
667
|
+
Defect: "defect"
|
|
668
|
+
};
|
|
669
|
+
var CreateProjectBranchCreated = CreateProjectBranch.Created;
|
|
670
|
+
var CreateProjectBranchProviderRejected = CreateProjectBranch.ProviderRejected;
|
|
671
|
+
var CreateProjectBranchUncertain = CreateProjectBranch.Uncertain;
|
|
672
|
+
var CreateProjectBranchDefect = CreateProjectBranch.Defect;
|
|
673
|
+
var CreateProjectDefinition = {
|
|
674
|
+
operation: { connectorId: ConnectorID, operationId: "createProject" },
|
|
675
|
+
branches: [
|
|
676
|
+
{ id: "created", description: "Copper created the project." },
|
|
677
|
+
{ id: "providerRejected", description: "Copper rejected creation.", optional: true },
|
|
678
|
+
{ id: "uncertain", description: "Creation may have succeeded but could not be confirmed.", optional: true },
|
|
679
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
680
|
+
],
|
|
681
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
682
|
+
repeatOnUnknown: "limited",
|
|
683
|
+
maxSends: 3
|
|
684
|
+
};
|
|
685
|
+
var CreateProjectMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
686
|
+
var ListProjectsBranch = {
|
|
687
|
+
Listed: "listed",
|
|
688
|
+
ProviderRejected: "providerRejected",
|
|
689
|
+
InvalidResponse: "invalidResponse",
|
|
690
|
+
Defect: "defect"
|
|
691
|
+
};
|
|
692
|
+
var ListProjectsBranchListed = ListProjectsBranch.Listed;
|
|
693
|
+
var ListProjectsBranchProviderRejected = ListProjectsBranch.ProviderRejected;
|
|
694
|
+
var ListProjectsBranchInvalidResponse = ListProjectsBranch.InvalidResponse;
|
|
695
|
+
var ListProjectsBranchDefect = ListProjectsBranch.Defect;
|
|
696
|
+
var ListProjectsDefinition = {
|
|
697
|
+
operation: { connectorId: ConnectorID, operationId: "listProjects" },
|
|
698
|
+
branches: [
|
|
699
|
+
{ id: "listed", description: "Copper returned a page of projects." },
|
|
700
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
701
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized projects JSON.", optional: true },
|
|
702
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
703
|
+
],
|
|
704
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
705
|
+
};
|
|
706
|
+
var ListProjectsMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
707
|
+
var UpdateProjectBranch = {
|
|
708
|
+
Updated: "updated",
|
|
709
|
+
NotFound: "notFound",
|
|
710
|
+
ProviderRejected: "providerRejected",
|
|
711
|
+
Defect: "defect"
|
|
712
|
+
};
|
|
713
|
+
var UpdateProjectBranchUpdated = UpdateProjectBranch.Updated;
|
|
714
|
+
var UpdateProjectBranchNotFound = UpdateProjectBranch.NotFound;
|
|
715
|
+
var UpdateProjectBranchProviderRejected = UpdateProjectBranch.ProviderRejected;
|
|
716
|
+
var UpdateProjectBranchDefect = UpdateProjectBranch.Defect;
|
|
717
|
+
var UpdateProjectDefinition = {
|
|
718
|
+
operation: { connectorId: ConnectorID, operationId: "updateProject" },
|
|
719
|
+
branches: [
|
|
720
|
+
{ id: "updated", description: "Copper updated the project." },
|
|
721
|
+
{ id: "notFound", description: "No project matches the ID.", optional: true },
|
|
722
|
+
{ id: "providerRejected", description: "Copper rejected the update.", optional: true },
|
|
723
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
724
|
+
],
|
|
725
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
726
|
+
repeatOnUnknown: "safe"
|
|
727
|
+
};
|
|
728
|
+
var UpdateProjectMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
729
|
+
var DeleteProjectBranch = {
|
|
730
|
+
Deleted: "deleted",
|
|
731
|
+
NotFound: "notFound",
|
|
732
|
+
ProviderRejected: "providerRejected",
|
|
733
|
+
Defect: "defect"
|
|
734
|
+
};
|
|
735
|
+
var DeleteProjectBranchDeleted = DeleteProjectBranch.Deleted;
|
|
736
|
+
var DeleteProjectBranchNotFound = DeleteProjectBranch.NotFound;
|
|
737
|
+
var DeleteProjectBranchProviderRejected = DeleteProjectBranch.ProviderRejected;
|
|
738
|
+
var DeleteProjectBranchDefect = DeleteProjectBranch.Defect;
|
|
739
|
+
var DeleteProjectDefinition = {
|
|
740
|
+
operation: { connectorId: ConnectorID, operationId: "deleteProject" },
|
|
741
|
+
branches: [
|
|
742
|
+
{ id: "deleted", description: "Copper deleted the project." },
|
|
743
|
+
{ id: "notFound", description: "No project matches the ID.", optional: true },
|
|
744
|
+
{ id: "providerRejected", description: "Copper rejected the deletion.", optional: true },
|
|
745
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
746
|
+
],
|
|
747
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
748
|
+
repeatOnUnknown: "safe"
|
|
749
|
+
};
|
|
750
|
+
var DeleteProjectMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
751
|
+
var GetProjectBranch = {
|
|
752
|
+
Found: "found",
|
|
753
|
+
NotFound: "notFound",
|
|
754
|
+
ProviderRejected: "providerRejected",
|
|
755
|
+
InvalidResponse: "invalidResponse",
|
|
756
|
+
Defect: "defect"
|
|
757
|
+
};
|
|
758
|
+
var GetProjectBranchFound = GetProjectBranch.Found;
|
|
759
|
+
var GetProjectBranchNotFound = GetProjectBranch.NotFound;
|
|
760
|
+
var GetProjectBranchProviderRejected = GetProjectBranch.ProviderRejected;
|
|
761
|
+
var GetProjectBranchInvalidResponse = GetProjectBranch.InvalidResponse;
|
|
762
|
+
var GetProjectBranchDefect = GetProjectBranch.Defect;
|
|
763
|
+
var GetProjectDefinition = {
|
|
764
|
+
operation: { connectorId: ConnectorID, operationId: "getProject" },
|
|
765
|
+
branches: [
|
|
766
|
+
{ id: "found", description: "Copper returned the selected project." },
|
|
767
|
+
{ id: "notFound", description: "No project matches this ID.", optional: true },
|
|
768
|
+
{ id: "providerRejected", description: "Copper conclusively rejected the request.", optional: true },
|
|
769
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized JSON.", optional: true },
|
|
770
|
+
{ id: "defect", description: "Invalid input or unavailable credentials.", optional: true }
|
|
771
|
+
],
|
|
772
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
773
|
+
};
|
|
774
|
+
var GetProjectMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
775
|
+
var CreateOpportunityBranch = {
|
|
776
|
+
Created: "created",
|
|
777
|
+
ProviderRejected: "providerRejected",
|
|
778
|
+
Uncertain: "uncertain",
|
|
779
|
+
Defect: "defect"
|
|
780
|
+
};
|
|
781
|
+
var CreateOpportunityBranchCreated = CreateOpportunityBranch.Created;
|
|
782
|
+
var CreateOpportunityBranchProviderRejected = CreateOpportunityBranch.ProviderRejected;
|
|
783
|
+
var CreateOpportunityBranchUncertain = CreateOpportunityBranch.Uncertain;
|
|
784
|
+
var CreateOpportunityBranchDefect = CreateOpportunityBranch.Defect;
|
|
785
|
+
var CreateOpportunityDefinition = {
|
|
786
|
+
operation: { connectorId: ConnectorID, operationId: "createOpportunity" },
|
|
787
|
+
branches: [
|
|
788
|
+
{ id: "created", description: "Copper created the opportunity." },
|
|
789
|
+
{ id: "providerRejected", description: "Copper rejected creation.", optional: true },
|
|
790
|
+
{ id: "uncertain", description: "Creation may have succeeded but could not be confirmed.", optional: true },
|
|
791
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
792
|
+
],
|
|
793
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
794
|
+
repeatOnUnknown: "limited",
|
|
795
|
+
maxSends: 3
|
|
796
|
+
};
|
|
797
|
+
var CreateOpportunityMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
798
|
+
var ListOpportunitiesBranch = {
|
|
799
|
+
Listed: "listed",
|
|
800
|
+
ProviderRejected: "providerRejected",
|
|
801
|
+
InvalidResponse: "invalidResponse",
|
|
802
|
+
Defect: "defect"
|
|
803
|
+
};
|
|
804
|
+
var ListOpportunitiesBranchListed = ListOpportunitiesBranch.Listed;
|
|
805
|
+
var ListOpportunitiesBranchProviderRejected = ListOpportunitiesBranch.ProviderRejected;
|
|
806
|
+
var ListOpportunitiesBranchInvalidResponse = ListOpportunitiesBranch.InvalidResponse;
|
|
807
|
+
var ListOpportunitiesBranchDefect = ListOpportunitiesBranch.Defect;
|
|
808
|
+
var ListOpportunitiesDefinition = {
|
|
809
|
+
operation: { connectorId: ConnectorID, operationId: "listOpportunities" },
|
|
810
|
+
branches: [
|
|
811
|
+
{ id: "listed", description: "Copper returned a page of opportunities." },
|
|
812
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
813
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized opportunities JSON.", optional: true },
|
|
814
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
815
|
+
],
|
|
816
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
817
|
+
};
|
|
818
|
+
var ListOpportunitiesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
819
|
+
var UpdateOpportunityBranch = {
|
|
820
|
+
Updated: "updated",
|
|
821
|
+
NotFound: "notFound",
|
|
822
|
+
ProviderRejected: "providerRejected",
|
|
823
|
+
Defect: "defect"
|
|
824
|
+
};
|
|
825
|
+
var UpdateOpportunityBranchUpdated = UpdateOpportunityBranch.Updated;
|
|
826
|
+
var UpdateOpportunityBranchNotFound = UpdateOpportunityBranch.NotFound;
|
|
827
|
+
var UpdateOpportunityBranchProviderRejected = UpdateOpportunityBranch.ProviderRejected;
|
|
828
|
+
var UpdateOpportunityBranchDefect = UpdateOpportunityBranch.Defect;
|
|
829
|
+
var UpdateOpportunityDefinition = {
|
|
830
|
+
operation: { connectorId: ConnectorID, operationId: "updateOpportunity" },
|
|
831
|
+
branches: [
|
|
832
|
+
{ id: "updated", description: "Copper updated the opportunity." },
|
|
833
|
+
{ id: "notFound", description: "No opportunity matches the ID.", optional: true },
|
|
834
|
+
{ id: "providerRejected", description: "Copper rejected the update.", optional: true },
|
|
835
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
836
|
+
],
|
|
837
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
838
|
+
repeatOnUnknown: "safe"
|
|
839
|
+
};
|
|
840
|
+
var UpdateOpportunityMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
841
|
+
var DeleteOpportunityBranch = {
|
|
842
|
+
Deleted: "deleted",
|
|
843
|
+
NotFound: "notFound",
|
|
844
|
+
ProviderRejected: "providerRejected",
|
|
845
|
+
Defect: "defect"
|
|
846
|
+
};
|
|
847
|
+
var DeleteOpportunityBranchDeleted = DeleteOpportunityBranch.Deleted;
|
|
848
|
+
var DeleteOpportunityBranchNotFound = DeleteOpportunityBranch.NotFound;
|
|
849
|
+
var DeleteOpportunityBranchProviderRejected = DeleteOpportunityBranch.ProviderRejected;
|
|
850
|
+
var DeleteOpportunityBranchDefect = DeleteOpportunityBranch.Defect;
|
|
851
|
+
var DeleteOpportunityDefinition = {
|
|
852
|
+
operation: { connectorId: ConnectorID, operationId: "deleteOpportunity" },
|
|
853
|
+
branches: [
|
|
854
|
+
{ id: "deleted", description: "Copper deleted the opportunity." },
|
|
855
|
+
{ id: "notFound", description: "No opportunity matches the ID.", optional: true },
|
|
856
|
+
{ id: "providerRejected", description: "Copper rejected the deletion.", optional: true },
|
|
857
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
858
|
+
],
|
|
859
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
860
|
+
repeatOnUnknown: "safe"
|
|
861
|
+
};
|
|
862
|
+
var DeleteOpportunityMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
863
|
+
var GetOpportunityBranch = {
|
|
864
|
+
Found: "found",
|
|
865
|
+
NotFound: "notFound",
|
|
866
|
+
ProviderRejected: "providerRejected",
|
|
867
|
+
InvalidResponse: "invalidResponse",
|
|
868
|
+
Defect: "defect"
|
|
869
|
+
};
|
|
870
|
+
var GetOpportunityBranchFound = GetOpportunityBranch.Found;
|
|
871
|
+
var GetOpportunityBranchNotFound = GetOpportunityBranch.NotFound;
|
|
872
|
+
var GetOpportunityBranchProviderRejected = GetOpportunityBranch.ProviderRejected;
|
|
873
|
+
var GetOpportunityBranchInvalidResponse = GetOpportunityBranch.InvalidResponse;
|
|
874
|
+
var GetOpportunityBranchDefect = GetOpportunityBranch.Defect;
|
|
875
|
+
var GetOpportunityDefinition = {
|
|
876
|
+
operation: { connectorId: ConnectorID, operationId: "getOpportunity" },
|
|
877
|
+
branches: [
|
|
878
|
+
{ id: "found", description: "Copper returned the selected opportunity." },
|
|
879
|
+
{ id: "notFound", description: "No opportunity matches this ID.", optional: true },
|
|
880
|
+
{ id: "providerRejected", description: "Copper conclusively rejected the request.", optional: true },
|
|
881
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized JSON.", optional: true },
|
|
882
|
+
{ id: "defect", description: "Invalid input or unavailable credentials.", optional: true }
|
|
883
|
+
],
|
|
884
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
885
|
+
};
|
|
886
|
+
var GetOpportunityMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
887
|
+
var CreateLeadBranch = {
|
|
888
|
+
Created: "created",
|
|
889
|
+
ProviderRejected: "providerRejected",
|
|
890
|
+
Uncertain: "uncertain",
|
|
891
|
+
Defect: "defect"
|
|
892
|
+
};
|
|
893
|
+
var CreateLeadBranchCreated = CreateLeadBranch.Created;
|
|
894
|
+
var CreateLeadBranchProviderRejected = CreateLeadBranch.ProviderRejected;
|
|
895
|
+
var CreateLeadBranchUncertain = CreateLeadBranch.Uncertain;
|
|
896
|
+
var CreateLeadBranchDefect = CreateLeadBranch.Defect;
|
|
897
|
+
var CreateLeadDefinition = {
|
|
898
|
+
operation: { connectorId: ConnectorID, operationId: "createLead" },
|
|
899
|
+
branches: [
|
|
900
|
+
{ id: "created", description: "Copper created the lead." },
|
|
901
|
+
{ id: "providerRejected", description: "Copper rejected creation.", optional: true },
|
|
902
|
+
{ id: "uncertain", description: "Creation may have succeeded but could not be confirmed.", optional: true },
|
|
903
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
904
|
+
],
|
|
905
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
906
|
+
repeatOnUnknown: "limited",
|
|
907
|
+
maxSends: 3
|
|
908
|
+
};
|
|
909
|
+
var CreateLeadMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
910
|
+
var ListLeadsBranch = {
|
|
911
|
+
Listed: "listed",
|
|
912
|
+
ProviderRejected: "providerRejected",
|
|
913
|
+
InvalidResponse: "invalidResponse",
|
|
914
|
+
Defect: "defect"
|
|
915
|
+
};
|
|
916
|
+
var ListLeadsBranchListed = ListLeadsBranch.Listed;
|
|
917
|
+
var ListLeadsBranchProviderRejected = ListLeadsBranch.ProviderRejected;
|
|
918
|
+
var ListLeadsBranchInvalidResponse = ListLeadsBranch.InvalidResponse;
|
|
919
|
+
var ListLeadsBranchDefect = ListLeadsBranch.Defect;
|
|
920
|
+
var ListLeadsDefinition = {
|
|
921
|
+
operation: { connectorId: ConnectorID, operationId: "listLeads" },
|
|
922
|
+
branches: [
|
|
923
|
+
{ id: "listed", description: "Copper returned a page of leads." },
|
|
924
|
+
{ id: "providerRejected", description: "Copper rejected the search.", optional: true },
|
|
925
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized leads JSON.", optional: true },
|
|
926
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
927
|
+
],
|
|
928
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
929
|
+
};
|
|
930
|
+
var ListLeadsMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
931
|
+
var UpdateLeadBranch = {
|
|
932
|
+
Updated: "updated",
|
|
933
|
+
NotFound: "notFound",
|
|
934
|
+
ProviderRejected: "providerRejected",
|
|
935
|
+
Defect: "defect"
|
|
936
|
+
};
|
|
937
|
+
var UpdateLeadBranchUpdated = UpdateLeadBranch.Updated;
|
|
938
|
+
var UpdateLeadBranchNotFound = UpdateLeadBranch.NotFound;
|
|
939
|
+
var UpdateLeadBranchProviderRejected = UpdateLeadBranch.ProviderRejected;
|
|
940
|
+
var UpdateLeadBranchDefect = UpdateLeadBranch.Defect;
|
|
941
|
+
var UpdateLeadDefinition = {
|
|
942
|
+
operation: { connectorId: ConnectorID, operationId: "updateLead" },
|
|
943
|
+
branches: [
|
|
944
|
+
{ id: "updated", description: "Copper updated the lead." },
|
|
945
|
+
{ id: "notFound", description: "No lead matches the ID.", optional: true },
|
|
946
|
+
{ id: "providerRejected", description: "Copper rejected the update.", optional: true },
|
|
947
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
948
|
+
],
|
|
949
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
950
|
+
repeatOnUnknown: "safe"
|
|
951
|
+
};
|
|
952
|
+
var UpdateLeadMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
953
|
+
var DeleteLeadBranch = {
|
|
954
|
+
Deleted: "deleted",
|
|
955
|
+
NotFound: "notFound",
|
|
956
|
+
ProviderRejected: "providerRejected",
|
|
957
|
+
Defect: "defect"
|
|
958
|
+
};
|
|
959
|
+
var DeleteLeadBranchDeleted = DeleteLeadBranch.Deleted;
|
|
960
|
+
var DeleteLeadBranchNotFound = DeleteLeadBranch.NotFound;
|
|
961
|
+
var DeleteLeadBranchProviderRejected = DeleteLeadBranch.ProviderRejected;
|
|
962
|
+
var DeleteLeadBranchDefect = DeleteLeadBranch.Defect;
|
|
963
|
+
var DeleteLeadDefinition = {
|
|
964
|
+
operation: { connectorId: ConnectorID, operationId: "deleteLead" },
|
|
965
|
+
branches: [
|
|
966
|
+
{ id: "deleted", description: "Copper deleted the lead." },
|
|
967
|
+
{ id: "notFound", description: "No lead matches the ID.", optional: true },
|
|
968
|
+
{ id: "providerRejected", description: "Copper rejected the deletion.", optional: true },
|
|
969
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
970
|
+
],
|
|
971
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
972
|
+
repeatOnUnknown: "safe"
|
|
973
|
+
};
|
|
974
|
+
var DeleteLeadMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
975
|
+
var GetLeadBranch = {
|
|
976
|
+
Found: "found",
|
|
977
|
+
NotFound: "notFound",
|
|
978
|
+
ProviderRejected: "providerRejected",
|
|
979
|
+
InvalidResponse: "invalidResponse",
|
|
980
|
+
Defect: "defect"
|
|
981
|
+
};
|
|
982
|
+
var GetLeadBranchFound = GetLeadBranch.Found;
|
|
983
|
+
var GetLeadBranchNotFound = GetLeadBranch.NotFound;
|
|
984
|
+
var GetLeadBranchProviderRejected = GetLeadBranch.ProviderRejected;
|
|
985
|
+
var GetLeadBranchInvalidResponse = GetLeadBranch.InvalidResponse;
|
|
986
|
+
var GetLeadBranchDefect = GetLeadBranch.Defect;
|
|
987
|
+
var GetLeadDefinition = {
|
|
988
|
+
operation: { connectorId: ConnectorID, operationId: "getLead" },
|
|
989
|
+
branches: [
|
|
990
|
+
{ id: "found", description: "Copper returned the selected lead." },
|
|
991
|
+
{ id: "notFound", description: "No lead matches this ID.", optional: true },
|
|
992
|
+
{ id: "providerRejected", description: "Copper conclusively rejected the request.", optional: true },
|
|
993
|
+
{ id: "invalidResponse", description: "Copper returned malformed or oversized JSON.", optional: true },
|
|
994
|
+
{ id: "defect", description: "Invalid input or unavailable credentials.", optional: true }
|
|
995
|
+
],
|
|
996
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
997
|
+
};
|
|
998
|
+
var GetLeadMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
999
|
+
|
|
1000
|
+
// src/generated/connection.ts
|
|
1001
|
+
import { ConnectionRefSchema } from "@superdurable/connectors-sdk";
|
|
1002
|
+
var Connection = class {
|
|
1003
|
+
/** Stable provider and connection name. */
|
|
1004
|
+
reference;
|
|
1005
|
+
/** Bound provider operations. */
|
|
1006
|
+
operations;
|
|
1007
|
+
/** Validate a reference and bind operations. */
|
|
1008
|
+
constructor(reference, operations) {
|
|
1009
|
+
this.reference = ConnectionRefSchema.parse(reference);
|
|
1010
|
+
if (this.reference.provider !== ProviderID) throw new TypeError("connection provider differs from the manifest");
|
|
1011
|
+
if (!operations) throw new TypeError("connector operations are required");
|
|
1012
|
+
this.operations = operations;
|
|
1013
|
+
}
|
|
1014
|
+
};
|
|
1015
|
+
function newConnection(client, reference) {
|
|
1016
|
+
if (!client) throw new TypeError("connector client is required");
|
|
1017
|
+
return new Connection(reference, client);
|
|
1018
|
+
}
|
|
1019
|
+
function newConnectionWithOperations(operations, reference) {
|
|
1020
|
+
return new Connection(reference, operations);
|
|
1021
|
+
}
|
|
1022
|
+
function newProjectConnection(project, connectionName, createClient) {
|
|
1023
|
+
if (!project) throw new TypeError("loaded project is required");
|
|
1024
|
+
const reference = ConnectionRefSchema.parse({ provider: ProviderID, name: connectionName });
|
|
1025
|
+
const selected = project.configuration.connections.find((entry) => entry.connectorId === ConnectorID && entry.connectionName === connectionName);
|
|
1026
|
+
if (!selected || selected.provider !== ProviderID) throw new TypeError("project connection is not configured");
|
|
1027
|
+
return newConnection(createClient(project, connectionName), reference);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export {
|
|
1031
|
+
ConfigSchema,
|
|
1032
|
+
CredentialMaterialError,
|
|
1033
|
+
isCredentialMaterialError,
|
|
1034
|
+
decodeCredentials,
|
|
1035
|
+
CreateCompanyInputSchema,
|
|
1036
|
+
CompanyMetadataSchema,
|
|
1037
|
+
GetCompanyInputSchema,
|
|
1038
|
+
ListCompaniesInputSchema,
|
|
1039
|
+
CompaniesPageSchema,
|
|
1040
|
+
UpdateCompanyInputSchema,
|
|
1041
|
+
DeleteCompanyInputSchema,
|
|
1042
|
+
DeleteCompanyOutputSchema,
|
|
1043
|
+
CreatePersonInputSchema,
|
|
1044
|
+
PersonMetadataSchema,
|
|
1045
|
+
GetPersonInputSchema,
|
|
1046
|
+
ListPeopleInputSchema,
|
|
1047
|
+
PeoplePageSchema,
|
|
1048
|
+
UpdatePersonInputSchema,
|
|
1049
|
+
DeletePersonInputSchema,
|
|
1050
|
+
DeletePersonOutputSchema,
|
|
1051
|
+
ListCustomerSourcesInputSchema,
|
|
1052
|
+
CustomerSourceMetadataSchema,
|
|
1053
|
+
CustomerSourcesListSchema,
|
|
1054
|
+
ListLeadStatusesInputSchema,
|
|
1055
|
+
LeadStatusMetadataSchema,
|
|
1056
|
+
LeadStatusesListSchema,
|
|
1057
|
+
ListUsersInputSchema,
|
|
1058
|
+
UserMetadataSchema,
|
|
1059
|
+
UsersPageSchema,
|
|
1060
|
+
CreateTaskInputSchema,
|
|
1061
|
+
TaskMetadataSchema,
|
|
1062
|
+
ListTasksInputSchema,
|
|
1063
|
+
TasksPageSchema,
|
|
1064
|
+
UpdateTaskInputSchema,
|
|
1065
|
+
DeleteTaskInputSchema,
|
|
1066
|
+
DeleteTaskOutputSchema,
|
|
1067
|
+
GetTaskInputSchema,
|
|
1068
|
+
CreateProjectInputSchema,
|
|
1069
|
+
ProjectMetadataSchema,
|
|
1070
|
+
ListProjectsInputSchema,
|
|
1071
|
+
ProjectsPageSchema,
|
|
1072
|
+
UpdateProjectInputSchema,
|
|
1073
|
+
DeleteProjectInputSchema,
|
|
1074
|
+
DeleteProjectOutputSchema,
|
|
1075
|
+
GetProjectInputSchema,
|
|
1076
|
+
CreateOpportunityInputSchema,
|
|
1077
|
+
OpportunityMetadataSchema,
|
|
1078
|
+
ListOpportunitiesInputSchema,
|
|
1079
|
+
OpportunitiesPageSchema,
|
|
1080
|
+
UpdateOpportunityInputSchema,
|
|
1081
|
+
DeleteOpportunityInputSchema,
|
|
1082
|
+
DeleteOpportunityOutputSchema,
|
|
1083
|
+
GetOpportunityInputSchema,
|
|
1084
|
+
CreateLeadInputSchema,
|
|
1085
|
+
LeadMetadataSchema,
|
|
1086
|
+
ListLeadsInputSchema,
|
|
1087
|
+
LeadsPageSchema,
|
|
1088
|
+
UpdateLeadInputSchema,
|
|
1089
|
+
DeleteLeadInputSchema,
|
|
1090
|
+
DeleteLeadOutputSchema,
|
|
1091
|
+
GetLeadInputSchema,
|
|
1092
|
+
ConnectorID,
|
|
1093
|
+
ProviderID,
|
|
1094
|
+
CreateCompanyBranch,
|
|
1095
|
+
CreateCompanyBranchCreated,
|
|
1096
|
+
CreateCompanyBranchProviderRejected,
|
|
1097
|
+
CreateCompanyBranchUncertain,
|
|
1098
|
+
CreateCompanyBranchDefect,
|
|
1099
|
+
CreateCompanyDefinition,
|
|
1100
|
+
CreateCompanyMetadata,
|
|
1101
|
+
GetCompanyBranch,
|
|
1102
|
+
GetCompanyBranchFound,
|
|
1103
|
+
GetCompanyBranchNotFound,
|
|
1104
|
+
GetCompanyBranchProviderRejected,
|
|
1105
|
+
GetCompanyBranchInvalidResponse,
|
|
1106
|
+
GetCompanyBranchDefect,
|
|
1107
|
+
GetCompanyDefinition,
|
|
1108
|
+
GetCompanyMetadata,
|
|
1109
|
+
ListCompaniesBranch,
|
|
1110
|
+
ListCompaniesBranchListed,
|
|
1111
|
+
ListCompaniesBranchProviderRejected,
|
|
1112
|
+
ListCompaniesBranchInvalidResponse,
|
|
1113
|
+
ListCompaniesBranchDefect,
|
|
1114
|
+
ListCompaniesDefinition,
|
|
1115
|
+
ListCompaniesMetadata,
|
|
1116
|
+
UpdateCompanyBranch,
|
|
1117
|
+
UpdateCompanyBranchUpdated,
|
|
1118
|
+
UpdateCompanyBranchNotFound,
|
|
1119
|
+
UpdateCompanyBranchProviderRejected,
|
|
1120
|
+
UpdateCompanyBranchDefect,
|
|
1121
|
+
UpdateCompanyDefinition,
|
|
1122
|
+
UpdateCompanyMetadata,
|
|
1123
|
+
DeleteCompanyBranch,
|
|
1124
|
+
DeleteCompanyBranchDeleted,
|
|
1125
|
+
DeleteCompanyBranchNotFound,
|
|
1126
|
+
DeleteCompanyBranchProviderRejected,
|
|
1127
|
+
DeleteCompanyBranchDefect,
|
|
1128
|
+
DeleteCompanyDefinition,
|
|
1129
|
+
DeleteCompanyMetadata,
|
|
1130
|
+
CreatePersonBranch,
|
|
1131
|
+
CreatePersonBranchCreated,
|
|
1132
|
+
CreatePersonBranchProviderRejected,
|
|
1133
|
+
CreatePersonBranchUncertain,
|
|
1134
|
+
CreatePersonBranchDefect,
|
|
1135
|
+
CreatePersonDefinition,
|
|
1136
|
+
CreatePersonMetadata,
|
|
1137
|
+
GetPersonBranch,
|
|
1138
|
+
GetPersonBranchFound,
|
|
1139
|
+
GetPersonBranchNotFound,
|
|
1140
|
+
GetPersonBranchProviderRejected,
|
|
1141
|
+
GetPersonBranchInvalidResponse,
|
|
1142
|
+
GetPersonBranchDefect,
|
|
1143
|
+
GetPersonDefinition,
|
|
1144
|
+
GetPersonMetadata,
|
|
1145
|
+
ListPeopleBranch,
|
|
1146
|
+
ListPeopleBranchListed,
|
|
1147
|
+
ListPeopleBranchProviderRejected,
|
|
1148
|
+
ListPeopleBranchInvalidResponse,
|
|
1149
|
+
ListPeopleBranchDefect,
|
|
1150
|
+
ListPeopleDefinition,
|
|
1151
|
+
ListPeopleMetadata,
|
|
1152
|
+
UpdatePersonBranch,
|
|
1153
|
+
UpdatePersonBranchUpdated,
|
|
1154
|
+
UpdatePersonBranchNotFound,
|
|
1155
|
+
UpdatePersonBranchProviderRejected,
|
|
1156
|
+
UpdatePersonBranchDefect,
|
|
1157
|
+
UpdatePersonDefinition,
|
|
1158
|
+
UpdatePersonMetadata,
|
|
1159
|
+
DeletePersonBranch,
|
|
1160
|
+
DeletePersonBranchDeleted,
|
|
1161
|
+
DeletePersonBranchNotFound,
|
|
1162
|
+
DeletePersonBranchProviderRejected,
|
|
1163
|
+
DeletePersonBranchDefect,
|
|
1164
|
+
DeletePersonDefinition,
|
|
1165
|
+
DeletePersonMetadata,
|
|
1166
|
+
ListCustomerSourcesBranch,
|
|
1167
|
+
ListCustomerSourcesBranchListed,
|
|
1168
|
+
ListCustomerSourcesBranchProviderRejected,
|
|
1169
|
+
ListCustomerSourcesBranchInvalidResponse,
|
|
1170
|
+
ListCustomerSourcesBranchDefect,
|
|
1171
|
+
ListCustomerSourcesDefinition,
|
|
1172
|
+
ListCustomerSourcesMetadata,
|
|
1173
|
+
ListLeadStatusesBranch,
|
|
1174
|
+
ListLeadStatusesBranchListed,
|
|
1175
|
+
ListLeadStatusesBranchProviderRejected,
|
|
1176
|
+
ListLeadStatusesBranchInvalidResponse,
|
|
1177
|
+
ListLeadStatusesBranchDefect,
|
|
1178
|
+
ListLeadStatusesDefinition,
|
|
1179
|
+
ListLeadStatusesMetadata,
|
|
1180
|
+
ListUsersBranch,
|
|
1181
|
+
ListUsersBranchListed,
|
|
1182
|
+
ListUsersBranchProviderRejected,
|
|
1183
|
+
ListUsersBranchInvalidResponse,
|
|
1184
|
+
ListUsersBranchDefect,
|
|
1185
|
+
ListUsersDefinition,
|
|
1186
|
+
ListUsersMetadata,
|
|
1187
|
+
CreateTaskBranch,
|
|
1188
|
+
CreateTaskBranchCreated,
|
|
1189
|
+
CreateTaskBranchProviderRejected,
|
|
1190
|
+
CreateTaskBranchUncertain,
|
|
1191
|
+
CreateTaskBranchDefect,
|
|
1192
|
+
CreateTaskDefinition,
|
|
1193
|
+
CreateTaskMetadata,
|
|
1194
|
+
ListTasksBranch,
|
|
1195
|
+
ListTasksBranchListed,
|
|
1196
|
+
ListTasksBranchProviderRejected,
|
|
1197
|
+
ListTasksBranchInvalidResponse,
|
|
1198
|
+
ListTasksBranchDefect,
|
|
1199
|
+
ListTasksDefinition,
|
|
1200
|
+
ListTasksMetadata,
|
|
1201
|
+
UpdateTaskBranch,
|
|
1202
|
+
UpdateTaskBranchUpdated,
|
|
1203
|
+
UpdateTaskBranchNotFound,
|
|
1204
|
+
UpdateTaskBranchProviderRejected,
|
|
1205
|
+
UpdateTaskBranchDefect,
|
|
1206
|
+
UpdateTaskDefinition,
|
|
1207
|
+
UpdateTaskMetadata,
|
|
1208
|
+
DeleteTaskBranch,
|
|
1209
|
+
DeleteTaskBranchDeleted,
|
|
1210
|
+
DeleteTaskBranchNotFound,
|
|
1211
|
+
DeleteTaskBranchProviderRejected,
|
|
1212
|
+
DeleteTaskBranchDefect,
|
|
1213
|
+
DeleteTaskDefinition,
|
|
1214
|
+
DeleteTaskMetadata,
|
|
1215
|
+
GetTaskBranch,
|
|
1216
|
+
GetTaskBranchFound,
|
|
1217
|
+
GetTaskBranchNotFound,
|
|
1218
|
+
GetTaskBranchProviderRejected,
|
|
1219
|
+
GetTaskBranchInvalidResponse,
|
|
1220
|
+
GetTaskBranchDefect,
|
|
1221
|
+
GetTaskDefinition,
|
|
1222
|
+
GetTaskMetadata,
|
|
1223
|
+
CreateProjectBranch,
|
|
1224
|
+
CreateProjectBranchCreated,
|
|
1225
|
+
CreateProjectBranchProviderRejected,
|
|
1226
|
+
CreateProjectBranchUncertain,
|
|
1227
|
+
CreateProjectBranchDefect,
|
|
1228
|
+
CreateProjectDefinition,
|
|
1229
|
+
CreateProjectMetadata,
|
|
1230
|
+
ListProjectsBranch,
|
|
1231
|
+
ListProjectsBranchListed,
|
|
1232
|
+
ListProjectsBranchProviderRejected,
|
|
1233
|
+
ListProjectsBranchInvalidResponse,
|
|
1234
|
+
ListProjectsBranchDefect,
|
|
1235
|
+
ListProjectsDefinition,
|
|
1236
|
+
ListProjectsMetadata,
|
|
1237
|
+
UpdateProjectBranch,
|
|
1238
|
+
UpdateProjectBranchUpdated,
|
|
1239
|
+
UpdateProjectBranchNotFound,
|
|
1240
|
+
UpdateProjectBranchProviderRejected,
|
|
1241
|
+
UpdateProjectBranchDefect,
|
|
1242
|
+
UpdateProjectDefinition,
|
|
1243
|
+
UpdateProjectMetadata,
|
|
1244
|
+
DeleteProjectBranch,
|
|
1245
|
+
DeleteProjectBranchDeleted,
|
|
1246
|
+
DeleteProjectBranchNotFound,
|
|
1247
|
+
DeleteProjectBranchProviderRejected,
|
|
1248
|
+
DeleteProjectBranchDefect,
|
|
1249
|
+
DeleteProjectDefinition,
|
|
1250
|
+
DeleteProjectMetadata,
|
|
1251
|
+
GetProjectBranch,
|
|
1252
|
+
GetProjectBranchFound,
|
|
1253
|
+
GetProjectBranchNotFound,
|
|
1254
|
+
GetProjectBranchProviderRejected,
|
|
1255
|
+
GetProjectBranchInvalidResponse,
|
|
1256
|
+
GetProjectBranchDefect,
|
|
1257
|
+
GetProjectDefinition,
|
|
1258
|
+
GetProjectMetadata,
|
|
1259
|
+
CreateOpportunityBranch,
|
|
1260
|
+
CreateOpportunityBranchCreated,
|
|
1261
|
+
CreateOpportunityBranchProviderRejected,
|
|
1262
|
+
CreateOpportunityBranchUncertain,
|
|
1263
|
+
CreateOpportunityBranchDefect,
|
|
1264
|
+
CreateOpportunityDefinition,
|
|
1265
|
+
CreateOpportunityMetadata,
|
|
1266
|
+
ListOpportunitiesBranch,
|
|
1267
|
+
ListOpportunitiesBranchListed,
|
|
1268
|
+
ListOpportunitiesBranchProviderRejected,
|
|
1269
|
+
ListOpportunitiesBranchInvalidResponse,
|
|
1270
|
+
ListOpportunitiesBranchDefect,
|
|
1271
|
+
ListOpportunitiesDefinition,
|
|
1272
|
+
ListOpportunitiesMetadata,
|
|
1273
|
+
UpdateOpportunityBranch,
|
|
1274
|
+
UpdateOpportunityBranchUpdated,
|
|
1275
|
+
UpdateOpportunityBranchNotFound,
|
|
1276
|
+
UpdateOpportunityBranchProviderRejected,
|
|
1277
|
+
UpdateOpportunityBranchDefect,
|
|
1278
|
+
UpdateOpportunityDefinition,
|
|
1279
|
+
UpdateOpportunityMetadata,
|
|
1280
|
+
DeleteOpportunityBranch,
|
|
1281
|
+
DeleteOpportunityBranchDeleted,
|
|
1282
|
+
DeleteOpportunityBranchNotFound,
|
|
1283
|
+
DeleteOpportunityBranchProviderRejected,
|
|
1284
|
+
DeleteOpportunityBranchDefect,
|
|
1285
|
+
DeleteOpportunityDefinition,
|
|
1286
|
+
DeleteOpportunityMetadata,
|
|
1287
|
+
GetOpportunityBranch,
|
|
1288
|
+
GetOpportunityBranchFound,
|
|
1289
|
+
GetOpportunityBranchNotFound,
|
|
1290
|
+
GetOpportunityBranchProviderRejected,
|
|
1291
|
+
GetOpportunityBranchInvalidResponse,
|
|
1292
|
+
GetOpportunityBranchDefect,
|
|
1293
|
+
GetOpportunityDefinition,
|
|
1294
|
+
GetOpportunityMetadata,
|
|
1295
|
+
CreateLeadBranch,
|
|
1296
|
+
CreateLeadBranchCreated,
|
|
1297
|
+
CreateLeadBranchProviderRejected,
|
|
1298
|
+
CreateLeadBranchUncertain,
|
|
1299
|
+
CreateLeadBranchDefect,
|
|
1300
|
+
CreateLeadDefinition,
|
|
1301
|
+
CreateLeadMetadata,
|
|
1302
|
+
ListLeadsBranch,
|
|
1303
|
+
ListLeadsBranchListed,
|
|
1304
|
+
ListLeadsBranchProviderRejected,
|
|
1305
|
+
ListLeadsBranchInvalidResponse,
|
|
1306
|
+
ListLeadsBranchDefect,
|
|
1307
|
+
ListLeadsDefinition,
|
|
1308
|
+
ListLeadsMetadata,
|
|
1309
|
+
UpdateLeadBranch,
|
|
1310
|
+
UpdateLeadBranchUpdated,
|
|
1311
|
+
UpdateLeadBranchNotFound,
|
|
1312
|
+
UpdateLeadBranchProviderRejected,
|
|
1313
|
+
UpdateLeadBranchDefect,
|
|
1314
|
+
UpdateLeadDefinition,
|
|
1315
|
+
UpdateLeadMetadata,
|
|
1316
|
+
DeleteLeadBranch,
|
|
1317
|
+
DeleteLeadBranchDeleted,
|
|
1318
|
+
DeleteLeadBranchNotFound,
|
|
1319
|
+
DeleteLeadBranchProviderRejected,
|
|
1320
|
+
DeleteLeadBranchDefect,
|
|
1321
|
+
DeleteLeadDefinition,
|
|
1322
|
+
DeleteLeadMetadata,
|
|
1323
|
+
GetLeadBranch,
|
|
1324
|
+
GetLeadBranchFound,
|
|
1325
|
+
GetLeadBranchNotFound,
|
|
1326
|
+
GetLeadBranchProviderRejected,
|
|
1327
|
+
GetLeadBranchInvalidResponse,
|
|
1328
|
+
GetLeadBranchDefect,
|
|
1329
|
+
GetLeadDefinition,
|
|
1330
|
+
GetLeadMetadata,
|
|
1331
|
+
Connection,
|
|
1332
|
+
newConnection,
|
|
1333
|
+
newConnectionWithOperations,
|
|
1334
|
+
newProjectConnection
|
|
1335
|
+
};
|