@wix/crm 1.0.119 → 1.0.121

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.
@@ -137,55 +137,31 @@ interface GenerateAttachmentUploadUrlResponseNonNullableFields$1 {
137
137
  uploadUrl: string;
138
138
  uploadId: string;
139
139
  }
140
+ interface ImageNonNullableFields$1 {
141
+ id: string;
142
+ url: string;
143
+ height: number;
144
+ width: number;
145
+ }
146
+ interface DocumentNonNullableFields {
147
+ id: string;
148
+ url: string;
149
+ }
150
+ interface ContactAttachmentNonNullableFields$1 {
151
+ image?: ImageNonNullableFields$1;
152
+ document?: DocumentNonNullableFields;
153
+ id: string;
154
+ previewImage?: ImageNonNullableFields$1;
155
+ fileName: string;
156
+ mimeType: string;
157
+ attachmentType: AttachmentType$1;
158
+ mediaPath: string;
159
+ }
140
160
  interface ListAttachmentsResponseNonNullableFields$1 {
141
- attachments: {
142
- image?: {
143
- id: string;
144
- url: string;
145
- height: number;
146
- width: number;
147
- };
148
- document?: {
149
- id: string;
150
- url: string;
151
- };
152
- id: string;
153
- previewImage?: {
154
- id: string;
155
- url: string;
156
- height: number;
157
- width: number;
158
- };
159
- fileName: string;
160
- mimeType: string;
161
- attachmentType: AttachmentType$1;
162
- mediaPath: string;
163
- }[];
161
+ attachments: ContactAttachmentNonNullableFields$1[];
164
162
  }
165
163
  interface GetAttachmentResponseNonNullableFields$1 {
166
- attachment?: {
167
- image?: {
168
- id: string;
169
- url: string;
170
- height: number;
171
- width: number;
172
- };
173
- document?: {
174
- id: string;
175
- url: string;
176
- };
177
- id: string;
178
- previewImage?: {
179
- id: string;
180
- url: string;
181
- height: number;
182
- width: number;
183
- };
184
- fileName: string;
185
- mimeType: string;
186
- attachmentType: AttachmentType$1;
187
- mediaPath: string;
188
- };
164
+ attachment?: ContactAttachmentNonNullableFields$1;
189
165
  }
190
166
 
