@fenixalliance/abs-api-client 1.0.9 → 1.0.10

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.
Files changed (75) hide show
  1. package/app/index.js +2 -2
  2. package/app/index.ts +1 -1
  3. package/clients/contentService/services/PortalsService.js +22 -11
  4. package/clients/contentService/services/PortalsService.ts +22 -11
  5. package/clients/crmService/services/ContactsService.js +86 -28
  6. package/clients/crmService/services/ContactsService.ts +86 -28
  7. package/clients/holderService/index.js +7 -3
  8. package/clients/holderService/index.ts +3 -2
  9. package/clients/holderService/services/{HolderService.js → IdentityService.js} +58 -176
  10. package/clients/holderService/services/{HolderService.ts → IdentityService.ts} +58 -200
  11. package/clients/holderService/services/TenantsService.js +151 -0
  12. package/clients/holderService/services/TenantsService.ts +176 -0
  13. package/clients/holderService/services/UserService.js +364 -0
  14. package/clients/holderService/services/UserService.ts +421 -0
  15. package/clients/storageService/services/AvatarsService.js +19 -8
  16. package/clients/storageService/services/AvatarsService.ts +19 -8
  17. package/clients/systemService/services/ModulesService.js +4 -2
  18. package/clients/systemService/services/ModulesService.ts +4 -2
  19. package/clients/systemService/services/TenantsService.js +24 -8
  20. package/clients/systemService/services/TenantsService.ts +24 -8
  21. package/clients/tenantService/index.js +1 -29
  22. package/clients/tenantService/index.ts +7 -20
  23. package/clients/{holderService/models/EmptyEnvelopeEnvelope.ts → tenantService/models/TenantIndustryDtoListEnvelope.ts} +3 -3
  24. package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamContactEnrollmentDtoListEnvelope.ts} +1 -1
  25. package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.ts → TenantTeamDtoListEnvelope.ts} +1 -1
  26. package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamEmployeeEnrollmentDtoListEnvelope.ts} +1 -1
  27. package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamProjectEnrollmentDtoListEnvelope.ts} +1 -1
  28. package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts → TenantTeamRecordDtoListEnvelope.ts} +1 -1
  29. package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.ts → TenantTypeDtoListEnvelope.ts} +1 -1
  30. package/clients/tenantService/services/SizesService.js +15 -5
  31. package/clients/tenantService/services/SizesService.ts +15 -5
  32. package/clients/tenantService/services/TenantsService.js +2554 -233
  33. package/clients/tenantService/services/TenantsService.ts +3004 -307
  34. package/package.json +1 -1
  35. package/schemas/contentService/schema.s.ts +850 -817
  36. package/schemas/crmService/schema.s.ts +1776 -1516
  37. package/schemas/holderService/schema.s.ts +256 -115
  38. package/schemas/storageService/schema.s.ts +439 -394
  39. package/schemas/systemService/schema.s.ts +465 -387
  40. package/schemas/tenantService/schema.s.ts +5713 -4820
  41. package/clients/tenantService/services/DepartmentsService.js +0 -161
  42. package/clients/tenantService/services/DepartmentsService.ts +0 -192
  43. package/clients/tenantService/services/EmployeeEnrollmentsService.js +0 -153
  44. package/clients/tenantService/services/EmployeeEnrollmentsService.ts +0 -181
  45. package/clients/tenantService/services/EnrollmentsService.js +0 -163
  46. package/clients/tenantService/services/EnrollmentsService.ts +0 -195
  47. package/clients/tenantService/services/IndustriesService.js +0 -161
  48. package/clients/tenantService/services/IndustriesService.ts +0 -190
  49. package/clients/tenantService/services/InvitationsService.js +0 -128
  50. package/clients/tenantService/services/InvitationsService.ts +0 -150
  51. package/clients/tenantService/services/PositionsService.js +0 -161
  52. package/clients/tenantService/services/PositionsService.ts +0 -192
  53. package/clients/tenantService/services/SegmentsService.js +0 -161
  54. package/clients/tenantService/services/SegmentsService.ts +0 -191
  55. package/clients/tenantService/services/TeamContactEnrollmentsService.js +0 -161
  56. package/clients/tenantService/services/TeamContactEnrollmentsService.ts +0 -191
  57. package/clients/tenantService/services/TeamProjectEnrollmentService.js +0 -153
  58. package/clients/tenantService/services/TeamProjectEnrollmentService.ts +0 -181
  59. package/clients/tenantService/services/TeamRecordsService.js +0 -161
  60. package/clients/tenantService/services/TeamRecordsService.ts +0 -192
  61. package/clients/tenantService/services/TeamsService.js +0 -161
  62. package/clients/tenantService/services/TeamsService.ts +0 -192
  63. package/clients/tenantService/services/TerritoriesService.js +0 -161
  64. package/clients/tenantService/services/TerritoriesService.ts +0 -192
  65. package/clients/tenantService/services/TypesService.js +0 -149
  66. package/clients/tenantService/services/TypesService.ts +0 -176
  67. package/clients/tenantService/services/UnitsService.js +0 -159
  68. package/clients/tenantService/services/UnitsService.ts +0 -190
  69. /package/clients/{holderService/models/EmptyEnvelopeEnvelope.js → tenantService/models/TenantIndustryDtoListEnvelope.js} +0 -0
  70. /package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.js → TenantTeamContactEnrollmentDtoListEnvelope.js} +0 -0
  71. /package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.js → TenantTeamDtoListEnvelope.js} +0 -0
  72. /package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.js → TenantTeamEmployeeEnrollmentDtoListEnvelope.js} +0 -0
  73. /package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.js → TenantTeamProjectEnrollmentDtoListEnvelope.js} +0 -0
  74. /package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.js → TenantTeamRecordDtoListEnvelope.js} +0 -0
  75. /package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.js → TenantTypeDtoListEnvelope.js} +0 -0
@@ -6,7 +6,200 @@
6
6
 
