@proveanything/smartlinks 2.1.20 → 2.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminCardsView.d.ts +1 -1
- package/dist/adminCardsView.js +70 -55
- package/dist/api/appObjects.d.ts +26 -0
- package/dist/api/appObjects.js +31 -1
- package/dist/api/conditions.d.ts +51 -0
- package/dist/api/conditions.js +57 -0
- package/dist/api/contact.d.ts +83 -1
- package/dist/api/contact.js +104 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/products.d.ts +22 -0
- package/dist/api/products.js +29 -0
- package/dist/api/proof.d.ts +30 -0
- package/dist/api/proof.js +37 -0
- package/dist/api/realtime.d.ts +19 -0
- package/dist/api/realtime.js +26 -1
- package/dist/docs/API_SUMMARY.md +396 -170
- package/dist/docs/admin-cards.md +1 -1
- package/dist/docs/app-manifest.md +19 -0
- package/dist/docs/assistant-apps.md +4 -0
- package/dist/docs/assistant-context.md +119 -0
- package/dist/docs/realtime.md +20 -0
- package/dist/docs/standard-query.md +187 -0
- package/dist/docs/utils.md +22 -8
- package/dist/index.d.ts +2 -0
- package/dist/index.js +0 -1
- package/dist/openapi.yaml +675 -0
- package/dist/types/adminCards.d.ts +2 -1
- package/dist/types/appManifest.d.ts +64 -1
- package/dist/types/contact.d.ts +55 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/query.d.ts +121 -0
- package/dist/types/query.js +5 -0
- package/dist/types/realtime.d.ts +7 -1
- package/dist/utils/conditions.d.ts +1 -1
- package/dist/utils/conditions.js +21 -6
- package/docs/API_SUMMARY.md +396 -170
- package/docs/admin-cards.md +1 -1
- package/docs/app-manifest.md +19 -0
- package/docs/assistant-apps.md +4 -0
- package/docs/assistant-context.md +119 -0
- package/docs/realtime.md +20 -0
- package/docs/standard-query.md +187 -0
- package/docs/utils.md +22 -8
- package/openapi.yaml +675 -0
- package/package.json +1 -1
package/dist/openapi.yaml
CHANGED
|
@@ -70,6 +70,8 @@ tags:
|
|
|
70
70
|
description: Collection (tenant) configuration and resources.
|
|
71
71
|
- name: comms
|
|
72
72
|
description: Communications preferences, consent and delivery.
|
|
73
|
+
- name: conditions
|
|
74
|
+
description: conditions API
|
|
73
75
|
- name: config
|
|
74
76
|
description: Proof-type and platform configuration.
|
|
75
77
|
- name: contact
|
|
@@ -3223,6 +3225,70 @@ paths:
|
|
|
3223
3225
|
application/json:
|
|
3224
3226
|
schema:
|
|
3225
3227
|
$ref: "#/components/schemas/ContactCreateRequest"
|
|
3228
|
+
/admin/collection/{collectionId}/contacts/duplicates:
|
|
3229
|
+
get:
|
|
3230
|
+
tags:
|
|
3231
|
+
- contact
|
|
3232
|
+
summary: "Admin: pairs of contacts that look like one person."
|
|
3233
|
+
operationId: contact_findDuplicates
|
|
3234
|
+
security:
|
|
3235
|
+
- bearerAuth: []
|
|
3236
|
+
parameters:
|
|
3237
|
+
- name: collectionId
|
|
3238
|
+
in: path
|
|
3239
|
+
required: true
|
|
3240
|
+
schema:
|
|
3241
|
+
type: string
|
|
3242
|
+
- name: limit
|
|
3243
|
+
in: query
|
|
3244
|
+
required: false
|
|
3245
|
+
schema:
|
|
3246
|
+
type: string
|
|
3247
|
+
- name: offset
|
|
3248
|
+
in: query
|
|
3249
|
+
required: false
|
|
3250
|
+
schema:
|
|
3251
|
+
type: string
|
|
3252
|
+
responses:
|
|
3253
|
+
200:
|
|
3254
|
+
description: Success
|
|
3255
|
+
content:
|
|
3256
|
+
application/json:
|
|
3257
|
+
schema:
|
|
3258
|
+
$ref: "#/components/schemas/ContactDuplicatesResponse"
|
|
3259
|
+
400:
|
|
3260
|
+
description: Bad request
|
|
3261
|
+
401:
|
|
3262
|
+
description: Unauthorized
|
|
3263
|
+
404:
|
|
3264
|
+
description: Not found
|
|
3265
|
+
/admin/collection/{collectionId}/contacts/link-login:
|
|
3266
|
+
post:
|
|
3267
|
+
tags:
|
|
3268
|
+
- contact
|
|
3269
|
+
summary: "Admin: the contact that carries a sign-in, attaching the sign-in first to the contact that already holds its verified email or phone."
|
|
3270
|
+
operationId: contact_linkLogin
|
|
3271
|
+
security:
|
|
3272
|
+
- bearerAuth: []
|
|
3273
|
+
parameters:
|
|
3274
|
+
- name: collectionId
|
|
3275
|
+
in: path
|
|
3276
|
+
required: true
|
|
3277
|
+
schema:
|
|
3278
|
+
type: string
|
|
3279
|
+
responses:
|
|
3280
|
+
200:
|
|
3281
|
+
description: Success
|
|
3282
|
+
content:
|
|
3283
|
+
application/json:
|
|
3284
|
+
schema:
|
|
3285
|
+
$ref: "#/components/schemas/ContactLinkLoginResponse"
|
|
3286
|
+
400:
|
|
3287
|
+
description: Bad request
|
|
3288
|
+
401:
|
|
3289
|
+
description: Unauthorized
|
|
3290
|
+
404:
|
|
3291
|
+
description: Not found
|
|
3226
3292
|
/admin/collection/{collectionId}/contacts/lookup:
|
|
3227
3293
|
get:
|
|
3228
3294
|
tags:
|
|
@@ -3260,6 +3326,65 @@ paths:
|
|
|
3260
3326
|
description: Unauthorized
|
|
3261
3327
|
404:
|
|
3262
3328
|
description: Not found
|
|
3329
|
+
/admin/collection/{collectionId}/contacts/query:
|
|
3330
|
+
get:
|
|
3331
|
+
tags:
|
|
3332
|
+
- contact
|
|
3333
|
+
summary: "What a contacts query can use: its fields and what each can filter, sort, group or total."
|
|
3334
|
+
operationId: contact_queryFields
|
|
3335
|
+
security:
|
|
3336
|
+
- bearerAuth: []
|
|
3337
|
+
parameters:
|
|
3338
|
+
- name: collectionId
|
|
3339
|
+
in: path
|
|
3340
|
+
required: true
|
|
3341
|
+
schema:
|
|
3342
|
+
type: string
|
|
3343
|
+
responses:
|
|
3344
|
+
200:
|
|
3345
|
+
description: Success
|
|
3346
|
+
content:
|
|
3347
|
+
application/json:
|
|
3348
|
+
schema:
|
|
3349
|
+
$ref: "#/components/schemas/QueryDescription"
|
|
3350
|
+
400:
|
|
3351
|
+
description: Bad request
|
|
3352
|
+
401:
|
|
3353
|
+
description: Unauthorized
|
|
3354
|
+
404:
|
|
3355
|
+
description: Not found
|
|
3356
|
+
post:
|
|
3357
|
+
tags:
|
|
3358
|
+
- contact
|
|
3359
|
+
summary: "The standard query on contacts (admin only): filter, sort, page, count and total in one call."
|
|
3360
|
+
operationId: contact_query
|
|
3361
|
+
security:
|
|
3362
|
+
- bearerAuth: []
|
|
3363
|
+
parameters:
|
|
3364
|
+
- name: collectionId
|
|
3365
|
+
in: path
|
|
3366
|
+
required: true
|
|
3367
|
+
schema:
|
|
3368
|
+
type: string
|
|
3369
|
+
responses:
|
|
3370
|
+
200:
|
|
3371
|
+
description: Success
|
|
3372
|
+
content:
|
|
3373
|
+
application/json:
|
|
3374
|
+
schema:
|
|
3375
|
+
$ref: "#/components/schemas/QueryResult"
|
|
3376
|
+
400:
|
|
3377
|
+
description: Bad request
|
|
3378
|
+
401:
|
|
3379
|
+
description: Unauthorized
|
|
3380
|
+
404:
|
|
3381
|
+
description: Not found
|
|
3382
|
+
requestBody:
|
|
3383
|
+
required: true
|
|
3384
|
+
content:
|
|
3385
|
+
application/json:
|
|
3386
|
+
schema:
|
|
3387
|
+
$ref: "#/components/schemas/StandardQuery"
|
|
3263
3388
|
/admin/collection/{collectionId}/contacts/search:
|
|
3264
3389
|
get:
|
|
3265
3390
|
tags:
|
|
@@ -3538,6 +3663,38 @@ paths:
|
|
|
3538
3663
|
description: Unauthorized
|
|
3539
3664
|
404:
|
|
3540
3665
|
description: Not found
|
|
3666
|
+
/admin/collection/{collectionId}/contacts/{keepContactId}/merge:
|
|
3667
|
+
post:
|
|
3668
|
+
tags:
|
|
3669
|
+
- contact
|
|
3670
|
+
summary: "Admin: fold contact `fromContactId` INTO contact `keepContactId`."
|
|
3671
|
+
operationId: contact_merge
|
|
3672
|
+
security:
|
|
3673
|
+
- bearerAuth: []
|
|
3674
|
+
parameters:
|
|
3675
|
+
- name: collectionId
|
|
3676
|
+
in: path
|
|
3677
|
+
required: true
|
|
3678
|
+
schema:
|
|
3679
|
+
type: string
|
|
3680
|
+
- name: keepContactId
|
|
3681
|
+
in: path
|
|
3682
|
+
required: true
|
|
3683
|
+
schema:
|
|
3684
|
+
type: string
|
|
3685
|
+
responses:
|
|
3686
|
+
200:
|
|
3687
|
+
description: Success
|
|
3688
|
+
content:
|
|
3689
|
+
application/json:
|
|
3690
|
+
schema:
|
|
3691
|
+
$ref: "#/components/schemas/ContactMergeResponse"
|
|
3692
|
+
400:
|
|
3693
|
+
description: Bad request
|
|
3694
|
+
401:
|
|
3695
|
+
description: Unauthorized
|
|
3696
|
+
404:
|
|
3697
|
+
description: Not found
|
|
3541
3698
|
/admin/collection/{collectionId}/containers:
|
|
3542
3699
|
get:
|
|
3543
3700
|
tags:
|
|
@@ -7874,6 +8031,65 @@ paths:
|
|
|
7874
8031
|
application/json:
|
|
7875
8032
|
schema:
|
|
7876
8033
|
$ref: "#/components/schemas/ProductCreateRequest"
|
|
8034
|
+
/admin/collection/{collectionId}/products/standard/query:
|
|
8035
|
+
get:
|
|
8036
|
+
tags:
|
|
8037
|
+
- products
|
|
8038
|
+
summary: "What a products standard query can use: its fields and what each can filter, sort, group or total."
|
|
8039
|
+
operationId: products_standardQueryFields
|
|
8040
|
+
security:
|
|
8041
|
+
- bearerAuth: []
|
|
8042
|
+
parameters:
|
|
8043
|
+
- name: collectionId
|
|
8044
|
+
in: path
|
|
8045
|
+
required: true
|
|
8046
|
+
schema:
|
|
8047
|
+
type: string
|
|
8048
|
+
responses:
|
|
8049
|
+
200:
|
|
8050
|
+
description: Success
|
|
8051
|
+
content:
|
|
8052
|
+
application/json:
|
|
8053
|
+
schema:
|
|
8054
|
+
$ref: "#/components/schemas/QueryDescription"
|
|
8055
|
+
400:
|
|
8056
|
+
description: Bad request
|
|
8057
|
+
401:
|
|
8058
|
+
description: Unauthorized
|
|
8059
|
+
404:
|
|
8060
|
+
description: Not found
|
|
8061
|
+
post:
|
|
8062
|
+
tags:
|
|
8063
|
+
- products
|
|
8064
|
+
summary: "The standard query on products (admin only): the one query shape every resource is moving to, with counts, totals and filtering by facet."
|
|
8065
|
+
operationId: products_standardQuery
|
|
8066
|
+
security:
|
|
8067
|
+
- bearerAuth: []
|
|
8068
|
+
parameters:
|
|
8069
|
+
- name: collectionId
|
|
8070
|
+
in: path
|
|
8071
|
+
required: true
|
|
8072
|
+
schema:
|
|
8073
|
+
type: string
|
|
8074
|
+
responses:
|
|
8075
|
+
200:
|
|
8076
|
+
description: Success
|
|
8077
|
+
content:
|
|
8078
|
+
application/json:
|
|
8079
|
+
schema:
|
|
8080
|
+
$ref: "#/components/schemas/QueryResult"
|
|
8081
|
+
400:
|
|
8082
|
+
description: Bad request
|
|
8083
|
+
401:
|
|
8084
|
+
description: Unauthorized
|
|
8085
|
+
404:
|
|
8086
|
+
description: Not found
|
|
8087
|
+
requestBody:
|
|
8088
|
+
required: true
|
|
8089
|
+
content:
|
|
8090
|
+
application/json:
|
|
8091
|
+
schema:
|
|
8092
|
+
$ref: "#/components/schemas/StandardQuery"
|
|
7877
8093
|
/admin/collection/{collectionId}/products/{productId}:
|
|
7878
8094
|
put:
|
|
7879
8095
|
tags:
|
|
@@ -8244,6 +8460,65 @@ paths:
|
|
|
8244
8460
|
description: Unauthorized
|
|
8245
8461
|
404:
|
|
8246
8462
|
description: Not found
|
|
8463
|
+
/admin/collection/{collectionId}/proof/query:
|
|
8464
|
+
get:
|
|
8465
|
+
tags:
|
|
8466
|
+
- proof
|
|
8467
|
+
summary: "What a proofs query can use: its fields, what each can filter, sort, group or total, and its links."
|
|
8468
|
+
operationId: proof_queryFields
|
|
8469
|
+
security:
|
|
8470
|
+
- bearerAuth: []
|
|
8471
|
+
parameters:
|
|
8472
|
+
- name: collectionId
|
|
8473
|
+
in: path
|
|
8474
|
+
required: true
|
|
8475
|
+
schema:
|
|
8476
|
+
type: string
|
|
8477
|
+
responses:
|
|
8478
|
+
200:
|
|
8479
|
+
description: Success
|
|
8480
|
+
content:
|
|
8481
|
+
application/json:
|
|
8482
|
+
schema:
|
|
8483
|
+
$ref: "#/components/schemas/QueryDescription"
|
|
8484
|
+
400:
|
|
8485
|
+
description: Bad request
|
|
8486
|
+
401:
|
|
8487
|
+
description: Unauthorized
|
|
8488
|
+
404:
|
|
8489
|
+
description: Not found
|
|
8490
|
+
post:
|
|
8491
|
+
tags:
|
|
8492
|
+
- proof
|
|
8493
|
+
summary: "The standard query on proofs (admin only): filter, sort, page, count and total a collection's proofs in one call, and follow a proof to its `product` and its `owner` (the owner's contact)."
|
|
8494
|
+
operationId: proof_query
|
|
8495
|
+
security:
|
|
8496
|
+
- bearerAuth: []
|
|
8497
|
+
parameters:
|
|
8498
|
+
- name: collectionId
|
|
8499
|
+
in: path
|
|
8500
|
+
required: true
|
|
8501
|
+
schema:
|
|
8502
|
+
type: string
|
|
8503
|
+
responses:
|
|
8504
|
+
200:
|
|
8505
|
+
description: Success
|
|
8506
|
+
content:
|
|
8507
|
+
application/json:
|
|
8508
|
+
schema:
|
|
8509
|
+
$ref: "#/components/schemas/QueryResult"
|
|
8510
|
+
400:
|
|
8511
|
+
description: Bad request
|
|
8512
|
+
401:
|
|
8513
|
+
description: Unauthorized
|
|
8514
|
+
404:
|
|
8515
|
+
description: Not found
|
|
8516
|
+
requestBody:
|
|
8517
|
+
required: true
|
|
8518
|
+
content:
|
|
8519
|
+
application/json:
|
|
8520
|
+
schema:
|
|
8521
|
+
$ref: "#/components/schemas/StandardQuery"
|
|
8247
8522
|
/admin/collection/{collectionId}/research/fetch:
|
|
8248
8523
|
post:
|
|
8249
8524
|
tags:
|
|
@@ -15203,6 +15478,32 @@ paths:
|
|
|
15203
15478
|
description: Unauthorized
|
|
15204
15479
|
404:
|
|
15205
15480
|
description: Not found
|
|
15481
|
+
/{conditionId}:
|
|
15482
|
+
get:
|
|
15483
|
+
tags:
|
|
15484
|
+
- conditions
|
|
15485
|
+
summary: One saved condition.
|
|
15486
|
+
operationId: conditions_get
|
|
15487
|
+
security: []
|
|
15488
|
+
parameters:
|
|
15489
|
+
- name: conditionId
|
|
15490
|
+
in: path
|
|
15491
|
+
required: true
|
|
15492
|
+
schema:
|
|
15493
|
+
type: string
|
|
15494
|
+
responses:
|
|
15495
|
+
200:
|
|
15496
|
+
description: Success
|
|
15497
|
+
content:
|
|
15498
|
+
application/json:
|
|
15499
|
+
schema:
|
|
15500
|
+
$ref: "#/components/schemas/SavedCondition"
|
|
15501
|
+
400:
|
|
15502
|
+
description: Bad request
|
|
15503
|
+
401:
|
|
15504
|
+
description: Unauthorized
|
|
15505
|
+
404:
|
|
15506
|
+
description: Not found
|
|
15206
15507
|
/{groupId}/members:
|
|
15207
15508
|
post:
|
|
15208
15509
|
tags:
|
|
@@ -16316,6 +16617,83 @@ paths:
|
|
|
16316
16617
|
application/json:
|
|
16317
16618
|
schema:
|
|
16318
16619
|
$ref: "#/components/schemas/PreviewRuleParams"
|
|
16620
|
+
/{zone}/collection/{collectionId}/app/{appId}/records/query:
|
|
16621
|
+
get:
|
|
16622
|
+
tags:
|
|
16623
|
+
- records
|
|
16624
|
+
summary: "What a records query can use: its fields, what each can filter, sort, group or total, and its links."
|
|
16625
|
+
operationId: records_queryFields
|
|
16626
|
+
security: []
|
|
16627
|
+
parameters:
|
|
16628
|
+
- name: zone
|
|
16629
|
+
in: path
|
|
16630
|
+
required: true
|
|
16631
|
+
schema:
|
|
16632
|
+
type: string
|
|
16633
|
+
- name: collectionId
|
|
16634
|
+
in: path
|
|
16635
|
+
required: true
|
|
16636
|
+
schema:
|
|
16637
|
+
type: string
|
|
16638
|
+
- name: appId
|
|
16639
|
+
in: path
|
|
16640
|
+
required: true
|
|
16641
|
+
schema:
|
|
16642
|
+
type: string
|
|
16643
|
+
responses:
|
|
16644
|
+
200:
|
|
16645
|
+
description: Success
|
|
16646
|
+
content:
|
|
16647
|
+
application/json:
|
|
16648
|
+
schema:
|
|
16649
|
+
$ref: "#/components/schemas/QueryDescription"
|
|
16650
|
+
400:
|
|
16651
|
+
description: Bad request
|
|
16652
|
+
401:
|
|
16653
|
+
description: Unauthorized
|
|
16654
|
+
404:
|
|
16655
|
+
description: Not found
|
|
16656
|
+
post:
|
|
16657
|
+
tags:
|
|
16658
|
+
- records
|
|
16659
|
+
summary: "The standard query on an app's records (admin only): filter, sort, page, count and total in one call, reaching into a record's own fields by path, and following a record to its `product` and its `contact`."
|
|
16660
|
+
operationId: records_query
|
|
16661
|
+
security: []
|
|
16662
|
+
parameters:
|
|
16663
|
+
- name: zone
|
|
16664
|
+
in: path
|
|
16665
|
+
required: true
|
|
16666
|
+
schema:
|
|
16667
|
+
type: string
|
|
16668
|
+
- name: collectionId
|
|
16669
|
+
in: path
|
|
16670
|
+
required: true
|
|
16671
|
+
schema:
|
|
16672
|
+
type: string
|
|
16673
|
+
- name: appId
|
|
16674
|
+
in: path
|
|
16675
|
+
required: true
|
|
16676
|
+
schema:
|
|
16677
|
+
type: string
|
|
16678
|
+
responses:
|
|
16679
|
+
200:
|
|
16680
|
+
description: Success
|
|
16681
|
+
content:
|
|
16682
|
+
application/json:
|
|
16683
|
+
schema:
|
|
16684
|
+
$ref: "#/components/schemas/QueryResult"
|
|
16685
|
+
400:
|
|
16686
|
+
description: Bad request
|
|
16687
|
+
401:
|
|
16688
|
+
description: Unauthorized
|
|
16689
|
+
404:
|
|
16690
|
+
description: Not found
|
|
16691
|
+
requestBody:
|
|
16692
|
+
required: true
|
|
16693
|
+
content:
|
|
16694
|
+
application/json:
|
|
16695
|
+
schema:
|
|
16696
|
+
$ref: "#/components/schemas/StandardQuery"
|
|
16319
16697
|
/{zone}/collection/{collectionId}/app/{appId}/records/resolve-all:
|
|
16320
16698
|
post:
|
|
16321
16699
|
tags:
|
|
@@ -21669,6 +22047,8 @@ components:
|
|
|
21669
22047
|
type: string
|
|
21670
22048
|
admin:
|
|
21671
22049
|
type: string
|
|
22050
|
+
adminPage:
|
|
22051
|
+
type: string
|
|
21672
22052
|
widgets:
|
|
21673
22053
|
$ref: "#/components/schemas/AppManifestWidgets"
|
|
21674
22054
|
containers:
|
|
@@ -21699,6 +22079,14 @@ components:
|
|
|
21699
22079
|
realtime:
|
|
21700
22080
|
type: object
|
|
21701
22081
|
additionalProperties: true
|
|
22082
|
+
channels:
|
|
22083
|
+
type: array
|
|
22084
|
+
items:
|
|
22085
|
+
$ref: "#/components/schemas/RealtimeChannelDeclaration"
|
|
22086
|
+
staff:
|
|
22087
|
+
type: array
|
|
22088
|
+
items:
|
|
22089
|
+
type: string
|
|
21702
22090
|
adminCards:
|
|
21703
22091
|
$ref: "#/components/schemas/AppManifestAdminCards"
|
|
21704
22092
|
data:
|
|
@@ -21741,6 +22129,55 @@ components:
|
|
|
21741
22129
|
$ref: "#/components/schemas/AppAssistantFile"
|
|
21742
22130
|
preview:
|
|
21743
22131
|
type: string
|
|
22132
|
+
purpose:
|
|
22133
|
+
type: string
|
|
22134
|
+
objects:
|
|
22135
|
+
type: array
|
|
22136
|
+
items:
|
|
22137
|
+
$ref: "#/components/schemas/AssistantObject"
|
|
22138
|
+
words:
|
|
22139
|
+
type: object
|
|
22140
|
+
additionalProperties:
|
|
22141
|
+
type: string
|
|
22142
|
+
recipes:
|
|
22143
|
+
type: array
|
|
22144
|
+
items:
|
|
22145
|
+
$ref: "#/components/schemas/AssistantRecipe"
|
|
22146
|
+
AssistantObject:
|
|
22147
|
+
type: object
|
|
22148
|
+
properties:
|
|
22149
|
+
object:
|
|
22150
|
+
type: string
|
|
22151
|
+
where:
|
|
22152
|
+
type: object
|
|
22153
|
+
additionalProperties:
|
|
22154
|
+
type: object
|
|
22155
|
+
additionalProperties: true
|
|
22156
|
+
means:
|
|
22157
|
+
type: string
|
|
22158
|
+
fields:
|
|
22159
|
+
type: object
|
|
22160
|
+
additionalProperties:
|
|
22161
|
+
type: string
|
|
22162
|
+
write:
|
|
22163
|
+
type: string
|
|
22164
|
+
enum:
|
|
22165
|
+
- direct
|
|
22166
|
+
- actions
|
|
22167
|
+
- none
|
|
22168
|
+
required:
|
|
22169
|
+
- object
|
|
22170
|
+
- means
|
|
22171
|
+
AssistantRecipe:
|
|
22172
|
+
type: object
|
|
22173
|
+
properties:
|
|
22174
|
+
question:
|
|
22175
|
+
type: string
|
|
22176
|
+
answer:
|
|
22177
|
+
type: string
|
|
22178
|
+
required:
|
|
22179
|
+
- question
|
|
22180
|
+
- answer
|
|
21744
22181
|
ConnectorConnectionField:
|
|
21745
22182
|
type: object
|
|
21746
22183
|
properties:
|
|
@@ -28537,6 +28974,91 @@ components:
|
|
|
28537
28974
|
- items
|
|
28538
28975
|
- limit
|
|
28539
28976
|
- offset
|
|
28977
|
+
ContactDuplicatePair:
|
|
28978
|
+
type: object
|
|
28979
|
+
properties:
|
|
28980
|
+
keep:
|
|
28981
|
+
$ref: "#/components/schemas/Contact"
|
|
28982
|
+
merge:
|
|
28983
|
+
$ref: "#/components/schemas/Contact"
|
|
28984
|
+
matchedOn:
|
|
28985
|
+
type: object
|
|
28986
|
+
additionalProperties: true
|
|
28987
|
+
required:
|
|
28988
|
+
- keep
|
|
28989
|
+
- merge
|
|
28990
|
+
- matchedOn
|
|
28991
|
+
ContactDuplicatesResponse:
|
|
28992
|
+
type: object
|
|
28993
|
+
properties:
|
|
28994
|
+
pairs:
|
|
28995
|
+
type: array
|
|
28996
|
+
items:
|
|
28997
|
+
$ref: "#/components/schemas/ContactDuplicatePair"
|
|
28998
|
+
scanned:
|
|
28999
|
+
type: number
|
|
29000
|
+
more:
|
|
29001
|
+
type: boolean
|
|
29002
|
+
required:
|
|
29003
|
+
- pairs
|
|
29004
|
+
- scanned
|
|
29005
|
+
- more
|
|
29006
|
+
ContactMergeResponse:
|
|
29007
|
+
type: object
|
|
29008
|
+
properties:
|
|
29009
|
+
contactId:
|
|
29010
|
+
type: string
|
|
29011
|
+
mergedFrom:
|
|
29012
|
+
type: string
|
|
29013
|
+
moved:
|
|
29014
|
+
type: object
|
|
29015
|
+
additionalProperties: true
|
|
29016
|
+
login:
|
|
29017
|
+
type: boolean
|
|
29018
|
+
identities:
|
|
29019
|
+
type: number
|
|
29020
|
+
records:
|
|
29021
|
+
type: number
|
|
29022
|
+
cases:
|
|
29023
|
+
type: number
|
|
29024
|
+
threads:
|
|
29025
|
+
type: number
|
|
29026
|
+
bookings:
|
|
29027
|
+
type: number
|
|
29028
|
+
loyaltyMembers:
|
|
29029
|
+
type: number
|
|
29030
|
+
assets:
|
|
29031
|
+
type: number
|
|
29032
|
+
uploadTokens:
|
|
29033
|
+
type: number
|
|
29034
|
+
aiSessions:
|
|
29035
|
+
type: number
|
|
29036
|
+
messages:
|
|
29037
|
+
type: number
|
|
29038
|
+
conversations:
|
|
29039
|
+
type: number
|
|
29040
|
+
contact:
|
|
29041
|
+
$ref: "#/components/schemas/Contact"
|
|
29042
|
+
required:
|
|
29043
|
+
- contactId
|
|
29044
|
+
- mergedFrom
|
|
29045
|
+
- moved
|
|
29046
|
+
- login
|
|
29047
|
+
- identities
|
|
29048
|
+
- contact
|
|
29049
|
+
ContactLinkLoginResponse:
|
|
29050
|
+
type: object
|
|
29051
|
+
properties:
|
|
29052
|
+
contactId:
|
|
29053
|
+
type: string
|
|
29054
|
+
linked:
|
|
29055
|
+
type: boolean
|
|
29056
|
+
contact:
|
|
29057
|
+
$ref: "#/components/schemas/Contact"
|
|
29058
|
+
required:
|
|
29059
|
+
- contactId
|
|
29060
|
+
- linked
|
|
29061
|
+
- contact
|
|
28540
29062
|
ContactSearchParams:
|
|
28541
29063
|
type: object
|
|
28542
29064
|
properties:
|
|
@@ -28904,6 +29426,9 @@ components:
|
|
|
28904
29426
|
$ref: "#/components/schemas/Contact"
|
|
28905
29427
|
ContactUpdateRequest:
|
|
28906
29428
|
$ref: "#/components/schemas/ContactCreateRequest"
|
|
29429
|
+
ContactMergeErrorCode:
|
|
29430
|
+
type: object
|
|
29431
|
+
additionalProperties: true
|
|
28907
29432
|
PublicContactUpsertRequest:
|
|
28908
29433
|
$ref: "#/components/schemas/Contact"
|
|
28909
29434
|
ContactPatch:
|
|
@@ -35299,6 +35824,136 @@ components:
|
|
|
35299
35824
|
type: string
|
|
35300
35825
|
required:
|
|
35301
35826
|
- code
|
|
35827
|
+
QueryFieldTest:
|
|
35828
|
+
type: object
|
|
35829
|
+
properties:
|
|
35830
|
+
eq:
|
|
35831
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35832
|
+
ne:
|
|
35833
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35834
|
+
gt:
|
|
35835
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35836
|
+
gte:
|
|
35837
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35838
|
+
lt:
|
|
35839
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35840
|
+
lte:
|
|
35841
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35842
|
+
in:
|
|
35843
|
+
type: array
|
|
35844
|
+
items:
|
|
35845
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35846
|
+
nin:
|
|
35847
|
+
type: array
|
|
35848
|
+
items:
|
|
35849
|
+
$ref: "#/components/schemas/QueryValue"
|
|
35850
|
+
contains:
|
|
35851
|
+
type: string
|
|
35852
|
+
startsWith:
|
|
35853
|
+
type: string
|
|
35854
|
+
isNull:
|
|
35855
|
+
type: boolean
|
|
35856
|
+
has:
|
|
35857
|
+
type: string
|
|
35858
|
+
hasAny:
|
|
35859
|
+
type: array
|
|
35860
|
+
items:
|
|
35861
|
+
type: string
|
|
35862
|
+
hasAll:
|
|
35863
|
+
type: array
|
|
35864
|
+
items:
|
|
35865
|
+
type: string
|
|
35866
|
+
QueryWhere:
|
|
35867
|
+
type: object
|
|
35868
|
+
properties:
|
|
35869
|
+
and:
|
|
35870
|
+
type: array
|
|
35871
|
+
items:
|
|
35872
|
+
$ref: "#/components/schemas/QueryWhere"
|
|
35873
|
+
or:
|
|
35874
|
+
type: array
|
|
35875
|
+
items:
|
|
35876
|
+
$ref: "#/components/schemas/QueryWhere"
|
|
35877
|
+
not:
|
|
35878
|
+
$ref: "#/components/schemas/QueryWhere"
|
|
35879
|
+
StandardQuery:
|
|
35880
|
+
type: object
|
|
35881
|
+
properties:
|
|
35882
|
+
where:
|
|
35883
|
+
$ref: "#/components/schemas/QueryWhere"
|
|
35884
|
+
orderBy:
|
|
35885
|
+
type: array
|
|
35886
|
+
items:
|
|
35887
|
+
type: object
|
|
35888
|
+
additionalProperties:
|
|
35889
|
+
type: string
|
|
35890
|
+
enum:
|
|
35891
|
+
- asc
|
|
35892
|
+
- desc
|
|
35893
|
+
limit:
|
|
35894
|
+
type: number
|
|
35895
|
+
cursor:
|
|
35896
|
+
type: string
|
|
35897
|
+
select:
|
|
35898
|
+
type: array
|
|
35899
|
+
items:
|
|
35900
|
+
type: string
|
|
35901
|
+
count:
|
|
35902
|
+
type: boolean
|
|
35903
|
+
groupBy:
|
|
35904
|
+
type: array
|
|
35905
|
+
items:
|
|
35906
|
+
type: string
|
|
35907
|
+
aggregates:
|
|
35908
|
+
type: object
|
|
35909
|
+
additionalProperties:
|
|
35910
|
+
$ref: "#/components/schemas/QueryAggregate"
|
|
35911
|
+
expand:
|
|
35912
|
+
type: object
|
|
35913
|
+
additionalProperties: true
|
|
35914
|
+
QueryDescription:
|
|
35915
|
+
type: object
|
|
35916
|
+
properties:
|
|
35917
|
+
name:
|
|
35918
|
+
type: string
|
|
35919
|
+
fields:
|
|
35920
|
+
type: object
|
|
35921
|
+
additionalProperties:
|
|
35922
|
+
type: object
|
|
35923
|
+
additionalProperties: true
|
|
35924
|
+
count:
|
|
35925
|
+
type: boolean
|
|
35926
|
+
aggregates:
|
|
35927
|
+
type: boolean
|
|
35928
|
+
links:
|
|
35929
|
+
type: object
|
|
35930
|
+
additionalProperties:
|
|
35931
|
+
type: object
|
|
35932
|
+
additionalProperties: true
|
|
35933
|
+
limits:
|
|
35934
|
+
type: object
|
|
35935
|
+
additionalProperties: true
|
|
35936
|
+
shape:
|
|
35937
|
+
type: string
|
|
35938
|
+
required:
|
|
35939
|
+
- name
|
|
35940
|
+
- fields
|
|
35941
|
+
- count
|
|
35942
|
+
- aggregates
|
|
35943
|
+
- links
|
|
35944
|
+
- limits
|
|
35945
|
+
- shape
|
|
35946
|
+
QueryValue:
|
|
35947
|
+
type: object
|
|
35948
|
+
additionalProperties: true
|
|
35949
|
+
QueryKeyedTest:
|
|
35950
|
+
type: object
|
|
35951
|
+
additionalProperties:
|
|
35952
|
+
type: object
|
|
35953
|
+
additionalProperties: true
|
|
35954
|
+
QueryAggregate:
|
|
35955
|
+
type: object
|
|
35956
|
+
additionalProperties: true
|
|
35302
35957
|
RealtimeTokenRequest:
|
|
35303
35958
|
type: object
|
|
35304
35959
|
properties:
|
|
@@ -35373,6 +36028,8 @@ components:
|
|
|
35373
36028
|
type: string
|
|
35374
36029
|
status:
|
|
35375
36030
|
type: string
|
|
36031
|
+
kind:
|
|
36032
|
+
type: string
|
|
35376
36033
|
at:
|
|
35377
36034
|
type: number
|
|
35378
36035
|
required:
|
|
@@ -35393,6 +36050,8 @@ components:
|
|
|
35393
36050
|
type: string
|
|
35394
36051
|
proofId:
|
|
35395
36052
|
type: string
|
|
36053
|
+
kind:
|
|
36054
|
+
type: string
|
|
35396
36055
|
RealtimeChannelDeclaration:
|
|
35397
36056
|
type: object
|
|
35398
36057
|
properties:
|
|
@@ -36752,6 +37411,22 @@ components:
|
|
|
36752
37411
|
additionalProperties: true
|
|
36753
37412
|
required:
|
|
36754
37413
|
- valid
|
|
37414
|
+
SavedCondition:
|
|
37415
|
+
type: object
|
|
37416
|
+
properties:
|
|
37417
|
+
id:
|
|
37418
|
+
type: string
|
|
37419
|
+
title:
|
|
37420
|
+
type: string
|
|
37421
|
+
disabled:
|
|
37422
|
+
type: boolean
|
|
37423
|
+
deleted:
|
|
37424
|
+
type: boolean
|
|
37425
|
+
required:
|
|
37426
|
+
- id
|
|
37427
|
+
- title
|
|
37428
|
+
SaveConditionRequest:
|
|
37429
|
+
$ref: "#/components/schemas/SavedCondition"
|
|
36755
37430
|
FunctionListEntry:
|
|
36756
37431
|
type: object
|
|
36757
37432
|
properties:
|