191
167
  interface ContactAttachment extends ContactAttachmentMediaOneOf {
@@ -291,28 +267,23 @@ interface GetAttachmentResponse {
291
267
  }
292
268
  interface GenerateAttachmentUploadUrlResponseNonNullableFields {
293
269
  uploadUrl: string;
270
+ uploadId: string;
271
+ }
272
+ interface ContactAttachmentNonNullableFields {
273
+ image: string;
274
+ document: string;
275
+ _id: string;
276
+ previewImage: string;
277
+ fileName: string;
278
+ mimeType: string;
279
+ attachmentType: AttachmentType;
280
+ mediaPath: string;
294
281
  }
295
282
  interface ListAttachmentsResponseNonNullableFields {
296
- attachments: {
297
- image: string;
298
- document: string;
299
- _id: string;
300
- previewImage: string;
301
- fileName: string;
302
- mimeType: string;
303
- attachmentType: AttachmentType;
304
- }[];
283
+ attachments: ContactAttachmentNonNullableFields[];
305
284
  }
306
285
  interface GetAttachmentResponseNonNullableFields {
307
- attachment?: {
308
- image: string;
309
- document: string;
310
- _id: string;
311
- previewImage: string;
312
- fileName: string;
313
- mimeType: string;
314
- attachmentType: AttachmentType;
315
- };
286
+ attachment?: ContactAttachmentNonNullableFields;
316
287
  }
317
288
 
318
289
  type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -797,21 +768,21 @@ interface ContactPicture$3 {
797
768
  */
798
769
  image?: Image$1;
799
770
  }
800
- declare enum ImageProvider {
771
+ declare enum ImageProvider$1 {
801
772
  UNKNOWN = "UNKNOWN",
802
773
  /** Image stored outside Wix */
803
774
  EXTERNAL = "EXTERNAL",
804
775
  /** Stored in wix media platform, Must be uploaded by using `GeneratePictureUploadUrl` */
805
776
  WIX_MEDIA = "WIX_MEDIA"
806
777
  }
807
- declare enum SubscriptionStatus {
778
+ declare enum SubscriptionStatus$1 {
808
779
  NO_SUBSCRIPTION_STATUS = "NO_SUBSCRIPTION_STATUS",
809
780
  NOT_SET = "NOT_SET",
810
781
  PENDING = "PENDING",
811
782
  SUBSCRIBED = "SUBSCRIBED",
812
783
  UNSUBSCRIBED = "UNSUBSCRIBED"
813
784
  }
814
- declare enum EmailDeliverabilityStatus {
785
+ declare enum EmailDeliverabilityStatus$1 {
815
786
  UNKNOWN_EMAIL_DELIVERABILITY_STATUS = "UNKNOWN_EMAIL_DELIVERABILITY_STATUS",
816
787
  NOT_SET = "NOT_SET",
817
788
  VALID = "VALID",
@@ -819,11 +790,11 @@ declare enum EmailDeliverabilityStatus {
819
790
  SPAM_COMPLAINT = "SPAM_COMPLAINT",
820
791
  INACTIVE = "INACTIVE"
821
792
  }
822
- declare enum PhoneDeliverabilityStatus {
793
+ declare enum PhoneDeliverabilityStatus$1 {
823
794
  NO_PHONE_DELIVERABILITY_STATUS = "NO_PHONE_DELIVERABILITY_STATUS",
824
795
  NOT_SET = "NOT_SET"
825
796
  }
826
- declare enum MemberStatus {
797
+ declare enum MemberStatus$1 {
827
798
  UNKNOWN_MEMBER_STATUS = "UNKNOWN_MEMBER_STATUS",
828
799
  PENDING = "PENDING",
829
800
  ACTIVE = "ACTIVE",
@@ -831,12 +802,12 @@ declare enum MemberStatus {
831
802
  BLOCKED = "BLOCKED",
832
803
  OFFLINE = "OFFLINE"
833
804
  }
834
- declare enum PrivacyStatus {
805
+ declare enum PrivacyStatus$1 {
835
806
  UNKNOWN_PRIVACY_STATUS = "UNKNOWN_PRIVACY_STATUS",
836
807
  PRIVATE = "PRIVATE",
837
808
  PUBLIC = "PUBLIC"
838
809
  }
839
- declare enum Role {
810
+ declare enum Role$1 {
840
811
  UNSPECIFIED_ROLE = "UNSPECIFIED_ROLE",
841
812
  OWNER = "OWNER",
842
813
  CONTRIBUTOR = "CONTRIBUTOR"
@@ -1120,705 +1091,139 @@ declare enum GetContactResponseType$1 {
1120
1091
  /** Contact was merged into another contact */
1121
1092
  MERGED = "MERGED"
1122
1093
  }
1094
+ interface ContactSourceNonNullableFields$1 {
1095
+ sourceType: ContactSourceType$1;
1096
+ }
1097
+ interface ContactActivityNonNullableFields$1 {
1098
+ activityType: ContactActivityType$1;
1099
+ }
1100
+ interface ImageNonNullableFields {
1101
+ id: string;
1102
+ url: string;
1103
+ height: number;
1104
+ width: number;
1105
+ }
1106
+ interface ContactEmailNonNullableFields$1 {
1107
+ tag: EmailTag$3;
1108
+ email: string;
1109
+ }
1110
+ interface ContactEmailsWrapperNonNullableFields$1 {
1111
+ items: ContactEmailNonNullableFields$1[];
1112
+ }
1113
+ interface ContactPhoneNonNullableFields$1 {
1114
+ tag: PhoneTag$3;
1115
+ phone: string;
1116
+ }
1117
+ interface ContactPhonesWrapperNonNullableFields$1 {
1118
+ items: ContactPhoneNonNullableFields$1[];
1119
+ }
1120
+ interface StreetAddressNonNullableFields$1 {
1121
+ number: string;
1122
+ name: string;
1123
+ apt: string;
1124
+ }
1125
+ interface SubdivisionNonNullableFields {
1126
+ code: string;
1127
+ name: string;
1128
+ type: SubdivisionType;
1129
+ }
1130
+ interface AddressNonNullableFields$1 {
1131
+ streetAddress?: StreetAddressNonNullableFields$1;
1132
+ subdivisions: SubdivisionNonNullableFields[];
1133
+ }
1134
+ interface ContactAddressNonNullableFields$1 {
1135
+ tag: AddressTag$3;
1136
+ address?: AddressNonNullableFields$1;
1137
+ }
1138
+ interface ContactAddressesWrapperNonNullableFields$1 {
1139
+ items: ContactAddressNonNullableFields$1[];
1140
+ }
1141
+ interface AssigneesWrapperNonNullableFields$1 {
1142
+ items: string[];
1143
+ }
1144
+ interface LabelsWrapperNonNullableFields$1 {
1145
+ items: string[];
1146
+ }
1147
+ interface LocationsWrapperNonNullableFields$1 {
1148
+ items: string[];
1149
+ }
1150
+ interface ContactPictureNonNullableFields$1 {
1151
+ image?: ImageNonNullableFields;
1152
+ imageProvider: ImageProvider$1;
1153
+ }
1154
+ interface ContactInfoNonNullableFields$1 {
1155
+ emails?: ContactEmailsWrapperNonNullableFields$1;
1156
+ phones?: ContactPhonesWrapperNonNullableFields$1;
1157
+ addresses?: ContactAddressesWrapperNonNullableFields$1;
1158
+ assignedUserIds?: AssigneesWrapperNonNullableFields$1;
1159
+ labelKeys?: LabelsWrapperNonNullableFields$1;
1160
+ locations?: LocationsWrapperNonNullableFields$1;
1161
+ picture?: ContactPictureNonNullableFields$1;
1162
+ }
1163
+ interface SegmentsWrapperNonNullableFields$1 {
1164
+ items: string[];
1165
+ }
1166
+ interface PrimaryEmailNonNullableFields$1 {
1167
+ subscriptionStatus: SubscriptionStatus$1;
1168
+ deliverabilityStatus: EmailDeliverabilityStatus$1;
1169
+ }
1170
+ interface PrimaryPhoneNonNullableFields$1 {
1171
+ subscriptionStatus: SubscriptionStatus$1;
1172
+ deliverabilityStatus: PhoneDeliverabilityStatus$1;
1173
+ }
1174
+ interface ProfileInfoNonNullableFields$1 {
1175
+ privacyStatus: PrivacyStatus$1;
1176
+ photo?: ImageNonNullableFields;
1177
+ }
1178
+ interface UserInfoNonNullableFields$1 {
1179
+ userId: string;
1180
+ role: Role$1;
1181
+ }
1182
+ interface SessionInfoNonNullableFields$1 {
1183
+ mobileAppNames: string[];
1184
+ }
1185
+ interface GroupInfoNonNullableFields$1 {
1186
+ groupIds: string[];
1187
+ }
1188
+ interface MemberInfoNonNullableFields$1 {
1189
+ status: MemberStatus$1;
1190
+ profileInfo?: ProfileInfoNonNullableFields$1;
1191
+ userInfo?: UserInfoNonNullableFields$1;
1192
+ sessionInfo?: SessionInfoNonNullableFields$1;
1193
+ groupInfo?: GroupInfoNonNullableFields$1;
1194
+ }
1195
+ interface ContactNonNullableFields$1 {
1196
+ id: string;
1197
+ revision: number;
1198
+ source?: ContactSourceNonNullableFields$1;
1199
+ lastActivity?: ContactActivityNonNullableFields$1;
1200
+ picture?: ImageNonNullableFields;
1201
+ info?: ContactInfoNonNullableFields$1;
1202
+ segments?: SegmentsWrapperNonNullableFields$1;
1203
+ primaryEmail?: PrimaryEmailNonNullableFields$1;
1204
+ primaryPhone?: PrimaryPhoneNonNullableFields$1;
1205
+ memberInfo?: MemberInfoNonNullableFields$1;
1206
+ }
1123
1207
  interface CreateContactResponseNonNullableFields$1 {
1124
- contact?: {
1125
- id: string;
1126
- revision: number;
1127
- source?: {
1128
- sourceType: ContactSourceType$1;
1129
- };
1130
- lastActivity?: {
1131
- activityType: ContactActivityType$1;
1132
- };
1133
- picture?: {
1134
- id: string;
1135
- url: string;
1136
- height: number;
1137
- width: number;
1138
- };
1139
- info?: {
1140
- emails?: {
1141
- items: {
1142
- tag: EmailTag$3;
1143
- email: string;
1144
- }[];
1145
- };
1146
- phones?: {
1147
- items: {
1148
- tag: PhoneTag$3;
1149
- phone: string;
1150
- }[];
1151
- };
1152
- addresses?: {
1153
- items: {
1154
- tag: AddressTag$3;
1155
- address?: {
1156
- streetAddress?: {
1157
- number: string;
1158
- name: string;
1159
- apt: string;
1160
- };
1161
- subdivisions: {
1162
- code: string;
1163
- name: string;
1164
- type: SubdivisionType;
1165
- }[];
1166
- };
1167
- }[];
1168
- };
1169
- assignedUserIds?: {
1170
- items: string[];
1171
- };
1172
- labelKeys?: {
1173
- items: string[];
1174
- };
1175
- locations?: {
1176
- items: string[];
1177
- };
1178
- picture?: {
1179
- image?: {
1180
- id: string;
1181
- url: string;
1182
- height: number;
1183
- width: number;
1184
- };
1185
- imageProvider: ImageProvider;
1186
- };
1187
- };
1188
- segments?: {
1189
- items: string[];
1190
- };
1191
- primaryEmail?: {
1192
- subscriptionStatus: SubscriptionStatus;
1193
- deliverabilityStatus: EmailDeliverabilityStatus;
1194
- };
1195
- primaryPhone?: {
1196
- subscriptionStatus: SubscriptionStatus;
1197
- deliverabilityStatus: PhoneDeliverabilityStatus;
1198
- };
1199
- memberInfo?: {
1200
- status: MemberStatus;
1201
- profileInfo?: {
1202
- privacyStatus: PrivacyStatus;
1203
- photo?: {
1204
- id: string;
1205
- url: string;
1206
- height: number;
1207
- width: number;
1208
- };
1209
- };
1210
- userInfo?: {
1211
- userId: string;
1212
- role: Role;
1213
- };
1214
- sessionInfo?: {
1215
- mobileAppNames: string[];
1216
- };
1217
- groupInfo?: {
1218
- groupIds: string[];
1219
- };
1220
- };
1221
- };
1208
+ contact?: ContactNonNullableFields$1;
1222
1209
  }
1223
1210
  interface UpdateContactResponseNonNullableFields$1 {
1224
- contact?: {
1225
- id: string;
1226
- revision: number;
1227
- source?: {
1228
- sourceType: ContactSourceType$1;
1229
- };
1230
- lastActivity?: {
1231
- activityType: ContactActivityType$1;
1232
- };
1233
- picture?: {
1234
- id: string;
1235
- url: string;
1236
- height: number;
1237
- width: number;
1238
- };
1239
- info?: {
1240
- emails?: {
1241
- items: {
1242
- tag: EmailTag$3;
1243
- email: string;
1244
- }[];
1245
- };
1246
- phones?: {
1247
- items: {
1248
- tag: PhoneTag$3;
1249
- phone: string;
1250
- }[];
1251
- };
1252
- addresses?: {
1253
- items: {
1254
- tag: AddressTag$3;
1255
- address?: {
1256
- streetAddress?: {
1257
- number: string;
1258
- name: string;
1259
- apt: string;
1260
- };
1261
- subdivisions: {
1262
- code: string;
1263
- name: string;
1264
- type: SubdivisionType;
1265
- }[];
1266
- };
1267
- }[];
1268
- };
1269
- assignedUserIds?: {
1270
- items: string[];
1271
- };
1272
- labelKeys?: {
1273
- items: string[];
1274
- };
1275
- locations?: {
1276
- items: string[];
1277
- };
1278
- picture?: {
1279
- image?: {
1280
- id: string;
1281
- url: string;
1282
- height: number;
1283
- width: number;
1284
- };
1285
- imageProvider: ImageProvider;
1286
- };
1287
- };
1288
- segments?: {
1289
- items: string[];
1290
- };
1291
- primaryEmail?: {
1292
- subscriptionStatus: SubscriptionStatus;
1293
- deliverabilityStatus: EmailDeliverabilityStatus;
1294
- };
1295
- primaryPhone?: {
1296
- subscriptionStatus: SubscriptionStatus;
1297
- deliverabilityStatus: PhoneDeliverabilityStatus;
1298
- };
1299
- memberInfo?: {
1300
- status: MemberStatus;
1301
- profileInfo?: {
1302
- privacyStatus: PrivacyStatus;
1303
- photo?: {
1304
- id: string;
1305
- url: string;
1306
- height: number;
1307
- width: number;
1308
- };
1309
- };
1310
- userInfo?: {
1311
- userId: string;
1312
- role: Role;
1313
- };
1314
- sessionInfo?: {
1315
- mobileAppNames: string[];
1316
- };
1317
- groupInfo?: {
1318
- groupIds: string[];
1319
- };
1320
- };
1321
- };
1211
+ contact?: ContactNonNullableFields$1;
1322
1212
  }
1323
1213
  interface MergeContactsResponseNonNullableFields$1 {
1324
- contact?: {
1325
- id: string;
1326
- revision: number;
1327
- source?: {
1328
- sourceType: ContactSourceType$1;
1329
- };
1330
- lastActivity?: {
1331
- activityType: ContactActivityType$1;
1332
- };
1333
- picture?: {
1334
- id: string;
1335
- url: string;
1336
- height: number;
1337
- width: number;
1338
- };
1339
- info?: {
1340
- emails?: {
1341
- items: {
1342
- tag: EmailTag$3;
1343
- email: string;
1344
- }[];
1345
- };
1346
- phones?: {
1347
- items: {
1348
- tag: PhoneTag$3;
1349
- phone: string;
1350
- }[];
1351
- };
1352
- addresses?: {
1353
- items: {
1354
- tag: AddressTag$3;
1355
- address?: {
1356
- streetAddress?: {
1357
- number: string;
1358
- name: string;
1359
- apt: string;
1360
- };
1361
- subdivisions: {
1362
- code: string;
1363
- name: string;
1364
- type: SubdivisionType;
1365
- }[];
1366
- };
1367
- }[];
1368
- };
1369
- assignedUserIds?: {
1370
- items: string[];
1371
- };
1372
- labelKeys?: {
1373
- items: string[];
1374
- };
1375
- locations?: {
1376
- items: string[];
1377
- };
1378
- picture?: {
1379
- image?: {
1380
- id: string;
1381
- url: string;
1382
- height: number;
1383
- width: number;
1384
- };
1385
- imageProvider: ImageProvider;
1386
- };
1387
- };
1388
- segments?: {
1389
- items: string[];
1390
- };
1391
- primaryEmail?: {
1392
- subscriptionStatus: SubscriptionStatus;
1393
- deliverabilityStatus: EmailDeliverabilityStatus;
1394
- };
1395
- primaryPhone?: {
1396
- subscriptionStatus: SubscriptionStatus;
1397
- deliverabilityStatus: PhoneDeliverabilityStatus;
1398
- };
1399
- memberInfo?: {
1400
- status: MemberStatus;
1401
- profileInfo?: {
1402
- privacyStatus: PrivacyStatus;
1403
- photo?: {
1404
- id: string;
1405
- url: string;
1406
- height: number;
1407
- width: number;
1408
- };
1409
- };
1410
- userInfo?: {
1411
- userId: string;
1412
- role: Role;
1413
- };
1414
- sessionInfo?: {
1415
- mobileAppNames: string[];
1416
- };
1417
- groupInfo?: {
1418
- groupIds: string[];
1419
- };
1420
- };
1421
- };
1214
+ contact?: ContactNonNullableFields$1;
1422
1215
  }
1423
1216
  interface LabelContactResponseNonNullableFields$1 {
1424
- contact?: {
1425
- id: string;
1426
- revision: number;
1427
- source?: {
1428
- sourceType: ContactSourceType$1;
1429
- };
1430
- lastActivity?: {
1431
- activityType: ContactActivityType$1;
1432
- };
1433
- picture?: {
1434
- id: string;
1435
- url: string;
1436
- height: number;
1437
- width: number;
1438
- };
1439
- info?: {
1440
- emails?: {
1441
- items: {
1442
- tag: EmailTag$3;
1443
- email: string;
1444
- }[];
1445
- };
1446
- phones?: {
1447
- items: {
1448
- tag: PhoneTag$3;
1449
- phone: string;
1450
- }[];
1451
- };
1452
- addresses?: {
1453
- items: {
1454
- tag: AddressTag$3;
1455
- address?: {
1456
- streetAddress?: {
1457
- number: string;
1458
- name: string;
1459
- apt: string;
1460
- };
1461
- subdivisions: {
1462
- code: string;
1463
- name: string;
1464
- type: SubdivisionType;
1465
- }[];
1466
- };
1467
- }[];
1468
- };
1469
- assignedUserIds?: {
1470
- items: string[];
1471
- };
1472
- labelKeys?: {
1473
- items: string[];
1474
- };
1475
- locations?: {
1476
- items: string[];
1477
- };
1478
- picture?: {
1479
- image?: {
1480
- id: string;
1481
- url: string;
1482
- height: number;
1483
- width: number;
1484
- };
1485
- imageProvider: ImageProvider;
1486
- };
1487
- };
1488
- segments?: {
1489
- items: string[];
1490
- };
1491
- primaryEmail?: {
1492
- subscriptionStatus: SubscriptionStatus;
1493
- deliverabilityStatus: EmailDeliverabilityStatus;
1494
- };
1495
- primaryPhone?: {
1496
- subscriptionStatus: SubscriptionStatus;
1497
- deliverabilityStatus: PhoneDeliverabilityStatus;
1498
- };
1499
- memberInfo?: {
1500
- status: MemberStatus;
1501
- profileInfo?: {
1502
- privacyStatus: PrivacyStatus;
1503
- photo?: {
1504
- id: string;
1505
- url: string;
1506
- height: number;
1507
- width: number;
1508
- };
1509
- };
1510
- userInfo?: {
1511
- userId: string;
1512
- role: Role;
1513
- };
1514
- sessionInfo?: {
1515
- mobileAppNames: string[];
1516
- };
1517
- groupInfo?: {
1518
- groupIds: string[];
1519
- };
1520
- };
1521
- };
1217
+ contact?: ContactNonNullableFields$1;
1522
1218
  }
1523
1219
  interface UnlabelContactResponseNonNullableFields$1 {
1524
- contact?: {
1525
- id: string;
1526
- revision: number;
1527
- source?: {
1528
- sourceType: ContactSourceType$1;
1529
- };
1530
- lastActivity?: {
1531
- activityType: ContactActivityType$1;
1532
- };
1533
- picture?: {
1534
- id: string;
1535
- url: string;
1536
- height: number;
1537
- width: number;
1538
- };
1539
- info?: {
1540
- emails?: {
1541
- items: {
1542
- tag: EmailTag$3;
1543
- email: string;
1544
- }[];
1545
- };
1546
- phones?: {
1547
- items: {
1548
- tag: PhoneTag$3;
1549
- phone: string;
1550
- }[];
1551
- };
1552
- addresses?: {
1553
- items: {
1554
- tag: AddressTag$3;
1555
- address?: {
1556
- streetAddress?: {
1557
- number: string;
1558
- name: string;
1559
- apt: string;
1560
- };
1561
- subdivisions: {
1562
- code: string;
1563
- name: string;
1564
- type: SubdivisionType;
1565
- }[];
1566
- };
1567
- }[];
1568
- };
1569
- assignedUserIds?: {
1570
- items: string[];
1571
- };
1572
- labelKeys?: {
1573
- items: string[];
1574
- };
1575
- locations?: {
1576
- items: string[];
1577
- };
1578
- picture?: {
1579
- image?: {
1580
- id: string;
1581
- url: string;
1582
- height: number;
1583
- width: number;
1584
- };
1585
- imageProvider: ImageProvider;
1586
- };
1587
- };
1588
- segments?: {
1589
- items: string[];
1590
- };
1591
- primaryEmail?: {
1592
- subscriptionStatus: SubscriptionStatus;
1593
- deliverabilityStatus: EmailDeliverabilityStatus;
1594
- };
1595
- primaryPhone?: {
1596
- subscriptionStatus: SubscriptionStatus;
1597
- deliverabilityStatus: PhoneDeliverabilityStatus;
1598
- };
1599
- memberInfo?: {
1600
- status: MemberStatus;
1601
- profileInfo?: {
1602
- privacyStatus: PrivacyStatus;
1603
- photo?: {
1604
- id: string;
1605
- url: string;
1606
- height: number;
1607
- width: number;
1608
- };
1609
- };
1610
- userInfo?: {
1611
- userId: string;
1612
- role: Role;
1613
- };
1614
- sessionInfo?: {
1615
- mobileAppNames: string[];
1616
- };
1617
- groupInfo?: {
1618
- groupIds: string[];
1619
- };
1620
- };
1621
- };
1220
+ contact?: ContactNonNullableFields$1;
1622
1221
  }
1623
1222
  interface QueryContactsResponseNonNullableFields$1 {
1624
- contacts: {
1625
- id: string;
1626
- revision: number;
1627
- source?: {
1628
- sourceType: ContactSourceType$1;
1629
- };
1630
- lastActivity?: {
1631
- activityType: ContactActivityType$1;
1632
- };
1633
- picture?: {
1634
- id: string;
1635
- url: string;
1636
- height: number;
1637
- width: number;
1638
- };
1639
- info?: {
1640
- emails?: {
1641
- items: {
1642
- tag: EmailTag$3;
1643
- email: string;
1644
- }[];
1645
- };
1646
- phones?: {
1647
- items: {
1648
- tag: PhoneTag$3;
1649
- phone: string;
1650
- }[];
1651
- };
1652
- addresses?: {
1653
- items: {
1654
- tag: AddressTag$3;
1655
- address?: {
1656
- streetAddress?: {
1657
- number: string;
1658
- name: string;
1659
- apt: string;
1660
- };
1661
- subdivisions: {
1662
- code: string;
1663
- name: string;
1664
- type: SubdivisionType;
1665
- }[];
1666
- };
1667
- }[];
1668
- };
1669
- assignedUserIds?: {
1670
- items: string[];
1671
- };
1672
- labelKeys?: {
1673
- items: string[];
1674
- };
1675
- locations?: {
1676
- items: string[];
1677
- };
1678
- picture?: {
1679
- image?: {
1680
- id: string;
1681
- url: string;
1682
- height: number;
1683
- width: number;
1684
- };
1685
- imageProvider: ImageProvider;
1686
- };
1687
- };
1688
- segments?: {
1689
- items: string[];
1690
- };
1691
- primaryEmail?: {
1692
- subscriptionStatus: SubscriptionStatus;
1693
- deliverabilityStatus: EmailDeliverabilityStatus;
1694
- };
1695
- primaryPhone?: {
1696
- subscriptionStatus: SubscriptionStatus;
1697
- deliverabilityStatus: PhoneDeliverabilityStatus;
1698
- };
1699
- memberInfo?: {
1700
- status: MemberStatus;
1701
- profileInfo?: {
1702
- privacyStatus: PrivacyStatus;
1703
- photo?: {
1704
- id: string;
1705
- url: string;
1706
- height: number;
1707
- width: number;
1708
- };
1709
- };
1710
- userInfo?: {
1711
- userId: string;
1712
- role: Role;
1713
- };
1714
- sessionInfo?: {
1715
- mobileAppNames: string[];
1716
- };
1717
- groupInfo?: {
1718
- groupIds: string[];
1719
- };
1720
- };
1721
- }[];
1223
+ contacts: ContactNonNullableFields$1[];
1722
1224
  }
1723
1225
  interface GetContactResponseNonNullableFields$1 {
1724
- contact?: {
1725
- id: string;
1726
- revision: number;
1727
- source?: {
1728
- sourceType: ContactSourceType$1;
1729
- };
1730
- lastActivity?: {
1731
- activityType: ContactActivityType$1;
1732
- };
1733
- picture?: {
1734
- id: string;
1735
- url: string;
1736
- height: number;
1737
- width: number;
1738
- };
1739
- info?: {
1740
- emails?: {
1741
- items: {
1742
- tag: EmailTag$3;
1743
- email: string;
1744
- }[];
1745
- };
1746
- phones?: {
1747
- items: {
1748
- tag: PhoneTag$3;
1749
- phone: string;
1750
- }[];
1751
- };
1752
- addresses?: {
1753
- items: {
1754
- tag: AddressTag$3;
1755
- address?: {
1756
- streetAddress?: {
1757
- number: string;
1758
- name: string;
1759
- apt: string;
1760
- };
1761
- subdivisions: {
1762
- code: string;
1763
- name: string;
1764
- type: SubdivisionType;
1765
- }[];
1766
- };
1767
- }[];
1768
- };
1769
- assignedUserIds?: {
1770
- items: string[];
1771
- };
1772
- labelKeys?: {
1773
- items: string[];
1774
- };
1775
- locations?: {
1776
- items: string[];
1777
- };
1778
- picture?: {
1779
- image?: {
1780
- id: string;
1781
- url: string;
1782
- height: number;
1783
- width: number;
1784
- };
1785
- imageProvider: ImageProvider;
1786
- };
1787
- };
1788
- segments?: {
1789
- items: string[];
1790
- };
1791
- primaryEmail?: {
1792
- subscriptionStatus: SubscriptionStatus;
1793
- deliverabilityStatus: EmailDeliverabilityStatus;
1794
- };
1795
- primaryPhone?: {
1796
- subscriptionStatus: SubscriptionStatus;
1797
- deliverabilityStatus: PhoneDeliverabilityStatus;
1798
- };
1799
- memberInfo?: {
1800
- status: MemberStatus;
1801
- profileInfo?: {
1802
- privacyStatus: PrivacyStatus;
1803
- photo?: {
1804
- id: string;
1805
- url: string;
1806
- height: number;
1807
- width: number;
1808
- };
1809
- };
1810
- userInfo?: {
1811
- userId: string;
1812
- role: Role;
1813
- };
1814
- sessionInfo?: {
1815
- mobileAppNames: string[];
1816
- };
1817
- groupInfo?: {
1818
- groupIds: string[];
1819
- };
1820
- };
1821
- };
1226
+ contact?: ContactNonNullableFields$1;
1822
1227
  responseType: GetContactResponseType$1;
1823
1228
  }
1824
1229
 
@@ -2233,6 +1638,50 @@ interface ContactPicture$2 {
2233
1638
  */
2234
1639
  image?: string;
2235
1640
  }
1641
+ declare enum ImageProvider {
1642
+ UNKNOWN = "UNKNOWN",
1643
+ /** Image stored outside Wix */
1644
+ EXTERNAL = "EXTERNAL",
1645
+ /** Stored in wix media platform, Must be uploaded by using `GeneratePictureUploadUrl` */
1646
+ WIX_MEDIA = "WIX_MEDIA"
1647
+ }
1648
+ declare enum SubscriptionStatus {
1649
+ NO_SUBSCRIPTION_STATUS = "NO_SUBSCRIPTION_STATUS",
1650
+ NOT_SET = "NOT_SET",
1651
+ PENDING = "PENDING",
1652
+ SUBSCRIBED = "SUBSCRIBED",
1653
+ UNSUBSCRIBED = "UNSUBSCRIBED"
1654
+ }
1655
+ declare enum EmailDeliverabilityStatus {
1656
+ UNKNOWN_EMAIL_DELIVERABILITY_STATUS = "UNKNOWN_EMAIL_DELIVERABILITY_STATUS",
1657
+ NOT_SET = "NOT_SET",
1658
+ VALID = "VALID",
1659
+ BOUNCED = "BOUNCED",
1660
+ SPAM_COMPLAINT = "SPAM_COMPLAINT",
1661
+ INACTIVE = "INACTIVE"
1662
+ }
1663
+ declare enum PhoneDeliverabilityStatus {
1664
+ NO_PHONE_DELIVERABILITY_STATUS = "NO_PHONE_DELIVERABILITY_STATUS",
1665
+ NOT_SET = "NOT_SET"
1666
+ }
1667
+ declare enum MemberStatus {
1668
+ UNKNOWN_MEMBER_STATUS = "UNKNOWN_MEMBER_STATUS",
1669
+ PENDING = "PENDING",
1670
+ ACTIVE = "ACTIVE",
1671
+ DELETED = "DELETED",
1672
+ BLOCKED = "BLOCKED",
1673
+ OFFLINE = "OFFLINE"
1674
+ }
1675
+ declare enum PrivacyStatus {
1676
+ UNKNOWN_PRIVACY_STATUS = "UNKNOWN_PRIVACY_STATUS",
1677
+ PRIVATE = "PRIVATE",
1678
+ PUBLIC = "PUBLIC"
1679
+ }
1680
+ declare enum Role {
1681
+ UNSPECIFIED_ROLE = "UNSPECIFIED_ROLE",
1682
+ OWNER = "OWNER",
1683
+ CONTRIBUTOR = "CONTRIBUTOR"
1684
+ }
2236
1685
  /** Contact creation options. */
2237
1686
  interface CreateContactRequest {
2238
1687
  /** Contact info. */
@@ -2502,264 +1951,127 @@ declare enum GetContactResponseType {
2502
1951
  /** Contact was merged into another contact */
2503
1952
  MERGED = "MERGED"
2504
1953
  }
1954
+ interface ContactSourceNonNullableFields {
1955
+ sourceType: ContactSourceType;
1956
+ }
1957
+ interface ContactActivityNonNullableFields {
1958
+ activityType: ContactActivityType;
1959
+ }
1960
+ interface ContactEmailNonNullableFields {
1961
+ tag: EmailTag$2;
1962
+ email: string;
1963
+ }
1964
+ interface ContactEmailsWrapperNonNullableFields {
1965
+ items: ContactEmailNonNullableFields[];
1966
+ }
1967
+ interface ContactPhoneNonNullableFields {
1968
+ tag: PhoneTag$2;
1969
+ phone: string;
1970
+ }
1971
+ interface ContactPhonesWrapperNonNullableFields {
1972
+ items: ContactPhoneNonNullableFields[];
1973
+ }
1974
+ interface StreetAddressNonNullableFields {
1975
+ number: string;
1976
+ name: string;
1977
+ apt: string;
1978
+ }
1979
+ interface AddressNonNullableFields {
1980
+ streetAddress?: StreetAddressNonNullableFields;
1981
+ }
1982
+ interface ContactAddressNonNullableFields {
1983
+ tag: AddressTag$2;
1984
+ address?: AddressNonNullableFields;
1985
+ }
1986
+ interface ContactAddressesWrapperNonNullableFields {
1987
+ items: ContactAddressNonNullableFields[];
1988
+ }
1989
+ interface AssigneesWrapperNonNullableFields {
1990
+ items: string[];
1991
+ }
1992
+ interface LabelsWrapperNonNullableFields {
1993
+ items: string[];
1994
+ }
1995
+ interface LocationsWrapperNonNullableFields {
1996
+ items: string[];
1997
+ }
1998
+ interface ContactPictureNonNullableFields {
1999
+ image: string;
2000
+ imageProvider: ImageProvider;
2001
+ }
2002
+ interface ContactInfoNonNullableFields {
2003
+ emails?: ContactEmailsWrapperNonNullableFields;
2004
+ phones?: ContactPhonesWrapperNonNullableFields;
2005
+ addresses?: ContactAddressesWrapperNonNullableFields;
2006
+ assignedUserIds?: AssigneesWrapperNonNullableFields;
2007
+ labelKeys?: LabelsWrapperNonNullableFields;
2008
+ locations?: LocationsWrapperNonNullableFields;
2009
+ picture?: ContactPictureNonNullableFields;
2010
+ }
2011
+ interface SegmentsWrapperNonNullableFields {
2012
+ items: string[];
2013
+ }
2014
+ interface PrimaryEmailNonNullableFields {
2015
+ subscriptionStatus: SubscriptionStatus;
2016
+ deliverabilityStatus: EmailDeliverabilityStatus;
2017
+ }
2018
+ interface PrimaryPhoneNonNullableFields {
2019
+ subscriptionStatus: SubscriptionStatus;
2020
+ deliverabilityStatus: PhoneDeliverabilityStatus;
2021
+ }
2022
+ interface ProfileInfoNonNullableFields {
2023
+ privacyStatus: PrivacyStatus;
2024
+ photo: string;
2025
+ }
2026
+ interface UserInfoNonNullableFields {
2027
+ userId: string;
2028
+ role: Role;
2029
+ }
2030
+ interface SessionInfoNonNullableFields {
2031
+ mobileAppNames: string[];
2032
+ }
2033
+ interface GroupInfoNonNullableFields {
2034
+ groupIds: string[];
2035
+ }
2036
+ interface MemberInfoNonNullableFields {
2037
+ status: MemberStatus;
2038
+ profileInfo?: ProfileInfoNonNullableFields;
2039
+ userInfo?: UserInfoNonNullableFields;
2040
+ sessionInfo?: SessionInfoNonNullableFields;
2041
+ groupInfo?: GroupInfoNonNullableFields;
2042
+ }
2043
+ interface ContactNonNullableFields {
2044
+ _id: string;
2045
+ revision: number;
2046
+ source?: ContactSourceNonNullableFields;
2047
+ lastActivity?: ContactActivityNonNullableFields;
2048
+ picture: string;
2049
+ info?: ContactInfoNonNullableFields;
2050
+ segments?: SegmentsWrapperNonNullableFields;
2051
+ primaryEmail?: PrimaryEmailNonNullableFields;
2052
+ primaryPhone?: PrimaryPhoneNonNullableFields;
2053
+ memberInfo?: MemberInfoNonNullableFields;
2054
+ }
2505
2055
  interface CreateContactResponseNonNullableFields {
2506
- contact?: {
2507
- _id: string;
2508
- revision: number;
2509
- source?: {
2510
- sourceType: ContactSourceType;
2511
- };
2512
- lastActivity?: {
2513
- activityType: ContactActivityType;
2514
- };
2515
- info?: {
2516
- emails?: {
2517
- items: {
2518
- tag: EmailTag$2;
2519
- email: string;
2520
- }[];
2521
- };
2522
- phones?: {
2523
- items: {
2524
- tag: PhoneTag$2;
2525
- phone: string;
2526
- }[];
2527
- };
2528
- addresses?: {
2529
- items: {
2530
- tag: AddressTag$2;
2531
- }[];
2532
- };
2533
- labelKeys?: {
2534
- items: string[];
2535
- };
2536
- picture?: {
2537
- image: string;
2538
- };
2539
- };
2540
- };
2056
+ contact?: ContactNonNullableFields;
2541
2057
  }
2542
2058
  interface UpdateContactResponseNonNullableFields {
2543
- contact?: {
2544
- _id: string;
2545
- revision: number;
2546
- source?: {
2547
- sourceType: ContactSourceType;
2548
- };
2549
- lastActivity?: {
2550
- activityType: ContactActivityType;
2551
- };
2552
- info?: {
2553
- emails?: {
2554
- items: {
2555
- tag: EmailTag$2;
2556
- email: string;
2557
- }[];
2558
- };
2559
- phones?: {
2560
- items: {
2561
- tag: PhoneTag$2;
2562
- phone: string;
2563
- }[];
2564
- };
2565
- addresses?: {
2566
- items: {
2567
- tag: AddressTag$2;
2568
- }[];
2569
- };
2570
- labelKeys?: {
2571
- items: string[];
2572
- };
2573
- picture?: {
2574
- image: string;
2575
- };
2576
- };
2577
- };
2059
+ contact?: ContactNonNullableFields;
2578
2060
  }
2579
2061
  interface MergeContactsResponseNonNullableFields {
2580
- contact?: {
2581
- _id: string;
2582
- revision: number;
2583
- source?: {
2584
- sourceType: ContactSourceType;
2585
- };
2586
- lastActivity?: {
2587
- activityType: ContactActivityType;
2588
- };
2589
- info?: {
2590
- emails?: {
2591
- items: {
2592
- tag: EmailTag$2;
2593
- email: string;
2594
- }[];
2595
- };
2596
- phones?: {
2597
- items: {
2598
- tag: PhoneTag$2;
2599
- phone: string;
2600
- }[];
2601
- };
2602
- addresses?: {
2603
- items: {
2604
- tag: AddressTag$2;
2605
- }[];
2606
- };
2607
- labelKeys?: {
2608
- items: string[];
2609
- };
2610
- picture?: {
2611
- image: string;
2612
- };
2613
- };
2614
- };
2062
+ contact?: ContactNonNullableFields;
2615
2063
  }
2616
2064
  interface LabelContactResponseNonNullableFields {
2617
- contact?: {
2618
- _id: string;
2619
- revision: number;
2620
- source?: {
2621
- sourceType: ContactSourceType;
2622
- };
2623
- lastActivity?: {
2624
- activityType: ContactActivityType;
2625
- };
2626
- info?: {
2627
- emails?: {
2628
- items: {
2629
- tag: EmailTag$2;
2630
- email: string;
2631
- }[];
2632
- };
2633
- phones?: {
2634
- items: {
2635
- tag: PhoneTag$2;
2636
- phone: string;
2637
- }[];
2638
- };
2639
- addresses?: {
2640
- items: {
2641
- tag: AddressTag$2;
2642
- }[];
2643
- };
2644
- labelKeys?: {
2645
- items: string[];
2646
- };
2647
- picture?: {
2648
- image: string;
2649
- };
2650
- };
2651
- };
2065
+ contact?: ContactNonNullableFields;
2652
2066
  }
2653
2067
  interface UnlabelContactResponseNonNullableFields {
2654
- contact?: {
2655
- _id: string;
2656
- revision: number;
2657
- source?: {
2658
- sourceType: ContactSourceType;
2659
- };
2660
- lastActivity?: {
2661
- activityType: ContactActivityType;
2662
- };
2663
- info?: {
2664
- emails?: {
2665
- items: {
2666
- tag: EmailTag$2;
2667
- email: string;
2668
- }[];
2669
- };
2670
- phones?: {
2671
- items: {
2672
- tag: PhoneTag$2;
2673
- phone: string;
2674
- }[];
2675
- };
2676
- addresses?: {
2677
- items: {
2678
- tag: AddressTag$2;
2679
- }[];
2680
- };
2681
- labelKeys?: {
2682
- items: string[];
2683
- };
2684
- picture?: {
2685
- image: string;
2686
- };
2687
- };
2688
- };
2068
+ contact?: ContactNonNullableFields;
2689
2069
  }
2690
2070
  interface QueryContactsResponseNonNullableFields {
2691
- contacts: {
2692
- _id: string;
2693
- revision: number;
2694
- source?: {
2695
- sourceType: ContactSourceType;
2696
- };
2697
- lastActivity?: {
2698
- activityType: ContactActivityType;
2699
- };
2700
- info?: {
2701
- emails?: {
2702
- items: {
2703
- tag: EmailTag$2;
2704
- email: string;
2705
- }[];
2706
- };
2707
- phones?: {
2708
- items: {
2709
- tag: PhoneTag$2;
2710
- phone: string;
2711
- }[];
2712
- };
2713
- addresses?: {
2714
- items: {
2715
- tag: AddressTag$2;
2716
- }[];
2717
- };
2718
- labelKeys?: {
2719
- items: string[];
2720
- };
2721
- picture?: {
2722
- image: string;
2723
- };
2724
- };
2725
- }[];
2071
+ contacts: ContactNonNullableFields[];
2726
2072
  }
2727
2073
  interface GetContactResponseNonNullableFields {
2728
- contact?: {
2729
- _id: string;
2730
- revision: number;
2731
- source?: {
2732
- sourceType: ContactSourceType;
2733
- };
2734
- lastActivity?: {
2735
- activityType: ContactActivityType;
2736
- };
2737
- info?: {
2738
- emails?: {
2739
- items: {
2740
- tag: EmailTag$2;
2741
- email: string;
2742
- }[];
2743
- };
2744
- phones?: {
2745
- items: {
2746
- tag: PhoneTag$2;
2747
- phone: string;
2748
- }[];
2749
- };
2750
- addresses?: {
2751
- items: {
2752
- tag: AddressTag$2;
2753
- }[];
2754
- };
2755
- labelKeys?: {
2756
- items: string[];
2757
- };
2758
- picture?: {
2759
- image: string;
2760
- };
2761
- };
2762
- };
2074
+ contact?: ContactNonNullableFields;
2763
2075
  responseType: GetContactResponseType;
2764
2076
  }
2765
2077
 
@@ -3021,38 +2333,24 @@ interface QueryExtendedFieldsResponse$1 {
3021
2333
  /** Details on the paged set of results returned. */
3022
2334
  pagingMetadata?: PagingMetadata$3;
3023
2335
  }
2336
+ interface ExtendedFieldNonNullableFields$1 {
2337
+ key: string;
2338
+ displayName: string;
2339
+ dataType: FieldDataType$1;
2340
+ fieldType: FieldType$1;
2341
+ }
3024
2342
  interface FindOrCreateExtendedFieldResponseNonNullableFields$1 {
3025
- field?: {
3026
- key: string;
3027
- displayName: string;
3028
- dataType: FieldDataType$1;
3029
- fieldType: FieldType$1;
3030
- };
2343
+ field?: ExtendedFieldNonNullableFields$1;
3031
2344
  newField: boolean;
3032
2345
  }
3033
2346
  interface GetExtendedFieldResponseNonNullableFields$1 {
3034
- field?: {
3035
- key: string;
3036
- displayName: string;
3037
- dataType: FieldDataType$1;
3038
- fieldType: FieldType$1;
3039
- };
2347
+ field?: ExtendedFieldNonNullableFields$1;
3040
2348
  }
3041
2349
  interface UpdateExtendedFieldResponseNonNullableFields$1 {
3042
- field?: {
3043
- key: string;
3044
- displayName: string;
3045
- dataType: FieldDataType$1;
3046
- fieldType: FieldType$1;
3047
- };
2350
+ field?: ExtendedFieldNonNullableFields$1;
3048
2351
  }
3049
2352
  interface QueryExtendedFieldsResponseNonNullableFields$1 {
3050
- fields: {
3051
- key: string;
3052
- displayName: string;
3053
- dataType: FieldDataType$1;
3054
- fieldType: FieldType$1;
3055
- }[];
2353
+ fields: ExtendedFieldNonNullableFields$1[];
3056
2354
  }
3057
2355
 
3058
2356
  /** Extended field that was found or created. */
@@ -3272,38 +2570,24 @@ interface QueryExtendedFieldsResponse {
3272
2570
  /** Details on the paged set of results returned. */
3273
2571
  pagingMetadata?: PagingMetadata$2;
3274
2572
  }
2573
+ interface ExtendedFieldNonNullableFields {
2574
+ key: string;
2575
+ displayName: string;
2576
+ dataType: FieldDataType;
2577
+ fieldType: FieldType;
2578
+ }
3275
2579
  interface FindOrCreateExtendedFieldResponseNonNullableFields {
3276
- field?: {
3277
- key: string;
3278
- displayName: string;
3279
- dataType: FieldDataType;
3280
- fieldType: FieldType;
3281
- };
2580
+ field?: ExtendedFieldNonNullableFields;
3282
2581
  newField: boolean;
3283
2582
  }
3284
2583
  interface GetExtendedFieldResponseNonNullableFields {
3285
- field?: {
3286
- key: string;
3287
- displayName: string;
3288
- dataType: FieldDataType;
3289
- fieldType: FieldType;
3290
- };
2584
+ field?: ExtendedFieldNonNullableFields;
3291
2585
  }
3292
2586
  interface UpdateExtendedFieldResponseNonNullableFields {
3293
- field?: {
3294
- key: string;
3295
- displayName: string;
3296
- dataType: FieldDataType;
3297
- fieldType: FieldType;
3298
- };
2587
+ field?: ExtendedFieldNonNullableFields;
3299
2588
  }
3300
2589
  interface QueryExtendedFieldsResponseNonNullableFields {
3301
- fields: {
3302
- key: string;
3303
- displayName: string;
3304
- dataType: FieldDataType;
3305
- fieldType: FieldType;
3306
- }[];
2590
+ fields: ExtendedFieldNonNullableFields[];
3307
2591
  }
3308
2592
 
3309
2593
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -3524,34 +2808,23 @@ interface QueryLabelsResponse$1 {
3524
2808
  /** Details on the paged set of results returned. */
3525
2809
  pagingMetadata?: PagingMetadata$1;
3526
2810
  }
2811
+ interface ContactLabelNonNullableFields$1 {
2812
+ key: string;
2813
+ displayName: string;
2814
+ labelType: LabelType$1;
2815
+ }
3527
2816
  interface FindOrCreateLabelResponseNonNullableFields$1 {
3528
- label?: {
3529
- key: string;
3530
- displayName: string;
3531
- labelType: LabelType$1;
3532
- };
2817
+ label?: ContactLabelNonNullableFields$1;
3533
2818
  newLabel: boolean;
3534
2819
  }
3535
2820
  interface GetLabelResponseNonNullableFields$1 {
3536
- label?: {
3537
- key: string;
3538
- displayName: string;
3539
- labelType: LabelType$1;
3540
- };
2821
+ label?: ContactLabelNonNullableFields$1;
3541
2822
  }
3542
2823
  interface UpdateLabelResponseNonNullableFields$1 {
3543
- label?: {
3544
- key: string;
3545
- displayName: string;
3546
- labelType: LabelType$1;
3547
- };
2824
+ label?: ContactLabelNonNullableFields$1;
3548
2825
  }
3549
2826
  interface QueryLabelsResponseNonNullableFields$1 {
3550
- labels: {
3551
- key: string;
3552
- displayName: string;
3553
- labelType: LabelType$1;
3554
- }[];
2827
+ labels: ContactLabelNonNullableFields$1[];
3555
2828
  }
3556
2829
 
3557
2830
  /** Label that was found or created. */
@@ -3741,34 +3014,23 @@ interface QueryLabelsResponse {
3741
3014
  /** Details on the paged set of results returned. */
3742
3015
  pagingMetadata?: PagingMetadata;
3743
3016
  }
3017
+ interface ContactLabelNonNullableFields {
3018
+ key: string;
3019
+ displayName: string;
3020
+ labelType: LabelType;
3021
+ }
3744
3022
  interface FindOrCreateLabelResponseNonNullableFields {
3745
- label?: {
3746
- key: string;
3747
- displayName: string;
3748
- labelType: LabelType;
3749
- };
3023
+ label?: ContactLabelNonNullableFields;
3750
3024
  newLabel: boolean;
3751
3025
  }
3752
3026
  interface GetLabelResponseNonNullableFields {
3753
- label?: {
3754
- key: string;
3755
- displayName: string;
3756
- labelType: LabelType;
3757
- };
3027
+ label?: ContactLabelNonNullableFields;
3758
3028
  }
3759
3029
  interface UpdateLabelResponseNonNullableFields {
3760
- label?: {
3761
- key: string;
3762
- displayName: string;
3763
- labelType: LabelType;
3764
- };
3030
+ label?: ContactLabelNonNullableFields;
3765
3031
  }
3766
3032
  interface QueryLabelsResponseNonNullableFields {
3767
- labels: {
3768
- key: string;
3769
- displayName: string;
3770
- labelType: LabelType;
3771
- }[];
3033
+ labels: ContactLabelNonNullableFields[];
3772
3034
  }
3773
3035
 
3774
3036
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -4636,37 +3898,24 @@ interface MoveTaskAfterRequest$1 {
4636
3898
  }
4637
3899
  interface MoveTaskAfterResponse$1 {
4638
3900
  }
3901
+ interface TaskSourceNonNullableFields$1 {
3902
+ sourceType: SourceType$1;
3903
+ }
3904
+ interface TaskNonNullableFields$1 {
3905
+ status: TaskStatus$1;
3906
+ source?: TaskSourceNonNullableFields$1;
3907
+ }
4639
3908
  interface CreateTaskResponseNonNullableFields$1 {
4640
- task?: {
4641
- status: TaskStatus$1;
4642
- source?: {
4643
- sourceType: SourceType$1;
4644
- };
4645
- };
3909
+ task?: TaskNonNullableFields$1;
4646
3910
  }
4647
3911
  interface GetTaskResponseNonNullableFields$1 {
4648
- task?: {
4649
- status: TaskStatus$1;
4650
- source?: {
4651
- sourceType: SourceType$1;
4652
- };
4653
- };
3912
+ task?: TaskNonNullableFields$1;
4654
3913
  }
4655
3914
  interface UpdateTaskResponseNonNullableFields$1 {
4656
- task?: {
4657
- status: TaskStatus$1;
4658
- source?: {
4659
- sourceType: SourceType$1;
4660
- };
4661
- };
3915
+ task?: TaskNonNullableFields$1;
4662
3916
  }
4663
3917
  interface QueryTasksResponseNonNullableFields$1 {
4664
- tasks: {
4665
- status: TaskStatus$1;
4666
- source?: {
4667
- sourceType: SourceType$1;
4668
- };
4669
- }[];
3918
+ tasks: TaskNonNullableFields$1[];
4670
3919
  }
4671
3920
  interface CountTasksResponseNonNullableFields$1 {
4672
3921
  count: number;
@@ -4900,37 +4149,24 @@ interface MoveTaskAfterRequest {
4900
4149
  }
4901
4150
  interface MoveTaskAfterResponse {
4902
4151
  }
4152
+ interface TaskSourceNonNullableFields {
4153
+ sourceType: SourceType;
4154
+ }
4155
+ interface TaskNonNullableFields {
4156
+ status: TaskStatus;
4157
+ source?: TaskSourceNonNullableFields;
4158
+ }
4903
4159
  interface CreateTaskResponseNonNullableFields {
4904
- task?: {
4905
- status: TaskStatus;
4906
- source?: {
4907
- sourceType: SourceType;
4908
- };
4909
- };
4160
+ task?: TaskNonNullableFields;
4910
4161
  }
4911
4162
  interface GetTaskResponseNonNullableFields {
4912
- task?: {
4913
- status: TaskStatus;
4914
- source?: {
4915
- sourceType: SourceType;
4916
- };
4917
- };
4163
+ task?: TaskNonNullableFields;
4918
4164
  }
4919
4165
  interface UpdateTaskResponseNonNullableFields {
4920
- task?: {
4921
- status: TaskStatus;
4922
- source?: {
4923
- sourceType: SourceType;
4924
- };
4925
- };
4166
+ task?: TaskNonNullableFields;
4926
4167
  }
4927
4168
  interface QueryTasksResponseNonNullableFields {
4928
- tasks: {
4929
- status: TaskStatus;
4930
- source?: {
4931
- sourceType: SourceType;
4932
- };
4933
- }[];
4169
+ tasks: TaskNonNullableFields[];
4934
4170
  }
4935
4171
  interface CountTasksResponseNonNullableFields {
4936
4172
  count: number;