7
7
  export interface paths {
8
8
  "/api/v2/CrmService/Contacts": {
9
- get: {
9
+ /**
10
+ * Get all business owned contacts
11
+ * @description Get all business owned contacts
12
+ */
13
+ get: operations["GetContactsAsync"];
14
+ /**
15
+ * Create a new contact
16
+ * @description Create a new contact
17
+ */
18
+ post: operations["CreateContactAsync"];
19
+ };
20
+ "/api/v2/CrmService/Contacts/Count": {
21
+ /**
22
+ * Get all business owned contacts count
23
+ * @description Get all business owned contacts count
24
+ */
25
+ get: operations["GetContactsCountAsync"];
26
+ };
27
+ "/api/v2/CrmService/Contacts/Extended": {
28
+ /**
29
+ * Get all business owned contacts
30
+ * @description Get all business owned contacts
31
+ */
32
+ get: operations["GetExtendedContactsAsync"];
33
+ };
34
+ "/api/v2/CrmService/Contacts/{contactId}": {
35
+ /**
36
+ * Get a contact by ID
37
+ * @description Get a contact by ID
38
+ */
39
+ get: operations["GetContactAsync"];
40
+ /**
41
+ * Update a contact
42
+ * @description Update a contact
43
+ */
44
+ put: operations["UpdateContactAsync"];
45
+ /**
46
+ * Delete a contact
47
+ * @description Delete a contact
48
+ */
49
+ delete: operations["DeleteContactAsync"];
50
+ /**
51
+ * Patch a contact
52
+ * @description Patch a contact
53
+ */
54
+ patch: operations["PatchContactAsync"];
55
+ };
56
+ "/api/v2/CrmService/Contacts/{contactId}/Extended": {
57
+ /**
58
+ * Get a contact by ID
59
+ * @description Get a contact by ID
60
+ */
61
+ get: operations["GetExtendedContactAsync"];
62
+ };
63
+ "/api/v2/CrmService/Contacts/Individuals": {
64
+ /**
65
+ * Get all contacts of type individual
66
+ * @description Get all contacts of type individual
67
+ */
68
+ get: operations["GetBusinessOwnedIndividualsAsync"];
69
+ };
70
+ "/api/v2/CrmService/Contacts/Individuals/Count": {
71
+ /**
72
+ * Get all contacts of type individual count
73
+ * @description Get all contacts of type individual count
74
+ */
75
+ get: operations["GetBusinessOwnedIndividualsCountAsync"];
76
+ };
77
+ "/api/v2/CrmService/Contacts/Individuals/Extended": {
78
+ /**
79
+ * Get all contacts of type individual
80
+ * @description Get all contacts of type individual
81
+ */
82
+ get: operations["GetExtendedBusinessOwnedIndividualsAsync"];
83
+ };
84
+ "/api/v2/CrmService/Contacts/Individuals/{contactId}": {
85
+ /**
86
+ * Get a Contact of type Individual by ID
87
+ * @description Get a Contact of type Individual by ID
88
+ */
89
+ get: operations["GetBusinessOwnedIndividualAsync"];
90
+ };
91
+ "/api/v2/CrmService/Contacts/Organizations": {
92
+ /**
93
+ * Get all contacts of type organization
94
+ * @description Get all contacts of type organization
95
+ */
96
+ get: operations["GetBusinessOwnedOrganizationsAsync"];
97
+ };
98
+ "/api/v2/CrmService/Contacts/Organizations/Count": {
99
+ /**
100
+ * Get all contacts of type organization count
101
+ * @description Get all contacts of type organization count
102
+ */
103
+ get: operations["GetBusinessOwnedOrganizationsCountAsync"];
104
+ };
105
+ "/api/v2/CrmService/Contacts/Organizations/Extended": {
106
+ /**
107
+ * Get all contacts of type organization
108
+ * @description Get all contacts of type organization
109
+ */
110
+ get: operations["GetExtendedBusinessOwnedOrganizationsAsync"];
111
+ };
112
+ "/api/v2/CrmService/Contacts/Organizations/{contactId}": {
113
+ /**
114
+ * Get a Contact of type Organization by ID
115
+ * @description Get a Contact of type Organization by ID
116
+ */
117
+ get: operations["GetBusinessOwnedOrganizationAsync"];
118
+ };
119
+ "/api/v2/CrmService/Contacts/{contactId}/Cart": {
120
+ /**
121
+ * Get a contact's cart
122
+ * @description Get a contact's cart
123
+ */
124
+ get: operations["GetContactCartAsync"];
125
+ };
126
+ "/api/v2/CrmService/Contacts/{contactId}/Avatar": {
127
+ /**
128
+ * Get a contact's avatar
129
+ * @description Get a contact's avatar
130
+ */
131
+ get: operations["GetContactAvatarAsync"];
132
+ /**
133
+ * Update a contact's avatar
134
+ * @description Update a contact's avatar
135
+ */
136
+ post: operations["UpdateContactAvatarAsync"];
137
+ };
138
+ "/api/v2/CrmService/Contacts/{contactId}/Wallet": {
139
+ /**
140
+ * Get a contact's wallet
141
+ * @description Get a contact's wallet
142
+ */
143
+ get: operations["GetContactWalletAsync"];
144
+ };
145
+ "/api/v2/CrmService/Contacts/{contactId}/Profiles": {
146
+ /**
147
+ * Get a contact's social profiles
148
+ * @description Get a contact's social profiles
149
+ */
150
+ get: operations["GetContactProfilesAsync"];
151
+ };
152
+ "/api/v2/CrmService/Contacts/{contactId}/SocialProfile": {
153
+ /**
154
+ * Get a contact's social profile
155
+ * @description Get a contact's social profile
156
+ */
157
+ get: operations["GetContactSocialProfileAsync"];
158
+ };
159
+ "/api/v2/CrmService/Contacts/Individuals/{contactId}/Organizations": {
160
+ /**
161
+ * Get individual related organizations
162
+ * @description Get individual related organizations
163
+ */
164
+ get: operations["GetIndividualRelatedOrganizationsAsync"];
165
+ };
166
+ "/api/v2/CrmService/Contacts/Individuals/{contactId}/Individuals": {
167
+ /**
168
+ * Get individual related individuals
169
+ * @description Get individual related individuals
170
+ */
171
+ get: operations["GetIndividualRelatedIndividualsAsync"];
172
+ };
173
+ "/api/v2/CrmService/Contacts/Organizations/{contactId}/Individuals": {
174
+ /**
175
+ * Get organization related individuals
176
+ * @description Get organization related individuals
177
+ */
178
+ get: operations["GetOrganizationRelatedIndividualsAsync"];
179
+ };
180
+ "/api/v2/CrmService/Contacts/Organizations/{contactId}/Organizations": {
181
+ /**
182
+ * Get organization related organizations
183
+ * @description Get organization related organizations
184
+ */
185
+ get: operations["GetOrganizationRelatedOrganizationsAsync"];
186
+ };
187
+ "/api/v2/CrmService/Contacts/Organizations/Upsert": {
188
+ /**
189
+ * Upsert a tenant onto another tenant's contact list
190
+ * @description Upsert a tenant onto another tenant's contact list
191
+ */
192
+ post: operations["UpsertTenantOntoAnotherTenantContactListAsync"];
193
+ };
194
+ "/api/v2/CrmService/Contacts/Individuals/Upsert": {
195
+ /**
196
+ * Upsert a user onto a tenant's contact list
197
+ * @description Upsert a user onto a tenant's contact list
198
+ */
199
+ post: operations["UpsertUserOntoAnotherTenantContactListAsync"];
200
+ };
201
+ "/api/v2/CrmService/Sync": {
202
+ post: {
10
203
  parameters: {
11
204
  query: {
12
205
  tenantId: string;
@@ -40,49 +233,9 @@ export interface paths {
40
233
  };
41
234
  };
42
235
  };
43
- post: {
44
- parameters: {
45
- query: {
46
- tenantId: string;
47
- "api-version"?: string;
48
- };
49
- header?: {
50
- "x-api-version"?: string;
51
- };
52
- };
53
- requestBody?: {
54
- content: {
55
- "application/json": components["schemas"]["ContactCreateDto"];
56
- "application/xml": components["schemas"]["ContactCreateDto"];
57
- };
58
- };
59
- responses: {
60
- /** @description OK */
61
- 200: {
62
- content: {
63
- "application/json": components["schemas"]["EmptyEnvelope"];
64
- "application/xml": components["schemas"]["EmptyEnvelope"];
65
- };
66
- };
67
- /** @description Unauthorized */
68
- 401: {
69
- content: {
70
- "application/json": components["schemas"]["ErrorEnvelope"];
71
- "application/xml": components["schemas"]["ErrorEnvelope"];
72
- };
73
- };
74
- /** @description Forbidden */
75
- 403: {
76
- content: {
77
- "application/json": components["schemas"]["ErrorEnvelope"];
78
- "application/xml": components["schemas"]["ErrorEnvelope"];
79
- };
80
- };
81
- };
82
- };
83
236
  };
84
- "/api/v2/CrmService/Contacts/Count": {
85
- get: {
237
+ "/api/v2/CrmService/Sync/Me": {
238
+ post: {
86
239
  parameters: {
87
240
  query: {
88
241
  tenantId: string;
@@ -117,11 +270,12 @@ export interface paths {
117
270
  };
118
271
  };
119
272
  };
120
- "/api/v2/CrmService/Contacts/Extended": {
121
- get: {
273
+ "/api/v2/CrmService/Sync/User": {
274
+ post: {
122
275
  parameters: {
123
276
  query: {
124
277
  tenantId: string;
278
+ relatedUserId: string;
125
279
  "api-version"?: string;
126
280
  };
127
281
  header?: {
@@ -132,8 +286,8 @@ export interface paths {
132
286
  /** @description OK */
133
287
  200: {
134
288
  content: {
135
- "application/json": components["schemas"]["ExtendedContactDtoListEnvelope"];
136
- "application/xml": components["schemas"]["ExtendedContactDtoListEnvelope"];
289
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
290
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
137
291
  };
138
292
  };
139
293
  /** @description Unauthorized */
@@ -153,62 +307,17 @@ export interface paths {
153
307
  };
154
308
  };
155
309
  };
156
- "/api/v2/CrmService/Contacts/{contactId}": {
157
- get: {
158
- parameters: {
159
- query: {
160
- tenantId: string;
161
- "api-version"?: string;
162
- };
163
- header?: {
164
- "x-api-version"?: string;
165
- };
166
- path: {
167
- contactId: string;
168
- };
169
- };
170
- responses: {
171
- /** @description OK */
172
- 200: {
173
- content: {
174
- "application/json": components["schemas"]["ContactDtoEnvelope"];
175
- "application/xml": components["schemas"]["ContactDtoEnvelope"];
176
- };
177
- };
178
- /** @description Unauthorized */
179
- 401: {
180
- content: {
181
- "application/json": components["schemas"]["ErrorEnvelope"];
182
- "application/xml": components["schemas"]["ErrorEnvelope"];
183
- };
184
- };
185
- /** @description Forbidden */
186
- 403: {
187
- content: {
188
- "application/json": components["schemas"]["ErrorEnvelope"];
189
- "application/xml": components["schemas"]["ErrorEnvelope"];
190
- };
191
- };
192
- };
193
- };
194
- put: {
310
+ "/api/v2/CrmService/Sync/Tenant": {
311
+ post: {
195
312
  parameters: {
196
313
  query: {
197
314
  tenantId: string;
315
+ relatedTenantId: string;
198
316
  "api-version"?: string;
199
317
  };
200
318
  header?: {
201
319
  "x-api-version"?: string;
202
320
  };
203
- path: {
204
- contactId: string;
205
- };
206
- };
207
- requestBody?: {
208
- content: {
209
- "application/json": components["schemas"]["ContactUpdateDto"];
210
- "application/xml": components["schemas"]["ContactUpdateDto"];
211
- };
212
321
  };
213
322
  responses: {
214
323
  /** @description OK */
@@ -234,1564 +343,1596 @@ export interface paths {
234
343
  };
235
344
  };
236
345
  };
237
- delete: {
238
- parameters: {
239
- query: {
240
- tenantId: string;
241
- "api-version"?: string;
242
- };
243
- header?: {
244
- "x-api-version"?: string;
245
- };
246
- path: {
247
- contactId: string;
248
- };
249
- };
250
- responses: {
251
- /** @description OK */
252
- 200: {
253
- content: {
254
- "application/json": components["schemas"]["EmptyEnvelope"];
255
- "application/xml": components["schemas"]["EmptyEnvelope"];
256
- };
257
- };
258
- /** @description Unauthorized */
259
- 401: {
260
- content: {
261
- "application/json": components["schemas"]["ErrorEnvelope"];
262
- "application/xml": components["schemas"]["ErrorEnvelope"];
263
- };
264
- };
265
- /** @description Forbidden */
266
- 403: {
267
- content: {
268
- "application/json": components["schemas"]["ErrorEnvelope"];
269
- "application/xml": components["schemas"]["ErrorEnvelope"];
270
- };
271
- };
272
- };
346
+ };
347
+ }
348
+
349
+ export type webhooks = Record<string, never>;
350
+
351
+ export interface components {
352
+ schemas: {
353
+ CartDto: {
354
+ id?: string | null;
355
+ ip?: string | null;
356
+ type?: string | null;
357
+ /** Format: double */
358
+ total?: number;
359
+ /** Format: double */
360
+ taxes?: number;
361
+ /** Format: double */
362
+ freight?: number;
363
+ /** Format: double */
364
+ subTotal?: number;
365
+ currencyId?: string | null;
366
+ countryId?: string | null;
367
+ /** Format: int32 */
368
+ itemCartRecordsCount?: number | null;
369
+ /** Format: int32 */
370
+ itemToCompareRecordsCount?: number | null;
273
371
  };
274
- patch: {
275
- parameters: {
276
- query: {
277
- tenantId: string;
278
- "api-version"?: string;
279
- };
280
- header?: {
281
- "x-api-version"?: string;
282
- };
283
- path: {
284
- contactId: string;
285
- };
286
- };
287
- requestBody?: {
288
- content: {
289
- "application/json": components["schemas"]["Operation"][];
290
- "application/xml": components["schemas"]["Operation"][];
291
- };
292
- };
293
- responses: {
294
- /** @description OK */
295
- 200: {
296
- content: {
297
- "application/json": components["schemas"]["EmptyEnvelope"];
298
- "application/xml": components["schemas"]["EmptyEnvelope"];
299
- };
300
- };
301
- /** @description Unauthorized */
302
- 401: {
303
- content: {
304
- "application/json": components["schemas"]["ErrorEnvelope"];
305
- "application/xml": components["schemas"]["ErrorEnvelope"];
306
- };
307
- };
308
- /** @description Forbidden */
309
- 403: {
310
- content: {
311
- "application/json": components["schemas"]["ErrorEnvelope"];
312
- "application/xml": components["schemas"]["ErrorEnvelope"];
313
- };
314
- };
315
- };
372
+ CartDtoEnvelope: {
373
+ isSuccess?: boolean;
374
+ errorMessage?: string | null;
375
+ correlationId?: string | null;
376
+ /** Format: date-time */
377
+ timestamp?: string;
378
+ activityId?: string | null;
379
+ result?: components["schemas"]["CartDto"];
316
380
  };
317
- };
318
- "/api/v2/CrmService/Contacts/{contactId}/Extended": {
319
- get: {
320
- parameters: {
321
- query: {
322
- tenantId: string;
323
- "api-version"?: string;
324
- };
325
- header?: {
326
- "x-api-version"?: string;
327
- };
328
- path: {
329
- contactId: string;
330
- };
331
- };
332
- responses: {
333
- /** @description OK */
334
- 200: {
335
- content: {
336
- "application/json": components["schemas"]["ExtendedContactDtoEnvelope"];
337
- "application/xml": components["schemas"]["ExtendedContactDtoEnvelope"];
338
- };
339
- };
340
- /** @description Unauthorized */
341
- 401: {
342
- content: {
343
- "application/json": components["schemas"]["ErrorEnvelope"];
344
- "application/xml": components["schemas"]["ErrorEnvelope"];
345
- };
346
- };
347
- /** @description Forbidden */
348
- 403: {
349
- content: {
350
- "application/json": components["schemas"]["ErrorEnvelope"];
351
- "application/xml": components["schemas"]["ErrorEnvelope"];
352
- };
353
- };
354
- };
381
+ ContactCreateDto: {
382
+ /** Format: uuid */
383
+ id?: string;
384
+ /** Format: date-time */
385
+ timestamp?: string;
386
+ tenantId: string;
387
+ /**
388
+ * Format: int32
389
+ * @enum {integer}
390
+ */
391
+ type: 0 | 1;
392
+ firstName: string;
393
+ lastName?: string | null;
394
+ /** Format: email */
395
+ email: string;
396
+ taxId?: string | null;
397
+ primaryContactId?: string | null;
398
+ qualifiedName?: string | null;
399
+ about?: string | null;
400
+ countryId?: string | null;
401
+ stateId?: string | null;
402
+ cityId?: string | null;
403
+ /** Format: tel */
404
+ mobilePhone?: string | null;
405
+ /** Format: tel */
406
+ businessPhone?: string | null;
407
+ postalCode?: string | null;
408
+ duns?: string | null;
409
+ jobTitle?: string | null;
410
+ webUrl?: string | null;
411
+ currencyId?: string | null;
412
+ languageId?: string | null;
413
+ timezoneId?: string | null;
414
+ /** Format: date-time */
415
+ birthday?: string | null;
416
+ streetLine1?: string | null;
417
+ streetLine2?: string | null;
418
+ gitHubUrl?: string | null;
419
+ twitchUrl?: string | null;
420
+ redditUrl?: string | null;
421
+ tikTokUrl?: string | null;
422
+ websiteUrl?: string | null;
423
+ twitterUrl?: string | null;
424
+ facebookUrl?: string | null;
425
+ youTubeUrl?: string | null;
426
+ linkedInUrl?: string | null;
427
+ instagramUrl?: string | null;
428
+ githubUsername?: string | null;
429
+ instagramUsername?: unknown;
430
+ tikTokUsername?: unknown;
431
+ stackExchangeUrl?: unknown;
432
+ stackOverflowUrl?: unknown;
433
+ parentContactId?: unknown;
355
434
  };
356
- };
357
- "/api/v2/CrmService/Contacts/Individuals": {
358
- get: {
359
- parameters: {
360
- query: {
361
- tenantId: string;
362
- "api-version"?: string;
363
- };
364
- header?: {
365
- "x-api-version"?: string;
366
- };
367
- };
368
- responses: {
369
- /** @description OK */
370
- 200: {
371
- content: {
372
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
373
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
374
- };
375
- };
376
- /** @description Unauthorized */
377
- 401: {
378
- content: {
379
- "application/json": components["schemas"]["ErrorEnvelope"];
380
- "application/xml": components["schemas"]["ErrorEnvelope"];
381
- };
382
- };
383
- /** @description Forbidden */
384
- 403: {
385
- content: {
386
- "application/json": components["schemas"]["ErrorEnvelope"];
387
- "application/xml": components["schemas"]["ErrorEnvelope"];
388
- };
389
- };
390
- };
435
+ ContactDto: {
436
+ id?: string | null;
437
+ /** Format: date-time */
438
+ timestamp?: string | null;
439
+ qualifiedName?: string | null;
440
+ tenantId?: string | null;
441
+ /**
442
+ * Format: int32
443
+ * @enum {integer}
444
+ */
445
+ type?: 0 | 1;
446
+ publicName?: string | null;
447
+ firstName?: string | null;
448
+ lastName?: string | null;
449
+ jobTitle?: string | null;
450
+ coverUrl?: string | null;
451
+ avatarUrl?: string | null;
452
+ countryId?: string | null;
453
+ timezoneId?: string | null;
454
+ languageId?: string | null;
455
+ socialProfileId?: string | null;
456
+ webUrl?: string | null;
457
+ gitHubUrl?: string | null;
458
+ twitchUrl?: string | null;
459
+ redditUrl?: string | null;
460
+ tikTokUrl?: string | null;
461
+ websiteUrl?: string | null;
462
+ twitterUrl?: string | null;
463
+ facebookUrl?: string | null;
464
+ youTubeUrl?: string | null;
465
+ linkedInUrl?: string | null;
466
+ instagramUrl?: string | null;
467
+ githubUsername?: string | null;
468
+ duns?: string | null;
469
+ taxId?: string | null;
470
+ /** Format: email */
471
+ email?: string | null;
472
+ about?: string | null;
473
+ street?: string | null;
474
+ cartId?: string | null;
475
+ cityId?: string | null;
476
+ zipCode?: string | null;
477
+ stateId?: string | null;
478
+ walletId?: string | null;
479
+ faxNumber?: string | null;
480
+ postalCode?: string | null;
481
+ currencyId?: string | null;
482
+ streetLine1?: string | null;
483
+ streetLine2?: string | null;
484
+ territoryId?: string | null;
485
+ mobilePhone?: string | null;
486
+ enrollmentId?: string | null;
487
+ annualRevenue?: string | null;
488
+ relatedUserId?: string | null;
489
+ businessPhone?: string | null;
490
+ ownerContactId?: string | null;
491
+ relatedTenantId?: string | null;
492
+ activityFeedId?: string | null;
493
+ parentContactId?: string | null;
494
+ identityProvider?: string | null;
495
+ partnerProfileId?: string | null;
496
+ primaryContactId?: string | null;
497
+ activeDirectoryId?: string | null;
498
+ identityProviderAccessToken?: string | null;
499
+ /** Format: date-time */
500
+ birthday?: string | null;
391
501
  };
392
- };
393
- "/api/v2/CrmService/Contacts/Individuals/Count": {
394
- get: {
395
- parameters: {
396
- query: {
397
- tenantId: string;
398
- "api-version"?: string;
399
- };
400
- header?: {
401
- "x-api-version"?: string;
402
- };
403
- };
404
- responses: {
405
- /** @description OK */
406
- 200: {
407
- content: {
408
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
409
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
410
- };
411
- };
412
- /** @description Unauthorized */
413
- 401: {
414
- content: {
415
- "application/json": components["schemas"]["ErrorEnvelope"];
416
- "application/xml": components["schemas"]["ErrorEnvelope"];
417
- };
418
- };
419
- /** @description Forbidden */
420
- 403: {
421
- content: {
422
- "application/json": components["schemas"]["ErrorEnvelope"];
423
- "application/xml": components["schemas"]["ErrorEnvelope"];
424
- };
425
- };
426
- };
502
+ ContactDtoEnvelope: {
503
+ isSuccess?: boolean;
504
+ errorMessage?: string | null;
505
+ correlationId?: string | null;
506
+ /** Format: date-time */
507
+ timestamp?: string;
508
+ activityId?: string | null;
509
+ result?: components["schemas"]["ContactDto"];
427
510
  };
428
- };
429
- "/api/v2/CrmService/Contacts/Individuals/Extended": {
430
- get: {
431
- parameters: {
432
- query: {
433
- tenantId: string;
434
- "api-version"?: string;
435
- };
436
- header?: {
437
- "x-api-version"?: string;
438
- };
439
- };
440
- responses: {
441
- /** @description OK */
442
- 200: {
443
- content: {
444
- "application/json": components["schemas"]["ExtendedContactDtoListEnvelope"];
445
- "application/xml": components["schemas"]["ExtendedContactDtoListEnvelope"];
446
- };
447
- };
448
- /** @description Unauthorized */
449
- 401: {
450
- content: {
451
- "application/json": components["schemas"]["ErrorEnvelope"];
452
- "application/xml": components["schemas"]["ErrorEnvelope"];
453
- };
454
- };
455
- /** @description Forbidden */
456
- 403: {
457
- content: {
458
- "application/json": components["schemas"]["ErrorEnvelope"];
459
- "application/xml": components["schemas"]["ErrorEnvelope"];
460
- };
461
- };
462
- };
511
+ ContactDtoListEnvelope: {
512
+ isSuccess?: boolean;
513
+ errorMessage?: string | null;
514
+ correlationId?: string | null;
515
+ /** Format: date-time */
516
+ timestamp?: string;
517
+ activityId?: string | null;
518
+ result?: components["schemas"]["ContactDto"][] | null;
463
519
  };
464
- };
465
- "/api/v2/CrmService/Contacts/Individuals/{contactId}": {
466
- get: {
467
- parameters: {
468
- query: {
469
- tenantId: string;
470
- "api-version"?: string;
471
- };
472
- header?: {
473
- "x-api-version"?: string;
474
- };
475
- path: {
476
- contactId: string;
477
- };
478
- };
479
- responses: {
480
- /** @description OK */
481
- 200: {
482
- content: {
483
- "application/json": components["schemas"]["ContactDtoEnvelope"];
484
- "application/xml": components["schemas"]["ContactDtoEnvelope"];
485
- };
486
- };
487
- /** @description Unauthorized */
488
- 401: {
489
- content: {
490
- "application/json": components["schemas"]["ErrorEnvelope"];
491
- "application/xml": components["schemas"]["ErrorEnvelope"];
492
- };
493
- };
494
- /** @description Forbidden */
495
- 403: {
496
- content: {
497
- "application/json": components["schemas"]["ErrorEnvelope"];
498
- "application/xml": components["schemas"]["ErrorEnvelope"];
499
- };
500
- };
501
- /** @description Not Found */
502
- 404: {
503
- content: {
504
- "application/json": components["schemas"]["ErrorEnvelope"];
505
- "application/xml": components["schemas"]["ErrorEnvelope"];
506
- };
507
- };
508
- };
520
+ ContactProfileDto: {
521
+ id?: string | null;
522
+ /** Format: date-time */
523
+ timestamp?: string;
524
+ tenantId?: string | null;
525
+ contactId?: string | null;
526
+ enrollmentId?: string | null;
527
+ about?: string | null;
528
+ verified?: boolean;
529
+ submitted?: boolean;
530
+ avatarUrl?: string | null;
531
+ qualifiedName?: string | null;
532
+ /** Format: date-time */
533
+ verificationTimestamp?: string | null;
534
+ data?: string | null;
535
+ dataLabel?: string | null;
536
+ data1?: string | null;
537
+ data1Label?: string | null;
538
+ data2?: string | null;
539
+ data2Label?: string | null;
540
+ data3?: string | null;
541
+ data3Label?: string | null;
542
+ data4?: string | null;
543
+ data4Label?: string | null;
544
+ data5?: string | null;
545
+ data5Label?: string | null;
546
+ data6?: string | null;
547
+ data6Label?: string | null;
548
+ data7?: string | null;
549
+ data7Label?: string | null;
550
+ data8?: string | null;
551
+ data8Label?: string | null;
552
+ data9?: string | null;
553
+ data9Label?: string | null;
554
+ };
555
+ ContactProfileDtoListEnvelope: {
556
+ isSuccess?: boolean;
557
+ errorMessage?: string | null;
558
+ correlationId?: string | null;
559
+ /** Format: date-time */
560
+ timestamp?: string;
561
+ activityId?: string | null;
562
+ result?: components["schemas"]["ContactProfileDto"][] | null;
563
+ };
564
+ ContactUpdateDto: {
565
+ /**
566
+ * Format: int32
567
+ * @enum {integer}
568
+ */
569
+ type: 0 | 1;
570
+ /** Format: date-time */
571
+ birthday?: string | null;
572
+ duns?: string | null;
573
+ taxId?: string | null;
574
+ /** Format: email */
575
+ email: string;
576
+ firstName: string;
577
+ lastName?: string | null;
578
+ primaryContactId?: string | null;
579
+ qualifiedName?: string | null;
580
+ about?: string | null;
581
+ /** Format: tel */
582
+ mobilePhone?: string | null;
583
+ /** Format: tel */
584
+ businessPhone?: string | null;
585
+ jobTitle?: string | null;
586
+ countryId?: string | null;
587
+ parentContactId?: string | null;
588
+ stateId?: string | null;
589
+ cityId?: string | null;
590
+ postalCode?: string | null;
591
+ streetLine1?: string | null;
592
+ streetLine2?: string | null;
593
+ currencyId?: string | null;
594
+ languageId?: string | null;
595
+ timezoneId?: string | null;
596
+ coverUrl?: string | null;
597
+ githubUsername?: string | null;
598
+ instagramUsername?: string | null;
599
+ twitchUrl?: string | null;
600
+ redditUrl?: string | null;
601
+ gitHubUrl?: string | null;
602
+ githubUrl?: string | null;
603
+ tikTokUrl?: string | null;
604
+ twitterUrl?: string | null;
605
+ youTubeUrl?: string | null;
606
+ websiteUrl?: string | null;
607
+ facebookUrl?: string | null;
608
+ linkedInUrl?: string | null;
609
+ instagramUrl?: string | null;
610
+ tikTokUsername?: string | null;
611
+ stackExchangeUrl?: string | null;
612
+ stackOverflowUrl?: string | null;
613
+ };
614
+ EmptyEnvelope: {
615
+ isSuccess?: boolean;
616
+ errorMessage?: string | null;
617
+ correlationId?: string | null;
618
+ /** Format: date-time */
619
+ timestamp?: string;
620
+ activityId?: string | null;
621
+ };
622
+ ErrorEnvelope: {
623
+ isSuccess?: boolean;
624
+ errorMessage?: string | null;
625
+ correlationId?: string | null;
626
+ /** Format: date-time */
627
+ timestamp?: string;
628
+ activityId?: string | null;
629
+ };
630
+ ExtendedContactDto: {
631
+ id?: string | null;
632
+ /** Format: date-time */
633
+ timestamp?: string | null;
634
+ qualifiedName?: string | null;
635
+ tenantId?: string | null;
636
+ /**
637
+ * Format: int32
638
+ * @enum {integer}
639
+ */
640
+ type?: 0 | 1;
641
+ publicName?: string | null;
642
+ firstName?: string | null;
643
+ lastName?: string | null;
644
+ jobTitle?: string | null;
645
+ coverUrl?: string | null;
646
+ avatarUrl?: string | null;
647
+ countryId?: string | null;
648
+ timezoneId?: string | null;
649
+ languageId?: string | null;
650
+ socialProfileId?: string | null;
651
+ webUrl?: string | null;
652
+ gitHubUrl?: string | null;
653
+ twitchUrl?: string | null;
654
+ redditUrl?: string | null;
655
+ tikTokUrl?: string | null;
656
+ websiteUrl?: string | null;
657
+ twitterUrl?: string | null;
658
+ facebookUrl?: string | null;
659
+ youTubeUrl?: string | null;
660
+ linkedInUrl?: string | null;
661
+ instagramUrl?: string | null;
662
+ githubUsername?: string | null;
663
+ duns?: string | null;
664
+ taxId?: string | null;
665
+ /** Format: email */
666
+ email?: string | null;
667
+ about?: string | null;
668
+ street?: string | null;
669
+ cartId?: string | null;
670
+ cityId?: string | null;
671
+ zipCode?: string | null;
672
+ stateId?: string | null;
673
+ walletId?: string | null;
674
+ faxNumber?: string | null;
675
+ postalCode?: string | null;
676
+ currencyId?: string | null;
677
+ streetLine1?: string | null;
678
+ streetLine2?: string | null;
679
+ territoryId?: string | null;
680
+ mobilePhone?: string | null;
681
+ enrollmentId?: string | null;
682
+ annualRevenue?: string | null;
683
+ relatedUserId?: string | null;
684
+ businessPhone?: string | null;
685
+ ownerContactId?: string | null;
686
+ relatedTenantId?: string | null;
687
+ activityFeedId?: string | null;
688
+ parentContactId?: string | null;
689
+ identityProvider?: string | null;
690
+ partnerProfileId?: string | null;
691
+ primaryContactId?: string | null;
692
+ activeDirectoryId?: string | null;
693
+ identityProviderAccessToken?: string | null;
694
+ /** Format: date-time */
695
+ birthday?: string | null;
696
+ cart?: components["schemas"]["CartDto"];
697
+ wallet?: components["schemas"]["WalletDto"];
698
+ socialProfile?: components["schemas"]["SocialProfileDto"];
699
+ parentContact?: components["schemas"]["SimpleContactDto"];
700
+ primaryContact?: components["schemas"]["SimpleContactDto"];
701
+ };
702
+ ExtendedContactDtoEnvelope: {
703
+ isSuccess?: boolean;
704
+ errorMessage?: string | null;
705
+ correlationId?: string | null;
706
+ /** Format: date-time */
707
+ timestamp?: string;
708
+ activityId?: string | null;
709
+ result?: components["schemas"]["ExtendedContactDto"];
710
+ };
711
+ ExtendedContactDtoListEnvelope: {
712
+ isSuccess?: boolean;
713
+ errorMessage?: string | null;
714
+ correlationId?: string | null;
715
+ /** Format: date-time */
716
+ timestamp?: string;
717
+ activityId?: string | null;
718
+ result?: components["schemas"]["ExtendedContactDto"][] | null;
719
+ };
720
+ Operation: {
721
+ /**
722
+ * Format: int32
723
+ * @enum {integer}
724
+ */
725
+ operationType?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
726
+ path?: string | null;
727
+ op?: string | null;
728
+ from?: string | null;
729
+ value?: unknown;
509
730
  };
510
- };
511
- "/api/v2/CrmService/Contacts/Organizations": {
512
- get: {
513
- parameters: {
514
- query: {
515
- tenantId: string;
516
- "api-version"?: string;
517
- };
518
- header?: {
519
- "x-api-version"?: string;
520
- };
521
- };
522
- responses: {
523
- /** @description OK */
524
- 200: {
525
- content: {
526
- "application/json": components["schemas"]["ContactDto"][];
527
- "application/xml": components["schemas"]["ContactDto"][];
528
- };
529
- };
530
- /** @description Unauthorized */
531
- 401: {
532
- content: {
533
- "application/json": components["schemas"]["ErrorEnvelope"];
534
- "application/xml": components["schemas"]["ErrorEnvelope"];
535
- };
536
- };
537
- /** @description Forbidden */
538
- 403: {
539
- content: {
540
- "application/json": components["schemas"]["ErrorEnvelope"];
541
- "application/xml": components["schemas"]["ErrorEnvelope"];
542
- };
543
- };
544
- };
731
+ SimpleContactDto: {
732
+ id?: string | null;
733
+ /** Format: date-time */
734
+ timestamp?: string | null;
735
+ qualifiedName?: string | null;
736
+ tenantId?: string | null;
737
+ /**
738
+ * Format: int32
739
+ * @enum {integer}
740
+ */
741
+ type?: 0 | 1;
742
+ publicName?: string | null;
743
+ firstName?: string | null;
744
+ lastName?: string | null;
745
+ jobTitle?: string | null;
746
+ coverUrl?: string | null;
747
+ avatarUrl?: string | null;
748
+ countryId?: string | null;
749
+ timezoneId?: string | null;
750
+ languageId?: string | null;
751
+ socialProfileId?: string | null;
752
+ webUrl?: string | null;
753
+ gitHubUrl?: string | null;
754
+ twitchUrl?: string | null;
755
+ redditUrl?: string | null;
756
+ tikTokUrl?: string | null;
757
+ websiteUrl?: string | null;
758
+ twitterUrl?: string | null;
759
+ facebookUrl?: string | null;
760
+ youTubeUrl?: string | null;
761
+ linkedInUrl?: string | null;
762
+ instagramUrl?: string | null;
763
+ githubUsername?: string | null;
545
764
  };
546
- };
547
- "/api/v2/CrmService/Contacts/Organizations/Count": {
548
- get: {
549
- parameters: {
550
- query: {
551
- tenantId: string;
552
- "api-version"?: string;
553
- };
554
- header?: {
555
- "x-api-version"?: string;
556
- };
557
- };
558
- responses: {
559
- /** @description OK */
560
- 200: {
561
- content: {
562
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
563
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
564
- };
565
- };
566
- /** @description Unauthorized */
567
- 401: {
568
- content: {
569
- "application/json": components["schemas"]["ErrorEnvelope"];
570
- "application/xml": components["schemas"]["ErrorEnvelope"];
571
- };
572
- };
573
- /** @description Forbidden */
574
- 403: {
575
- content: {
576
- "application/json": components["schemas"]["ErrorEnvelope"];
577
- "application/xml": components["schemas"]["ErrorEnvelope"];
578
- };
579
- };
580
- };
765
+ SocialProfileDto: {
766
+ id?: string | null;
767
+ /** Format: date-time */
768
+ timestamp?: string | null;
769
+ name?: string | null;
770
+ about?: string | null;
771
+ cover?: string | null;
772
+ avatar?: string | null;
773
+ countryId?: string | null;
774
+ countryName?: string | null;
775
+ identityId?: string | null;
776
+ /** Format: int32 */
777
+ followsCount?: number | null;
778
+ /** Format: int32 */
779
+ messagesCount?: number | null;
780
+ /** Format: int32 */
781
+ followersCount?: number | null;
782
+ /** Format: int32 */
783
+ notificationsCount?: number | null;
784
+ /** Format: int32 */
785
+ unreadNotificationsCount?: number | null;
786
+ /** Format: int32 */
787
+ unreadMessagesCount?: number | null;
788
+ /**
789
+ * Format: int32
790
+ * @enum {integer|null}
791
+ */
792
+ type?: 0 | 1 | 2 | null;
793
+ socialFeedId?: string | null;
794
+ twitterUrl?: string | null;
795
+ facebookURL?: string | null;
796
+ linkedInURL?: string | null;
797
+ youtubeURL?: string | null;
798
+ githubURL?: string | null;
799
+ pinterestURL?: string | null;
800
+ dribbleURL?: string | null;
801
+ domain?: string | null;
802
+ notes?: string | null;
581
803
  };
582
- };
583
- "/api/v2/CrmService/Contacts/Organizations/Extended": {
584
- get: {
585
- parameters: {
586
- query: {
587
- tenantId: string;
588
- "api-version"?: string;
589
- };
590
- header?: {
591
- "x-api-version"?: string;
592
- };
593
- };
594
- responses: {
595
- /** @description OK */
596
- 200: {
597
- content: {
598
- "application/json": components["schemas"]["ExtendedContactDtoListEnvelope"];
599
- "application/xml": components["schemas"]["ExtendedContactDtoListEnvelope"];
600
- };
601
- };
602
- /** @description Unauthorized */
603
- 401: {
604
- content: {
605
- "application/json": components["schemas"]["ErrorEnvelope"];
606
- "application/xml": components["schemas"]["ErrorEnvelope"];
607
- };
608
- };
609
- /** @description Forbidden */
610
- 403: {
611
- content: {
612
- "application/json": components["schemas"]["ErrorEnvelope"];
613
- "application/xml": components["schemas"]["ErrorEnvelope"];
614
- };
615
- };
616
- };
804
+ SocialProfileDtoEnvelope: {
805
+ isSuccess?: boolean;
806
+ errorMessage?: string | null;
807
+ correlationId?: string | null;
808
+ /** Format: date-time */
809
+ timestamp?: string;
810
+ activityId?: string | null;
811
+ result?: components["schemas"]["SocialProfileDto"];
812
+ };
813
+ WalletDto: {
814
+ id?: string | null;
815
+ /** Format: date-time */
816
+ timestamp?: string;
817
+ /** Format: double */
818
+ balance?: number;
819
+ /** Format: double */
820
+ cryptoBalance?: number;
821
+ testMode?: boolean;
822
+ verified?: boolean;
823
+ type?: string | null;
824
+ currencyId?: string | null;
825
+ /** Format: double */
826
+ forexRate?: number;
827
+ /** Format: double */
828
+ balanceInUsd?: number;
829
+ /** Format: double */
830
+ mainNetEtherBalance?: number;
831
+ ethereumAddress?: string | null;
832
+ ethereumPublicKey?: string | null;
833
+ ethereumPrivateKey?: string | null;
834
+ /** Format: double */
835
+ rollingReservePercent?: number;
836
+ };
837
+ WalletDtoEnvelope: {
838
+ isSuccess?: boolean;
839
+ errorMessage?: string | null;
840
+ correlationId?: string | null;
841
+ /** Format: date-time */
842
+ timestamp?: string;
843
+ activityId?: string | null;
844
+ result?: components["schemas"]["WalletDto"];
617
845
  };
618
846
  };
619
- "/api/v2/CrmService/Contacts/Organizations/{contactId}": {
620
- get: {
621
- parameters: {
622
- query: {
623
- tenantId: string;
624
- "api-version"?: string;
625
- };
626
- header?: {
627
- "x-api-version"?: string;
628
- };
629
- path: {
630
- contactId: string;
631
- };
632
- };
633
- responses: {
634
- /** @description OK */
635
- 200: {
636
- content: {
637
- "application/json": components["schemas"]["ContactDtoEnvelope"];
638
- "application/xml": components["schemas"]["ContactDtoEnvelope"];
639
- };
640
- };
641
- /** @description Unauthorized */
642
- 401: {
643
- content: {
644
- "application/json": components["schemas"]["ErrorEnvelope"];
645
- "application/xml": components["schemas"]["ErrorEnvelope"];
646
- };
647
- };
648
- /** @description Forbidden */
649
- 403: {
650
- content: {
651
- "application/json": components["schemas"]["ErrorEnvelope"];
652
- "application/xml": components["schemas"]["ErrorEnvelope"];
653
- };
654
- };
655
- /** @description Not Found */
656
- 404: {
657
- content: {
658
- "application/json": components["schemas"]["ErrorEnvelope"];
659
- "application/xml": components["schemas"]["ErrorEnvelope"];
660
- };
661
- };
847
+ responses: never;
848
+ parameters: never;
849
+ requestBodies: never;
850
+ headers: never;
851
+ pathItems: never;
852
+ }
853
+
854
+ export type $defs = Record<string, never>;
855
+
856
+ export type external = Record<string, never>;
857
+
858
+ export interface operations {
859
+
860
+ /**
861
+ * Get all business owned contacts
862
+ * @description Get all business owned contacts
863
+ */
864
+ GetContactsAsync: {
865
+ parameters: {
866
+ query: {
867
+ tenantId: string;
868
+ "api-version"?: string;
869
+ };
870
+ header?: {
871
+ "x-api-version"?: string;
662
872
  };
663
873
  };
664
- };
665
- "/api/v2/CrmService/Contacts/{contactId}/Cart": {
666
- get: {
667
- parameters: {
668
- query: {
669
- tenantId: string;
670
- "api-version"?: string;
671
- };
672
- header?: {
673
- "x-api-version"?: string;
674
- };
675
- path: {
676
- contactId: string;
874
+ responses: {
875
+ /** @description OK */
876
+ 200: {
877
+ content: {
878
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
879
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
677
880
  };
678
881
  };
679
- responses: {
680
- /** @description OK */
681
- 200: {
682
- content: {
683
- "application/json": components["schemas"]["CartDtoEnvelope"];
684
- "application/xml": components["schemas"]["CartDtoEnvelope"];
685
- };
686
- };
687
- /** @description Unauthorized */
688
- 401: {
689
- content: {
690
- "application/json": components["schemas"]["ErrorEnvelope"];
691
- "application/xml": components["schemas"]["ErrorEnvelope"];
692
- };
693
- };
694
- /** @description Forbidden */
695
- 403: {
696
- content: {
697
- "application/json": components["schemas"]["ErrorEnvelope"];
698
- "application/xml": components["schemas"]["ErrorEnvelope"];
699
- };
882
+ /** @description Unauthorized */
883
+ 401: {
884
+ content: {
885
+ "application/json": components["schemas"]["ErrorEnvelope"];
886
+ "application/xml": components["schemas"]["ErrorEnvelope"];
700
887
  };
701
- /** @description Not Found */
702
- 404: {
703
- content: {
704
- "application/json": components["schemas"]["ErrorEnvelope"];
705
- "application/xml": components["schemas"]["ErrorEnvelope"];
706
- };
888
+ };
889
+ /** @description Forbidden */
890
+ 403: {
891
+ content: {
892
+ "application/json": components["schemas"]["ErrorEnvelope"];
893
+ "application/xml": components["schemas"]["ErrorEnvelope"];
707
894
  };
708
895
  };
709
896
  };
710
897
  };
711
- "/api/v2/CrmService/Contacts/{contactId}/Avatar": {
712
- get: operations["GetContactAvatarAsync"];
713
- post: {
714
- parameters: {
715
- query?: {
716
- tenantId?: string;
717
- "api-version"?: string;
718
- };
719
- header?: {
720
- "x-api-version"?: string;
721
- };
722
- path: {
723
- contactId: string;
724
- };
898
+ /**
899
+ * Create a new contact
900
+ * @description Create a new contact
901
+ */
902
+ CreateContactAsync: {
903
+ parameters: {
904
+ query: {
905
+ tenantId: string;
906
+ "api-version"?: string;
725
907
  };
726
- requestBody?: {
908
+ header?: {
909
+ "x-api-version"?: string;
910
+ };
911
+ };
912
+ requestBody?: {
913
+ content: {
914
+ "application/json": components["schemas"]["ContactCreateDto"];
915
+ "application/xml": components["schemas"]["ContactCreateDto"];
916
+ };
917
+ };
918
+ responses: {
919
+ /** @description OK */
920
+ 200: {
727
921
  content: {
728
- "multipart/form-data": {
729
- /** Format: binary */
730
- avatar?: string;
731
- };
732
- "application/json": {
733
- /** Format: binary */
734
- avatar?: string;
735
- };
736
- "application/xml": {
737
- /** Format: binary */
738
- avatar?: string;
739
- };
922
+ "application/json": components["schemas"]["EmptyEnvelope"];
923
+ "application/xml": components["schemas"]["EmptyEnvelope"];
740
924
  };
741
925
  };
742
- responses: {
743
- /** @description OK */
744
- 200: {
745
- content: {
746
- "application/json": components["schemas"]["EmptyEnvelope"];
747
- "application/xml": components["schemas"]["EmptyEnvelope"];
748
- };
749
- };
750
- /** @description Unauthorized */
751
- 401: {
752
- content: {
753
- "application/json": components["schemas"]["ErrorEnvelope"];
754
- "application/xml": components["schemas"]["ErrorEnvelope"];
755
- };
926
+ /** @description Unauthorized */
927
+ 401: {
928
+ content: {
929
+ "application/json": components["schemas"]["ErrorEnvelope"];
930
+ "application/xml": components["schemas"]["ErrorEnvelope"];
756
931
  };
757
- /** @description Forbidden */
758
- 403: {
759
- content: {
760
- "application/json": components["schemas"]["ErrorEnvelope"];
761
- "application/xml": components["schemas"]["ErrorEnvelope"];
762
- };
932
+ };
933
+ /** @description Forbidden */
934
+ 403: {
935
+ content: {
936
+ "application/json": components["schemas"]["ErrorEnvelope"];
937
+ "application/xml": components["schemas"]["ErrorEnvelope"];
763
938
  };
764
939
  };
765
940
  };
766
941
  };
767
- "/api/v2/CrmService/Contacts/{contactId}/Wallet": {
768
- get: {
769
- parameters: {
770
- query: {
771
- tenantId: string;
772
- "api-version"?: string;
773
- };
774
- header?: {
775
- "x-api-version"?: string;
776
- };
777
- path: {
778
- contactId: string;
779
- };
942
+ /**
943
+ * Get all business owned contacts count
944
+ * @description Get all business owned contacts count
945
+ */
946
+ GetContactsCountAsync: {
947
+ parameters: {
948
+ query: {
949
+ tenantId: string;
950
+ "api-version"?: string;
780
951
  };
781
- responses: {
782
- /** @description OK */
783
- 200: {
784
- content: {
785
- "application/json": components["schemas"]["WalletDtoEnvelope"];
786
- "application/xml": components["schemas"]["WalletDtoEnvelope"];
787
- };
788
- };
789
- /** @description Unauthorized */
790
- 401: {
791
- content: {
792
- "application/json": components["schemas"]["ErrorEnvelope"];
793
- "application/xml": components["schemas"]["ErrorEnvelope"];
794
- };
795
- };
796
- /** @description Forbidden */
797
- 403: {
798
- content: {
799
- "application/json": components["schemas"]["ErrorEnvelope"];
800
- "application/xml": components["schemas"]["ErrorEnvelope"];
801
- };
802
- };
803
- /** @description Not Found */
804
- 404: {
805
- content: {
806
- "application/json": components["schemas"]["ErrorEnvelope"];
807
- "application/xml": components["schemas"]["ErrorEnvelope"];
808
- };
809
- };
952
+ header?: {
953
+ "x-api-version"?: string;
810
954
  };
811
955
  };
812
- };
813
- "/api/v2/CrmService/Contacts/{contactId}/Profiles": {
814
- get: {
815
- parameters: {
816
- query: {
817
- tenantId: string;
818
- "api-version"?: string;
819
- };
820
- header?: {
821
- "x-api-version"?: string;
822
- };
823
- path: {
824
- contactId: string;
956
+ responses: {
957
+ /** @description OK */
958
+ 200: {
959
+ content: {
960
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
961
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
825
962
  };
826
963
  };
827
- responses: {
828
- /** @description OK */
829
- 200: {
830
- content: {
831
- "application/json": components["schemas"]["ContactProfileDtoListEnvelope"];
832
- "application/xml": components["schemas"]["ContactProfileDtoListEnvelope"];
833
- };
834
- };
835
- /** @description Unauthorized */
836
- 401: {
837
- content: {
838
- "application/json": components["schemas"]["ErrorEnvelope"];
839
- "application/xml": components["schemas"]["ErrorEnvelope"];
840
- };
841
- };
842
- /** @description Forbidden */
843
- 403: {
844
- content: {
845
- "application/json": components["schemas"]["ErrorEnvelope"];
846
- "application/xml": components["schemas"]["ErrorEnvelope"];
847
- };
964
+ /** @description Unauthorized */
965
+ 401: {
966
+ content: {
967
+ "application/json": components["schemas"]["ErrorEnvelope"];
968
+ "application/xml": components["schemas"]["ErrorEnvelope"];
848
969
  };
849
- /** @description Not Found */
850
- 404: {
851
- content: {
852
- "application/json": components["schemas"]["ErrorEnvelope"];
853
- "application/xml": components["schemas"]["ErrorEnvelope"];
854
- };
970
+ };
971
+ /** @description Forbidden */
972
+ 403: {
973
+ content: {
974
+ "application/json": components["schemas"]["ErrorEnvelope"];
975
+ "application/xml": components["schemas"]["ErrorEnvelope"];
855
976
  };
856
977
  };
857
978
  };
858
979
  };
859
- "/api/v2/CrmService/Contacts/{contactId}/SocialProfile": {
860
- get: {
861
- parameters: {
862
- query: {
863
- tenantId: string;
864
- "api-version"?: string;
865
- };
866
- header?: {
867
- "x-api-version"?: string;
868
- };
869
- path: {
870
- contactId: string;
871
- };
980
+ /**
981
+ * Get all business owned contacts
982
+ * @description Get all business owned contacts
983
+ */
984
+ GetExtendedContactsAsync: {
985
+ parameters: {
986
+ query: {
987
+ tenantId: string;
988
+ "api-version"?: string;
872
989
  };
873
- responses: {
874
- /** @description OK */
875
- 200: {
876
- content: {
877
- "application/json": components["schemas"]["SocialProfileDtoEnvelope"];
878
- "application/xml": components["schemas"]["SocialProfileDtoEnvelope"];
879
- };
880
- };
881
- /** @description Unauthorized */
882
- 401: {
883
- content: {
884
- "application/json": components["schemas"]["ErrorEnvelope"];
885
- "application/xml": components["schemas"]["ErrorEnvelope"];
886
- };
990
+ header?: {
991
+ "x-api-version"?: string;
992
+ };
993
+ };
994
+ responses: {
995
+ /** @description OK */
996
+ 200: {
997
+ content: {
998
+ "application/json": components["schemas"]["ExtendedContactDtoListEnvelope"];
999
+ "application/xml": components["schemas"]["ExtendedContactDtoListEnvelope"];
887
1000
  };
888
- /** @description Forbidden */
889
- 403: {
890
- content: {
891
- "application/json": components["schemas"]["ErrorEnvelope"];
892
- "application/xml": components["schemas"]["ErrorEnvelope"];
893
- };
1001
+ };
1002
+ /** @description Unauthorized */
1003
+ 401: {
1004
+ content: {
1005
+ "application/json": components["schemas"]["ErrorEnvelope"];
1006
+ "application/xml": components["schemas"]["ErrorEnvelope"];
894
1007
  };
895
- /** @description Not Found */
896
- 404: {
897
- content: {
898
- "application/json": components["schemas"]["ErrorEnvelope"];
899
- "application/xml": components["schemas"]["ErrorEnvelope"];
900
- };
1008
+ };
1009
+ /** @description Forbidden */
1010
+ 403: {
1011
+ content: {
1012
+ "application/json": components["schemas"]["ErrorEnvelope"];
1013
+ "application/xml": components["schemas"]["ErrorEnvelope"];
901
1014
  };
902
1015
  };
903
1016
  };
904
1017
  };
905
- "/api/v2/CrmService/Contacts/Individuals/{contactId}/Organizations": {
906
- get: {
907
- parameters: {
908
- query: {
909
- tenantId: string;
910
- "api-version"?: string;
911
- };
912
- header?: {
913
- "x-api-version"?: string;
914
- };
915
- path: {
916
- contactId: string;
917
- };
1018
+ /**
1019
+ * Get a contact by ID
1020
+ * @description Get a contact by ID
1021
+ */
1022
+ GetContactAsync: {
1023
+ parameters: {
1024
+ query: {
1025
+ tenantId: string;
1026
+ "api-version"?: string;
918
1027
  };
919
- responses: {
920
- /** @description OK */
921
- 200: {
922
- content: {
923
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
924
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
925
- };
1028
+ header?: {
1029
+ "x-api-version"?: string;
1030
+ };
1031
+ path: {
1032
+ contactId: string;
1033
+ };
1034
+ };
1035
+ responses: {
1036
+ /** @description OK */
1037
+ 200: {
1038
+ content: {
1039
+ "application/json": components["schemas"]["ContactDtoEnvelope"];
1040
+ "application/xml": components["schemas"]["ContactDtoEnvelope"];
926
1041
  };
927
- /** @description Unauthorized */
928
- 401: {
929
- content: {
930
- "application/json": components["schemas"]["ErrorEnvelope"];
931
- "application/xml": components["schemas"]["ErrorEnvelope"];
932
- };
1042
+ };
1043
+ /** @description Unauthorized */
1044
+ 401: {
1045
+ content: {
1046
+ "application/json": components["schemas"]["ErrorEnvelope"];
1047
+ "application/xml": components["schemas"]["ErrorEnvelope"];
933
1048
  };
934
- /** @description Forbidden */
935
- 403: {
936
- content: {
937
- "application/json": components["schemas"]["ErrorEnvelope"];
938
- "application/xml": components["schemas"]["ErrorEnvelope"];
939
- };
1049
+ };
1050
+ /** @description Forbidden */
1051
+ 403: {
1052
+ content: {
1053
+ "application/json": components["schemas"]["ErrorEnvelope"];
1054
+ "application/xml": components["schemas"]["ErrorEnvelope"];
940
1055
  };
941
1056
  };
942
1057
  };
943
1058
  };
944
- "/api/v2/CrmService/Contacts/Individuals/{contactId}/Individuals": {
945
- get: {
946
- parameters: {
947
- query: {
948
- tenantId: string;
949
- "api-version"?: string;
950
- };
951
- header?: {
952
- "x-api-version"?: string;
953
- };
954
- path: {
955
- contactId: string;
956
- };
1059
+ /**
1060
+ * Update a contact
1061
+ * @description Update a contact
1062
+ */
1063
+ UpdateContactAsync: {
1064
+ parameters: {
1065
+ query: {
1066
+ tenantId: string;
1067
+ "api-version"?: string;
957
1068
  };
958
- responses: {
959
- /** @description OK */
960
- 200: {
961
- content: {
962
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
963
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
964
- };
1069
+ header?: {
1070
+ "x-api-version"?: string;
1071
+ };
1072
+ path: {
1073
+ contactId: string;
1074
+ };
1075
+ };
1076
+ requestBody?: {
1077
+ content: {
1078
+ "application/json": components["schemas"]["ContactUpdateDto"];
1079
+ "application/xml": components["schemas"]["ContactUpdateDto"];
1080
+ };
1081
+ };
1082
+ responses: {
1083
+ /** @description OK */
1084
+ 200: {
1085
+ content: {
1086
+ "application/json": components["schemas"]["EmptyEnvelope"];
1087
+ "application/xml": components["schemas"]["EmptyEnvelope"];
965
1088
  };
966
- /** @description Unauthorized */
967
- 401: {
968
- content: {
969
- "application/json": components["schemas"]["ErrorEnvelope"];
970
- "application/xml": components["schemas"]["ErrorEnvelope"];
971
- };
1089
+ };
1090
+ /** @description Unauthorized */
1091
+ 401: {
1092
+ content: {
1093
+ "application/json": components["schemas"]["ErrorEnvelope"];
1094
+ "application/xml": components["schemas"]["ErrorEnvelope"];
972
1095
  };
973
- /** @description Forbidden */
974
- 403: {
975
- content: {
976
- "application/json": components["schemas"]["ErrorEnvelope"];
977
- "application/xml": components["schemas"]["ErrorEnvelope"];
978
- };
1096
+ };
1097
+ /** @description Forbidden */
1098
+ 403: {
1099
+ content: {
1100
+ "application/json": components["schemas"]["ErrorEnvelope"];
1101
+ "application/xml": components["schemas"]["ErrorEnvelope"];
979
1102
  };
980
1103
  };
981
1104
  };
982
1105
  };
983
- "/api/v2/CrmService/Contacts/Organizations/{contactId}/Individuals": {
984
- get: {
985
- parameters: {
986
- query: {
987
- tenantId: string;
988
- "api-version"?: string;
989
- };
990
- header?: {
991
- "x-api-version"?: string;
992
- };
993
- path: {
994
- contactId: string;
995
- };
1106
+ /**
1107
+ * Delete a contact
1108
+ * @description Delete a contact
1109
+ */
1110
+ DeleteContactAsync: {
1111
+ parameters: {
1112
+ query: {
1113
+ tenantId: string;
1114
+ "api-version"?: string;
996
1115
  };
997
- responses: {
998
- /** @description OK */
999
- 200: {
1000
- content: {
1001
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
1002
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1003
- };
1116
+ header?: {
1117
+ "x-api-version"?: string;
1118
+ };
1119
+ path: {
1120
+ contactId: string;
1121
+ };
1122
+ };
1123
+ responses: {
1124
+ /** @description OK */
1125
+ 200: {
1126
+ content: {
1127
+ "application/json": components["schemas"]["EmptyEnvelope"];
1128
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1004
1129
  };
1005
- /** @description Unauthorized */
1006
- 401: {
1007
- content: {
1008
- "application/json": components["schemas"]["ErrorEnvelope"];
1009
- "application/xml": components["schemas"]["ErrorEnvelope"];
1010
- };
1130
+ };
1131
+ /** @description Unauthorized */
1132
+ 401: {
1133
+ content: {
1134
+ "application/json": components["schemas"]["ErrorEnvelope"];
1135
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1011
1136
  };
1012
- /** @description Forbidden */
1013
- 403: {
1014
- content: {
1015
- "application/json": components["schemas"]["ErrorEnvelope"];
1016
- "application/xml": components["schemas"]["ErrorEnvelope"];
1017
- };
1137
+ };
1138
+ /** @description Forbidden */
1139
+ 403: {
1140
+ content: {
1141
+ "application/json": components["schemas"]["ErrorEnvelope"];
1142
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1018
1143
  };
1019
1144
  };
1020
1145
  };
1021
1146
  };
1022
- "/api/v2/CrmService/Contacts/Organizations/{contactId}/Organizations": {
1023
- get: {
1024
- parameters: {
1025
- query: {
1026
- tenantId: string;
1027
- "api-version"?: string;
1147
+ /**
1148
+ * Patch a contact
1149
+ * @description Patch a contact
1150
+ */
1151
+ PatchContactAsync: {
1152
+ parameters: {
1153
+ query: {
1154
+ tenantId: string;
1155
+ "api-version"?: string;
1156
+ };
1157
+ header?: {
1158
+ "x-api-version"?: string;
1159
+ };
1160
+ path: {
1161
+ contactId: string;
1162
+ };
1163
+ };
1164
+ requestBody?: {
1165
+ content: {
1166
+ "application/json": components["schemas"]["Operation"][];
1167
+ "application/xml": components["schemas"]["Operation"][];
1168
+ };
1169
+ };
1170
+ responses: {
1171
+ /** @description OK */
1172
+ 200: {
1173
+ content: {
1174
+ "application/json": components["schemas"]["EmptyEnvelope"];
1175
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1028
1176
  };
1029
- header?: {
1030
- "x-api-version"?: string;
1177
+ };
1178
+ /** @description Unauthorized */
1179
+ 401: {
1180
+ content: {
1181
+ "application/json": components["schemas"]["ErrorEnvelope"];
1182
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1031
1183
  };
1032
- path: {
1033
- contactId: string;
1184
+ };
1185
+ /** @description Forbidden */
1186
+ 403: {
1187
+ content: {
1188
+ "application/json": components["schemas"]["ErrorEnvelope"];
1189
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1034
1190
  };
1035
1191
  };
1036
- responses: {
1037
- /** @description OK */
1038
- 200: {
1039
- content: {
1040
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
1041
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1042
- };
1192
+ };
1193
+ };
1194
+ /**
1195
+ * Get a contact by ID
1196
+ * @description Get a contact by ID
1197
+ */
1198
+ GetExtendedContactAsync: {
1199
+ parameters: {
1200
+ query: {
1201
+ tenantId: string;
1202
+ "api-version"?: string;
1203
+ };
1204
+ header?: {
1205
+ "x-api-version"?: string;
1206
+ };
1207
+ path: {
1208
+ contactId: string;
1209
+ };
1210
+ };
1211
+ responses: {
1212
+ /** @description OK */
1213
+ 200: {
1214
+ content: {
1215
+ "application/json": components["schemas"]["ExtendedContactDtoEnvelope"];
1216
+ "application/xml": components["schemas"]["ExtendedContactDtoEnvelope"];
1043
1217
  };
1044
- /** @description Unauthorized */
1045
- 401: {
1046
- content: {
1047
- "application/json": components["schemas"]["ErrorEnvelope"];
1048
- "application/xml": components["schemas"]["ErrorEnvelope"];
1049
- };
1218
+ };
1219
+ /** @description Unauthorized */
1220
+ 401: {
1221
+ content: {
1222
+ "application/json": components["schemas"]["ErrorEnvelope"];
1223
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1050
1224
  };
1051
- /** @description Forbidden */
1052
- 403: {
1053
- content: {
1054
- "application/json": components["schemas"]["ErrorEnvelope"];
1055
- "application/xml": components["schemas"]["ErrorEnvelope"];
1056
- };
1225
+ };
1226
+ /** @description Forbidden */
1227
+ 403: {
1228
+ content: {
1229
+ "application/json": components["schemas"]["ErrorEnvelope"];
1230
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1057
1231
  };
1058
1232
  };
1059
1233
  };
1060
1234
  };
1061
- "/api/v2/CrmService/Contacts/Organizations/Upsert": {
1062
- post: {
1063
- parameters: {
1064
- query: {
1065
- tenantId: string;
1066
- relatedTenantId: string;
1067
- "api-version"?: string;
1068
- };
1069
- header?: {
1070
- "x-api-version"?: string;
1071
- };
1235
+ /**
1236
+ * Get all contacts of type individual
1237
+ * @description Get all contacts of type individual
1238
+ */
1239
+ GetBusinessOwnedIndividualsAsync: {
1240
+ parameters: {
1241
+ query: {
1242
+ tenantId: string;
1243
+ "api-version"?: string;
1072
1244
  };
1073
- responses: {
1074
- /** @description OK */
1075
- 200: {
1076
- content: {
1077
- "application/json": components["schemas"]["ContactDtoEnvelope"];
1078
- "application/xml": components["schemas"]["ContactDtoEnvelope"];
1079
- };
1245
+ header?: {
1246
+ "x-api-version"?: string;
1247
+ };
1248
+ };
1249
+ responses: {
1250
+ /** @description OK */
1251
+ 200: {
1252
+ content: {
1253
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1254
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1080
1255
  };
1081
- /** @description Unauthorized */
1082
- 401: {
1083
- content: {
1084
- "application/json": components["schemas"]["ErrorEnvelope"];
1085
- "application/xml": components["schemas"]["ErrorEnvelope"];
1086
- };
1256
+ };
1257
+ /** @description Unauthorized */
1258
+ 401: {
1259
+ content: {
1260
+ "application/json": components["schemas"]["ErrorEnvelope"];
1261
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1087
1262
  };
1088
- /** @description Forbidden */
1089
- 403: {
1090
- content: {
1091
- "application/json": components["schemas"]["ErrorEnvelope"];
1092
- "application/xml": components["schemas"]["ErrorEnvelope"];
1093
- };
1263
+ };
1264
+ /** @description Forbidden */
1265
+ 403: {
1266
+ content: {
1267
+ "application/json": components["schemas"]["ErrorEnvelope"];
1268
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1094
1269
  };
1095
1270
  };
1096
1271
  };
1097
1272
  };
1098
- "/api/v2/CrmService/Contacts/Individuals/Upsert": {
1099
- post: {
1100
- parameters: {
1101
- query: {
1102
- tenantId: string;
1103
- relatedUserId: string;
1104
- "api-version"?: string;
1105
- };
1106
- header?: {
1107
- "x-api-version"?: string;
1108
- };
1273
+ /**
1274
+ * Get all contacts of type individual count
1275
+ * @description Get all contacts of type individual count
1276
+ */
1277
+ GetBusinessOwnedIndividualsCountAsync: {
1278
+ parameters: {
1279
+ query: {
1280
+ tenantId: string;
1281
+ "api-version"?: string;
1109
1282
  };
1110
- responses: {
1111
- /** @description OK */
1112
- 200: {
1113
- content: {
1114
- "application/json": components["schemas"]["ContactDtoEnvelope"];
1115
- "application/xml": components["schemas"]["ContactDtoEnvelope"];
1116
- };
1283
+ header?: {
1284
+ "x-api-version"?: string;
1285
+ };
1286
+ };
1287
+ responses: {
1288
+ /** @description OK */
1289
+ 200: {
1290
+ content: {
1291
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1292
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1117
1293
  };
1118
- /** @description Unauthorized */
1119
- 401: {
1120
- content: {
1121
- "application/json": components["schemas"]["ErrorEnvelope"];
1122
- "application/xml": components["schemas"]["ErrorEnvelope"];
1123
- };
1294
+ };
1295
+ /** @description Unauthorized */
1296
+ 401: {
1297
+ content: {
1298
+ "application/json": components["schemas"]["ErrorEnvelope"];
1299
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1124
1300
  };
1125
- /** @description Forbidden */
1126
- 403: {
1127
- content: {
1128
- "application/json": components["schemas"]["ErrorEnvelope"];
1129
- "application/xml": components["schemas"]["ErrorEnvelope"];
1130
- };
1301
+ };
1302
+ /** @description Forbidden */
1303
+ 403: {
1304
+ content: {
1305
+ "application/json": components["schemas"]["ErrorEnvelope"];
1306
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1131
1307
  };
1132
1308
  };
1133
1309
  };
1134
1310
  };
1135
- "/api/v2/CrmService/Sync": {
1136
- post: {
1137
- parameters: {
1138
- query: {
1139
- tenantId: string;
1140
- "api-version"?: string;
1141
- };
1142
- header?: {
1143
- "x-api-version"?: string;
1144
- };
1311
+ /**
1312
+ * Get all contacts of type individual
1313
+ * @description Get all contacts of type individual
1314
+ */
1315
+ GetExtendedBusinessOwnedIndividualsAsync: {
1316
+ parameters: {
1317
+ query: {
1318
+ tenantId: string;
1319
+ "api-version"?: string;
1145
1320
  };
1146
- responses: {
1147
- /** @description OK */
1148
- 200: {
1149
- content: {
1150
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
1151
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1152
- };
1321
+ header?: {
1322
+ "x-api-version"?: string;
1323
+ };
1324
+ };
1325
+ responses: {
1326
+ /** @description OK */
1327
+ 200: {
1328
+ content: {
1329
+ "application/json": components["schemas"]["ExtendedContactDtoListEnvelope"];
1330
+ "application/xml": components["schemas"]["ExtendedContactDtoListEnvelope"];
1153
1331
  };
1154
- /** @description Unauthorized */
1155
- 401: {
1156
- content: {
1157
- "application/json": components["schemas"]["ErrorEnvelope"];
1158
- "application/xml": components["schemas"]["ErrorEnvelope"];
1159
- };
1332
+ };
1333
+ /** @description Unauthorized */
1334
+ 401: {
1335
+ content: {
1336
+ "application/json": components["schemas"]["ErrorEnvelope"];
1337
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1160
1338
  };
1161
- /** @description Forbidden */
1162
- 403: {
1163
- content: {
1164
- "application/json": components["schemas"]["ErrorEnvelope"];
1165
- "application/xml": components["schemas"]["ErrorEnvelope"];
1166
- };
1339
+ };
1340
+ /** @description Forbidden */
1341
+ 403: {
1342
+ content: {
1343
+ "application/json": components["schemas"]["ErrorEnvelope"];
1344
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1167
1345
  };
1168
1346
  };
1169
1347
  };
1170
1348
  };
1171
- "/api/v2/CrmService/Sync/Me": {
1172
- post: {
1173
- parameters: {
1174
- query: {
1175
- tenantId: string;
1176
- "api-version"?: string;
1177
- };
1178
- header?: {
1179
- "x-api-version"?: string;
1349
+ /**
1350
+ * Get a Contact of type Individual by ID
1351
+ * @description Get a Contact of type Individual by ID
1352
+ */
1353
+ GetBusinessOwnedIndividualAsync: {
1354
+ parameters: {
1355
+ query: {
1356
+ tenantId: string;
1357
+ "api-version"?: string;
1358
+ };
1359
+ header?: {
1360
+ "x-api-version"?: string;
1361
+ };
1362
+ path: {
1363
+ contactId: string;
1364
+ };
1365
+ };
1366
+ responses: {
1367
+ /** @description OK */
1368
+ 200: {
1369
+ content: {
1370
+ "application/json": components["schemas"]["ContactDtoEnvelope"];
1371
+ "application/xml": components["schemas"]["ContactDtoEnvelope"];
1180
1372
  };
1181
1373
  };
1182
- responses: {
1183
- /** @description OK */
1184
- 200: {
1185
- content: {
1186
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
1187
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1188
- };
1374
+ /** @description Unauthorized */
1375
+ 401: {
1376
+ content: {
1377
+ "application/json": components["schemas"]["ErrorEnvelope"];
1378
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1189
1379
  };
1190
- /** @description Unauthorized */
1191
- 401: {
1192
- content: {
1193
- "application/json": components["schemas"]["ErrorEnvelope"];
1194
- "application/xml": components["schemas"]["ErrorEnvelope"];
1195
- };
1380
+ };
1381
+ /** @description Forbidden */
1382
+ 403: {
1383
+ content: {
1384
+ "application/json": components["schemas"]["ErrorEnvelope"];
1385
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1196
1386
  };
1197
- /** @description Forbidden */
1198
- 403: {
1199
- content: {
1200
- "application/json": components["schemas"]["ErrorEnvelope"];
1201
- "application/xml": components["schemas"]["ErrorEnvelope"];
1202
- };
1387
+ };
1388
+ /** @description Not Found */
1389
+ 404: {
1390
+ content: {
1391
+ "application/json": components["schemas"]["ErrorEnvelope"];
1392
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1203
1393
  };
1204
1394
  };
1205
1395
  };
1206
1396
  };
1207
- "/api/v2/CrmService/Sync/User": {
1208
- post: {
1209
- parameters: {
1210
- query: {
1211
- tenantId: string;
1212
- relatedUserId: string;
1213
- "api-version"?: string;
1214
- };
1215
- header?: {
1216
- "x-api-version"?: string;
1217
- };
1397
+ /**
1398
+ * Get all contacts of type organization
1399
+ * @description Get all contacts of type organization
1400
+ */
1401
+ GetBusinessOwnedOrganizationsAsync: {
1402
+ parameters: {
1403
+ query: {
1404
+ tenantId: string;
1405
+ "api-version"?: string;
1218
1406
  };
1219
- responses: {
1220
- /** @description OK */
1221
- 200: {
1222
- content: {
1223
- "application/json": components["schemas"]["ContactDtoListEnvelope"];
1224
- "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1225
- };
1407
+ header?: {
1408
+ "x-api-version"?: string;
1409
+ };
1410
+ };
1411
+ responses: {
1412
+ /** @description OK */
1413
+ 200: {
1414
+ content: {
1415
+ "application/json": components["schemas"]["ContactDto"][];
1416
+ "application/xml": components["schemas"]["ContactDto"][];
1226
1417
  };
1227
- /** @description Unauthorized */
1228
- 401: {
1229
- content: {
1230
- "application/json": components["schemas"]["ErrorEnvelope"];
1231
- "application/xml": components["schemas"]["ErrorEnvelope"];
1232
- };
1418
+ };
1419
+ /** @description Unauthorized */
1420
+ 401: {
1421
+ content: {
1422
+ "application/json": components["schemas"]["ErrorEnvelope"];
1423
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1233
1424
  };
1234
- /** @description Forbidden */
1235
- 403: {
1236
- content: {
1237
- "application/json": components["schemas"]["ErrorEnvelope"];
1238
- "application/xml": components["schemas"]["ErrorEnvelope"];
1239
- };
1425
+ };
1426
+ /** @description Forbidden */
1427
+ 403: {
1428
+ content: {
1429
+ "application/json": components["schemas"]["ErrorEnvelope"];
1430
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1240
1431
  };
1241
1432
  };
1242
1433
  };
1243
1434
  };
1244
- "/api/v2/CrmService/Sync/Tenant": {
1245
- post: {
1246
- parameters: {
1247
- query: {
1248
- tenantId: string;
1249
- relatedTenantId: string;
1250
- "api-version"?: string;
1251
- };
1252
- header?: {
1253
- "x-api-version"?: string;
1254
- };
1435
+ /**
1436
+ * Get all contacts of type organization count
1437
+ * @description Get all contacts of type organization count
1438
+ */
1439
+ GetBusinessOwnedOrganizationsCountAsync: {
1440
+ parameters: {
1441
+ query: {
1442
+ tenantId: string;
1443
+ "api-version"?: string;
1255
1444
  };
1256
- responses: {
1257
- /** @description OK */
1258
- 200: {
1259
- content: {
1260
- "application/json": components["schemas"]["EmptyEnvelope"];
1261
- "application/xml": components["schemas"]["EmptyEnvelope"];
1262
- };
1445
+ header?: {
1446
+ "x-api-version"?: string;
1447
+ };
1448
+ };
1449
+ responses: {
1450
+ /** @description OK */
1451
+ 200: {
1452
+ content: {
1453
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1454
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1263
1455
  };
1264
- /** @description Unauthorized */
1265
- 401: {
1266
- content: {
1267
- "application/json": components["schemas"]["ErrorEnvelope"];
1268
- "application/xml": components["schemas"]["ErrorEnvelope"];
1269
- };
1456
+ };
1457
+ /** @description Unauthorized */
1458
+ 401: {
1459
+ content: {
1460
+ "application/json": components["schemas"]["ErrorEnvelope"];
1461
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1270
1462
  };
1271
- /** @description Forbidden */
1272
- 403: {
1273
- content: {
1274
- "application/json": components["schemas"]["ErrorEnvelope"];
1275
- "application/xml": components["schemas"]["ErrorEnvelope"];
1276
- };
1463
+ };
1464
+ /** @description Forbidden */
1465
+ 403: {
1466
+ content: {
1467
+ "application/json": components["schemas"]["ErrorEnvelope"];
1468
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1277
1469
  };
1278
1470
  };
1279
1471
  };
1280
1472
  };
1281
- }
1282
-
1283
- export type webhooks = Record<string, never>;
1284
-
1285
- export interface components {
1286
- schemas: {
1287
- CartDto: {
1288
- id?: string | null;
1289
- ip?: string | null;
1290
- type?: string | null;
1291
- /** Format: double */
1292
- total?: number;
1293
- /** Format: double */
1294
- taxes?: number;
1295
- /** Format: double */
1296
- freight?: number;
1297
- /** Format: double */
1298
- subTotal?: number;
1299
- currencyId?: string | null;
1300
- countryId?: string | null;
1301
- /** Format: int32 */
1302
- itemCartRecordsCount?: number | null;
1303
- /** Format: int32 */
1304
- itemToCompareRecordsCount?: number | null;
1305
- };
1306
- CartDtoEnvelope: {
1307
- isSuccess?: boolean;
1308
- errorMessage?: string | null;
1309
- correlationId?: string | null;
1310
- /** Format: date-time */
1311
- timestamp?: string;
1312
- activityId?: string | null;
1313
- result?: components["schemas"]["CartDto"];
1314
- };
1315
- ContactCreateDto: {
1316
- /** Format: uuid */
1317
- id?: string;
1318
- /** Format: date-time */
1319
- timestamp?: string;
1320
- tenantId: string;
1321
- /**
1322
- * Format: int32
1323
- * @enum {integer}
1324
- */
1325
- type: 0 | 1;
1326
- firstName: string;
1327
- lastName?: string | null;
1328
- /** Format: email */
1329
- email: string;
1330
- taxId?: string | null;
1331
- primaryContactId?: string | null;
1332
- qualifiedName?: string | null;
1333
- about?: string | null;
1334
- countryId?: string | null;
1335
- stateId?: string | null;
1336
- cityId?: string | null;
1337
- /** Format: tel */
1338
- mobilePhone?: string | null;
1339
- /** Format: tel */
1340
- businessPhone?: string | null;
1341
- postalCode?: string | null;
1342
- duns?: string | null;
1343
- jobTitle?: string | null;
1344
- webUrl?: string | null;
1345
- currencyId?: string | null;
1346
- languageId?: string | null;
1347
- timezoneId?: string | null;
1348
- /** Format: date-time */
1349
- birthday?: string | null;
1350
- streetLine1?: string | null;
1351
- streetLine2?: string | null;
1352
- gitHubUrl?: string | null;
1353
- twitchUrl?: string | null;
1354
- redditUrl?: string | null;
1355
- tikTokUrl?: string | null;
1356
- websiteUrl?: string | null;
1357
- twitterUrl?: string | null;
1358
- facebookUrl?: string | null;
1359
- youTubeUrl?: string | null;
1360
- linkedInUrl?: string | null;
1361
- instagramUrl?: string | null;
1362
- githubUsername?: string | null;
1363
- instagramUsername?: unknown;
1364
- tikTokUsername?: unknown;
1365
- stackExchangeUrl?: unknown;
1366
- stackOverflowUrl?: unknown;
1367
- parentContactId?: unknown;
1473
+ /**
1474
+ * Get all contacts of type organization
1475
+ * @description Get all contacts of type organization
1476
+ */
1477
+ GetExtendedBusinessOwnedOrganizationsAsync: {
1478
+ parameters: {
1479
+ query: {
1480
+ tenantId: string;
1481
+ "api-version"?: string;
1482
+ };
1483
+ header?: {
1484
+ "x-api-version"?: string;
1485
+ };
1368
1486
  };
1369
- ContactDto: {
1370
- id?: string | null;
1371
- /** Format: date-time */
1372
- timestamp?: string | null;
1373
- qualifiedName?: string | null;
1374
- tenantId?: string | null;
1375
- /**
1376
- * Format: int32
1377
- * @enum {integer}
1378
- */
1379
- type?: 0 | 1;
1380
- publicName?: string | null;
1381
- firstName?: string | null;
1382
- lastName?: string | null;
1383
- jobTitle?: string | null;
1384
- coverUrl?: string | null;
1385
- avatarUrl?: string | null;
1386
- countryId?: string | null;
1387
- timezoneId?: string | null;
1388
- languageId?: string | null;
1389
- socialProfileId?: string | null;
1390
- webUrl?: string | null;
1391
- gitHubUrl?: string | null;
1392
- twitchUrl?: string | null;
1393
- redditUrl?: string | null;
1394
- tikTokUrl?: string | null;
1395
- websiteUrl?: string | null;
1396
- twitterUrl?: string | null;
1397
- facebookUrl?: string | null;
1398
- youTubeUrl?: string | null;
1399
- linkedInUrl?: string | null;
1400
- instagramUrl?: string | null;
1401
- githubUsername?: string | null;
1402
- duns?: string | null;
1403
- taxId?: string | null;
1404
- /** Format: email */
1405
- email?: string | null;
1406
- about?: string | null;
1407
- street?: string | null;
1408
- cartId?: string | null;
1409
- cityId?: string | null;
1410
- zipCode?: string | null;
1411
- stateId?: string | null;
1412
- walletId?: string | null;
1413
- faxNumber?: string | null;
1414
- postalCode?: string | null;
1415
- currencyId?: string | null;
1416
- streetLine1?: string | null;
1417
- streetLine2?: string | null;
1418
- territoryId?: string | null;
1419
- mobilePhone?: string | null;
1420
- enrollmentId?: string | null;
1421
- annualRevenue?: string | null;
1422
- relatedUserId?: string | null;
1423
- businessPhone?: string | null;
1424
- ownerContactId?: string | null;
1425
- relatedTenantId?: string | null;
1426
- activityFeedId?: string | null;
1427
- parentContactId?: string | null;
1428
- identityProvider?: string | null;
1429
- partnerProfileId?: string | null;
1430
- primaryContactId?: string | null;
1431
- activeDirectoryId?: string | null;
1432
- identityProviderAccessToken?: string | null;
1433
- /** Format: date-time */
1434
- birthday?: string | null;
1487
+ responses: {
1488
+ /** @description OK */
1489
+ 200: {
1490
+ content: {
1491
+ "application/json": components["schemas"]["ExtendedContactDtoListEnvelope"];
1492
+ "application/xml": components["schemas"]["ExtendedContactDtoListEnvelope"];
1493
+ };
1494
+ };
1495
+ /** @description Unauthorized */
1496
+ 401: {
1497
+ content: {
1498
+ "application/json": components["schemas"]["ErrorEnvelope"];
1499
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1500
+ };
1501
+ };
1502
+ /** @description Forbidden */
1503
+ 403: {
1504
+ content: {
1505
+ "application/json": components["schemas"]["ErrorEnvelope"];
1506
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1507
+ };
1508
+ };
1435
1509
  };
1436
- ContactDtoEnvelope: {
1437
- isSuccess?: boolean;
1438
- errorMessage?: string | null;
1439
- correlationId?: string | null;
1440
- /** Format: date-time */
1441
- timestamp?: string;
1442
- activityId?: string | null;
1443
- result?: components["schemas"]["ContactDto"];
1510
+ };
1511
+ /**
1512
+ * Get a Contact of type Organization by ID
1513
+ * @description Get a Contact of type Organization by ID
1514
+ */
1515
+ GetBusinessOwnedOrganizationAsync: {
1516
+ parameters: {
1517
+ query: {
1518
+ tenantId: string;
1519
+ "api-version"?: string;
1520
+ };
1521
+ header?: {
1522
+ "x-api-version"?: string;
1523
+ };
1524
+ path: {
1525
+ contactId: string;
1526
+ };
1444
1527
  };
1445
- ContactDtoListEnvelope: {
1446
- isSuccess?: boolean;
1447
- errorMessage?: string | null;
1448
- correlationId?: string | null;
1449
- /** Format: date-time */
1450
- timestamp?: string;
1451
- activityId?: string | null;
1452
- result?: components["schemas"]["ContactDto"][] | null;
1528
+ responses: {
1529
+ /** @description OK */
1530
+ 200: {
1531
+ content: {
1532
+ "application/json": components["schemas"]["ContactDtoEnvelope"];
1533
+ "application/xml": components["schemas"]["ContactDtoEnvelope"];
1534
+ };
1535
+ };
1536
+ /** @description Unauthorized */
1537
+ 401: {
1538
+ content: {
1539
+ "application/json": components["schemas"]["ErrorEnvelope"];
1540
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1541
+ };
1542
+ };
1543
+ /** @description Forbidden */
1544
+ 403: {
1545
+ content: {
1546
+ "application/json": components["schemas"]["ErrorEnvelope"];
1547
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1548
+ };
1549
+ };
1550
+ /** @description Not Found */
1551
+ 404: {
1552
+ content: {
1553
+ "application/json": components["schemas"]["ErrorEnvelope"];
1554
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1555
+ };
1556
+ };
1453
1557
  };
1454
- ContactProfileDto: {
1455
- id?: string | null;
1456
- /** Format: date-time */
1457
- timestamp?: string;
1458
- tenantId?: string | null;
1459
- contactId?: string | null;
1460
- enrollmentId?: string | null;
1461
- about?: string | null;
1462
- verified?: boolean;
1463
- submitted?: boolean;
1464
- avatarUrl?: string | null;
1465
- qualifiedName?: string | null;
1466
- /** Format: date-time */
1467
- verificationTimestamp?: string | null;
1468
- data?: string | null;
1469
- dataLabel?: string | null;
1470
- data1?: string | null;
1471
- data1Label?: string | null;
1472
- data2?: string | null;
1473
- data2Label?: string | null;
1474
- data3?: string | null;
1475
- data3Label?: string | null;
1476
- data4?: string | null;
1477
- data4Label?: string | null;
1478
- data5?: string | null;
1479
- data5Label?: string | null;
1480
- data6?: string | null;
1481
- data6Label?: string | null;
1482
- data7?: string | null;
1483
- data7Label?: string | null;
1484
- data8?: string | null;
1485
- data8Label?: string | null;
1486
- data9?: string | null;
1487
- data9Label?: string | null;
1558
+ };
1559
+ /**
1560
+ * Get a contact's cart
1561
+ * @description Get a contact's cart
1562
+ */
1563
+ GetContactCartAsync: {
1564
+ parameters: {
1565
+ query: {
1566
+ tenantId: string;
1567
+ "api-version"?: string;
1568
+ };
1569
+ header?: {
1570
+ "x-api-version"?: string;
1571
+ };
1572
+ path: {
1573
+ contactId: string;
1574
+ };
1488
1575
  };
1489
- ContactProfileDtoListEnvelope: {
1490
- isSuccess?: boolean;
1491
- errorMessage?: string | null;
1492
- correlationId?: string | null;
1493
- /** Format: date-time */
1494
- timestamp?: string;
1495
- activityId?: string | null;
1496
- result?: components["schemas"]["ContactProfileDto"][] | null;
1576
+ responses: {
1577
+ /** @description OK */
1578
+ 200: {
1579
+ content: {
1580
+ "application/json": components["schemas"]["CartDtoEnvelope"];
1581
+ "application/xml": components["schemas"]["CartDtoEnvelope"];
1582
+ };
1583
+ };
1584
+ /** @description Unauthorized */
1585
+ 401: {
1586
+ content: {
1587
+ "application/json": components["schemas"]["ErrorEnvelope"];
1588
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1589
+ };
1590
+ };
1591
+ /** @description Forbidden */
1592
+ 403: {
1593
+ content: {
1594
+ "application/json": components["schemas"]["ErrorEnvelope"];
1595
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1596
+ };
1597
+ };
1598
+ /** @description Not Found */
1599
+ 404: {
1600
+ content: {
1601
+ "application/json": components["schemas"]["ErrorEnvelope"];
1602
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1603
+ };
1604
+ };
1497
1605
  };
1498
- ContactUpdateDto: {
1499
- /**
1500
- * Format: int32
1501
- * @enum {integer}
1502
- */
1503
- type: 0 | 1;
1504
- /** Format: date-time */
1505
- birthday?: string | null;
1506
- duns?: string | null;
1507
- taxId?: string | null;
1508
- /** Format: email */
1509
- email: string;
1510
- firstName: string;
1511
- lastName?: string | null;
1512
- primaryContactId?: string | null;
1513
- qualifiedName?: string | null;
1514
- about?: string | null;
1515
- /** Format: tel */
1516
- mobilePhone?: string | null;
1517
- /** Format: tel */
1518
- businessPhone?: string | null;
1519
- jobTitle?: string | null;
1520
- countryId?: string | null;
1521
- parentContactId?: string | null;
1522
- stateId?: string | null;
1523
- cityId?: string | null;
1524
- postalCode?: string | null;
1525
- streetLine1?: string | null;
1526
- streetLine2?: string | null;
1527
- currencyId?: string | null;
1528
- languageId?: string | null;
1529
- timezoneId?: string | null;
1530
- coverUrl?: string | null;
1531
- githubUsername?: string | null;
1532
- instagramUsername?: string | null;
1533
- twitchUrl?: string | null;
1534
- redditUrl?: string | null;
1535
- gitHubUrl?: string | null;
1536
- githubUrl?: string | null;
1537
- tikTokUrl?: string | null;
1538
- twitterUrl?: string | null;
1539
- youTubeUrl?: string | null;
1540
- websiteUrl?: string | null;
1541
- facebookUrl?: string | null;
1542
- linkedInUrl?: string | null;
1543
- instagramUrl?: string | null;
1544
- tikTokUsername?: string | null;
1545
- stackExchangeUrl?: string | null;
1546
- stackOverflowUrl?: string | null;
1606
+ };
1607
+ /**
1608
+ * Get a contact's avatar
1609
+ * @description Get a contact's avatar
1610
+ */
1611
+ GetContactAvatarAsync: {
1612
+ parameters: {
1613
+ query: {
1614
+ tenantId: string;
1615
+ "api-version"?: string;
1616
+ };
1617
+ header?: {
1618
+ "x-api-version"?: string;
1619
+ };
1620
+ path: {
1621
+ contactId: string;
1622
+ };
1547
1623
  };
1548
- EmptyEnvelope: {
1549
- isSuccess?: boolean;
1550
- errorMessage?: string | null;
1551
- correlationId?: string | null;
1552
- /** Format: date-time */
1553
- timestamp?: string;
1554
- activityId?: string | null;
1624
+ responses: {
1625
+ /** @description OK */
1626
+ 200: {
1627
+ content: {
1628
+ "application/json": components["schemas"]["EmptyEnvelope"];
1629
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1630
+ };
1631
+ };
1632
+ /** @description Unauthorized */
1633
+ 401: {
1634
+ content: {
1635
+ "application/json": components["schemas"]["ErrorEnvelope"];
1636
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1637
+ };
1638
+ };
1639
+ /** @description Forbidden */
1640
+ 403: {
1641
+ content: {
1642
+ "application/json": components["schemas"]["ErrorEnvelope"];
1643
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1644
+ };
1645
+ };
1646
+ };
1647
+ };
1648
+ /**
1649
+ * Update a contact's avatar
1650
+ * @description Update a contact's avatar
1651
+ */
1652
+ UpdateContactAvatarAsync: {
1653
+ parameters: {
1654
+ query?: {
1655
+ tenantId?: string;
1656
+ "api-version"?: string;
1657
+ };
1658
+ header?: {
1659
+ "x-api-version"?: string;
1660
+ };
1661
+ path: {
1662
+ contactId: string;
1663
+ };
1664
+ };
1665
+ requestBody?: {
1666
+ content: {
1667
+ "multipart/form-data": {
1668
+ /** Format: binary */
1669
+ avatar?: string;
1670
+ };
1671
+ "application/json": {
1672
+ /** Format: binary */
1673
+ avatar?: string;
1674
+ };
1675
+ "application/xml": {
1676
+ /** Format: binary */
1677
+ avatar?: string;
1678
+ };
1679
+ };
1680
+ };
1681
+ responses: {
1682
+ /** @description OK */
1683
+ 200: {
1684
+ content: {
1685
+ "application/json": components["schemas"]["EmptyEnvelope"];
1686
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1687
+ };
1688
+ };
1689
+ /** @description Unauthorized */
1690
+ 401: {
1691
+ content: {
1692
+ "application/json": components["schemas"]["ErrorEnvelope"];
1693
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1694
+ };
1695
+ };
1696
+ /** @description Forbidden */
1697
+ 403: {
1698
+ content: {
1699
+ "application/json": components["schemas"]["ErrorEnvelope"];
1700
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1701
+ };
1702
+ };
1555
1703
  };
1556
- ErrorEnvelope: {
1557
- isSuccess?: boolean;
1558
- errorMessage?: string | null;
1559
- correlationId?: string | null;
1560
- /** Format: date-time */
1561
- timestamp?: string;
1562
- activityId?: string | null;
1704
+ };
1705
+ /**
1706
+ * Get a contact's wallet
1707
+ * @description Get a contact's wallet
1708
+ */
1709
+ GetContactWalletAsync: {
1710
+ parameters: {
1711
+ query: {
1712
+ tenantId: string;
1713
+ "api-version"?: string;
1714
+ };
1715
+ header?: {
1716
+ "x-api-version"?: string;
1717
+ };
1718
+ path: {
1719
+ contactId: string;
1720
+ };
1563
1721
  };
1564
- ExtendedContactDto: {
1565
- id?: string | null;
1566
- /** Format: date-time */
1567
- timestamp?: string | null;
1568
- qualifiedName?: string | null;
1569
- tenantId?: string | null;
1570
- /**
1571
- * Format: int32
1572
- * @enum {integer}
1573
- */
1574
- type?: 0 | 1;
1575
- publicName?: string | null;
1576
- firstName?: string | null;
1577
- lastName?: string | null;
1578
- jobTitle?: string | null;
1579
- coverUrl?: string | null;
1580
- avatarUrl?: string | null;
1581
- countryId?: string | null;
1582
- timezoneId?: string | null;
1583
- languageId?: string | null;
1584
- socialProfileId?: string | null;
1585
- webUrl?: string | null;
1586
- gitHubUrl?: string | null;
1587
- twitchUrl?: string | null;
1588
- redditUrl?: string | null;
1589
- tikTokUrl?: string | null;
1590
- websiteUrl?: string | null;
1591
- twitterUrl?: string | null;
1592
- facebookUrl?: string | null;
1593
- youTubeUrl?: string | null;
1594
- linkedInUrl?: string | null;
1595
- instagramUrl?: string | null;
1596
- githubUsername?: string | null;
1597
- duns?: string | null;
1598
- taxId?: string | null;
1599
- /** Format: email */
1600
- email?: string | null;
1601
- about?: string | null;
1602
- street?: string | null;
1603
- cartId?: string | null;
1604
- cityId?: string | null;
1605
- zipCode?: string | null;
1606
- stateId?: string | null;
1607
- walletId?: string | null;
1608
- faxNumber?: string | null;
1609
- postalCode?: string | null;
1610
- currencyId?: string | null;
1611
- streetLine1?: string | null;
1612
- streetLine2?: string | null;
1613
- territoryId?: string | null;
1614
- mobilePhone?: string | null;
1615
- enrollmentId?: string | null;
1616
- annualRevenue?: string | null;
1617
- relatedUserId?: string | null;
1618
- businessPhone?: string | null;
1619
- ownerContactId?: string | null;
1620
- relatedTenantId?: string | null;
1621
- activityFeedId?: string | null;
1622
- parentContactId?: string | null;
1623
- identityProvider?: string | null;
1624
- partnerProfileId?: string | null;
1625
- primaryContactId?: string | null;
1626
- activeDirectoryId?: string | null;
1627
- identityProviderAccessToken?: string | null;
1628
- /** Format: date-time */
1629
- birthday?: string | null;
1630
- cart?: components["schemas"]["CartDto"];
1631
- wallet?: components["schemas"]["WalletDto"];
1632
- socialProfile?: components["schemas"]["SocialProfileDto"];
1633
- parentContact?: components["schemas"]["SimpleContactDto"];
1634
- primaryContact?: components["schemas"]["SimpleContactDto"];
1722
+ responses: {
1723
+ /** @description OK */
1724
+ 200: {
1725
+ content: {
1726
+ "application/json": components["schemas"]["WalletDtoEnvelope"];
1727
+ "application/xml": components["schemas"]["WalletDtoEnvelope"];
1728
+ };
1729
+ };
1730
+ /** @description Unauthorized */
1731
+ 401: {
1732
+ content: {
1733
+ "application/json": components["schemas"]["ErrorEnvelope"];
1734
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1735
+ };
1736
+ };
1737
+ /** @description Forbidden */
1738
+ 403: {
1739
+ content: {
1740
+ "application/json": components["schemas"]["ErrorEnvelope"];
1741
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1742
+ };
1743
+ };
1744
+ /** @description Not Found */
1745
+ 404: {
1746
+ content: {
1747
+ "application/json": components["schemas"]["ErrorEnvelope"];
1748
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1749
+ };
1750
+ };
1635
1751
  };
1636
- ExtendedContactDtoEnvelope: {
1637
- isSuccess?: boolean;
1638
- errorMessage?: string | null;
1639
- correlationId?: string | null;
1640
- /** Format: date-time */
1641
- timestamp?: string;
1642
- activityId?: string | null;
1643
- result?: components["schemas"]["ExtendedContactDto"];
1752
+ };
1753
+ /**
1754
+ * Get a contact's social profiles
1755
+ * @description Get a contact's social profiles
1756
+ */
1757
+ GetContactProfilesAsync: {
1758
+ parameters: {
1759
+ query: {
1760
+ tenantId: string;
1761
+ "api-version"?: string;
1762
+ };
1763
+ header?: {
1764
+ "x-api-version"?: string;
1765
+ };
1766
+ path: {
1767
+ contactId: string;
1768
+ };
1644
1769
  };
1645
- ExtendedContactDtoListEnvelope: {
1646
- isSuccess?: boolean;
1647
- errorMessage?: string | null;
1648
- correlationId?: string | null;
1649
- /** Format: date-time */
1650
- timestamp?: string;
1651
- activityId?: string | null;
1652
- result?: components["schemas"]["ExtendedContactDto"][] | null;
1770
+ responses: {
1771
+ /** @description OK */
1772
+ 200: {
1773
+ content: {
1774
+ "application/json": components["schemas"]["ContactProfileDtoListEnvelope"];
1775
+ "application/xml": components["schemas"]["ContactProfileDtoListEnvelope"];
1776
+ };
1777
+ };
1778
+ /** @description Unauthorized */
1779
+ 401: {
1780
+ content: {
1781
+ "application/json": components["schemas"]["ErrorEnvelope"];
1782
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1783
+ };
1784
+ };
1785
+ /** @description Forbidden */
1786
+ 403: {
1787
+ content: {
1788
+ "application/json": components["schemas"]["ErrorEnvelope"];
1789
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1790
+ };
1791
+ };
1792
+ /** @description Not Found */
1793
+ 404: {
1794
+ content: {
1795
+ "application/json": components["schemas"]["ErrorEnvelope"];
1796
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1797
+ };
1798
+ };
1653
1799
  };
1654
- Operation: {
1655
- /**
1656
- * Format: int32
1657
- * @enum {integer}
1658
- */
1659
- operationType?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
1660
- path?: string | null;
1661
- op?: string | null;
1662
- from?: string | null;
1663
- value?: unknown;
1800
+ };
1801
+ /**
1802
+ * Get a contact's social profile
1803
+ * @description Get a contact's social profile
1804
+ */
1805
+ GetContactSocialProfileAsync: {
1806
+ parameters: {
1807
+ query: {
1808
+ tenantId: string;
1809
+ "api-version"?: string;
1810
+ };
1811
+ header?: {
1812
+ "x-api-version"?: string;
1813
+ };
1814
+ path: {
1815
+ contactId: string;
1816
+ };
1664
1817
  };
1665
- SimpleContactDto: {
1666
- id?: string | null;
1667
- /** Format: date-time */
1668
- timestamp?: string | null;
1669
- qualifiedName?: string | null;
1670
- tenantId?: string | null;
1671
- /**
1672
- * Format: int32
1673
- * @enum {integer}
1674
- */
1675
- type?: 0 | 1;
1676
- publicName?: string | null;
1677
- firstName?: string | null;
1678
- lastName?: string | null;
1679
- jobTitle?: string | null;
1680
- coverUrl?: string | null;
1681
- avatarUrl?: string | null;
1682
- countryId?: string | null;
1683
- timezoneId?: string | null;
1684
- languageId?: string | null;
1685
- socialProfileId?: string | null;
1686
- webUrl?: string | null;
1687
- gitHubUrl?: string | null;
1688
- twitchUrl?: string | null;
1689
- redditUrl?: string | null;
1690
- tikTokUrl?: string | null;
1691
- websiteUrl?: string | null;
1692
- twitterUrl?: string | null;
1693
- facebookUrl?: string | null;
1694
- youTubeUrl?: string | null;
1695
- linkedInUrl?: string | null;
1696
- instagramUrl?: string | null;
1697
- githubUsername?: string | null;
1818
+ responses: {
1819
+ /** @description OK */
1820
+ 200: {
1821
+ content: {
1822
+ "application/json": components["schemas"]["SocialProfileDtoEnvelope"];
1823
+ "application/xml": components["schemas"]["SocialProfileDtoEnvelope"];
1824
+ };
1825
+ };
1826
+ /** @description Unauthorized */
1827
+ 401: {
1828
+ content: {
1829
+ "application/json": components["schemas"]["ErrorEnvelope"];
1830
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1831
+ };
1832
+ };
1833
+ /** @description Forbidden */
1834
+ 403: {
1835
+ content: {
1836
+ "application/json": components["schemas"]["ErrorEnvelope"];
1837
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1838
+ };
1839
+ };
1840
+ /** @description Not Found */
1841
+ 404: {
1842
+ content: {
1843
+ "application/json": components["schemas"]["ErrorEnvelope"];
1844
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1845
+ };
1846
+ };
1698
1847
  };
1699
- SocialProfileDto: {
1700
- id?: string | null;
1701
- /** Format: date-time */
1702
- timestamp?: string | null;
1703
- name?: string | null;
1704
- about?: string | null;
1705
- cover?: string | null;
1706
- avatar?: string | null;
1707
- countryId?: string | null;
1708
- countryName?: string | null;
1709
- identityId?: string | null;
1710
- /** Format: int32 */
1711
- followsCount?: number | null;
1712
- /** Format: int32 */
1713
- messagesCount?: number | null;
1714
- /** Format: int32 */
1715
- followersCount?: number | null;
1716
- /** Format: int32 */
1717
- notificationsCount?: number | null;
1718
- /** Format: int32 */
1719
- unreadNotificationsCount?: number | null;
1720
- /** Format: int32 */
1721
- unreadMessagesCount?: number | null;
1722
- /**
1723
- * Format: int32
1724
- * @enum {integer|null}
1725
- */
1726
- type?: 0 | 1 | 2 | null;
1727
- socialFeedId?: string | null;
1728
- twitterUrl?: string | null;
1729
- facebookURL?: string | null;
1730
- linkedInURL?: string | null;
1731
- youtubeURL?: string | null;
1732
- githubURL?: string | null;
1733
- pinterestURL?: string | null;
1734
- dribbleURL?: string | null;
1735
- domain?: string | null;
1736
- notes?: string | null;
1848
+ };
1849
+ /**
1850
+ * Get individual related organizations
1851
+ * @description Get individual related organizations
1852
+ */
1853
+ GetIndividualRelatedOrganizationsAsync: {
1854
+ parameters: {
1855
+ query: {
1856
+ tenantId: string;
1857
+ "api-version"?: string;
1858
+ };
1859
+ header?: {
1860
+ "x-api-version"?: string;
1861
+ };
1862
+ path: {
1863
+ contactId: string;
1864
+ };
1737
1865
  };
1738
- SocialProfileDtoEnvelope: {
1739
- isSuccess?: boolean;
1740
- errorMessage?: string | null;
1741
- correlationId?: string | null;
1742
- /** Format: date-time */
1743
- timestamp?: string;
1744
- activityId?: string | null;
1745
- result?: components["schemas"]["SocialProfileDto"];
1866
+ responses: {
1867
+ /** @description OK */
1868
+ 200: {
1869
+ content: {
1870
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1871
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1872
+ };
1873
+ };
1874
+ /** @description Unauthorized */
1875
+ 401: {
1876
+ content: {
1877
+ "application/json": components["schemas"]["ErrorEnvelope"];
1878
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1879
+ };
1880
+ };
1881
+ /** @description Forbidden */
1882
+ 403: {
1883
+ content: {
1884
+ "application/json": components["schemas"]["ErrorEnvelope"];
1885
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1886
+ };
1887
+ };
1746
1888
  };
1747
- WalletDto: {
1748
- id?: string | null;
1749
- /** Format: date-time */
1750
- timestamp?: string;
1751
- /** Format: double */
1752
- balance?: number;
1753
- /** Format: double */
1754
- cryptoBalance?: number;
1755
- testMode?: boolean;
1756
- verified?: boolean;
1757
- type?: string | null;
1758
- currencyId?: string | null;
1759
- /** Format: double */
1760
- forexRate?: number;
1761
- /** Format: double */
1762
- balanceInUsd?: number;
1763
- /** Format: double */
1764
- mainNetEtherBalance?: number;
1765
- ethereumAddress?: string | null;
1766
- ethereumPublicKey?: string | null;
1767
- ethereumPrivateKey?: string | null;
1768
- /** Format: double */
1769
- rollingReservePercent?: number;
1889
+ };
1890
+ /**
1891
+ * Get individual related individuals
1892
+ * @description Get individual related individuals
1893
+ */
1894
+ GetIndividualRelatedIndividualsAsync: {
1895
+ parameters: {
1896
+ query: {
1897
+ tenantId: string;
1898
+ "api-version"?: string;
1899
+ };
1900
+ header?: {
1901
+ "x-api-version"?: string;
1902
+ };
1903
+ path: {
1904
+ contactId: string;
1905
+ };
1770
1906
  };
1771
- WalletDtoEnvelope: {
1772
- isSuccess?: boolean;
1773
- errorMessage?: string | null;
1774
- correlationId?: string | null;
1775
- /** Format: date-time */
1776
- timestamp?: string;
1777
- activityId?: string | null;
1778
- result?: components["schemas"]["WalletDto"];
1907
+ responses: {
1908
+ /** @description OK */
1909
+ 200: {
1910
+ content: {
1911
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1912
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1913
+ };
1914
+ };
1915
+ /** @description Unauthorized */
1916
+ 401: {
1917
+ content: {
1918
+ "application/json": components["schemas"]["ErrorEnvelope"];
1919
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1920
+ };
1921
+ };
1922
+ /** @description Forbidden */
1923
+ 403: {
1924
+ content: {
1925
+ "application/json": components["schemas"]["ErrorEnvelope"];
1926
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1927
+ };
1928
+ };
1779
1929
  };
1780
1930
  };
1781
- responses: never;
1782
- parameters: never;
1783
- requestBodies: never;
1784
- headers: never;
1785
- pathItems: never;
1786
- }
1787
-
1788
- export type $defs = Record<string, never>;
1789
-
1790
- export type external = Record<string, never>;
1791
-
1792
- export interface operations {
1793
-
1794
- GetContactAvatarAsync: {
1931
+ /**
1932
+ * Get organization related individuals
1933
+ * @description Get organization related individuals
1934
+ */
1935
+ GetOrganizationRelatedIndividualsAsync: {
1795
1936
  parameters: {
1796
1937
  query: {
1797
1938
  tenantId: string;
@@ -1808,8 +1949,127 @@ export interface operations {
1808
1949
  /** @description OK */
1809
1950
  200: {
1810
1951
  content: {
1811
- "application/json": components["schemas"]["EmptyEnvelope"];
1812
- "application/xml": components["schemas"]["EmptyEnvelope"];
1952
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1953
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1954
+ };
1955
+ };
1956
+ /** @description Unauthorized */
1957
+ 401: {
1958
+ content: {
1959
+ "application/json": components["schemas"]["ErrorEnvelope"];
1960
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1961
+ };
1962
+ };
1963
+ /** @description Forbidden */
1964
+ 403: {
1965
+ content: {
1966
+ "application/json": components["schemas"]["ErrorEnvelope"];
1967
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1968
+ };
1969
+ };
1970
+ };
1971
+ };
1972
+ /**
1973
+ * Get organization related organizations
1974
+ * @description Get organization related organizations
1975
+ */
1976
+ GetOrganizationRelatedOrganizationsAsync: {
1977
+ parameters: {
1978
+ query: {
1979
+ tenantId: string;
1980
+ "api-version"?: string;
1981
+ };
1982
+ header?: {
1983
+ "x-api-version"?: string;
1984
+ };
1985
+ path: {
1986
+ contactId: string;
1987
+ };
1988
+ };
1989
+ responses: {
1990
+ /** @description OK */
1991
+ 200: {
1992
+ content: {
1993
+ "application/json": components["schemas"]["ContactDtoListEnvelope"];
1994
+ "application/xml": components["schemas"]["ContactDtoListEnvelope"];
1995
+ };
1996
+ };
1997
+ /** @description Unauthorized */
1998
+ 401: {
1999
+ content: {
2000
+ "application/json": components["schemas"]["ErrorEnvelope"];
2001
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2002
+ };
2003
+ };
2004
+ /** @description Forbidden */
2005
+ 403: {
2006
+ content: {
2007
+ "application/json": components["schemas"]["ErrorEnvelope"];
2008
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2009
+ };
2010
+ };
2011
+ };
2012
+ };
2013
+ /**
2014
+ * Upsert a tenant onto another tenant's contact list
2015
+ * @description Upsert a tenant onto another tenant's contact list
2016
+ */
2017
+ UpsertTenantOntoAnotherTenantContactListAsync: {
2018
+ parameters: {
2019
+ query: {
2020
+ tenantId: string;
2021
+ relatedTenantId: string;
2022
+ "api-version"?: string;
2023
+ };
2024
+ header?: {
2025
+ "x-api-version"?: string;
2026
+ };
2027
+ };
2028
+ responses: {
2029
+ /** @description OK */
2030
+ 200: {
2031
+ content: {
2032
+ "application/json": components["schemas"]["ContactDtoEnvelope"];
2033
+ "application/xml": components["schemas"]["ContactDtoEnvelope"];
2034
+ };
2035
+ };
2036
+ /** @description Unauthorized */
2037
+ 401: {
2038
+ content: {
2039
+ "application/json": components["schemas"]["ErrorEnvelope"];
2040
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2041
+ };
2042
+ };
2043
+ /** @description Forbidden */
2044
+ 403: {
2045
+ content: {
2046
+ "application/json": components["schemas"]["ErrorEnvelope"];
2047
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2048
+ };
2049
+ };
2050
+ };
2051
+ };
2052
+ /**
2053
+ * Upsert a user onto a tenant's contact list
2054
+ * @description Upsert a user onto a tenant's contact list
2055
+ */
2056
+ UpsertUserOntoAnotherTenantContactListAsync: {
2057
+ parameters: {
2058
+ query: {
2059
+ tenantId: string;
2060
+ relatedUserId: string;
2061
+ "api-version"?: string;
2062
+ };
2063
+ header?: {
2064
+ "x-api-version"?: string;
2065
+ };
2066
+ };
2067
+ responses: {
2068
+ /** @description OK */
2069
+ 200: {
2070
+ content: {
2071
+ "application/json": components["schemas"]["ContactDtoEnvelope"];
2072
+ "application/xml": components["schemas"]["ContactDtoEnvelope"];
1813
2073
  };
1814
2074
  };
1815
2075
  /** @description Unauthorized */