From 2926de97b272ebb147250e28bf1ccd76e4be18c5 Mon Sep 17 00:00:00 2001 From: Adam Malone Date: Thu, 2 Jan 2025 23:55:10 -0500 Subject: [PATCH] Moves data around so it's in different directories and easier for new data sets to be added --- .data/.gitignore | 3 +- .../mongodb/1-init-mongo.js} | 2139 +---------------- .../scripts => common/pgvector}/1-init.sql | 0 .../pgvector}/2-import-postgres.sql | 0 .../scripts => common/postgres}/1-init.sql | 2 - .../postgres/2-import-auth.sql} | 4 +- .data/compose.yaml | 6 +- .data/initdb-prepare.sh | 56 + .data/telco/clickhouse/config.d/config.xml | 2 - .data/telco/clickhouse/scripts/1-init.sql | 0 .../scripts/{2-insert.sql => init.sql} | 0 .data/telco/mongodb/2-init-mongo.js | 2110 ++++++++++++++++ ...ort-postgres.sql => 2-import-customer.sql} | 4 + ...mport-holotel.sql => 3-import-network.sql} | 4 +- hasura/.env | 73 + hasura/.env.local | 14 + hasura/.env.local.template | 14 + hasura/.env.template | 73 + hasura/.gitignore | 2 +- hasura/.hasura/context.yaml | 61 +- hasura/engine/build/auth_config.json | 1 + hasura/engine/build/metadata.json | 1 + hasura/engine/build/open_dd.json | 1 + ...yaml => 1-supergraph-project-queries.yaml} | 0 ...h-domain.yaml => 2-supergraph-domain.yaml} | 0 .../{supergraph.yaml => 3-supergraph.yaml} | 0 ....yaml => 4-supergraph-with-mutations.yaml} | 0 .../metadata-domain/MaskCardNumber.hml | 41 - scripts/deploy/deploy.mjs | 123 +- 29 files changed, 2467 insertions(+), 2267 deletions(-) rename .data/{telco/mongodb/init-mongo.js => common/mongodb/1-init-mongo.js} (83%) rename .data/{telco/pgvector/scripts => common/pgvector}/1-init.sql (100%) rename .data/{telco/pgvector/scripts => common/pgvector}/2-import-postgres.sql (100%) rename .data/{telco/postgres/scripts => common/postgres}/1-init.sql (89%) rename .data/{telco/postgres/scripts/4-import-auth.sql => common/postgres/2-import-auth.sql} (97%) create mode 100755 .data/initdb-prepare.sh delete mode 100644 .data/telco/clickhouse/config.d/config.xml delete mode 100644 .data/telco/clickhouse/scripts/1-init.sql rename .data/telco/clickhouse/scripts/{2-insert.sql => init.sql} (100%) create mode 100644 .data/telco/mongodb/2-init-mongo.js rename .data/telco/postgres/{scripts/2-import-postgres.sql => 2-import-customer.sql} (99%) rename .data/telco/postgres/{scripts/3-import-holotel.sql => 3-import-network.sql} (90%) create mode 100644 hasura/.env create mode 100644 hasura/.env.local create mode 100644 hasura/.env.local.template create mode 100644 hasura/.env.template create mode 100644 hasura/engine/build/auth_config.json create mode 100644 hasura/engine/build/metadata.json create mode 100644 hasura/engine/build/open_dd.json rename hasura/supergraph-config/telco/{supergraph-project-queries.yaml => 1-supergraph-project-queries.yaml} (100%) rename hasura/supergraph-config/telco/{supergraph-domain.yaml => 2-supergraph-domain.yaml} (100%) rename hasura/supergraph-config/telco/{supergraph.yaml => 3-supergraph.yaml} (100%) rename hasura/supergraph-config/telco/{supergraph-with-mutations.yaml => 4-supergraph-with-mutations.yaml} (100%) diff --git a/.data/.gitignore b/.data/.gitignore index 2eea525..c778c17 100644 --- a/.data/.gitignore +++ b/.data/.gitignore @@ -1 +1,2 @@ -.env \ No newline at end of file +.env +build \ No newline at end of file diff --git a/.data/telco/mongodb/init-mongo.js b/.data/common/mongodb/1-init-mongo.js similarity index 83% rename from .data/telco/mongodb/init-mongo.js rename to .data/common/mongodb/1-init-mongo.js index 4f68dfc..1c6270a 100644 --- a/.data/telco/mongodb/init-mongo.js +++ b/.data/common/mongodb/1-init-mongo.js @@ -1,4 +1,17 @@ -const data = [ +db = db.getSiblingDB(process.env.MONGO_INITDB_DATABASE); + +db.dropAllUsers(); + +db.getSiblingDB(process.env.MONGO_INITDB_DATABASE).createUser({ + user: "presales", + pwd: process.env.MONGO_INITDB_ROOT_PASSWORD, + roles: [ + { role: "readWrite", db: "holotel" }, + { role: "dbAdmin", db: "holotel" } + ] +}); + +const userProfilesData = [ { "_id": "e1c7a21d6c30ab07b19902fc0e3ee735", "identification": { @@ -10186,2127 +10199,5 @@ db.createCollection("userProfiles", { } } }) -db.getSiblingDB(process.env.MONGO_INITDB_DATABASE).userProfiles.insertMany(data); +db.getSiblingDB(process.env.MONGO_INITDB_DATABASE).userProfiles.insertMany(userProfilesData); -const data2 = [ - { - "customer_guid": "5e58b417-3cde-4cbd-b9e7-7896cf3d435b", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/adam.mcdaniel" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T12:00:00Z", - "lastAppLogin": "2024-08-12T14:30:00Z" - }, - "customerNotes": [ - { - "author": "agent1", - "date": "2024-08-15T09:30:00Z", - "content": "Discussed family plan options, customer interested in upgrading." - } - ] - }, - { - "customer_guid": "859d2da9-c54d-4501-82ec-04bd3a276cd8", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": { - "twitter": "https://twitter.com/daniel.lane" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T18:45:00Z", - "lastAppLogin": "2024-08-11T20:00:00Z" - }, - "customerNotes": [ - { - "author": "agent2", - "date": "2024-08-16T11:15:00Z", - "content": "Customer called regarding billing inquiry." - } - ] - }, - { - "customer_guid": "6d4f76b5-31b4-4018-bb54-2cdd2bd4ace6", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/nathan.moore" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T15:00:00Z", - "lastAppLogin": "2024-08-16T16:30:00Z" - }, - "customerNotes": [ - { - "author": "agent3", - "date": "2024-08-17T14:00:00Z", - "content": "Customer requested information on family plans." - } - ] - }, - { - "customer_guid": "fe0d91d6-2237-4343-9b70-626997d40025", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/katherine.arellano" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T10:00:00Z", - "lastAppLogin": "2024-08-14T12:00:00Z" - }, - "customerNotes": [ - { - "author": "agent4", - "date": "2024-08-18T09:00:00Z", - "content": "Customer expressed interest in high-data plans." - } - ] - }, - { - "customer_guid": "4a071173-8666-4368-bc46-ef8dd58c9406", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T08:00:00Z", - "lastAppLogin": "2024-08-12T11:00:00Z" - }, - "customerNotes": [ - { - "author": "agent5", - "date": "2024-08-17T13:00:00Z", - "content": "Customer interested in budget-conscious plans." - } - ] - }, - { - "customer_guid": "b8b31280-c88c-44c8-8f89-66262c1b57b0", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/mark.holland" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T09:45:00Z", - "lastAppLogin": "2024-08-10T11:00:00Z" - }, - "customerNotes": [ - { - "author": "agent6", - "date": "2024-08-18T10:00:00Z", - "content": "Customer is satisfied with current family plan." - } - ] - }, - { - "customer_guid": "dd264970-f61f-429f-97f8-4761fea4de2f", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "twitter": "https://twitter.com/alexis.smith" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-08T18:00:00Z", - "lastAppLogin": "2024-08-09T21:00:00Z" - }, - "customerNotes": [ - { - "author": "agent7", - "date": "2024-08-17T12:00:00Z", - "content": "Customer interested in new tech offerings." - } - ] - }, - { - "customer_guid": "d6d8dc95-2321-49f2-a86f-e5ddf50e3129", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T07:45:00Z", - "lastAppLogin": "2024-08-11T08:00:00Z" - }, - "customerNotes": [ - { - "author": "agent8", - "date": "2024-08-16T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "e6b467db-557a-443f-8da0-c3dcaec5663a", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/matthew.reed" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-15T14:00:00Z", - "lastAppLogin": "2024-08-16T15:30:00Z" - }, - "customerNotes": [ - { - "author": "agent9", - "date": "2024-08-17T11:00:00Z", - "content": "Customer inquired about frequent traveler perks." - } - ] - }, - { - "customer_guid": "3afe9e44-7e01-4d8c-a610-ddac5662396d", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "linkedin": "https://linkedin.com/in/isaac.kramer" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T12:00:00Z", - "lastAppLogin": "2024-08-13T14:30:00Z" - }, - "customerNotes": [ - { - "author": "agent10", - "date": "2024-08-17T10:30:00Z", - "content": "Customer is looking into new tech offerings." - } - ] - }, - { - "customer_guid": "2e8dd6e8-cc7d-4bd7-ba52-ce7ae20bc0c6", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T11:45:00Z", - "lastAppLogin": "2024-08-10T13:00:00Z" - }, - "customerNotes": [ - { - "author": "agent11", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "2373100d-630d-41fe-93dd-1134dbbe7e0e", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/christopher.davis" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T13:30:00Z", - "lastAppLogin": "2024-08-15T14:00:00Z" - }, - "customerNotes": [ - { - "author": "agent12", - "date": "2024-08-18T08:00:00Z", - "content": "Customer interested in high-data plans." - } - ] - }, - { - "customer_guid": "c2646b8f-6f3d-4b91-a8ae-b5a47073f997", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "twitter": "https://twitter.com/samantha.anderson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:00:00Z", - "lastAppLogin": "2024-08-15T11:00:00Z" - }, - "customerNotes": [ - { - "author": "agent13", - "date": "2024-08-17T13:30:00Z", - "content": "Customer is interested in tech-savvy offerings." - } - ] - }, - { - "customer_guid": "adff1f8e-e518-4ea6-80ca-c9ac9c7a5c33", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T10:45:00Z", - "lastAppLogin": "2024-08-12T12:00:00Z" - }, - "customerNotes": [ - { - "author": "agent14", - "date": "2024-08-17T15:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "5e609951-4c6d-47b8-8d25-d6f73ab1032b", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/james.goodman" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T11:00:00Z", - "lastAppLogin": "2024-08-14T13:30:00Z" - }, - "customerNotes": [ - { - "author": "agent15", - "date": "2024-08-17T14:00:00Z", - "content": "Customer is looking into high-data plans." - } - ] - }, - { - "customer_guid": "1a284372-b632-491a-95e9-fff159a76d21", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": true - }, - "socialMedia": { - "linkedin": "https://linkedin.com/in/jeremy.washington" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T15:30:00Z", - "lastAppLogin": "2024-08-11T16:00:00Z" - }, - "customerNotes": [ - { - "author": "agent16", - "date": "2024-08-18T08:30:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "b2570f3f-8f2e-4f2b-a82f-00da213f68bc", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T09:45:00Z", - "lastAppLogin": "2024-08-12T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent17", - "date": "2024-08-17T12:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "1ec159cd-1e5b-4519-8a15-233fb6badd4d", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/jessica.sharp" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T12:00:00Z", - "lastAppLogin": "2024-08-14T13:00:00Z" - }, - "customerNotes": [ - { - "author": "agent18", - "date": "2024-08-18T10:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "250de58a-17b3-4aad-96e5-21b8028f2da2", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "twitter": "https://twitter.com/amanda.norton" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:45:00Z", - "lastAppLogin": "2024-08-10T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent19", - "date": "2024-08-17T11:30:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "a9e2c82b-cbb3-48a0-88e2-8c4c370e727c", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T13:45:00Z", - "lastAppLogin": "2024-08-13T14:00:00Z" - }, - "customerNotes": [ - { - "author": "agent20", - "date": "2024-08-17T13:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "3f711a10-53ac-4609-b061-c4d6ae5cd2d6", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/crystal.parker" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T14:00:00Z", - "lastAppLogin": "2024-08-12T15:00:00Z" - }, - "customerNotes": [ - { - "author": "agent21", - "date": "2024-08-18T09:00:00Z", - "content": "Customer is looking into high-data plans." - } - ] - }, - { - "customer_guid": "eadeab1b-eb46-4257-9680-62a4e846ff56", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": { - "linkedin": "https://linkedin.com/in/ricky.dudley" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T11:30:00Z", - "lastAppLogin": "2024-08-11T12:00:00Z" - }, - "customerNotes": [ - { - "author": "agent22", - "date": "2024-08-17T08:30:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "bea981be-622c-47dc-b06e-f93e7f6fcc8c", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T07:45:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent23", - "date": "2024-08-17T14:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "cdf887b8-8fd0-4fe1-b3b0-857792813f3d", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/andrea.smith" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T11:30:00Z", - "lastAppLogin": "2024-08-13T12:00:00Z" - }, - "customerNotes": [ - { - "author": "agent24", - "date": "2024-08-18T10:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "56f07f91-10ad-45ab-a0bb-3133f125a669", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": true - }, - "socialMedia": { - "twitter": "https://twitter.com/brandon.haley" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-08T18:00:00Z", - "lastAppLogin": "2024-08-09T19:00:00Z" - }, - "customerNotes": [ - { - "author": "agent25", - "date": "2024-08-17T11:00:00Z", - "content": "Customer is interested in tech-savvy offerings." - } - ] - }, - { - "customer_guid": "b1b77625-4046-4753-8dac-52d95248aee7", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T09:00:00Z", - "lastAppLogin": "2024-08-10T10:30:00Z" - }, - "customerNotes": [ - { - "author": "agent26", - "date": "2024-08-17T12:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "83a58359-c018-4190-90ca-459d0794ebdb", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/timothy.sims" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T14:30:00Z", - "lastAppLogin": "2024-08-13T15:00:00Z" - }, - "customerNotes": [ - { - "author": "agent27", - "date": "2024-08-18T09:00:00Z", - "content": "Customer interested in high-data plans." - } - ] - }, - { - "customer_guid": "60843adc-b408-4146-b75a-120a53ebe69c", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T10:15:00Z", - "lastAppLogin": "2024-08-11T11:30:00Z" - }, - "customerNotes": [ - { - "author": "agent28", - "date": "2024-08-17T13:30:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "d5f16f1a-a4d3-4775-bf8d-54a7537c1af7", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/christy.carter" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T09:00:00Z", - "lastAppLogin": "2024-08-13T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent29", - "date": "2024-08-18T08:00:00Z", - "content": "Customer interested in high-data plans." - } - ] - }, - { - "customer_guid": "1969bbcb-d9bf-43db-b849-f31969a5391c", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": true - }, - "socialMedia": { - "twitter": "https://twitter.com/kristen.wright" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T08:30:00Z", - "lastAppLogin": "2024-08-15T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent30", - "date": "2024-08-17T10:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "e213281b-339d-403c-aaae-e925e19d4da9", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "linkedin": "https://linkedin.com/in/darryl.lane" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T09:45:00Z", - "lastAppLogin": "2024-08-11T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent31", - "date": "2024-08-17T09:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "c09ea3a3-a7e9-46cd-bfb7-9a2bedc95cc2", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:30:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent32", - "date": "2024-08-17T10:30:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "fb6e1f6b-6eb0-4e43-bef0-412fae682158", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/gabriel.campbell" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T11:00:00Z", - "lastAppLogin": "2024-08-14T12:00:00Z" - }, - "customerNotes": [ - { - "author": "agent33", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "3ce95a8e-0775-4c74-a76c-c0d4b1d9169e", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "twitter": "https://twitter.com/linda.johnson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T09:00:00Z", - "lastAppLogin": "2024-08-11T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent34", - "date": "2024-08-17T11:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "cba3ab69-fac8-4094-a271-38d6a9600bac", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": true - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T10:15:00Z", - "lastAppLogin": "2024-08-12T11:30:00Z" - }, - "customerNotes": [ - { - "author": "agent35", - "date": "2024-08-17T12:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "ede031dc-6370-4307-bb7b-375187141ee3", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/sharon.santiago" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:45:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent36", - "date": "2024-08-18T08:30:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "cc611e70-8af8-4315-a35a-69198e35c526", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T08:30:00Z", - "lastAppLogin": "2024-08-11T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent37", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "a2f97322-bc51-46ed-a14f-c0c587151796", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/wesley.woodard" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T09:00:00Z", - "lastAppLogin": "2024-08-13T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent38", - "date": "2024-08-18T08:00:00Z", - "content": "Customer interested in high-data plans." - } - ] - }, - { - "customer_guid": "3d4da6a7-ff85-4eb1-955e-61beb017c170", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "linkedin": "https://linkedin.com/in/robert.brown" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent39", - "date": "2024-08-17T10:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "cdb74bc6-00f7-4cf7-8d42-527238afe3a2", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T09:45:00Z", - "lastAppLogin": "2024-08-10T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent40", - "date": "2024-08-17T11:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "2d553286-835f-4404-804d-d281e0d4a0b6", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/cynthia.henderson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T08:45:00Z", - "lastAppLogin": "2024-08-14T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent41", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "928d1630-2258-49f4-8821-f5b1f3ac40ea", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": true - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-11T10:15:00Z", - "lastAppLogin": "2024-08-12T11:00:00Z" - }, - "customerNotes": [ - { - "author": "agent42", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "59898f71-c9c9-48f4-8104-ad62b7b441b2", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/ashley.martin" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T08:30:00Z", - "lastAppLogin": "2024-08-15T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent43", - "date": "2024-08-18T08:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "2a5c829c-dbed-415d-bd77-59029fb9c0f5", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T10:30:00Z", - "lastAppLogin": "2024-08-10T11:00:00Z" - }, - "customerNotes": [ - { - "author": "agent44", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "47e9397f-3af9-466b-9513-9b40d5ef027f", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/samantha.jones" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T11:30:00Z", - "lastAppLogin": "2024-08-14T13:00:00Z" - }, - "customerNotes": [ - { - "author": "agent45", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "3a4f0839-310a-440f-b6d8-748c934d7cec", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "twitter": "https://twitter.com/kristy.cain" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T09:30:00Z", - "lastAppLogin": "2024-08-11T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent46", - "date": "2024-08-17T09:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "eb783b09-7997-424a-869c-210e58e38d91", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent47", - "date": "2024-08-17T10:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "54350f41-ad97-40f4-8161-6e9a628a0df7", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/rachel.alvarado" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent48", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "8c418e68-48aa-411b-8ced-21984fe9db6d", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:45:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent49", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "98cc225f-1ade-4936-af64-701183f4eeaf", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/samantha.torres" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T09:00:00Z", - "lastAppLogin": "2024-08-13T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent50", - "date": "2024-08-18T08:00:00Z", - "content": "Customer interested in high-data plans." - } - ] - }, - { - "customer_guid": "13e68987-db07-423c-b1f8-69fbc461658e", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": true - }, - "socialMedia": { - "twitter": "https://twitter.com/samuel.barrera" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T09:30:00Z", - "lastAppLogin": "2024-08-11T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent51", - "date": "2024-08-17T09:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "1ba53ec7-c99d-46b6-80e8-8650c4696ba1", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent52", - "date": "2024-08-17T10:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "fdf4cba8-4c47-4038-9515-e61360a666ed", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/mike.williams" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent53", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "d83da028-a09b-4b4b-bde2-fec4af6a31b0", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent54", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "ce396a23-10e2-4252-b756-685308207bf1", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/kevin.shaw" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:45:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent55", - "date": "2024-08-18T08:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "361986fa-123f-4817-aa16-3f6b8ae368a2", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent56", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "03775cc7-9186-45ef-a090-ba6fc711fb81", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/shaun.clark" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent57", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "1f8d6822-8b51-452f-8a80-f4d03d01384e", - "preferences": { - "contactMethod": "email", - "marketingOptIn": false - }, - "socialMedia": { - "linkedin": "https://linkedin.com/in/veronica.peters" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent58", - "date": "2024-08-17T09:00:00Z", - "content": "Customer interested in tech-savvy plans." - } - ] - }, - { - "customer_guid": "d35250ee-1615-4490-aabc-32cfec3c43f3", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent59", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "838f7882-b114-42ce-98e3-1c9facaf4835", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/mark.mcguire" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent60", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "6d363273-8278-4013-9f7e-e8da036e634a", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": true - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-10T08:00:00Z", - "lastAppLogin": "2024-08-11T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent61", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "41f8b31e-a172-4b68-8148-a0d350998c03", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/nicole.powell" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent62", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "1d8576dd-a741-4c55-828f-90154dce55fd", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent63", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "eb36ad5b-f6ab-4c18-a180-4f0f8f4964c5", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/jessica.weber" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:45:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent64", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "8e616e1c-e514-484d-bddc-5296e3fde187", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent65", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "e2304b5c-15b5-4d84-aec6-fdef4d6bb3d2", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/eileen.johnson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T09:00:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent66", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "f46eed39-eeff-4d80-b6d2-9849226c6816", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent67", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "bc024054-49fa-45c4-90fd-3a44980fdf78", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/nicole.kramer" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent68", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "c4eb8d4c-d28d-4bbf-b2af-a72c97cfccb6", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent69", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "3ebc550d-c14b-4a18-9dad-2fa328063486", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/joseph.nelson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent70", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "f1a5ea36-30c6-4d0e-99ab-c9578ff321ce", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent71", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "beceb10a-a2a4-4ba3-a7ec-202724124330", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/marie.johnson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-12T09:00:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent72", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "d97d5a32-ac0a-45d3-8baf-bb3b24a4f1f6", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent73", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "55bb9264-3230-421c-b249-3e299d4de9d7", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/james.barnes" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent74", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "1da7707e-d1a1-4989-a104-aae364d2f9b7", - "preferences": { - "contactMethod": "SMS", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent75", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "96dbde7a-aa94-466e-9480-666220398fff", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/dale.thompson" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent76", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "a4008bd3-cd15-4581-944e-c2e003ce6da4", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent77", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "c32f754b-ef6c-4140-aa96-4736b1d0739d", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/jacqueline.gonzalez" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent78", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "aee7a5f0-0b6a-46c8-968f-49a087e69e58", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent79", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "f7c7820a-fefc-4ecc-b120-5f0869cbf4cc", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/steven.adams" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent80", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "fb58ecf7-c670-4729-bec2-9b5eb877c5d9", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent81", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "825cd363-053e-4f6e-b7c3-7c3cb3d7336c", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/todd.valdez" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent82", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "fabe9a77-cc2d-43bb-93e4-0f5d90aaf077", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent83", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "db2f7e4a-6682-4ba2-9568-edb2a005d543", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/jenny.roberts" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent84", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "f995b872-6bbb-4553-aebd-5e8a241b05af", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent85", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "1bdfcbdb-b9d2-4a55-9dfb-cb1e8afc245d", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/leonard.campbell" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent86", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "db8b20a0-e387-4c5b-bb63-ce5467edcf91", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent87", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "27d71eb9-250f-4130-9485-fdf8ace8bb3e", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/samuel.montgomery" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent88", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "d562c9e4-1415-465e-b0c5-1ccfe1032832", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent89", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "087d4d2a-1f7b-461c-b13c-ab55c79cb4d4", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/elizabeth.mccoy" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent90", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "38745d1f-3200-49a8-bc0e-b5ba34f98152", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent91", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "11798e10-aa49-4c28-8075-eac791ca1a8f", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/david.bruce" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent92", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "285e3e2b-9d48-479a-9528-c46dc59b6e2e", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent93", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "b5a20328-6237-4bdc-b2b0-bc5496bac4b1", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/jessica.moore" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent94", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "7b0dcbb9-1291-4bdd-aa24-2a3fa2faa51b", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent95", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "ee4006c8-1bd9-421a-af88-1828ab96e6b5", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/amanda.coleman" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent96", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "536aadf0-1098-487c-9a63-5fe623591da7", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent97", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "130dce11-b01f-4e0e-82e0-c7fc00922225", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/marissa.montoya" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-13T09:30:00Z", - "lastAppLogin": "2024-08-14T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent98", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - }, - { - "customer_guid": "31750099-435b-46c8-9271-1c30fd70d156", - "preferences": { - "contactMethod": "phone", - "marketingOptIn": false - }, - "socialMedia": {}, - "behavioralData": { - "lastWebsiteVisit": "2024-08-09T08:00:00Z", - "lastAppLogin": "2024-08-10T09:00:00Z" - }, - "customerNotes": [ - { - "author": "agent99", - "date": "2024-08-17T09:00:00Z", - "content": "Customer prefers budget-friendly plans." - } - ] - }, - { - "customer_guid": "cc52ba76-6236-4c5b-b999-93fd74194c7d", - "preferences": { - "contactMethod": "email", - "marketingOptIn": true - }, - "socialMedia": { - "facebook": "https://facebook.com/jessica.moreno" - }, - "behavioralData": { - "lastWebsiteVisit": "2024-08-14T09:30:00Z", - "lastAppLogin": "2024-08-15T10:00:00Z" - }, - "customerNotes": [ - { - "author": "agent100", - "date": "2024-08-18T08:00:00Z", - "content": "Customer is exploring high-data plans." - } - ] - } -]; - -db.createCollection("customerPreferences", { - validator: { - "$jsonSchema": { - "bsonType": "object", - "required": ["customer_guid", "preferences", "behavioralData", "customerNotes"], - "properties": { - "customer_guid": { - "bsonType": "string", - "description": "must be a string and is required" - }, - "preferences": { - "bsonType": "object", - "required": ["contactMethod", "marketingOptIn"], - "properties": { - "contactMethod": { - "bsonType": "string", - "enum": ["email", "phone", "SMS"], - "description": "must be one of 'email', 'phone', or 'SMS' and is required" - }, - "marketingOptIn": { - "bsonType": "bool", - "description": "must be a boolean value and is required" - } - } - }, - "socialMedia": { - "bsonType": "object", - "properties": { - "facebook": { - "bsonType": "string", - "pattern": "^(https?:\\/\\/)?(www\\.)?facebook.com\\/.*$", - "description": "must be a valid Facebook URL" - }, - "twitter": { - "bsonType": "string", - "pattern": "^(https?:\\/\\/)?(www\\.)?twitter.com\\/.*$", - "description": "must be a valid Twitter URL" - }, - "linkedin": { - "bsonType": "string", - "pattern": "^(https?:\\/\\/)?(www\\.)?linkedin.com\\/.*$", - "description": "must be a valid LinkedIn URL" - } - }, - "description": "socialMedia is an object containing social media profile URLs" - }, - "behavioralData": { - "bsonType": "object", - "required": ["lastWebsiteVisit", "lastAppLogin"], - "properties": { - "lastWebsiteVisit": { - "bsonType": "string", - "description": "must be a valid ISO date and is required" - }, - "lastAppLogin": { - "bsonType": "string", - "description": "must be a valid ISO date and is required" - } - }, - "description": "behavioralData is an object containing behavioral metrics" - }, - "customerNotes": { - "bsonType": "array", - "items": { - "bsonType": "object", - "required": ["author", "date", "content"], - "properties": { - "author": { - "bsonType": "string", - "description": "must be a string and is required" - }, - "date": { - "bsonType": "string", - "description": "must be a valid ISO date and is required" - }, - "content": { - "bsonType": "string", - "description": "must be a string and is required" - } - } - }, - "description": "customerNotes is an array of note objects with author, date, and content" - } - } - } - } -}) -db.getSiblingDB(process.env.MONGO_INITDB_DATABASE).customerPreferences.insertMany(data2); - -db = db.getSiblingDB(process.env.MONGO_INITDB_DATABASE); - -db.dropAllUsers(); - -db.getSiblingDB(process.env.MONGO_INITDB_DATABASE).createUser({ - user: "presales", - pwd: process.env.MONGO_INITDB_ROOT_PASSWORD, - roles: [ - { role: "readWrite", db: "holotel" }, - { role: "dbAdmin", db: "holotel" } - ] -}); diff --git a/.data/telco/pgvector/scripts/1-init.sql b/.data/common/pgvector/1-init.sql similarity index 100% rename from .data/telco/pgvector/scripts/1-init.sql rename to .data/common/pgvector/1-init.sql diff --git a/.data/telco/pgvector/scripts/2-import-postgres.sql b/.data/common/pgvector/2-import-postgres.sql similarity index 100% rename from .data/telco/pgvector/scripts/2-import-postgres.sql rename to .data/common/pgvector/2-import-postgres.sql diff --git a/.data/telco/postgres/scripts/1-init.sql b/.data/common/postgres/1-init.sql similarity index 89% rename from .data/telco/postgres/scripts/1-init.sql rename to .data/common/postgres/1-init.sql index 4741a6a..88206ca 100644 --- a/.data/telco/postgres/scripts/1-init.sql +++ b/.data/common/postgres/1-init.sql @@ -1,5 +1,3 @@ -CREATE DATABASE emergent_metadata_main; - CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; diff --git a/.data/telco/postgres/scripts/4-import-auth.sql b/.data/common/postgres/2-import-auth.sql similarity index 97% rename from .data/telco/postgres/scripts/4-import-auth.sql rename to .data/common/postgres/2-import-auth.sql index 5edc2b3..f06de8d 100644 --- a/.data/telco/postgres/scripts/4-import-auth.sql +++ b/.data/common/postgres/2-import-auth.sql @@ -1,6 +1,6 @@ -CREATE DATABASE emergent_auth; +CREATE DATABASE auth; -\c emergent_auth; +\c auth; CREATE TABLE users ( diff --git a/.data/compose.yaml b/.data/compose.yaml index 57d35c7..94b6e81 100644 --- a/.data/compose.yaml +++ b/.data/compose.yaml @@ -7,7 +7,7 @@ services: restart: unless-stopped volumes: - postgres-data:/var/lib/postgresql/data - - ./${DATASET}/postgres/scripts/:/docker-entrypoint-initdb.d/ + - ./build/postgres/:/docker-entrypoint-initdb.d/ environment: PGUSER: postgres POSTGRES_USER: postgres @@ -28,7 +28,7 @@ services: - "5433:5432" volumes: - pgvector-data:/var/lib/postgresql/data - - ./${DATASET}/pgvector/scripts/:/docker-entrypoint-initdb.d/ + - ./common/pgvector/:/docker-entrypoint-initdb.d/ environment: PGUSER: postgres POSTGRES_USER: postgres @@ -48,7 +48,7 @@ services: command: mongod --auth volumes: - mongodb-data:/data/db - - ./${DATASET}/mongodb/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js + - ./build/mongodb:/docker-entrypoint-initdb.d/ environment: - MONGO_INITDB_DATABASE=holotel - MONGO_INITDB_ROOT_USERNAME=root diff --git a/.data/initdb-prepare.sh b/.data/initdb-prepare.sh new file mode 100755 index 0000000..cb7065b --- /dev/null +++ b/.data/initdb-prepare.sh @@ -0,0 +1,56 @@ +#!/bin/bash + +# Exit immediately if a command exits with a non-zero status +set -e + +# Get the directory where this script is located +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +# Log function for better readability and maintenance +log() { + echo "$(date +'%Y-%m-%d %H:%M:%S') - $*" +} + +# Error handler to capture any issues and exit gracefully +error_exit() { + log "ERROR: $1" + exit 1 +} + +# Validate that DATASET is set +[ -z "$DATASET" ] && error_exit "DATASET environment variable is not set." + +# Define paths relative to the script's location +COMMON_DIR="$SCRIPT_DIR/common" +BUILD_DIR="$SCRIPT_DIR/build" +DATASET_DIR="$SCRIPT_DIR/$DATASET" + +# Ensure build directories exist +log "Ensuring build directories exist..." +mkdir -p "$BUILD_DIR/postgres" "$BUILD_DIR/mongodb" || error_exit "Failed to create build directories." + +# Function to copy files from source to destination +copy_files() { + local src=$1 + local dest=$2 + local label=$3 + + if [ -d "$src" ]; then + log "Copying $label files from $src to $dest..." + cp -R "$src"/* "$dest" || error_exit "Failed to copy files from $src to $dest." + else + log "WARNING: Directory $src not found. Skipping $label files." + fi +} + +# Copy global scripts into build directory +log "Processing global scripts..." +copy_files "$COMMON_DIR/postgres" "$BUILD_DIR/postgres" "Postgres" +copy_files "$COMMON_DIR/mongodb" "$BUILD_DIR/mongodb" "MongoDB" + +# Copy dataset-specific scripts into build directory +log "Processing dataset ($DATASET) scripts..." +copy_files "$DATASET_DIR/postgres" "$BUILD_DIR/postgres" "Postgres" +copy_files "$DATASET_DIR/mongodb" "$BUILD_DIR/mongodb" "MongoDB" + +log "File copying completed successfully." \ No newline at end of file diff --git a/.data/telco/clickhouse/config.d/config.xml b/.data/telco/clickhouse/config.d/config.xml deleted file mode 100644 index 56a51bf..0000000 --- a/.data/telco/clickhouse/config.d/config.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/.data/telco/clickhouse/scripts/1-init.sql b/.data/telco/clickhouse/scripts/1-init.sql deleted file mode 100644 index e69de29..0000000 diff --git a/.data/telco/clickhouse/scripts/2-insert.sql b/.data/telco/clickhouse/scripts/init.sql similarity index 100% rename from .data/telco/clickhouse/scripts/2-insert.sql rename to .data/telco/clickhouse/scripts/init.sql diff --git a/.data/telco/mongodb/2-init-mongo.js b/.data/telco/mongodb/2-init-mongo.js new file mode 100644 index 0000000..bfe694e --- /dev/null +++ b/.data/telco/mongodb/2-init-mongo.js @@ -0,0 +1,2110 @@ + +const customerPreferencesData = [ + { + "customer_guid": "5e58b417-3cde-4cbd-b9e7-7896cf3d435b", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/adam.mcdaniel" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T12:00:00Z", + "lastAppLogin": "2024-08-12T14:30:00Z" + }, + "customerNotes": [ + { + "author": "agent1", + "date": "2024-08-15T09:30:00Z", + "content": "Discussed family plan options, customer interested in upgrading." + } + ] + }, + { + "customer_guid": "859d2da9-c54d-4501-82ec-04bd3a276cd8", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": { + "twitter": "https://twitter.com/daniel.lane" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T18:45:00Z", + "lastAppLogin": "2024-08-11T20:00:00Z" + }, + "customerNotes": [ + { + "author": "agent2", + "date": "2024-08-16T11:15:00Z", + "content": "Customer called regarding billing inquiry." + } + ] + }, + { + "customer_guid": "6d4f76b5-31b4-4018-bb54-2cdd2bd4ace6", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/nathan.moore" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T15:00:00Z", + "lastAppLogin": "2024-08-16T16:30:00Z" + }, + "customerNotes": [ + { + "author": "agent3", + "date": "2024-08-17T14:00:00Z", + "content": "Customer requested information on family plans." + } + ] + }, + { + "customer_guid": "fe0d91d6-2237-4343-9b70-626997d40025", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/katherine.arellano" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T10:00:00Z", + "lastAppLogin": "2024-08-14T12:00:00Z" + }, + "customerNotes": [ + { + "author": "agent4", + "date": "2024-08-18T09:00:00Z", + "content": "Customer expressed interest in high-data plans." + } + ] + }, + { + "customer_guid": "4a071173-8666-4368-bc46-ef8dd58c9406", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T08:00:00Z", + "lastAppLogin": "2024-08-12T11:00:00Z" + }, + "customerNotes": [ + { + "author": "agent5", + "date": "2024-08-17T13:00:00Z", + "content": "Customer interested in budget-conscious plans." + } + ] + }, + { + "customer_guid": "b8b31280-c88c-44c8-8f89-66262c1b57b0", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/mark.holland" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T09:45:00Z", + "lastAppLogin": "2024-08-10T11:00:00Z" + }, + "customerNotes": [ + { + "author": "agent6", + "date": "2024-08-18T10:00:00Z", + "content": "Customer is satisfied with current family plan." + } + ] + }, + { + "customer_guid": "dd264970-f61f-429f-97f8-4761fea4de2f", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "twitter": "https://twitter.com/alexis.smith" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-08T18:00:00Z", + "lastAppLogin": "2024-08-09T21:00:00Z" + }, + "customerNotes": [ + { + "author": "agent7", + "date": "2024-08-17T12:00:00Z", + "content": "Customer interested in new tech offerings." + } + ] + }, + { + "customer_guid": "d6d8dc95-2321-49f2-a86f-e5ddf50e3129", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T07:45:00Z", + "lastAppLogin": "2024-08-11T08:00:00Z" + }, + "customerNotes": [ + { + "author": "agent8", + "date": "2024-08-16T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "e6b467db-557a-443f-8da0-c3dcaec5663a", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/matthew.reed" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-15T14:00:00Z", + "lastAppLogin": "2024-08-16T15:30:00Z" + }, + "customerNotes": [ + { + "author": "agent9", + "date": "2024-08-17T11:00:00Z", + "content": "Customer inquired about frequent traveler perks." + } + ] + }, + { + "customer_guid": "3afe9e44-7e01-4d8c-a610-ddac5662396d", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "linkedin": "https://linkedin.com/in/isaac.kramer" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T12:00:00Z", + "lastAppLogin": "2024-08-13T14:30:00Z" + }, + "customerNotes": [ + { + "author": "agent10", + "date": "2024-08-17T10:30:00Z", + "content": "Customer is looking into new tech offerings." + } + ] + }, + { + "customer_guid": "2e8dd6e8-cc7d-4bd7-ba52-ce7ae20bc0c6", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T11:45:00Z", + "lastAppLogin": "2024-08-10T13:00:00Z" + }, + "customerNotes": [ + { + "author": "agent11", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "2373100d-630d-41fe-93dd-1134dbbe7e0e", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/christopher.davis" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T13:30:00Z", + "lastAppLogin": "2024-08-15T14:00:00Z" + }, + "customerNotes": [ + { + "author": "agent12", + "date": "2024-08-18T08:00:00Z", + "content": "Customer interested in high-data plans." + } + ] + }, + { + "customer_guid": "c2646b8f-6f3d-4b91-a8ae-b5a47073f997", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "twitter": "https://twitter.com/samantha.anderson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:00:00Z", + "lastAppLogin": "2024-08-15T11:00:00Z" + }, + "customerNotes": [ + { + "author": "agent13", + "date": "2024-08-17T13:30:00Z", + "content": "Customer is interested in tech-savvy offerings." + } + ] + }, + { + "customer_guid": "adff1f8e-e518-4ea6-80ca-c9ac9c7a5c33", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T10:45:00Z", + "lastAppLogin": "2024-08-12T12:00:00Z" + }, + "customerNotes": [ + { + "author": "agent14", + "date": "2024-08-17T15:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "5e609951-4c6d-47b8-8d25-d6f73ab1032b", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/james.goodman" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T11:00:00Z", + "lastAppLogin": "2024-08-14T13:30:00Z" + }, + "customerNotes": [ + { + "author": "agent15", + "date": "2024-08-17T14:00:00Z", + "content": "Customer is looking into high-data plans." + } + ] + }, + { + "customer_guid": "1a284372-b632-491a-95e9-fff159a76d21", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": true + }, + "socialMedia": { + "linkedin": "https://linkedin.com/in/jeremy.washington" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T15:30:00Z", + "lastAppLogin": "2024-08-11T16:00:00Z" + }, + "customerNotes": [ + { + "author": "agent16", + "date": "2024-08-18T08:30:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "b2570f3f-8f2e-4f2b-a82f-00da213f68bc", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T09:45:00Z", + "lastAppLogin": "2024-08-12T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent17", + "date": "2024-08-17T12:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "1ec159cd-1e5b-4519-8a15-233fb6badd4d", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/jessica.sharp" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T12:00:00Z", + "lastAppLogin": "2024-08-14T13:00:00Z" + }, + "customerNotes": [ + { + "author": "agent18", + "date": "2024-08-18T10:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "250de58a-17b3-4aad-96e5-21b8028f2da2", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "twitter": "https://twitter.com/amanda.norton" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:45:00Z", + "lastAppLogin": "2024-08-10T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent19", + "date": "2024-08-17T11:30:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "a9e2c82b-cbb3-48a0-88e2-8c4c370e727c", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T13:45:00Z", + "lastAppLogin": "2024-08-13T14:00:00Z" + }, + "customerNotes": [ + { + "author": "agent20", + "date": "2024-08-17T13:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "3f711a10-53ac-4609-b061-c4d6ae5cd2d6", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/crystal.parker" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T14:00:00Z", + "lastAppLogin": "2024-08-12T15:00:00Z" + }, + "customerNotes": [ + { + "author": "agent21", + "date": "2024-08-18T09:00:00Z", + "content": "Customer is looking into high-data plans." + } + ] + }, + { + "customer_guid": "eadeab1b-eb46-4257-9680-62a4e846ff56", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": { + "linkedin": "https://linkedin.com/in/ricky.dudley" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T11:30:00Z", + "lastAppLogin": "2024-08-11T12:00:00Z" + }, + "customerNotes": [ + { + "author": "agent22", + "date": "2024-08-17T08:30:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "bea981be-622c-47dc-b06e-f93e7f6fcc8c", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T07:45:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent23", + "date": "2024-08-17T14:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "cdf887b8-8fd0-4fe1-b3b0-857792813f3d", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/andrea.smith" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T11:30:00Z", + "lastAppLogin": "2024-08-13T12:00:00Z" + }, + "customerNotes": [ + { + "author": "agent24", + "date": "2024-08-18T10:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "56f07f91-10ad-45ab-a0bb-3133f125a669", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": true + }, + "socialMedia": { + "twitter": "https://twitter.com/brandon.haley" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-08T18:00:00Z", + "lastAppLogin": "2024-08-09T19:00:00Z" + }, + "customerNotes": [ + { + "author": "agent25", + "date": "2024-08-17T11:00:00Z", + "content": "Customer is interested in tech-savvy offerings." + } + ] + }, + { + "customer_guid": "b1b77625-4046-4753-8dac-52d95248aee7", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T09:00:00Z", + "lastAppLogin": "2024-08-10T10:30:00Z" + }, + "customerNotes": [ + { + "author": "agent26", + "date": "2024-08-17T12:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "83a58359-c018-4190-90ca-459d0794ebdb", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/timothy.sims" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T14:30:00Z", + "lastAppLogin": "2024-08-13T15:00:00Z" + }, + "customerNotes": [ + { + "author": "agent27", + "date": "2024-08-18T09:00:00Z", + "content": "Customer interested in high-data plans." + } + ] + }, + { + "customer_guid": "60843adc-b408-4146-b75a-120a53ebe69c", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T10:15:00Z", + "lastAppLogin": "2024-08-11T11:30:00Z" + }, + "customerNotes": [ + { + "author": "agent28", + "date": "2024-08-17T13:30:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "d5f16f1a-a4d3-4775-bf8d-54a7537c1af7", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/christy.carter" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T09:00:00Z", + "lastAppLogin": "2024-08-13T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent29", + "date": "2024-08-18T08:00:00Z", + "content": "Customer interested in high-data plans." + } + ] + }, + { + "customer_guid": "1969bbcb-d9bf-43db-b849-f31969a5391c", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": true + }, + "socialMedia": { + "twitter": "https://twitter.com/kristen.wright" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T08:30:00Z", + "lastAppLogin": "2024-08-15T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent30", + "date": "2024-08-17T10:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "e213281b-339d-403c-aaae-e925e19d4da9", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "linkedin": "https://linkedin.com/in/darryl.lane" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T09:45:00Z", + "lastAppLogin": "2024-08-11T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent31", + "date": "2024-08-17T09:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "c09ea3a3-a7e9-46cd-bfb7-9a2bedc95cc2", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:30:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent32", + "date": "2024-08-17T10:30:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "fb6e1f6b-6eb0-4e43-bef0-412fae682158", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/gabriel.campbell" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T11:00:00Z", + "lastAppLogin": "2024-08-14T12:00:00Z" + }, + "customerNotes": [ + { + "author": "agent33", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "3ce95a8e-0775-4c74-a76c-c0d4b1d9169e", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "twitter": "https://twitter.com/linda.johnson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T09:00:00Z", + "lastAppLogin": "2024-08-11T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent34", + "date": "2024-08-17T11:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "cba3ab69-fac8-4094-a271-38d6a9600bac", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": true + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T10:15:00Z", + "lastAppLogin": "2024-08-12T11:30:00Z" + }, + "customerNotes": [ + { + "author": "agent35", + "date": "2024-08-17T12:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "ede031dc-6370-4307-bb7b-375187141ee3", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/sharon.santiago" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:45:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent36", + "date": "2024-08-18T08:30:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "cc611e70-8af8-4315-a35a-69198e35c526", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T08:30:00Z", + "lastAppLogin": "2024-08-11T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent37", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "a2f97322-bc51-46ed-a14f-c0c587151796", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/wesley.woodard" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T09:00:00Z", + "lastAppLogin": "2024-08-13T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent38", + "date": "2024-08-18T08:00:00Z", + "content": "Customer interested in high-data plans." + } + ] + }, + { + "customer_guid": "3d4da6a7-ff85-4eb1-955e-61beb017c170", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "linkedin": "https://linkedin.com/in/robert.brown" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent39", + "date": "2024-08-17T10:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "cdb74bc6-00f7-4cf7-8d42-527238afe3a2", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T09:45:00Z", + "lastAppLogin": "2024-08-10T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent40", + "date": "2024-08-17T11:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "2d553286-835f-4404-804d-d281e0d4a0b6", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/cynthia.henderson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T08:45:00Z", + "lastAppLogin": "2024-08-14T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent41", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "928d1630-2258-49f4-8821-f5b1f3ac40ea", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": true + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-11T10:15:00Z", + "lastAppLogin": "2024-08-12T11:00:00Z" + }, + "customerNotes": [ + { + "author": "agent42", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "59898f71-c9c9-48f4-8104-ad62b7b441b2", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/ashley.martin" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T08:30:00Z", + "lastAppLogin": "2024-08-15T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent43", + "date": "2024-08-18T08:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "2a5c829c-dbed-415d-bd77-59029fb9c0f5", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T10:30:00Z", + "lastAppLogin": "2024-08-10T11:00:00Z" + }, + "customerNotes": [ + { + "author": "agent44", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "47e9397f-3af9-466b-9513-9b40d5ef027f", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/samantha.jones" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T11:30:00Z", + "lastAppLogin": "2024-08-14T13:00:00Z" + }, + "customerNotes": [ + { + "author": "agent45", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "3a4f0839-310a-440f-b6d8-748c934d7cec", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "twitter": "https://twitter.com/kristy.cain" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T09:30:00Z", + "lastAppLogin": "2024-08-11T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent46", + "date": "2024-08-17T09:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "eb783b09-7997-424a-869c-210e58e38d91", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent47", + "date": "2024-08-17T10:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "54350f41-ad97-40f4-8161-6e9a628a0df7", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/rachel.alvarado" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent48", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "8c418e68-48aa-411b-8ced-21984fe9db6d", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:45:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent49", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "98cc225f-1ade-4936-af64-701183f4eeaf", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/samantha.torres" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T09:00:00Z", + "lastAppLogin": "2024-08-13T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent50", + "date": "2024-08-18T08:00:00Z", + "content": "Customer interested in high-data plans." + } + ] + }, + { + "customer_guid": "13e68987-db07-423c-b1f8-69fbc461658e", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": true + }, + "socialMedia": { + "twitter": "https://twitter.com/samuel.barrera" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T09:30:00Z", + "lastAppLogin": "2024-08-11T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent51", + "date": "2024-08-17T09:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "1ba53ec7-c99d-46b6-80e8-8650c4696ba1", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent52", + "date": "2024-08-17T10:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "fdf4cba8-4c47-4038-9515-e61360a666ed", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/mike.williams" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent53", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "d83da028-a09b-4b4b-bde2-fec4af6a31b0", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent54", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "ce396a23-10e2-4252-b756-685308207bf1", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/kevin.shaw" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:45:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent55", + "date": "2024-08-18T08:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "361986fa-123f-4817-aa16-3f6b8ae368a2", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent56", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "03775cc7-9186-45ef-a090-ba6fc711fb81", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/shaun.clark" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent57", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "1f8d6822-8b51-452f-8a80-f4d03d01384e", + "preferences": { + "contactMethod": "email", + "marketingOptIn": false + }, + "socialMedia": { + "linkedin": "https://linkedin.com/in/veronica.peters" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent58", + "date": "2024-08-17T09:00:00Z", + "content": "Customer interested in tech-savvy plans." + } + ] + }, + { + "customer_guid": "d35250ee-1615-4490-aabc-32cfec3c43f3", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent59", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "838f7882-b114-42ce-98e3-1c9facaf4835", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/mark.mcguire" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent60", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "6d363273-8278-4013-9f7e-e8da036e634a", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": true + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-10T08:00:00Z", + "lastAppLogin": "2024-08-11T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent61", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "41f8b31e-a172-4b68-8148-a0d350998c03", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/nicole.powell" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent62", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "1d8576dd-a741-4c55-828f-90154dce55fd", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent63", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "eb36ad5b-f6ab-4c18-a180-4f0f8f4964c5", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/jessica.weber" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:45:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent64", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "8e616e1c-e514-484d-bddc-5296e3fde187", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent65", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "e2304b5c-15b5-4d84-aec6-fdef4d6bb3d2", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/eileen.johnson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T09:00:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent66", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "f46eed39-eeff-4d80-b6d2-9849226c6816", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent67", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "bc024054-49fa-45c4-90fd-3a44980fdf78", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/nicole.kramer" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent68", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "c4eb8d4c-d28d-4bbf-b2af-a72c97cfccb6", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent69", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "3ebc550d-c14b-4a18-9dad-2fa328063486", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/joseph.nelson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent70", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "f1a5ea36-30c6-4d0e-99ab-c9578ff321ce", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent71", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "beceb10a-a2a4-4ba3-a7ec-202724124330", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/marie.johnson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-12T09:00:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent72", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "d97d5a32-ac0a-45d3-8baf-bb3b24a4f1f6", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent73", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "55bb9264-3230-421c-b249-3e299d4de9d7", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/james.barnes" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent74", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "1da7707e-d1a1-4989-a104-aae364d2f9b7", + "preferences": { + "contactMethod": "SMS", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent75", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "96dbde7a-aa94-466e-9480-666220398fff", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/dale.thompson" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent76", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "a4008bd3-cd15-4581-944e-c2e003ce6da4", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent77", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "c32f754b-ef6c-4140-aa96-4736b1d0739d", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/jacqueline.gonzalez" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent78", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "aee7a5f0-0b6a-46c8-968f-49a087e69e58", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent79", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "f7c7820a-fefc-4ecc-b120-5f0869cbf4cc", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/steven.adams" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent80", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "fb58ecf7-c670-4729-bec2-9b5eb877c5d9", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent81", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "825cd363-053e-4f6e-b7c3-7c3cb3d7336c", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/todd.valdez" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent82", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "fabe9a77-cc2d-43bb-93e4-0f5d90aaf077", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent83", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "db2f7e4a-6682-4ba2-9568-edb2a005d543", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/jenny.roberts" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent84", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "f995b872-6bbb-4553-aebd-5e8a241b05af", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent85", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "1bdfcbdb-b9d2-4a55-9dfb-cb1e8afc245d", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/leonard.campbell" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent86", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "db8b20a0-e387-4c5b-bb63-ce5467edcf91", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent87", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "27d71eb9-250f-4130-9485-fdf8ace8bb3e", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/samuel.montgomery" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent88", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "d562c9e4-1415-465e-b0c5-1ccfe1032832", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent89", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "087d4d2a-1f7b-461c-b13c-ab55c79cb4d4", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/elizabeth.mccoy" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent90", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "38745d1f-3200-49a8-bc0e-b5ba34f98152", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent91", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "11798e10-aa49-4c28-8075-eac791ca1a8f", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/david.bruce" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent92", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "285e3e2b-9d48-479a-9528-c46dc59b6e2e", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent93", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "b5a20328-6237-4bdc-b2b0-bc5496bac4b1", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/jessica.moore" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent94", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "7b0dcbb9-1291-4bdd-aa24-2a3fa2faa51b", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent95", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "ee4006c8-1bd9-421a-af88-1828ab96e6b5", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/amanda.coleman" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent96", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "536aadf0-1098-487c-9a63-5fe623591da7", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent97", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "130dce11-b01f-4e0e-82e0-c7fc00922225", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/marissa.montoya" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-13T09:30:00Z", + "lastAppLogin": "2024-08-14T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent98", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + }, + { + "customer_guid": "31750099-435b-46c8-9271-1c30fd70d156", + "preferences": { + "contactMethod": "phone", + "marketingOptIn": false + }, + "socialMedia": {}, + "behavioralData": { + "lastWebsiteVisit": "2024-08-09T08:00:00Z", + "lastAppLogin": "2024-08-10T09:00:00Z" + }, + "customerNotes": [ + { + "author": "agent99", + "date": "2024-08-17T09:00:00Z", + "content": "Customer prefers budget-friendly plans." + } + ] + }, + { + "customer_guid": "cc52ba76-6236-4c5b-b999-93fd74194c7d", + "preferences": { + "contactMethod": "email", + "marketingOptIn": true + }, + "socialMedia": { + "facebook": "https://facebook.com/jessica.moreno" + }, + "behavioralData": { + "lastWebsiteVisit": "2024-08-14T09:30:00Z", + "lastAppLogin": "2024-08-15T10:00:00Z" + }, + "customerNotes": [ + { + "author": "agent100", + "date": "2024-08-18T08:00:00Z", + "content": "Customer is exploring high-data plans." + } + ] + } +]; + +db.createCollection("customerPreferences", { + validator: { + "$jsonSchema": { + "bsonType": "object", + "required": ["customer_guid", "preferences", "behavioralData", "customerNotes"], + "properties": { + "customer_guid": { + "bsonType": "string", + "description": "must be a string and is required" + }, + "preferences": { + "bsonType": "object", + "required": ["contactMethod", "marketingOptIn"], + "properties": { + "contactMethod": { + "bsonType": "string", + "enum": ["email", "phone", "SMS"], + "description": "must be one of 'email', 'phone', or 'SMS' and is required" + }, + "marketingOptIn": { + "bsonType": "bool", + "description": "must be a boolean value and is required" + } + } + }, + "socialMedia": { + "bsonType": "object", + "properties": { + "facebook": { + "bsonType": "string", + "pattern": "^(https?:\\/\\/)?(www\\.)?facebook.com\\/.*$", + "description": "must be a valid Facebook URL" + }, + "twitter": { + "bsonType": "string", + "pattern": "^(https?:\\/\\/)?(www\\.)?twitter.com\\/.*$", + "description": "must be a valid Twitter URL" + }, + "linkedin": { + "bsonType": "string", + "pattern": "^(https?:\\/\\/)?(www\\.)?linkedin.com\\/.*$", + "description": "must be a valid LinkedIn URL" + } + }, + "description": "socialMedia is an object containing social media profile URLs" + }, + "behavioralData": { + "bsonType": "object", + "required": ["lastWebsiteVisit", "lastAppLogin"], + "properties": { + "lastWebsiteVisit": { + "bsonType": "string", + "description": "must be a valid ISO date and is required" + }, + "lastAppLogin": { + "bsonType": "string", + "description": "must be a valid ISO date and is required" + } + }, + "description": "behavioralData is an object containing behavioral metrics" + }, + "customerNotes": { + "bsonType": "array", + "items": { + "bsonType": "object", + "required": ["author", "date", "content"], + "properties": { + "author": { + "bsonType": "string", + "description": "must be a string and is required" + }, + "date": { + "bsonType": "string", + "description": "must be a valid ISO date and is required" + }, + "content": { + "bsonType": "string", + "description": "must be a string and is required" + } + } + }, + "description": "customerNotes is an array of note objects with author, date, and content" + } + } + } + } +}) +db.getSiblingDB(process.env.MONGO_INITDB_DATABASE).customerPreferences.insertMany(customerPreferencesData); diff --git a/.data/telco/postgres/scripts/2-import-postgres.sql b/.data/telco/postgres/2-import-customer.sql similarity index 99% rename from .data/telco/postgres/scripts/2-import-postgres.sql rename to .data/telco/postgres/2-import-customer.sql index b79ae2e..4301372 100644 --- a/.data/telco/postgres/scripts/2-import-postgres.sql +++ b/.data/telco/postgres/2-import-customer.sql @@ -1,3 +1,7 @@ +CREATE DATABASE customer; + +\c customer; + -- Table for storing customer information CREATE TABLE public.customers ( customer_id SERIAL PRIMARY KEY, diff --git a/.data/telco/postgres/scripts/3-import-holotel.sql b/.data/telco/postgres/3-import-network.sql similarity index 90% rename from .data/telco/postgres/scripts/3-import-holotel.sql rename to .data/telco/postgres/3-import-network.sql index 559b08f..ea97dd3 100644 --- a/.data/telco/postgres/scripts/3-import-holotel.sql +++ b/.data/telco/postgres/3-import-network.sql @@ -1,6 +1,6 @@ -CREATE DATABASE emergent_holotel; +CREATE DATABASE network; -\c emergent_holotel; +\c network; CREATE TABLE Calls ( CallID SERIAL PRIMARY KEY, diff --git a/hasura/.env b/hasura/.env new file mode 100644 index 0000000..b890068 --- /dev/null +++ b/hasura/.env @@ -0,0 +1,73 @@ +AUTH_AUTH_AUTHORIZATION_HEADER="Bearer YQ==" +AUTH_AUTH_HASURA_SERVICE_TOKEN_SECRET="YQ==" +AUTH_AUTH_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +AUTH_AUTH_OTEL_SERVICE_NAME="auth_auth" +AUTH_AUTH_READ_URL="http://local.hasura.dev:6460" +AUTH_AUTH_WRITE_URL="http://local.hasura.dev:6460" +CUSTOMER_AURORA_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_AURORA_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_AURORA_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_AURORA_OTEL_SERVICE_NAME="customer_aurora" +CUSTOMER_AURORA_READ_URL="http://local.hasura.dev:6742" +CUSTOMER_AURORA_WRITE_URL="http://local.hasura.dev:6742" +CUSTOMER_CONNECTOR_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_CONNECTOR_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_CONNECTOR_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_CONNECTOR_OTEL_SERVICE_NAME="customer_connector" +CUSTOMER_CONNECTOR_READ_URL="http://local.hasura.dev:8365" +CUSTOMER_CONNECTOR_WRITE_URL="http://local.hasura.dev:8365" +CUSTOMER_LOGIC_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_LOGIC_HASURA_CONNECTOR_PORT=6394 +CUSTOMER_LOGIC_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_LOGIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_LOGIC_OTEL_SERVICE_NAME="customer_logic" +CUSTOMER_LOGIC_READ_URL="http://local.hasura.dev:6394" +CUSTOMER_LOGIC_WRITE_URL="http://local.hasura.dev:6394" +CUSTOMER_MONGO_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_MONGO_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_MONGO_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_MONGO_OTEL_SERVICE_NAME="customer_mongo" +CUSTOMER_MONGO_READ_URL="http://local.hasura.dev:4038" +CUSTOMER_MONGO_WRITE_URL="http://local.hasura.dev:4038" +GLOBALS_GLOBAL_FUNCTIONS_AUTHORIZATION_HEADER="Bearer YQ==" +GLOBALS_GLOBAL_FUNCTIONS_HASURA_CONNECTOR_PORT=5756 +GLOBALS_GLOBAL_FUNCTIONS_HASURA_SERVICE_TOKEN_SECRET="YQ==" +GLOBALS_GLOBAL_FUNCTIONS_OTEL_EXPORTER_OTLP_ENDPOINT="http://local.hasura.dev:4317" +GLOBALS_GLOBAL_FUNCTIONS_OTEL_SERVICE_NAME="globals_global_functions" +GLOBALS_GLOBAL_FUNCTIONS_READ_URL="http://local.hasura.dev:5756" +GLOBALS_GLOBAL_FUNCTIONS_WRITE_URL="http://local.hasura.dev:5756" +NETWORK_CLICKHOUSE_AUTHORIZATION_HEADER="Bearer YQ==" +NETWORK_CLICKHOUSE_HASURA_SERVICE_TOKEN_SECRET="YQ==" +NETWORK_CLICKHOUSE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +NETWORK_CLICKHOUSE_OTEL_SERVICE_NAME="network_clickhouse" +NETWORK_CLICKHOUSE_READ_URL="http://local.hasura.dev:5052" +NETWORK_CLICKHOUSE_WRITE_URL="http://local.hasura.dev:5052" +NETWORK_KAFKA_SINK_AUTHORIZATION_HEADER="Bearer YQ==" +NETWORK_KAFKA_SINK_HASURA_SERVICE_TOKEN_SECRET="YQ==" +NETWORK_KAFKA_SINK_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +NETWORK_KAFKA_SINK_OTEL_SERVICE_NAME="network_kafka_sink" +NETWORK_KAFKA_SINK_READ_URL="http://local.hasura.dev:8034" +NETWORK_KAFKA_SINK_WRITE_URL="http://local.hasura.dev:8034" +SUPPORT_ATLAS_AUTHORIZATION_HEADER="Bearer YQ==" +SUPPORT_ATLAS_HASURA_SERVICE_TOKEN_SECRET="YQ==" +SUPPORT_ATLAS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +SUPPORT_ATLAS_OTEL_SERVICE_NAME="support_atlas" +SUPPORT_ATLAS_READ_URL="http://local.hasura.dev:7553" +SUPPORT_ATLAS_WRITE_URL="http://local.hasura.dev:7553" +SUPPORT_FUNCTIONS_AUTHORIZATION_HEADER="Bearer YQ==" +SUPPORT_FUNCTIONS_HASURA_CONNECTOR_PORT=8473 +SUPPORT_FUNCTIONS_HASURA_SERVICE_TOKEN_SECRET="YQ==" +SUPPORT_FUNCTIONS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +SUPPORT_FUNCTIONS_OTEL_SERVICE_NAME="support_functions" +SUPPORT_FUNCTIONS_READ_URL="http://local.hasura.dev:8473" +SUPPORT_FUNCTIONS_WRITE_URL="http://local.hasura.dev:8473" +SUPPORT_VECTOR_AUTHORIZATION_HEADER="Bearer YQ==" +SUPPORT_VECTOR_HASURA_SERVICE_TOKEN_SECRET="YQ==" +SUPPORT_VECTOR_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +SUPPORT_VECTOR_OTEL_SERVICE_NAME="support_vector" +SUPPORT_VECTOR_READ_URL="http://local.hasura.dev:5644" +SUPPORT_VECTOR_WRITE_URL="http://local.hasura.dev:5644" +CACHING_PLUGIN_PRE_PARSE_URL="http://local.hasura.dev:8787/pre-parse" +CACHING_PLUGIN_PRE_RESPONSE_URL="http://local.hasura.dev:8787/pre-response" +CACHING_PLUGIN_SECRET="zZkhKqFjqXR4g5MZCsJUZCnhCcoPyZ" +CACHING_PLUGIN_REDIS_URL="redis://local.hasura.dev:6379" \ No newline at end of file diff --git a/hasura/.env.local b/hasura/.env.local new file mode 100644 index 0000000..8a57ff7 --- /dev/null +++ b/hasura/.env.local @@ -0,0 +1,14 @@ +AUTH_AUTH_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/auth" +CUSTOMER_AURORA_CONNECTION_URI="postgres://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/customer" +CUSTOMER_MONGO_MONGODB_DATABASE_URI="mongodb://presales:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:27017/holotel" +JWT_SECRET="hasura-hs384-secret-vbD*K2y\!HXr7@zJ9oLmEJpNtWc.gwQY" +NETWORK_CLICKHOUSE_CLICKHOUSE_PASSWORD="hbGciOiJIUzI1NiIsInR5cCI6IkpX" +NETWORK_CLICKHOUSE_CLICKHOUSE_URL="http://local.hasura.dev:8123" +NETWORK_CLICKHOUSE_CLICKHOUSE_USERNAME="default" +NETWORK_KAFKA_SINK_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/network" +SUPPORT_ATLAS_MONGODB_DATABASE_URI="mongodb://presales:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:27017/holotel" +SUPPORT_VECTOR_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5433/postgres" +CACHING_PLUGIN_PRE_PARSE_URL="http://local.hasura.dev:8787/pre-parse" +CACHING_PLUGIN_PRE_RESPONSE_URL="http://local.hasura.dev:8787/pre-response" +CACHING_PLUGIN_SECRET="zZkhKqFjqXR4g5MZCsJUZCnhCcoPyZ" +CACHING_PLUGIN_REDIS_URL="redis://local.hasura.dev:6379" \ No newline at end of file diff --git a/hasura/.env.local.template b/hasura/.env.local.template new file mode 100644 index 0000000..b31cec0 --- /dev/null +++ b/hasura/.env.local.template @@ -0,0 +1,14 @@ +AUTH_AUTH_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/emergent_auth" +CUSTOMER_AURORA_CONNECTION_URI="postgres://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/postgres" +CUSTOMER_MONGO_MONGODB_DATABASE_URI="mongodb://presales:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:27017/holotel" +JWT_SECRET="hasura-hs384-secret-vbD*K2y\!HXr7@zJ9oLmEJpNtWc.gwQY" +NETWORK_CLICKHOUSE_CLICKHOUSE_PASSWORD="hbGciOiJIUzI1NiIsInR5cCI6IkpX" +NETWORK_CLICKHOUSE_CLICKHOUSE_URL="http://local.hasura.dev:8123" +NETWORK_CLICKHOUSE_CLICKHOUSE_USERNAME="default" +NETWORK_KAFKA_SINK_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5432/emergent_holotel" +SUPPORT_ATLAS_MONGODB_DATABASE_URI="mongodb://presales:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:27017/holotel" +SUPPORT_VECTOR_CONNECTION_URI="postgresql://postgres:hbGciOiJIUzI1NiIsInR5cCI6IkpX@local.hasura.dev:5433/postgres" +CACHING_PLUGIN_PRE_PARSE_URL="http://local.hasura.dev:8787/pre-parse" +CACHING_PLUGIN_PRE_RESPONSE_URL="http://local.hasura.dev:8787/pre-response" +CACHING_PLUGIN_SECRET="zZkhKqFjqXR4g5MZCsJUZCnhCcoPyZ" +CACHING_PLUGIN_REDIS_URL="redis://local.hasura.dev:6379" diff --git a/hasura/.env.template b/hasura/.env.template new file mode 100644 index 0000000..d7eca1d --- /dev/null +++ b/hasura/.env.template @@ -0,0 +1,73 @@ +AUTH_AUTH_AUTHORIZATION_HEADER="Bearer YQ==" +AUTH_AUTH_HASURA_SERVICE_TOKEN_SECRET="YQ==" +AUTH_AUTH_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +AUTH_AUTH_OTEL_SERVICE_NAME="auth_auth" +AUTH_AUTH_READ_URL="http://local.hasura.dev:6460" +AUTH_AUTH_WRITE_URL="http://local.hasura.dev:6460" +CUSTOMER_AURORA_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_AURORA_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_AURORA_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_AURORA_OTEL_SERVICE_NAME="customer_aurora" +CUSTOMER_AURORA_READ_URL="http://local.hasura.dev:6742" +CUSTOMER_AURORA_WRITE_URL="http://local.hasura.dev:6742" +CUSTOMER_CONNECTOR_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_CONNECTOR_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_CONNECTOR_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_CONNECTOR_OTEL_SERVICE_NAME="customer_connector" +CUSTOMER_CONNECTOR_READ_URL="http://local.hasura.dev:8365" +CUSTOMER_CONNECTOR_WRITE_URL="http://local.hasura.dev:8365" +CUSTOMER_LOGIC_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_LOGIC_HASURA_CONNECTOR_PORT=6394 +CUSTOMER_LOGIC_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_LOGIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_LOGIC_OTEL_SERVICE_NAME="customer_logic" +CUSTOMER_LOGIC_READ_URL="http://local.hasura.dev:6394" +CUSTOMER_LOGIC_WRITE_URL="http://local.hasura.dev:6394" +CUSTOMER_MONGO_AUTHORIZATION_HEADER="Bearer YQ==" +CUSTOMER_MONGO_HASURA_SERVICE_TOKEN_SECRET="YQ==" +CUSTOMER_MONGO_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +CUSTOMER_MONGO_OTEL_SERVICE_NAME="customer_mongo" +CUSTOMER_MONGO_READ_URL="http://local.hasura.dev:4038" +CUSTOMER_MONGO_WRITE_URL="http://local.hasura.dev:4038" +GLOBALS_GLOBAL_FUNCTIONS_AUTHORIZATION_HEADER="Bearer YQ==" +GLOBALS_GLOBAL_FUNCTIONS_HASURA_CONNECTOR_PORT=5756 +GLOBALS_GLOBAL_FUNCTIONS_HASURA_SERVICE_TOKEN_SECRET="YQ==" +GLOBALS_GLOBAL_FUNCTIONS_OTEL_EXPORTER_OTLP_ENDPOINT="http://local.hasura.dev:4317" +GLOBALS_GLOBAL_FUNCTIONS_OTEL_SERVICE_NAME="globals_global_functions" +GLOBALS_GLOBAL_FUNCTIONS_READ_URL="http://local.hasura.dev:5756" +GLOBALS_GLOBAL_FUNCTIONS_WRITE_URL="http://local.hasura.dev:5756" +NETWORK_CLICKHOUSE_AUTHORIZATION_HEADER="Bearer YQ==" +NETWORK_CLICKHOUSE_HASURA_SERVICE_TOKEN_SECRET="YQ==" +NETWORK_CLICKHOUSE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +NETWORK_CLICKHOUSE_OTEL_SERVICE_NAME="network_clickhouse" +NETWORK_CLICKHOUSE_READ_URL="http://local.hasura.dev:5052" +NETWORK_CLICKHOUSE_WRITE_URL="http://local.hasura.dev:5052" +NETWORK_KAFKA_SINK_AUTHORIZATION_HEADER="Bearer YQ==" +NETWORK_KAFKA_SINK_HASURA_SERVICE_TOKEN_SECRET="YQ==" +NETWORK_KAFKA_SINK_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +NETWORK_KAFKA_SINK_OTEL_SERVICE_NAME="network_kafka_sink" +NETWORK_KAFKA_SINK_READ_URL="http://local.hasura.dev:8034" +NETWORK_KAFKA_SINK_WRITE_URL="http://local.hasura.dev:8034" +SUPPORT_ATLAS_AUTHORIZATION_HEADER="Bearer YQ==" +SUPPORT_ATLAS_HASURA_SERVICE_TOKEN_SECRET="YQ==" +SUPPORT_ATLAS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +SUPPORT_ATLAS_OTEL_SERVICE_NAME="support_atlas" +SUPPORT_ATLAS_READ_URL="http://local.hasura.dev:7553" +SUPPORT_ATLAS_WRITE_URL="http://local.hasura.dev:7553" +SUPPORT_FUNCTIONS_AUTHORIZATION_HEADER="Bearer YQ==" +SUPPORT_FUNCTIONS_HASURA_CONNECTOR_PORT=8473 +SUPPORT_FUNCTIONS_HASURA_SERVICE_TOKEN_SECRET="YQ==" +SUPPORT_FUNCTIONS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +SUPPORT_FUNCTIONS_OTEL_SERVICE_NAME="support_functions" +SUPPORT_FUNCTIONS_READ_URL="http://local.hasura.dev:8473" +SUPPORT_FUNCTIONS_WRITE_URL="http://local.hasura.dev:8473" +SUPPORT_VECTOR_AUTHORIZATION_HEADER="Bearer YQ==" +SUPPORT_VECTOR_HASURA_SERVICE_TOKEN_SECRET="YQ==" +SUPPORT_VECTOR_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://local.hasura.dev:4317" +SUPPORT_VECTOR_OTEL_SERVICE_NAME="support_vector" +SUPPORT_VECTOR_READ_URL="http://local.hasura.dev:5644" +SUPPORT_VECTOR_WRITE_URL="http://local.hasura.dev:5644" +CACHING_PLUGIN_PRE_PARSE_URL="http://local.hasura.dev:8787/pre-parse" +CACHING_PLUGIN_PRE_RESPONSE_URL="http://local.hasura.dev:8787/pre-response" +CACHING_PLUGIN_SECRET="zZkhKqFjqXR4g5MZCsJUZCnhCcoPyZ" +CACHING_PLUGIN_REDIS_URL="redis://local.hasura.dev:6379" diff --git a/hasura/.gitignore b/hasura/.gitignore index 6f6978a..6108c59 100644 --- a/hasura/.gitignore +++ b/hasura/.gitignore @@ -1,4 +1,4 @@ engine/build /.env* /.data/.env* -node_modules +node_modules \ No newline at end of file diff --git a/hasura/.hasura/context.yaml b/hasura/.hasura/context.yaml index 0b643b2..a5c2d57 100644 --- a/hasura/.hasura/context.yaml +++ b/hasura/.hasura/context.yaml @@ -41,62 +41,17 @@ definition: cloudEnvFile: ../.env.cloud.us-west scripts: docker-start: - bash: echo "Please use a region specific command [docker-start-us-west|docker-start-us-east|docker-start-au|docker-start-eu|docker-start-sg|docker-start-local]" - powershell: Write-Output "Please use a region specific command [docker-start-us-west|docker-start-us-east|docker-start-au|docker-start-eu|docker-start-sg|docker-start-local]" - build-local-s1: - bash: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-project-queries.yaml - powershell: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-project-queries.yaml - build-local-s2: - bash: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-domain.yaml - powershell: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-domain.yaml - build-local-s3: - bash: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph.yaml - powershell: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph.yaml - build-local-s4: - bash: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-with-mutations.yaml - powershell: ddn supergraph build local --env-file .env.local --env-file .env --supergraph supergraph-with-mutations.yaml - build-local-au-dbs: - bash: ddn supergraph build local --env-file .env.cloud.au --env-file .env --supergraph supergraph.yaml - powershell: ddn supergraph build local --env-file .env.cloud.au --env-file .env --supergraph supergraph.yaml - build-local-eu-dbs: - bash: ddn supergraph build local --env-file .env.cloud.eu --env-file .env --supergraph supergraph.yaml - powershell: ddn supergraph build local --env-file .env.cloud.eu --env-file .env --supergraph supergraph.yaml - build-local-sg-dbs: - bash: ddn supergraph build local --env-file .env.cloud.sg --env-file .env --supergraph supergraph.yaml - powershell: ddn supergraph build local --env-file .env.cloud.sg --env-file .env --supergraph supergraph.yaml - build-local-us-east-dbs: - bash: ddn supergraph build local --env-file .env.cloud.us-east --env-file .env --supergraph supergraph.yaml - powershell: ddn supergraph build local --env-file .env.cloud.us-east --env-file .env --supergraph supergraph.yaml - build-local-us-west-dbs: - bash: ddn supergraph build local --env-file .env.cloud.us-west --env-file .env --supergraph supergraph.yaml - powershell: ddn supergraph build local --env-file .env.cloud.us-west --env-file .env --supergraph supergraph.yaml - docker-start-local: - bash: ddn run demo-telco ; HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.local --env-file .env up --build --pull always -d + bash: ddn run demo-telco; HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.local --env-file .env up --build --pull always -d powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.local --env-file .env up --build --pull always -d - docker-start-au: - bash: HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.cloud.au --env-file .env up --build --pull always -d - powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.cloud.au --env-file .env up --build --pull always -d - docker-start-eu: - bash: HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.cloud.eu --env-file .env up --build --pull always -d - powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.cloud.eu --env-file .env up --build --pull always -d - docker-start-sg: - bash: HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.cloud.sg --env-file .env up --build --pull always -d - powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.cloud.sg --env-file .env up --build --pull always -d - docker-start-us-east: - bash: HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.cloud.us-east --env-file .env up --build --pull always -d - powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.cloud.us-east --env-file .env up --build --pull always -d - docker-start-us-west: - bash: HASURA_DDN_PAT=$(ddn auth print-pat) docker compose -f compose.yaml --env-file .env.cloud.us-west --env-file .env up --build --pull always -d - powershell: $Env:HASURA_DDN_PAT = ddn auth print-pat; docker compose -f compose.yaml --env-file .env.cloud.us-west --env-file .env up --build --pull always -d docker-stop: bash: export DATASET=telco; docker compose -f compose.yaml down -v ; docker compose -f .data/compose.yaml down -v powershell: docker compose -f compose.yaml down -v; docker compose -f .data/compose.yaml down -v demo-telco: - bash: DATASET=telco docker compose -f .data/compose.yaml --env-file .data/.env up --build --pull always -d - powershell: $Env:DATASET = "telco"; docker compose -f .data/compose.yaml --env-file .data/.env up --build --pull always -d + bash: export DATASET=telco; ../.data/initdb-prepare.sh; docker compose -f ../.data/compose.yaml --env-file ../.data/.env up --build --pull always -d + powershell: $Env:DATASET = "telco"; docker compose -f ../.data/compose.yaml --env-file ../.data/.env up --build --pull always -d demo-healthcare: - bash: echo "not yet implemented" - powershell: Write-Output "not yet implemented" - demo-banking: - bash: echo "not yet implemented" - powershell: Write-Output "not yet implemented" + bash: export DATASET=hc; echo "not yet implemented" + powershell: $Env:DATASET = "hc"; Write-Output "not yet implemented" + demo-fsi: + bash: export DATASET=fsi; echo "not yet implemented" + powershell: $Env:DATASET = "fsi"; Write-Output "not yet implemented" diff --git a/hasura/engine/build/auth_config.json b/hasura/engine/build/auth_config.json new file mode 100644 index 0000000..8faaf1a --- /dev/null +++ b/hasura/engine/build/auth_config.json @@ -0,0 +1 @@ +{"version":"v2","definition":{"mode":{"noAuth":{"role":"admin","sessionVariables":{}}}}} \ No newline at end of file diff --git a/hasura/engine/build/metadata.json b/hasura/engine/build/metadata.json new file mode 100644 index 0000000..d61cae1 --- /dev/null +++ b/hasura/engine/build/metadata.json @@ -0,0 +1 @@ +{"subgraphs":[{"name":"globals","objects":[{"definition":{"arguments":[{"description":"The amount to convert.","name":"amount","type":"Float!"},{"description":"The current currency of the amount.","name":"currentCurrency","type":"String!"},{"description":"The target currency to convert to.","name":"targetCurrency","type":"String!"}],"description":"Converts currency amount to the target currency.","graphql":{"deprecated":null,"rootFieldKind":"Query","rootFieldName":"convertCurrency"},"name":"ConvertCurrency","outputType":"Float!","source":{"argumentMapping":{},"dataConnectorCommand":{"function":"convertCurrency"},"dataConnectorName":"global_functions"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"ConvertCurrency","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"arguments":[{"description":"The data in GB.","name":"dataInGb","type":"Float!"}],"description":"Converts data from GB to MB.","graphql":{"deprecated":null,"rootFieldKind":"Query","rootFieldName":"convertDataToMb"},"name":"ConvertDataToMb","outputType":"Float!","source":{"argumentMapping":{"dataInGb":"dataInGB"},"dataConnectorCommand":{"function":"convertDataToMB"},"dataConnectorName":"global_functions"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"ConvertDataToMb","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"arguments":[{"description":"The date string to format.","name":"dateString","type":"String"}],"description":"Formats a date string to ISO 8601 format.","graphql":{"deprecated":null,"rootFieldKind":"Query","rootFieldName":"formatDateToIso"},"name":"FormatDateToIso","outputType":"String!","source":{"argumentMapping":{},"dataConnectorCommand":{"function":"formatDateToISO"},"dataConnectorName":"global_functions"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"FormatDateToIso","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"arguments":[{"description":"The date string to format.","name":"date","type":"String"}],"description":"Formats a date string to a human-readable format.","graphql":{"deprecated":null,"rootFieldKind":"Query","rootFieldName":"toDateString"},"name":"ToDateString","outputType":"String!","source":{"argumentMapping":{},"dataConnectorCommand":{"function":"toDateString"},"dataConnectorName":"global_functions"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"ToDateString","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"global_functions","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{},"query":{"exists":{},"nested_fields":{},"variables":{}}},"version":"0.1.6"},"schema":{"collections":[],"functions":[{"arguments":{"date":{"description":"The date string to format.","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}}},"description":"Formats a date string to a human-readable format.","name":"toDateString","result_type":{"name":"String","type":"named"}},{"arguments":{"dateString":{"description":"The date string to format.","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}}},"description":"Formats a date string to ISO 8601 format.","name":"formatDateToISO","result_type":{"name":"String","type":"named"}},{"arguments":{"dataInGB":{"description":"The data in GB.","type":{"name":"Float","type":"named"}}},"description":"Converts data from GB to MB.","name":"convertDataToMB","result_type":{"name":"Float","type":"named"}},{"arguments":{"amount":{"description":"The amount to convert.","type":{"name":"Float","type":"named"}},"currentCurrency":{"description":"The current currency of the amount.","type":{"name":"String","type":"named"}},"targetCurrency":{"description":"The target currency to convert to.","type":{"name":"String","type":"named"}}},"description":"Converts currency amount to the target currency.","name":"convertCurrency","result_type":{"name":"Float","type":"named"}}],"object_types":{},"procedures":[],"scalar_types":{"Float":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"}},"representation":{"type":"float64"}},"String":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"}},"representation":{"type":"string"}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:5756"},"write":{"value":"http://local.hasura.dev:5756"}}}},"kind":"DataConnectorLink","version":"v1"},{"definition":{"mode":{"noAuth":{"role":"admin","sessionVariables":{}}}},"kind":"AuthConfig","version":"v2"},{"date":"2024-08-15","kind":"CompatibilityConfig"},{"definition":{"apolloFederation":null,"mutation":{"rootOperationTypeName":"Mutation"},"query":{"aggregate":{"countDistinctFieldName":"_count_distinct","countFieldName":"_count","filterInputFieldName":"filter_input"},"argumentsInput":{"fieldName":"args"},"filterInput":{"fieldName":"where","operatorNames":{"and":"_and","isNull":"_is_null","not":"_not","or":"_or"}},"limitInput":{"fieldName":"limit"},"offsetInput":{"fieldName":"offset"},"orderByInput":{"enumDirectionValues":{"asc":"Asc","desc":"Desc"},"enumTypeNames":[{"directions":["Asc","Desc"],"typeName":"OrderBy"}],"fieldName":"order_by"},"rootOperationTypeName":"Query"},"subscription":{"rootOperationTypeName":"Subscription"}},"kind":"GraphqlConfig","version":"v1"}]},{"name":"customer","objects":[{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"billing","fieldMapping":{"billingDate":{"column":{"argumentMapping":null,"name":"billing_date"}},"billingId":{"column":{"argumentMapping":null,"name":"billing_id"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"paymentStatus":{"column":{"argumentMapping":null,"name":"payment_status"}},"totalAmount":{"column":{"argumentMapping":null,"name":"total_amount"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"billingDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"billingId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"paymentStatus","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"totalAmount","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_BillingInput","typeName":"Customer_Billing"},"name":"Billing"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"role":"admin"},{"input":null,"output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"role":"customer"}],"typeName":"Billing"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"BillingAggExp","arguments":[],"description":null,"filterExpressionType":"BillingBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"billingAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"BillingFilterInput","orderByExpressionType":"Customer_BillingOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"billing","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"billingByBillingId","subscription":null,"uniqueIdentifier":["billingId"]}]},"name":"Billing","objectType":"Billing","orderableFields":[{"fieldName":"billingDate","orderByDirections":{"enableAll":true}},{"fieldName":"billingId","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"paymentStatus","orderByDirections":{"enableAll":true}},{"fieldName":"totalAmount","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"billing","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Billing","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customer","sourceType":"Billing","target":{"model":{"name":"Customers","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_BillingBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"BillingBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"DateBoolExp","fieldName":"billingDate"},{"booleanExpressionType":"Int4BoolExp","fieldName":"billingId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerId"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"paymentStatus"},{"booleanExpressionType":"NumericBoolExp","fieldName":"totalAmount"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customer"}],"type":"Billing"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"BillingAggExp"},"name":"BillingAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"DateAggExp","description":null,"fieldName":"billingDate"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"billingId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerId"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"paymentStatus"},{"aggregateExpression":"NumericAggExp","description":null,"fieldName":"totalAmount"}],"aggregatedType":"Billing"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"credit_cards","fieldMapping":{"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"creditCardId":{"column":{"argumentMapping":null,"name":"credit_card_id"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"cvv":{"column":{"argumentMapping":null,"name":"cvv"}},"expiry":{"column":{"argumentMapping":null,"name":"expiry"}},"number":{"column":{"argumentMapping":null,"name":"number"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz!"},{"arguments":[],"deprecated":null,"description":null,"name":"creditCardId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"cvv","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"expiry","type":"Date!"},{"arguments":[],"deprecated":null,"description":null,"name":"number","type":"Text!"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_CreditCardsInput","typeName":"Customer_CreditCards"},"name":"CreditCards"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","number","updatedAt"]},"role":"admin"},{"input":null,"output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","updatedAt","number"]},"role":"customer"}],"typeName":"CreditCards"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CreditCardsAggExp","arguments":[],"description":"Credit Card information - take care to enforce PCI","filterExpressionType":"CreditCardsBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"creditCardsAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CreditCardsFilterInput","orderByExpressionType":"Customer_CreditCardsOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"creditCards","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"creditCardsByCreditCardId","subscription":null,"uniqueIdentifier":["creditCardId"]}]},"name":"CreditCards","objectType":"CreditCards","orderableFields":[{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"creditCardId","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"cvv","orderByDirections":{"enableAll":true}},{"fieldName":"expiry","orderByDirections":{"enableAll":true}},{"fieldName":"number","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"credit_cards","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"CreditCards","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customer","sourceType":"CreditCards","target":{"model":{"name":"Customers","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_CreditCardsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CreditCardsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"createdAt"},{"booleanExpressionType":"Int4BoolExp","fieldName":"creditCardId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"cvv"},{"booleanExpressionType":"DateBoolExp","fieldName":"expiry"},{"booleanExpressionType":"TextBoolExp","fieldName":"number"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"updatedAt"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customer"}],"type":"CreditCards"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CreditCardsAggExp"},"name":"CreditCardsAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"createdAt"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"creditCardId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"cvv"},{"aggregateExpression":"DateAggExp","description":null,"fieldName":"expiry"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"number"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"updatedAt"}],"aggregatedType":"CreditCards"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_link","fieldMapping":{"customerGuid":{"column":{"argumentMapping":null,"name":"customer_guid"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"id":{"column":{"argumentMapping":null,"name":"id"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerGuid","type":"Uuid!"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"id","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_CustomerLinkInput","typeName":"Customer_CustomerLink"},"name":"CustomerLink"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerGuid","customerId","id"]},"role":"admin"},{"input":null,"output":{"allowedFields":["customerGuid","customerId","id"]},"role":"customer"}],"typeName":"CustomerLink"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CustomerLinkAggExp","arguments":[],"description":null,"filterExpressionType":"CustomerLinkBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"customerLinkAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CustomerLinkFilterInput","orderByExpressionType":"Customer_CustomerLinkOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"customerLink","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"customerLinkByCustomerId","subscription":null,"uniqueIdentifier":["customerId"]},{"deprecated":null,"description":null,"queryRootField":"customerLinkById","subscription":null,"uniqueIdentifier":["id"]}]},"name":"CustomerLink","objectType":"CustomerLink","orderableFields":[{"fieldName":"customerGuid","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"id","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"customer_link","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"CustomerLink","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customer","sourceType":"CustomerLink","target":{"model":{"name":"Customers","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_CustomerLinkBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerLinkBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"UuidBoolExp","fieldName":"customerGuid"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"id"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customer"}],"type":"CustomerLink"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CustomerLinkAggExp"},"name":"CustomerLinkAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"UuidAggExp","description":null,"fieldName":"customerGuid"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"id"}],"aggregatedType":"CustomerLink"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_network","fieldMapping":{"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"nodeId":{"column":{"argumentMapping":null,"name":"node_id"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeId","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_CustomerNetworkInput","typeName":"Customer_CustomerNetwork"},"name":"CustomerNetwork"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerId","nodeId"]},"role":"admin"},{"input":null,"output":{"allowedFields":["customerId","nodeId"]},"role":"customer"}],"typeName":"CustomerNetwork"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CustomerNetworkAggExp","arguments":[],"description":null,"filterExpressionType":"CustomerNetworkBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"customerNetworkAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CustomerNetworkFilterInput","orderByExpressionType":"Customer_CustomerNetworkOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"customerNetwork","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"customerNetworkByCustomerNetworkPkey","subscription":null,"uniqueIdentifier":["customerId","nodeId"]}]},"name":"CustomerNetwork","objectType":"CustomerNetwork","orderableFields":[{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"nodeId","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"customer_network","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"CustomerNetwork","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customer","sourceType":"CustomerNetwork","target":{"model":{"name":"Customers","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"nodeId"}]},"target":{"modelField":[{"fieldName":"nodeId"}]}}],"name":"network","sourceType":"CustomerNetwork","target":{"model":{"name":"Network","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_CustomerNetworkBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerNetworkBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Int4BoolExp","fieldName":"customerId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"nodeId"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customer"}],"type":"CustomerNetwork"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CustomerNetworkAggExp"},"name":"CustomerNetworkAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"nodeId"}],"aggregatedType":"CustomerNetwork"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_plan_devices","fieldMapping":{"customerPlanId":{"column":{"argumentMapping":null,"name":"customer_plan_id"}},"deviceId":{"column":{"argumentMapping":null,"name":"device_id"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerPlanId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceId","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_CustomerPlanDevicesInput","typeName":"Customer_CustomerPlanDevices"},"name":"CustomerPlanDevices"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerPlanId","deviceId"]},"role":"admin"},{"input":null,"output":{"allowedFields":["customerPlanId","deviceId"]},"role":"customer"}],"typeName":"CustomerPlanDevices"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CustomerPlanDevicesAggExp","arguments":[],"description":null,"filterExpressionType":"CustomerPlanDevicesBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"customerPlanDevicesAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CustomerPlanDevicesFilterInput","orderByExpressionType":"Customer_CustomerPlanDevicesOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"customerPlanDevices","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"customerPlanDevicesByCustomerPlanDevicesPkey","subscription":null,"uniqueIdentifier":["customerPlanId","deviceId"]}]},"name":"CustomerPlanDevices","objectType":"CustomerPlanDevices","orderableFields":[{"fieldName":"customerPlanId","orderByDirections":{"enableAll":true}},{"fieldName":"deviceId","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"customer_plan_devices","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"CustomerPlanDevices","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customerPlan","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerPlanId"}]},"target":{"modelField":[{"fieldName":"customerPlanId"}]}}],"name":"customerPlan","sourceType":"CustomerPlanDevices","target":{"model":{"name":"CustomerPlans","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"deviceId"}]},"target":{"modelField":[{"fieldName":"deviceId"}]}}],"name":"device","sourceType":"CustomerPlanDevices","target":{"model":{"name":"Devices","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_CustomerPlanDevicesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerPlanDevicesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Int4BoolExp","fieldName":"customerPlanId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"deviceId"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerPlan"}],"type":"CustomerPlanDevices"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CustomerPlanDevicesAggExp"},"name":"CustomerPlanDevicesAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerPlanId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"deviceId"}],"aggregatedType":"CustomerPlanDevices"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_plans","fieldMapping":{"cellNumber":{"column":{"argumentMapping":null,"name":"cell_number"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"customerPlanId":{"column":{"argumentMapping":null,"name":"customer_plan_id"}},"endDate":{"column":{"argumentMapping":null,"name":"end_date"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"startDate":{"column":{"argumentMapping":null,"name":"start_date"}},"status":{"column":{"argumentMapping":null,"name":"status"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"cellNumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"customerPlanId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"endDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"planId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"startDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_CustomerPlansInput","typeName":"Customer_CustomerPlans"},"name":"CustomerPlans"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"role":"admin"},{"input":null,"output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"role":"customer"}],"typeName":"CustomerPlans"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CustomerPlansAggExp","arguments":[],"description":null,"filterExpressionType":"CustomerPlansBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"customerPlansAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CustomerPlansFilterInput","orderByExpressionType":"Customer_CustomerPlansOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"customerPlans","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"customerPlansByCustomerPlanId","subscription":null,"uniqueIdentifier":["customerPlanId"]}]},"name":"CustomerPlans","objectType":"CustomerPlans","orderableFields":[{"fieldName":"cellNumber","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"customerPlanId","orderByDirections":{"enableAll":true}},{"fieldName":"endDate","orderByDirections":{"enableAll":true}},{"fieldName":"planId","orderByDirections":{"enableAll":true}},{"fieldName":"startDate","orderByDirections":{"enableAll":true}},{"fieldName":"status","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"customer_plans","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"CustomerPlans","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerPlanId"}]},"target":{"modelField":[{"fieldName":"customerPlanId"}]}}],"name":"customerPlanDevices","sourceType":"CustomerPlans","target":{"model":{"name":"CustomerPlanDevices","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customer","sourceType":"CustomerPlans","target":{"model":{"name":"Customers","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"planId"}]},"target":{"modelField":[{"fieldName":"planId"}]}}],"name":"plan","sourceType":"CustomerPlans","target":{"model":{"name":"Plans","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_CustomerPlansBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerPlansBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"VarcharBoolExp","fieldName":"cellNumber"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerId"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerPlanId"},{"booleanExpressionType":"DateBoolExp","fieldName":"endDate"},{"booleanExpressionType":"Int4BoolExp","fieldName":"planId"},{"booleanExpressionType":"DateBoolExp","fieldName":"startDate"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"status"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"plan"},{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customer"},{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerPlanDevices"}],"type":"CustomerPlans"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CustomerPlansAggExp"},"name":"CustomerPlansAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"cellNumber"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerId"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerPlanId"},{"aggregateExpression":"DateAggExp","description":null,"fieldName":"endDate"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"planId"},{"aggregateExpression":"DateAggExp","description":null,"fieldName":"startDate"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"status"}],"aggregatedType":"CustomerPlans"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customers","fieldMapping":{"address":{"column":{"argumentMapping":null,"name":"address"}},"city":{"column":{"argumentMapping":null,"name":"city"}},"country":{"column":{"argumentMapping":null,"name":"country"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"firstName":{"column":{"argumentMapping":null,"name":"first_name"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"lastName":{"column":{"argumentMapping":null,"name":"last_name"}},"phoneNumber":{"column":{"argumentMapping":null,"name":"phone_number"}},"postcode":{"column":{"argumentMapping":null,"name":"postcode"}},"segment":{"column":{"argumentMapping":null,"name":"segment"}},"state":{"column":{"argumentMapping":null,"name":"state"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"address","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"city","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"country","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"email","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"firstName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"image","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"lastName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"phoneNumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"postcode","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"segment","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"state","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_CustomersInput","typeName":"Customer_Customers"},"name":"Customers"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"role":"admin"},{"input":null,"output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"role":"customer"}],"typeName":"Customers"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CustomersAggExp","arguments":[],"description":"**Customers Model**\nThis model represents customer-related data sourced from the Aurora database. It provides the ability to query, filter, and order customer records based on various fields, including name, address, contact information, and more.\n\n_Key features include:_\n- Subscriptions for real-time updates\n- Aggregated insights through the `customersAggregate` query\n- Support for unique lookups via `phoneNumber` and `customerId`\n- Comprehensive order-by options for sortable fields\n","filterExpressionType":"CustomersBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"customersAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CustomersFilterInput","orderByExpressionType":"Customer_CustomersOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"customers","subscription":{"deprecated":null,"description":"Subscribe to customers model","pollingIntervalMs":1000,"rootField":"customers_sub"}},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"customersByPhoneNumber","subscription":null,"uniqueIdentifier":["phoneNumber"]},{"deprecated":null,"description":null,"queryRootField":"customersByCustomerId","subscription":null,"uniqueIdentifier":["customerId"]}]},"name":"Customers","objectType":"Customers","orderableFields":[{"fieldName":"address","orderByDirections":{"enableAll":true}},{"fieldName":"city","orderByDirections":{"enableAll":true}},{"fieldName":"country","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"email","orderByDirections":{"enableAll":true}},{"fieldName":"firstName","orderByDirections":{"enableAll":true}},{"fieldName":"image","orderByDirections":{"enableAll":true}},{"fieldName":"lastName","orderByDirections":{"enableAll":true}},{"fieldName":"phoneNumber","orderByDirections":{"enableAll":true}},{"fieldName":"postcode","orderByDirections":{"enableAll":true}},{"fieldName":"segment","orderByDirections":{"enableAll":true}},{"fieldName":"state","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"customers","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Customers","permissions":[{"role":"admin","select":{"allowSubscriptions":true,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"billings","sourceType":"Customers","target":{"model":{"name":"Billing","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"creditCards","sourceType":"Customers","target":{"model":{"name":"CreditCards","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customerLinks","sourceType":"Customers","target":{"model":{"name":"CustomerLink","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customerNetworks","sourceType":"Customers","target":{"model":{"name":"CustomerNetwork","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"name":"customerPlans","sourceType":"Customers","target":{"model":{"name":"CustomerPlans","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_CustomersBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomersBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"VarcharBoolExp","fieldName":"address"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"city"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"country"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerId"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"email"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"firstName"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"image"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"lastName"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"phoneNumber"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"postcode"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"segment"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"state"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"creditCards"},{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerLinks"},{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerNetworks"},{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerPlans"},{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"billings"}],"type":"Customers"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CustomersAggExp"},"name":"CustomersAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"address"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"city"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"country"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerId"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"email"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"firstName"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"image"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"lastName"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"phoneNumber"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"postcode"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"segment"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"state"}],"aggregatedType":"Customers"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"deals","fieldMapping":{"additionalBenefits":{"column":{"argumentMapping":null,"name":"additional_benefits"}},"customerSegment":{"column":{"argumentMapping":null,"name":"customer_segment"}},"dealId":{"column":{"argumentMapping":null,"name":"deal_id"}},"dealName":{"column":{"argumentMapping":null,"name":"deal_name"}},"description":{"column":{"argumentMapping":null,"name":"description"}},"endDate":{"column":{"argumentMapping":null,"name":"end_date"}},"maxMonthlySpend":{"column":{"argumentMapping":null,"name":"max_monthly_spend"}},"minMonthlySpend":{"column":{"argumentMapping":null,"name":"min_monthly_spend"}},"startDate":{"column":{"argumentMapping":null,"name":"start_date"}},"termsConditions":{"column":{"argumentMapping":null,"name":"terms_conditions"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"additionalBenefits","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"customerSegment","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"dealId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"dealName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"description","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"endDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"maxMonthlySpend","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"minMonthlySpend","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"startDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"termsConditions","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_DealsInput","typeName":"Customer_Deals"},"name":"Deals"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"role":"admin"},{"input":null,"output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"role":"customer"}],"typeName":"Deals"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"DealsAggExp","arguments":[],"description":null,"filterExpressionType":"DealsBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"dealsAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"DealsFilterInput","orderByExpressionType":"Customer_DealsOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"deals","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"dealsByDealId","subscription":null,"uniqueIdentifier":["dealId"]}]},"name":"Deals","objectType":"Deals","orderableFields":[{"fieldName":"additionalBenefits","orderByDirections":{"enableAll":true}},{"fieldName":"customerSegment","orderByDirections":{"enableAll":true}},{"fieldName":"dealId","orderByDirections":{"enableAll":true}},{"fieldName":"dealName","orderByDirections":{"enableAll":true}},{"fieldName":"description","orderByDirections":{"enableAll":true}},{"fieldName":"endDate","orderByDirections":{"enableAll":true}},{"fieldName":"maxMonthlySpend","orderByDirections":{"enableAll":true}},{"fieldName":"minMonthlySpend","orderByDirections":{"enableAll":true}},{"fieldName":"startDate","orderByDirections":{"enableAll":true}},{"fieldName":"termsConditions","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"deals","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Deals","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"and":[{"fieldComparison":{"field":"startDate","operator":"_lte","value":{"literal":"now()"}}},{"fieldComparison":{"field":"endDate","operator":"_gte","value":{"literal":"now()"}}}]}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_DealsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DealsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"TextBoolExp","fieldName":"additionalBenefits"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"customerSegment"},{"booleanExpressionType":"Int4BoolExp","fieldName":"dealId"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"dealName"},{"booleanExpressionType":"TextBoolExp","fieldName":"description"},{"booleanExpressionType":"DateBoolExp","fieldName":"endDate"},{"booleanExpressionType":"NumericBoolExp","fieldName":"maxMonthlySpend"},{"booleanExpressionType":"NumericBoolExp","fieldName":"minMonthlySpend"},{"booleanExpressionType":"DateBoolExp","fieldName":"startDate"},{"booleanExpressionType":"TextBoolExp","fieldName":"termsConditions"}],"comparableRelationships":[],"type":"Deals"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"DealsAggExp"},"name":"DealsAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"TextAggExp","description":null,"fieldName":"additionalBenefits"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"customerSegment"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"dealId"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"dealName"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"description"},{"aggregateExpression":"DateAggExp","description":null,"fieldName":"endDate"},{"aggregateExpression":"NumericAggExp","description":null,"fieldName":"maxMonthlySpend"},{"aggregateExpression":"NumericAggExp","description":null,"fieldName":"minMonthlySpend"},{"aggregateExpression":"DateAggExp","description":null,"fieldName":"startDate"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"termsConditions"}],"aggregatedType":"Deals"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"devices","fieldMapping":{"brand":{"column":{"argumentMapping":null,"name":"brand"}},"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"deviceId":{"column":{"argumentMapping":null,"name":"device_id"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"model":{"column":{"argumentMapping":null,"name":"model"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"brand","type":"Varchar!"},{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"image","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"model","type":"Varchar!"},{"arguments":[],"deprecated":null,"description":null,"name":"sfRecord","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_DevicesInput","typeName":"Customer_Devices"},"name":"Devices"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"role":"admin"},{"input":null,"output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"role":"customer"}],"typeName":"Devices"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"DevicesAggExp","arguments":[],"description":null,"filterExpressionType":"DevicesBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"devicesAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"DevicesFilterInput","orderByExpressionType":"Customer_DevicesOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"devices","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"devicesByDeviceId","subscription":null,"uniqueIdentifier":["deviceId"]}]},"name":"Devices","objectType":"Devices","orderableFields":[{"fieldName":"brand","orderByDirections":{"enableAll":true}},{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"deviceId","orderByDirections":{"enableAll":true}},{"fieldName":"image","orderByDirections":{"enableAll":true}},{"fieldName":"model","orderByDirections":{"enableAll":true}},{"fieldName":"sfRecord","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"devices","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Devices","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customerPlanDevices","predicate":{"relationship":{"name":"customerPlan","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"deviceId"}]},"target":{"modelField":[{"fieldName":"deviceId"}]}}],"name":"customerPlanDevices","sourceType":"Devices","target":{"model":{"name":"CustomerPlanDevices","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_DevicesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DevicesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"VarcharBoolExp","fieldName":"brand"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"createdAt"},{"booleanExpressionType":"Int4BoolExp","fieldName":"deviceId"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"image"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"model"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"sfRecord"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"updatedAt"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerPlanDevices"}],"type":"Devices"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"DevicesAggExp"},"name":"DevicesAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"brand"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"createdAt"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"deviceId"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"image"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"model"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"sfRecord"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"updatedAt"}],"aggregatedType":"Devices"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"network","fieldMapping":{"capacity":{"column":{"argumentMapping":null,"name":"capacity"}},"latitude":{"column":{"argumentMapping":null,"name":"latitude"}},"longitude":{"column":{"argumentMapping":null,"name":"longitude"}},"nodeId":{"column":{"argumentMapping":null,"name":"node_id"}},"nodeName":{"column":{"argumentMapping":null,"name":"node_name"}},"status":{"column":{"argumentMapping":null,"name":"status"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"capacity","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"latitude","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"longitude","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_NetworkInput","typeName":"Customer_Network"},"name":"Network"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["capacity","latitude","longitude","nodeId","nodeName","status"]},"role":"admin"},{"input":null,"output":{"allowedFields":["capacity","nodeName","status"]},"role":"customer"}],"typeName":"Network"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"NetworkAggExp","arguments":[],"description":null,"filterExpressionType":"NetworkBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"networkAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"NetworkFilterInput","orderByExpressionType":"Customer_NetworkOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"network","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"networkByNodeId","subscription":null,"uniqueIdentifier":["nodeId"]}]},"name":"Network","objectType":"Network","orderableFields":[{"fieldName":"capacity","orderByDirections":{"enableAll":true}},{"fieldName":"latitude","orderByDirections":{"enableAll":true}},{"fieldName":"longitude","orderByDirections":{"enableAll":true}},{"fieldName":"nodeId","orderByDirections":{"enableAll":true}},{"fieldName":"nodeName","orderByDirections":{"enableAll":true}},{"fieldName":"status","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"network","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Network","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customerNetworks","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"nodeId"}]},"target":{"modelField":[{"fieldName":"nodeId"}]}}],"name":"customerNetworks","sourceType":"Network","target":{"model":{"name":"CustomerNetwork","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_NetworkBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"NetworkBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Int4BoolExp","fieldName":"capacity"},{"booleanExpressionType":"NumericBoolExp","fieldName":"latitude"},{"booleanExpressionType":"NumericBoolExp","fieldName":"longitude"},{"booleanExpressionType":"Int4BoolExp","fieldName":"nodeId"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"nodeName"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"status"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerNetworks"}],"type":"Network"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"NetworkAggExp"},"name":"NetworkAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"capacity"},{"aggregateExpression":"NumericAggExp","description":null,"fieldName":"latitude"},{"aggregateExpression":"NumericAggExp","description":null,"fieldName":"longitude"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"nodeId"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"nodeName"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"status"}],"aggregatedType":"Network"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"plans","fieldMapping":{"description":{"column":{"argumentMapping":null,"name":"description"}},"monthlyFee":{"column":{"argumentMapping":null,"name":"monthly_fee"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"planName":{"column":{"argumentMapping":null,"name":"plan_name"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"type":{"column":{"argumentMapping":null,"name":"type"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"description","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"monthlyFee","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"planId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"planName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"sfRecord","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"type","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Customer_PlansInput","typeName":"Customer_Plans"},"name":"Plans"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"role":"admin"},{"input":null,"output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"role":"customer"}],"typeName":"Plans"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"PlansAggExp","arguments":[],"description":null,"filterExpressionType":"PlansBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"plansAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"PlansFilterInput","orderByExpressionType":"Customer_PlansOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"plans","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"plansByPlanId","subscription":null,"uniqueIdentifier":["planId"]},{"deprecated":null,"description":null,"queryRootField":"plansByPlanName","subscription":null,"uniqueIdentifier":["planName"]}]},"name":"Plans","objectType":"Plans","orderableFields":[{"fieldName":"description","orderByDirections":{"enableAll":true}},{"fieldName":"monthlyFee","orderByDirections":{"enableAll":true}},{"fieldName":"planId","orderByDirections":{"enableAll":true}},{"fieldName":"planName","orderByDirections":{"enableAll":true}},{"fieldName":"sfRecord","orderByDirections":{"enableAll":true}},{"fieldName":"type","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"plans","dataConnectorName":"aurora"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Plans","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"relationship":{"name":"customerPlans","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"planId"}]},"target":{"modelField":[{"fieldName":"planId"}]}}],"name":"customerPlans","sourceType":"Plans","target":{"model":{"name":"CustomerPlans","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Customer_PlansBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"PlansBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"TextBoolExp","fieldName":"description"},{"booleanExpressionType":"NumericBoolExp","fieldName":"monthlyFee"},{"booleanExpressionType":"Int4BoolExp","fieldName":"planId"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"planName"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"sfRecord"},{"booleanExpressionType":"TextBoolExp","fieldName":"type"}],"comparableRelationships":[{"aggregateBooleanExpressionType":null,"booleanExpressionType":null,"relationshipName":"customerPlans"}],"type":"Plans"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"PlansAggExp"},"name":"PlansAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"TextAggExp","description":null,"fieldName":"description"},{"aggregateExpression":"NumericAggExp","description":null,"fieldName":"monthlyFee"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"planId"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"planName"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"sfRecord"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"type"}],"aggregatedType":"Plans"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Date"},"name":"Date"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Int4"},"name":"Int4"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Varchar"},"name":"Varchar"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Numeric"},"name":"Numeric"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"date","graphql":{"comparisonExpressionTypeName":"Customer_DateComparisonExp"},"representation":"Date"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"int4","graphql":{"comparisonExpressionTypeName":"Customer_Int4ComparisonExp"},"representation":"Int4"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"varchar","graphql":{"comparisonExpressionTypeName":"Customer_VarcharComparisonExp"},"representation":"Varchar"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"numeric","graphql":{"comparisonExpressionTypeName":"Customer_NumericComparisonExp"},"representation":"Numeric"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Timestamptz"},"name":"Timestamptz"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Text"},"name":"Text"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"timestamptz","graphql":{"comparisonExpressionTypeName":"Customer_TimestamptzComparisonExp"},"representation":"Timestamptz"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"text","graphql":{"comparisonExpressionTypeName":"Customer_TextComparisonExp"},"representation":"Text"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Customer_Uuid"},"name":"Uuid"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"uuid","graphql":{"comparisonExpressionTypeName":"Customer_UuidComparisonExp"},"representation":"Uuid"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"TextBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TextBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Text!","name":"_eq"},{"argumentType":"Text!","name":"_gt"},{"argumentType":"Text!","name":"_gte"},{"argumentType":"Text!","name":"_ilike"},{"argumentType":"[Text!]!","name":"_in"},{"argumentType":"Text!","name":"_iregex"},{"argumentType":"Text!","name":"_like"},{"argumentType":"Text!","name":"_lt"},{"argumentType":"Text!","name":"_lte"},{"argumentType":"Text!","name":"_neq"},{"argumentType":"Text!","name":"_nilike"},{"argumentType":"Text!","name":"_niregex"},{"argumentType":"Text!","name":"_nlike"},{"argumentType":"Text!","name":"_nregex"},{"argumentType":"Text!","name":"_regex"},{"argumentType":"Text!","name":"starts_with"},{"argumentType":"Text!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"text","operatorMapping":{}}],"type":"Text"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"NumericBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"NumericBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Numeric!","name":"_eq"},{"argumentType":"Numeric!","name":"_gt"},{"argumentType":"Numeric!","name":"_gte"},{"argumentType":"[Numeric!]!","name":"_in"},{"argumentType":"Numeric!","name":"_lt"},{"argumentType":"Numeric!","name":"_lte"},{"argumentType":"Numeric!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"numeric","operatorMapping":{}}],"type":"Numeric"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"Int4BoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int4BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int4!","name":"_eq"},{"argumentType":"Int4!","name":"_gt"},{"argumentType":"Int4!","name":"_gte"},{"argumentType":"[Int4!]!","name":"_in"},{"argumentType":"Int4!","name":"_lt"},{"argumentType":"Int4!","name":"_lte"},{"argumentType":"Int4!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"int4","operatorMapping":{}}],"type":"Int4"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"VarcharBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"VarcharBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Varchar!","name":"_eq"},{"argumentType":"Varchar!","name":"_gt"},{"argumentType":"Varchar!","name":"_gte"},{"argumentType":"Varchar!","name":"_ilike"},{"argumentType":"[Varchar!]!","name":"_in"},{"argumentType":"Varchar!","name":"_iregex"},{"argumentType":"Varchar!","name":"_like"},{"argumentType":"Varchar!","name":"_lt"},{"argumentType":"Varchar!","name":"_lte"},{"argumentType":"Varchar!","name":"_neq"},{"argumentType":"Varchar!","name":"_nilike"},{"argumentType":"Varchar!","name":"_niregex"},{"argumentType":"Varchar!","name":"_nlike"},{"argumentType":"Varchar!","name":"_nregex"},{"argumentType":"Varchar!","name":"_regex"},{"argumentType":"Varchar!","name":"starts_with"},{"argumentType":"Varchar!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"varchar","operatorMapping":{}}],"type":"Varchar"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"TextAggExp"},"name":"TextAggExp","operand":{"scalar":{"aggregatedType":"Text","aggregationFunctions":[{"description":null,"name":"max","returnType":"Text"},{"description":null,"name":"min","returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"text","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"NumericAggExp"},"name":"NumericAggExp","operand":{"scalar":{"aggregatedType":"Numeric","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Numeric"},{"description":null,"name":"max","returnType":"Numeric"},{"description":null,"name":"min","returnType":"Numeric"},{"description":null,"name":"stddev","returnType":"Numeric"},{"description":null,"name":"stddev_pop","returnType":"Numeric"},{"description":null,"name":"stddev_samp","returnType":"Numeric"},{"description":null,"name":"sum","returnType":"Numeric"},{"description":null,"name":"var_pop","returnType":"Numeric"},{"description":null,"name":"var_samp","returnType":"Numeric"},{"description":null,"name":"variance","returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"numeric","functionMapping":{"avg":{"name":"avg"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Int8"},"name":"Int8"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp"},"representation":"Int8"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int8BoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int8BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int8!","name":"_eq"},{"argumentType":"Int8!","name":"_gt"},{"argumentType":"Int8!","name":"_gte"},{"argumentType":"[Int8!]!","name":"_in"},{"argumentType":"Int8!","name":"_lt"},{"argumentType":"Int8!","name":"_lte"},{"argumentType":"Int8!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"int8","operatorMapping":{}}],"type":"Int8"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Int4AggExp"},"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Numeric"},{"description":null,"name":"bit_and","returnType":"Int4"},{"description":null,"name":"bit_or","returnType":"Int4"},{"description":null,"name":"bit_xor","returnType":"Int4"},{"description":null,"name":"max","returnType":"Int4"},{"description":null,"name":"min","returnType":"Int4"},{"description":null,"name":"stddev","returnType":"Numeric"},{"description":null,"name":"stddev_pop","returnType":"Numeric"},{"description":null,"name":"stddev_samp","returnType":"Numeric"},{"description":null,"name":"sum","returnType":"Int8"},{"description":null,"name":"var_pop","returnType":"Numeric"},{"description":null,"name":"var_samp","returnType":"Numeric"},{"description":null,"name":"variance","returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"VarcharAggExp"},"name":"VarcharAggExp","operand":{"scalar":{"aggregatedType":"Varchar","aggregationFunctions":[{"description":null,"name":"max","returnType":"Text"},{"description":null,"name":"min","returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"varchar","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"TimestamptzBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TimestamptzBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Timestamptz!","name":"_eq"},{"argumentType":"Timestamptz!","name":"_gt"},{"argumentType":"Timestamptz!","name":"_gte"},{"argumentType":"[Timestamptz!]!","name":"_in"},{"argumentType":"Timestamptz!","name":"_lt"},{"argumentType":"Timestamptz!","name":"_lte"},{"argumentType":"Timestamptz!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"timestamptz","operatorMapping":{}}],"type":"Timestamptz"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"TimestamptzAggExp"},"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"description":null,"name":"max","returnType":"Timestamptz"},{"description":null,"name":"min","returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"DateBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DateBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Date!","name":"_eq"},{"argumentType":"Date!","name":"_gt"},{"argumentType":"Date!","name":"_gte"},{"argumentType":"[Date!]!","name":"_in"},{"argumentType":"Date!","name":"_lt"},{"argumentType":"Date!","name":"_lte"},{"argumentType":"Date!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"date","operatorMapping":{}}],"type":"Date"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"DateAggExp"},"name":"DateAggExp","operand":{"scalar":{"aggregatedType":"Date","aggregationFunctions":[{"description":null,"name":"max","returnType":"Date"},{"description":null,"name":"min","returnType":"Date"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"date","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"UuidBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UuidBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Uuid!","name":"_eq"},{"argumentType":"Uuid!","name":"_gt"},{"argumentType":"Uuid!","name":"_gte"},{"argumentType":"[Uuid!]!","name":"_in"},{"argumentType":"Uuid!","name":"_lt"},{"argumentType":"Uuid!","name":"_lte"},{"argumentType":"Uuid!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"uuid","operatorMapping":{}}],"type":"Uuid"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"UuidAggExp"},"name":"UuidAggExp","operand":{"scalar":{"aggregatedType":"Uuid","aggregationFunctions":[],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"uuid","functionMapping":{}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"aurora","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{"explain":{},"transactional":{}},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"variables":{}},"relationships":{"order_by_aggregate":{},"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"foreign_keys":{"billing_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"}},"name":"billing","type":"billing","uniqueness_constraints":{"billing_pkey":{"unique_columns":["billing_id"]}}},{"arguments":{},"foreign_keys":{"credit_cards_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"}},"name":"credit_cards","type":"credit_cards","uniqueness_constraints":{"credit_cards_pkey":{"unique_columns":["credit_card_id"]}}},{"arguments":{},"foreign_keys":{"customer_link_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"}},"name":"customer_link","type":"customer_link","uniqueness_constraints":{"customer_link_customer_id_key":{"unique_columns":["customer_id"]},"customer_link_pkey":{"unique_columns":["id"]}}},{"arguments":{},"foreign_keys":{"customer_network_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"},"customer_network_node_id_fkey":{"column_mapping":{"node_id":"node_id"},"foreign_collection":"network"}},"name":"customer_network","type":"customer_network","uniqueness_constraints":{"customer_network_pkey":{"unique_columns":["customer_id","node_id"]}}},{"arguments":{},"foreign_keys":{"customer_plan_devices_customer_plan_id_fkey":{"column_mapping":{"customer_plan_id":"customer_plan_id"},"foreign_collection":"customer_plans"},"customer_plan_devices_device_id_fkey":{"column_mapping":{"device_id":"device_id"},"foreign_collection":"devices"}},"name":"customer_plan_devices","type":"customer_plan_devices","uniqueness_constraints":{"customer_plan_devices_pkey":{"unique_columns":["customer_plan_id","device_id"]}}},{"arguments":{},"foreign_keys":{"customer_plans_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"},"customer_plans_plan_id_fkey":{"column_mapping":{"plan_id":"plan_id"},"foreign_collection":"plans"}},"name":"customer_plans","type":"customer_plans","uniqueness_constraints":{"customer_plans_pkey":{"unique_columns":["customer_plan_id"]}}},{"arguments":{},"foreign_keys":{},"name":"customers","type":"customers","uniqueness_constraints":{"customers_phone_number_key":{"unique_columns":["phone_number"]},"customers_pkey":{"unique_columns":["customer_id"]}}},{"arguments":{},"foreign_keys":{},"name":"deals","type":"deals","uniqueness_constraints":{"deals_pkey":{"unique_columns":["deal_id"]}}},{"arguments":{},"foreign_keys":{},"name":"devices","type":"devices","uniqueness_constraints":{"devices_pkey":{"unique_columns":["device_id"]}}},{"arguments":{},"foreign_keys":{},"name":"network","type":"network","uniqueness_constraints":{"network_pkey":{"unique_columns":["node_id"]}}},{"arguments":{},"foreign_keys":{},"name":"plans","type":"plans","uniqueness_constraints":{"plans_pkey":{"unique_columns":["plan_id"]},"plans_plan_name_key":{"unique_columns":["plan_name"]}}}],"functions":[],"object_types":{"billing":{"fields":{"billing_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"billing_id":{"type":{"name":"int4","type":"named"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"payment_status":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"total_amount":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"credit_cards":{"fields":{"created_at":{"type":{"name":"timestamptz","type":"named"}},"credit_card_id":{"type":{"name":"int4","type":"named"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"cvv":{"type":{"name":"int4","type":"named"}},"expiry":{"type":{"name":"date","type":"named"}},"number":{"type":{"name":"text","type":"named"}},"updated_at":{"type":{"name":"timestamptz","type":"named"}}}},"customer_link":{"fields":{"customer_guid":{"type":{"name":"uuid","type":"named"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"id":{"type":{"name":"int4","type":"named"}}}},"customer_network":{"fields":{"customer_id":{"type":{"name":"int4","type":"named"}},"node_id":{"type":{"name":"int4","type":"named"}}}},"customer_plan_devices":{"fields":{"customer_plan_id":{"type":{"name":"int4","type":"named"}},"device_id":{"type":{"name":"int4","type":"named"}}}},"customer_plans":{"fields":{"cell_number":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"customer_plan_id":{"type":{"name":"int4","type":"named"}},"end_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"plan_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"status":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"customers":{"fields":{"address":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"city":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"country":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"customer_id":{"type":{"name":"int4","type":"named"}},"email":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"first_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"image":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"last_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"phone_number":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"postcode":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"segment":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"state":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"deals":{"fields":{"additional_benefits":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"customer_segment":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"deal_id":{"type":{"name":"int4","type":"named"}},"deal_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"description":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"end_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"max_monthly_spend":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"min_monthly_spend":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"terms_conditions":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"devices":{"fields":{"brand":{"type":{"name":"varchar","type":"named"}},"created_at":{"type":{"name":"timestamptz","type":"named"}},"device_id":{"type":{"name":"int4","type":"named"}},"image":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"model":{"type":{"name":"varchar","type":"named"}},"sf_record":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"updated_at":{"type":{"name":"timestamptz","type":"named"}}}},"network":{"fields":{"capacity":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"latitude":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"longitude":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"node_id":{"type":{"name":"int4","type":"named"}},"node_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"status":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"plans":{"fields":{"description":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"monthly_fee":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"plan_id":{"type":{"name":"int4","type":"named"}},"plan_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"sf_record":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"type":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_billing_billing_date":{"description":"Update the 'billing_date' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}}}},"update_column_billing_billing_id":{"description":"Update the 'billing_id' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_billing_customer_id":{"description":"Update the 'customer_id' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_billing_payment_status":{"description":"Update the 'payment_status' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_billing_total_amount":{"description":"Update the 'total_amount' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"update_column_credit_cards_created_at":{"description":"Update the 'created_at' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"update_column_credit_cards_credit_card_id":{"description":"Update the 'credit_card_id' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_credit_cards_customer_id":{"description":"Update the 'customer_id' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_credit_cards_cvv":{"description":"Update the 'cvv' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_credit_cards_expiry":{"description":"Update the 'expiry' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"date","type":"named"}}}},"update_column_credit_cards_number":{"description":"Update the 'number' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"text","type":"named"}}}},"update_column_credit_cards_updated_at":{"description":"Update the 'updated_at' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"update_column_customer_link_customer_guid":{"description":"Update the 'customer_guid' column in the 'customer_link' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"uuid","type":"named"}}}},"update_column_customer_link_customer_id":{"description":"Update the 'customer_id' column in the 'customer_link' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_customer_link_id":{"description":"Update the 'id' column in the 'customer_link' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customer_network_customer_id":{"description":"Update the 'customer_id' column in the 'customer_network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customer_network_node_id":{"description":"Update the 'node_id' column in the 'customer_network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customer_plan_devices_customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customer_plan_devices_device_id":{"description":"Update the 'device_id' column in the 'customer_plan_devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customer_plans_cell_number":{"description":"Update the 'cell_number' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customer_plans_customer_id":{"description":"Update the 'customer_id' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_customer_plans_customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customer_plans_end_date":{"description":"Update the 'end_date' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}}}},"update_column_customer_plans_plan_id":{"description":"Update the 'plan_id' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_customer_plans_start_date":{"description":"Update the 'start_date' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}}}},"update_column_customer_plans_status":{"description":"Update the 'status' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_address":{"description":"Update the 'address' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_city":{"description":"Update the 'city' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_country":{"description":"Update the 'country' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_customer_id":{"description":"Update the 'customer_id' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_customers_email":{"description":"Update the 'email' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_first_name":{"description":"Update the 'first_name' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_image":{"description":"Update the 'image' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_last_name":{"description":"Update the 'last_name' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_phone_number":{"description":"Update the 'phone_number' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_postcode":{"description":"Update the 'postcode' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_segment":{"description":"Update the 'segment' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_customers_state":{"description":"Update the 'state' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_deals_additional_benefits":{"description":"Update the 'additional_benefits' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_deals_customer_segment":{"description":"Update the 'customer_segment' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_deals_deal_id":{"description":"Update the 'deal_id' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_deals_deal_name":{"description":"Update the 'deal_name' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_deals_description":{"description":"Update the 'description' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_deals_end_date":{"description":"Update the 'end_date' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}}}},"update_column_deals_max_monthly_spend":{"description":"Update the 'max_monthly_spend' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"update_column_deals_min_monthly_spend":{"description":"Update the 'min_monthly_spend' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"update_column_deals_start_date":{"description":"Update the 'start_date' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}}}},"update_column_deals_terms_conditions":{"description":"Update the 'terms_conditions' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_devices_brand":{"description":"Update the 'brand' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"varchar","type":"named"}}}},"update_column_devices_created_at":{"description":"Update the 'created_at' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"update_column_devices_device_id":{"description":"Update the 'device_id' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_devices_image":{"description":"Update the 'image' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_devices_model":{"description":"Update the 'model' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"varchar","type":"named"}}}},"update_column_devices_sf_record":{"description":"Update the 'sf_record' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_devices_updated_at":{"description":"Update the 'updated_at' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"update_column_network_capacity":{"description":"Update the 'capacity' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_network_latitude":{"description":"Update the 'latitude' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"update_column_network_longitude":{"description":"Update the 'longitude' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"update_column_network_node_id":{"description":"Update the 'node_id' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_network_node_name":{"description":"Update the 'node_name' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_network_status":{"description":"Update the 'status' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_plans_description":{"description":"Update the 'description' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_plans_monthly_fee":{"description":"Update the 'monthly_fee' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"update_column_plans_plan_id":{"description":"Update the 'plan_id' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_plans_plan_name":{"description":"Update the 'plan_name' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_plans_sf_record":{"description":"Update the 'sf_record' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_plans_type":{"description":"Update the 'type' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"v2_delete_billing_by_billing_id_response":{"description":"Responses from the 'v2_delete_billing_by_billing_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"billing","type":"named"},"type":"array"}}}},"v2_delete_credit_cards_by_credit_card_id_response":{"description":"Responses from the 'v2_delete_credit_cards_by_credit_card_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"credit_cards","type":"named"},"type":"array"}}}},"v2_delete_customer_link_by_customer_id_response":{"description":"Responses from the 'v2_delete_customer_link_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_link","type":"named"},"type":"array"}}}},"v2_delete_customer_link_by_id_response":{"description":"Responses from the 'v2_delete_customer_link_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_link","type":"named"},"type":"array"}}}},"v2_delete_customer_network_by_customer_id_and_node_id_response":{"description":"Responses from the 'v2_delete_customer_network_by_customer_id_and_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_network","type":"named"},"type":"array"}}}},"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id_response":{"description":"Responses from the 'v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_plan_devices","type":"named"},"type":"array"}}}},"v2_delete_customer_plans_by_customer_plan_id_response":{"description":"Responses from the 'v2_delete_customer_plans_by_customer_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_plans","type":"named"},"type":"array"}}}},"v2_delete_customers_by_customer_id_response":{"description":"Responses from the 'v2_delete_customers_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customers","type":"named"},"type":"array"}}}},"v2_delete_customers_by_phone_number_response":{"description":"Responses from the 'v2_delete_customers_by_phone_number' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customers","type":"named"},"type":"array"}}}},"v2_delete_deals_by_deal_id_response":{"description":"Responses from the 'v2_delete_deals_by_deal_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"deals","type":"named"},"type":"array"}}}},"v2_delete_devices_by_device_id_response":{"description":"Responses from the 'v2_delete_devices_by_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"devices","type":"named"},"type":"array"}}}},"v2_delete_network_by_node_id_response":{"description":"Responses from the 'v2_delete_network_by_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"network","type":"named"},"type":"array"}}}},"v2_delete_plans_by_plan_id_response":{"description":"Responses from the 'v2_delete_plans_by_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"plans","type":"named"},"type":"array"}}}},"v2_delete_plans_by_plan_name_response":{"description":"Responses from the 'v2_delete_plans_by_plan_name' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"plans","type":"named"},"type":"array"}}}},"v2_insert_billing_object":{"fields":{"billing_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"billing_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"payment_status":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"total_amount":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}}},"v2_insert_billing_response":{"description":"Responses from the 'v2_insert_billing' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"billing","type":"named"},"type":"array"}}}},"v2_insert_credit_cards_object":{"fields":{"created_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"credit_card_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"cvv":{"type":{"name":"int4","type":"named"}},"expiry":{"type":{"name":"date","type":"named"}},"number":{"type":{"name":"text","type":"named"}},"updated_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}}},"v2_insert_credit_cards_response":{"description":"Responses from the 'v2_insert_credit_cards' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"credit_cards","type":"named"},"type":"array"}}}},"v2_insert_customer_link_object":{"fields":{"customer_guid":{"type":{"name":"uuid","type":"named"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"v2_insert_customer_link_response":{"description":"Responses from the 'v2_insert_customer_link' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_link","type":"named"},"type":"array"}}}},"v2_insert_customer_network_object":{"fields":{"customer_id":{"type":{"name":"int4","type":"named"}},"node_id":{"type":{"name":"int4","type":"named"}}}},"v2_insert_customer_network_response":{"description":"Responses from the 'v2_insert_customer_network' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_network","type":"named"},"type":"array"}}}},"v2_insert_customer_plan_devices_object":{"fields":{"customer_plan_id":{"type":{"name":"int4","type":"named"}},"device_id":{"type":{"name":"int4","type":"named"}}}},"v2_insert_customer_plan_devices_response":{"description":"Responses from the 'v2_insert_customer_plan_devices' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_plan_devices","type":"named"},"type":"array"}}}},"v2_insert_customer_plans_object":{"fields":{"cell_number":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"customer_plan_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"end_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"plan_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"status":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"v2_insert_customer_plans_response":{"description":"Responses from the 'v2_insert_customer_plans' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_plans","type":"named"},"type":"array"}}}},"v2_insert_customers_object":{"fields":{"address":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"city":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"country":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"email":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"first_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"image":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"last_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"phone_number":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"postcode":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"segment":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"state":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"v2_insert_customers_response":{"description":"Responses from the 'v2_insert_customers' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customers","type":"named"},"type":"array"}}}},"v2_insert_deals_object":{"fields":{"additional_benefits":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"customer_segment":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"deal_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"deal_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"description":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"end_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"max_monthly_spend":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"min_monthly_spend":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"terms_conditions":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"v2_insert_deals_response":{"description":"Responses from the 'v2_insert_deals' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"deals","type":"named"},"type":"array"}}}},"v2_insert_devices_object":{"fields":{"brand":{"type":{"name":"varchar","type":"named"}},"created_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"device_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"image":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"model":{"type":{"name":"varchar","type":"named"}},"sf_record":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}}},"v2_insert_devices_response":{"description":"Responses from the 'v2_insert_devices' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"devices","type":"named"},"type":"array"}}}},"v2_insert_network_object":{"fields":{"capacity":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"latitude":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"longitude":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"node_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"node_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"status":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"v2_insert_network_response":{"description":"Responses from the 'v2_insert_network' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"network","type":"named"},"type":"array"}}}},"v2_insert_plans_object":{"fields":{"description":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"monthly_fee":{"type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"plan_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"plan_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"sf_record":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"type":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"v2_insert_plans_response":{"description":"Responses from the 'v2_insert_plans' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"plans","type":"named"},"type":"array"}}}},"v2_update_billing_by_billing_id_response":{"description":"Responses from the 'v2_update_billing_by_billing_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"billing","type":"named"},"type":"array"}}}},"v2_update_billing_by_billing_id_update_columns":{"description":"Update the columns of the 'billing' collection","fields":{"billing_date":{"description":"Update the 'billing_date' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_billing_billing_date","type":"named"}}},"billing_id":{"description":"Update the 'billing_id' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_billing_billing_id","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_billing_customer_id","type":"named"}}},"payment_status":{"description":"Update the 'payment_status' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_billing_payment_status","type":"named"}}},"total_amount":{"description":"Update the 'total_amount' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_billing_total_amount","type":"named"}}}}},"v2_update_credit_cards_by_credit_card_id_response":{"description":"Responses from the 'v2_update_credit_cards_by_credit_card_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"credit_cards","type":"named"},"type":"array"}}}},"v2_update_credit_cards_by_credit_card_id_update_columns":{"description":"Update the columns of the 'credit_cards' collection","fields":{"created_at":{"description":"Update the 'created_at' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_created_at","type":"named"}}},"credit_card_id":{"description":"Update the 'credit_card_id' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_credit_card_id","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_customer_id","type":"named"}}},"cvv":{"description":"Update the 'cvv' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_cvv","type":"named"}}},"expiry":{"description":"Update the 'expiry' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_expiry","type":"named"}}},"number":{"description":"Update the 'number' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_number","type":"named"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_credit_cards_updated_at","type":"named"}}}}},"v2_update_customer_link_by_customer_id_response":{"description":"Responses from the 'v2_update_customer_link_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_link","type":"named"},"type":"array"}}}},"v2_update_customer_link_by_customer_id_update_columns":{"description":"Update the columns of the 'customer_link' collection","fields":{"customer_guid":{"description":"Update the 'customer_guid' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_link_customer_guid","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_link_customer_id","type":"named"}}},"id":{"description":"Update the 'id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_link_id","type":"named"}}}}},"v2_update_customer_link_by_id_response":{"description":"Responses from the 'v2_update_customer_link_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_link","type":"named"},"type":"array"}}}},"v2_update_customer_link_by_id_update_columns":{"description":"Update the columns of the 'customer_link' collection","fields":{"customer_guid":{"description":"Update the 'customer_guid' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_link_customer_guid","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_link_customer_id","type":"named"}}},"id":{"description":"Update the 'id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_link_id","type":"named"}}}}},"v2_update_customer_network_by_customer_id_and_node_id_response":{"description":"Responses from the 'v2_update_customer_network_by_customer_id_and_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_network","type":"named"},"type":"array"}}}},"v2_update_customer_network_by_customer_id_and_node_id_update_columns":{"description":"Update the columns of the 'customer_network' collection","fields":{"customer_id":{"description":"Update the 'customer_id' column in the 'customer_network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_network_customer_id","type":"named"}}},"node_id":{"description":"Update the 'node_id' column in the 'customer_network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_network_node_id","type":"named"}}}}},"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_response":{"description":"Responses from the 'v2_update_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_plan_devices","type":"named"},"type":"array"}}}},"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_update_columns":{"description":"Update the columns of the 'customer_plan_devices' collection","fields":{"customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plan_devices_customer_plan_id","type":"named"}}},"device_id":{"description":"Update the 'device_id' column in the 'customer_plan_devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plan_devices_device_id","type":"named"}}}}},"v2_update_customer_plans_by_customer_plan_id_response":{"description":"Responses from the 'v2_update_customer_plans_by_customer_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customer_plans","type":"named"},"type":"array"}}}},"v2_update_customer_plans_by_customer_plan_id_update_columns":{"description":"Update the columns of the 'customer_plans' collection","fields":{"cell_number":{"description":"Update the 'cell_number' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_cell_number","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_customer_id","type":"named"}}},"customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_customer_plan_id","type":"named"}}},"end_date":{"description":"Update the 'end_date' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_end_date","type":"named"}}},"plan_id":{"description":"Update the 'plan_id' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_plan_id","type":"named"}}},"start_date":{"description":"Update the 'start_date' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_start_date","type":"named"}}},"status":{"description":"Update the 'status' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customer_plans_status","type":"named"}}}}},"v2_update_customers_by_customer_id_response":{"description":"Responses from the 'v2_update_customers_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customers","type":"named"},"type":"array"}}}},"v2_update_customers_by_customer_id_update_columns":{"description":"Update the columns of the 'customers' collection","fields":{"address":{"description":"Update the 'address' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_address","type":"named"}}},"city":{"description":"Update the 'city' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_city","type":"named"}}},"country":{"description":"Update the 'country' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_country","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_customer_id","type":"named"}}},"email":{"description":"Update the 'email' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_email","type":"named"}}},"first_name":{"description":"Update the 'first_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_first_name","type":"named"}}},"image":{"description":"Update the 'image' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_image","type":"named"}}},"last_name":{"description":"Update the 'last_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_last_name","type":"named"}}},"phone_number":{"description":"Update the 'phone_number' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_phone_number","type":"named"}}},"postcode":{"description":"Update the 'postcode' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_postcode","type":"named"}}},"segment":{"description":"Update the 'segment' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_segment","type":"named"}}},"state":{"description":"Update the 'state' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_state","type":"named"}}}}},"v2_update_customers_by_phone_number_response":{"description":"Responses from the 'v2_update_customers_by_phone_number' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"customers","type":"named"},"type":"array"}}}},"v2_update_customers_by_phone_number_update_columns":{"description":"Update the columns of the 'customers' collection","fields":{"address":{"description":"Update the 'address' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_address","type":"named"}}},"city":{"description":"Update the 'city' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_city","type":"named"}}},"country":{"description":"Update the 'country' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_country","type":"named"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_customer_id","type":"named"}}},"email":{"description":"Update the 'email' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_email","type":"named"}}},"first_name":{"description":"Update the 'first_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_first_name","type":"named"}}},"image":{"description":"Update the 'image' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_image","type":"named"}}},"last_name":{"description":"Update the 'last_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_last_name","type":"named"}}},"phone_number":{"description":"Update the 'phone_number' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_phone_number","type":"named"}}},"postcode":{"description":"Update the 'postcode' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_postcode","type":"named"}}},"segment":{"description":"Update the 'segment' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_segment","type":"named"}}},"state":{"description":"Update the 'state' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_customers_state","type":"named"}}}}},"v2_update_deals_by_deal_id_response":{"description":"Responses from the 'v2_update_deals_by_deal_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"deals","type":"named"},"type":"array"}}}},"v2_update_deals_by_deal_id_update_columns":{"description":"Update the columns of the 'deals' collection","fields":{"additional_benefits":{"description":"Update the 'additional_benefits' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_additional_benefits","type":"named"}}},"customer_segment":{"description":"Update the 'customer_segment' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_customer_segment","type":"named"}}},"deal_id":{"description":"Update the 'deal_id' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_deal_id","type":"named"}}},"deal_name":{"description":"Update the 'deal_name' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_deal_name","type":"named"}}},"description":{"description":"Update the 'description' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_description","type":"named"}}},"end_date":{"description":"Update the 'end_date' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_end_date","type":"named"}}},"max_monthly_spend":{"description":"Update the 'max_monthly_spend' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_max_monthly_spend","type":"named"}}},"min_monthly_spend":{"description":"Update the 'min_monthly_spend' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_min_monthly_spend","type":"named"}}},"start_date":{"description":"Update the 'start_date' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_start_date","type":"named"}}},"terms_conditions":{"description":"Update the 'terms_conditions' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_deals_terms_conditions","type":"named"}}}}},"v2_update_devices_by_device_id_response":{"description":"Responses from the 'v2_update_devices_by_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"devices","type":"named"},"type":"array"}}}},"v2_update_devices_by_device_id_update_columns":{"description":"Update the columns of the 'devices' collection","fields":{"brand":{"description":"Update the 'brand' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_brand","type":"named"}}},"created_at":{"description":"Update the 'created_at' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_created_at","type":"named"}}},"device_id":{"description":"Update the 'device_id' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_device_id","type":"named"}}},"image":{"description":"Update the 'image' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_image","type":"named"}}},"model":{"description":"Update the 'model' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_model","type":"named"}}},"sf_record":{"description":"Update the 'sf_record' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_sf_record","type":"named"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_devices_updated_at","type":"named"}}}}},"v2_update_network_by_node_id_response":{"description":"Responses from the 'v2_update_network_by_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"network","type":"named"},"type":"array"}}}},"v2_update_network_by_node_id_update_columns":{"description":"Update the columns of the 'network' collection","fields":{"capacity":{"description":"Update the 'capacity' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_network_capacity","type":"named"}}},"latitude":{"description":"Update the 'latitude' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_network_latitude","type":"named"}}},"longitude":{"description":"Update the 'longitude' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_network_longitude","type":"named"}}},"node_id":{"description":"Update the 'node_id' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_network_node_id","type":"named"}}},"node_name":{"description":"Update the 'node_name' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_network_node_name","type":"named"}}},"status":{"description":"Update the 'status' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_network_status","type":"named"}}}}},"v2_update_plans_by_plan_id_response":{"description":"Responses from the 'v2_update_plans_by_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"plans","type":"named"},"type":"array"}}}},"v2_update_plans_by_plan_id_update_columns":{"description":"Update the columns of the 'plans' collection","fields":{"description":{"description":"Update the 'description' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_description","type":"named"}}},"monthly_fee":{"description":"Update the 'monthly_fee' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_monthly_fee","type":"named"}}},"plan_id":{"description":"Update the 'plan_id' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_plan_id","type":"named"}}},"plan_name":{"description":"Update the 'plan_name' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_plan_name","type":"named"}}},"sf_record":{"description":"Update the 'sf_record' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_sf_record","type":"named"}}},"type":{"description":"Update the 'type' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_type","type":"named"}}}}},"v2_update_plans_by_plan_name_response":{"description":"Responses from the 'v2_update_plans_by_plan_name' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"plans","type":"named"},"type":"array"}}}},"v2_update_plans_by_plan_name_update_columns":{"description":"Update the columns of the 'plans' collection","fields":{"description":{"description":"Update the 'description' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_description","type":"named"}}},"monthly_fee":{"description":"Update the 'monthly_fee' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_monthly_fee","type":"named"}}},"plan_id":{"description":"Update the 'plan_id' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_plan_id","type":"named"}}},"plan_name":{"description":"Update the 'plan_name' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_plan_name","type":"named"}}},"sf_record":{"description":"Update the 'sf_record' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_sf_record","type":"named"}}},"type":{"description":"Update the 'type' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_plans_type","type":"named"}}}}}},"procedures":[{"arguments":{"key_billing_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'billing' collection","type":{"object_type_name":"billing","type":"predicate"}}},"description":"Delete any row on the 'billing' collection using the 'billing_id' key","name":"v2_delete_billing_by_billing_id","result_type":{"name":"v2_delete_billing_by_billing_id_response","type":"named"}},{"arguments":{"key_credit_card_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'credit_cards' collection","type":{"object_type_name":"credit_cards","type":"predicate"}}},"description":"Delete any row on the 'credit_cards' collection using the 'credit_card_id' key","name":"v2_delete_credit_cards_by_credit_card_id","result_type":{"name":"v2_delete_credit_cards_by_credit_card_id_response","type":"named"}},{"arguments":{"key_customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"pre_check":{"description":"Delete permission predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}}},"description":"Delete any row on the 'customer_link' collection using the 'customer_id' key","name":"v2_delete_customer_link_by_customer_id","result_type":{"name":"v2_delete_customer_link_by_customer_id_response","type":"named"}},{"arguments":{"key_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}}},"description":"Delete any row on the 'customer_link' collection using the 'id' key","name":"v2_delete_customer_link_by_id","result_type":{"name":"v2_delete_customer_link_by_id_response","type":"named"}},{"arguments":{"key_customer_id":{"type":{"name":"int4","type":"named"}},"key_node_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'customer_network' collection","type":{"object_type_name":"customer_network","type":"predicate"}}},"description":"Delete any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys","name":"v2_delete_customer_network_by_customer_id_and_node_id","result_type":{"name":"v2_delete_customer_network_by_customer_id_and_node_id_response","type":"named"}},{"arguments":{"key_customer_plan_id":{"type":{"name":"int4","type":"named"}},"key_device_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'customer_plan_devices' collection","type":{"object_type_name":"customer_plan_devices","type":"predicate"}}},"description":"Delete any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys","name":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id","result_type":{"name":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id_response","type":"named"}},{"arguments":{"key_customer_plan_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'customer_plans' collection","type":{"object_type_name":"customer_plans","type":"predicate"}}},"description":"Delete any row on the 'customer_plans' collection using the 'customer_plan_id' key","name":"v2_delete_customer_plans_by_customer_plan_id","result_type":{"name":"v2_delete_customer_plans_by_customer_plan_id_response","type":"named"}},{"arguments":{"key_customer_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}}},"description":"Delete any row on the 'customers' collection using the 'customer_id' key","name":"v2_delete_customers_by_customer_id","result_type":{"name":"v2_delete_customers_by_customer_id_response","type":"named"}},{"arguments":{"key_phone_number":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"pre_check":{"description":"Delete permission predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}}},"description":"Delete any row on the 'customers' collection using the 'phone_number' key","name":"v2_delete_customers_by_phone_number","result_type":{"name":"v2_delete_customers_by_phone_number_response","type":"named"}},{"arguments":{"key_deal_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'deals' collection","type":{"object_type_name":"deals","type":"predicate"}}},"description":"Delete any row on the 'deals' collection using the 'deal_id' key","name":"v2_delete_deals_by_deal_id","result_type":{"name":"v2_delete_deals_by_deal_id_response","type":"named"}},{"arguments":{"key_device_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'devices' collection","type":{"object_type_name":"devices","type":"predicate"}}},"description":"Delete any row on the 'devices' collection using the 'device_id' key","name":"v2_delete_devices_by_device_id","result_type":{"name":"v2_delete_devices_by_device_id_response","type":"named"}},{"arguments":{"key_node_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'network' collection","type":{"object_type_name":"network","type":"predicate"}}},"description":"Delete any row on the 'network' collection using the 'node_id' key","name":"v2_delete_network_by_node_id","result_type":{"name":"v2_delete_network_by_node_id_response","type":"named"}},{"arguments":{"key_plan_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}}},"description":"Delete any row on the 'plans' collection using the 'plan_id' key","name":"v2_delete_plans_by_plan_id","result_type":{"name":"v2_delete_plans_by_plan_id_response","type":"named"}},{"arguments":{"key_plan_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"pre_check":{"description":"Delete permission predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}}},"description":"Delete any row on the 'plans' collection using the 'plan_name' key","name":"v2_delete_plans_by_plan_name","result_type":{"name":"v2_delete_plans_by_plan_name_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_billing_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'billing' collection","type":{"object_type_name":"billing","type":"predicate"}}},"description":"Insert into the billing table","name":"v2_insert_billing","result_type":{"name":"v2_insert_billing_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_credit_cards_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'credit_cards' collection","type":{"object_type_name":"credit_cards","type":"predicate"}}},"description":"Insert into the credit_cards table","name":"v2_insert_credit_cards","result_type":{"name":"v2_insert_credit_cards_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_customer_link_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}}},"description":"Insert into the customer_link table","name":"v2_insert_customer_link","result_type":{"name":"v2_insert_customer_link_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_customer_network_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'customer_network' collection","type":{"object_type_name":"customer_network","type":"predicate"}}},"description":"Insert into the customer_network table","name":"v2_insert_customer_network","result_type":{"name":"v2_insert_customer_network_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_customer_plan_devices_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'customer_plan_devices' collection","type":{"object_type_name":"customer_plan_devices","type":"predicate"}}},"description":"Insert into the customer_plan_devices table","name":"v2_insert_customer_plan_devices","result_type":{"name":"v2_insert_customer_plan_devices_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_customer_plans_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'customer_plans' collection","type":{"object_type_name":"customer_plans","type":"predicate"}}},"description":"Insert into the customer_plans table","name":"v2_insert_customer_plans","result_type":{"name":"v2_insert_customer_plans_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_customers_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}}},"description":"Insert into the customers table","name":"v2_insert_customers","result_type":{"name":"v2_insert_customers_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_deals_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'deals' collection","type":{"object_type_name":"deals","type":"predicate"}}},"description":"Insert into the deals table","name":"v2_insert_deals","result_type":{"name":"v2_insert_deals_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_devices_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'devices' collection","type":{"object_type_name":"devices","type":"predicate"}}},"description":"Insert into the devices table","name":"v2_insert_devices","result_type":{"name":"v2_insert_devices_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_network_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'network' collection","type":{"object_type_name":"network","type":"predicate"}}},"description":"Insert into the network table","name":"v2_insert_network","result_type":{"name":"v2_insert_network_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_plans_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}}},"description":"Insert into the plans table","name":"v2_insert_plans","result_type":{"name":"v2_insert_plans_response","type":"named"}},{"arguments":{"key_billing_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'billing' collection","type":{"object_type_name":"billing","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'billing' collection","type":{"object_type_name":"billing","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_billing_by_billing_id_update_columns","type":"named"}}},"description":"Update any row on the 'billing' collection using the 'billing_id' key","name":"v2_update_billing_by_billing_id","result_type":{"name":"v2_update_billing_by_billing_id_response","type":"named"}},{"arguments":{"key_credit_card_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'credit_cards' collection","type":{"object_type_name":"credit_cards","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'credit_cards' collection","type":{"object_type_name":"credit_cards","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_credit_cards_by_credit_card_id_update_columns","type":"named"}}},"description":"Update any row on the 'credit_cards' collection using the 'credit_card_id' key","name":"v2_update_credit_cards_by_credit_card_id","result_type":{"name":"v2_update_credit_cards_by_credit_card_id_response","type":"named"}},{"arguments":{"key_customer_id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customer_link_by_customer_id_update_columns","type":"named"}}},"description":"Update any row on the 'customer_link' collection using the 'customer_id' key","name":"v2_update_customer_link_by_customer_id","result_type":{"name":"v2_update_customer_link_by_customer_id_response","type":"named"}},{"arguments":{"key_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_link' collection","type":{"object_type_name":"customer_link","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customer_link_by_id_update_columns","type":"named"}}},"description":"Update any row on the 'customer_link' collection using the 'id' key","name":"v2_update_customer_link_by_id","result_type":{"name":"v2_update_customer_link_by_id_response","type":"named"}},{"arguments":{"key_customer_id":{"type":{"name":"int4","type":"named"}},"key_node_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_network' collection","type":{"object_type_name":"customer_network","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_network' collection","type":{"object_type_name":"customer_network","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customer_network_by_customer_id_and_node_id_update_columns","type":"named"}}},"description":"Update any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys","name":"v2_update_customer_network_by_customer_id_and_node_id","result_type":{"name":"v2_update_customer_network_by_customer_id_and_node_id_response","type":"named"}},{"arguments":{"key_customer_plan_id":{"type":{"name":"int4","type":"named"}},"key_device_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_plan_devices' collection","type":{"object_type_name":"customer_plan_devices","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_plan_devices' collection","type":{"object_type_name":"customer_plan_devices","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_update_columns","type":"named"}}},"description":"Update any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys","name":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id","result_type":{"name":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_response","type":"named"}},{"arguments":{"key_customer_plan_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_plans' collection","type":{"object_type_name":"customer_plans","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_plans' collection","type":{"object_type_name":"customer_plans","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customer_plans_by_customer_plan_id_update_columns","type":"named"}}},"description":"Update any row on the 'customer_plans' collection using the 'customer_plan_id' key","name":"v2_update_customer_plans_by_customer_plan_id","result_type":{"name":"v2_update_customer_plans_by_customer_plan_id_response","type":"named"}},{"arguments":{"key_customer_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customers_by_customer_id_update_columns","type":"named"}}},"description":"Update any row on the 'customers' collection using the 'customer_id' key","name":"v2_update_customers_by_customer_id","result_type":{"name":"v2_update_customers_by_customer_id_response","type":"named"}},{"arguments":{"key_phone_number":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"post_check":{"description":"Update permission post-condition predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customers' collection","type":{"object_type_name":"customers","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_customers_by_phone_number_update_columns","type":"named"}}},"description":"Update any row on the 'customers' collection using the 'phone_number' key","name":"v2_update_customers_by_phone_number","result_type":{"name":"v2_update_customers_by_phone_number_response","type":"named"}},{"arguments":{"key_deal_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'deals' collection","type":{"object_type_name":"deals","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'deals' collection","type":{"object_type_name":"deals","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_deals_by_deal_id_update_columns","type":"named"}}},"description":"Update any row on the 'deals' collection using the 'deal_id' key","name":"v2_update_deals_by_deal_id","result_type":{"name":"v2_update_deals_by_deal_id_response","type":"named"}},{"arguments":{"key_device_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'devices' collection","type":{"object_type_name":"devices","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'devices' collection","type":{"object_type_name":"devices","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_devices_by_device_id_update_columns","type":"named"}}},"description":"Update any row on the 'devices' collection using the 'device_id' key","name":"v2_update_devices_by_device_id","result_type":{"name":"v2_update_devices_by_device_id_response","type":"named"}},{"arguments":{"key_node_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'network' collection","type":{"object_type_name":"network","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'network' collection","type":{"object_type_name":"network","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_network_by_node_id_update_columns","type":"named"}}},"description":"Update any row on the 'network' collection using the 'node_id' key","name":"v2_update_network_by_node_id","result_type":{"name":"v2_update_network_by_node_id_response","type":"named"}},{"arguments":{"key_plan_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_plans_by_plan_id_update_columns","type":"named"}}},"description":"Update any row on the 'plans' collection using the 'plan_id' key","name":"v2_update_plans_by_plan_id","result_type":{"name":"v2_update_plans_by_plan_id_response","type":"named"}},{"arguments":{"key_plan_name":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"post_check":{"description":"Update permission post-condition predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'plans' collection","type":{"object_type_name":"plans","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_plans_by_plan_name_update_columns","type":"named"}}},"description":"Update any row on the 'plans' collection using the 'plan_name' key","name":"v2_update_plans_by_plan_name","result_type":{"name":"v2_update_plans_by_plan_name_response","type":"named"}}],"scalar_types":{"date":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"date","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"date","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"date","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"date","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"date","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"date","type":"named"},"type":"custom"}},"representation":{"type":"date"}},"int4":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int4","type":"named"},"type":"custom"}},"representation":{"type":"int32"}},"int8":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int8","type":"named"},"type":"custom"}},"representation":{"type":"int64"}},"numeric":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"}},"representation":{"type":"bigdecimal"}},"text":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"text","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"timestamptz":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"}},"representation":{"type":"timestamptz"}},"uuid":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"}},"representation":{"type":"uuid"}},"varchar":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"}},"representation":{"type":"string"}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:6742"},"write":{"value":"http://local.hasura.dev:6742"}}}},"kind":"DataConnectorLink","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"billingDate"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatBillingDate","sourceType":"Billing","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"number"}]},"target":{"argument":{"argumentName":"cardNumber"}}}],"name":"maskCreditCard","sourceType":"CreditCards","target":{"command":{"name":"MaskCardNumber","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"customerPreferences","sourceType":"CustomerLink","target":{"model":{"name":"CustomerPreferences","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_behavioralData","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":"must be a valid ISO date and is required","name":"lastAppLogin","type":"String!"},{"arguments":[],"deprecated":null,"description":"must be a valid ISO date and is required","name":"lastWebsiteVisit","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"CustomerPreferencesBehavioralDataInput","typeName":"CustomerPreferencesBehavioralData"},"name":"CustomerPreferencesBehavioralData"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["lastAppLogin","lastWebsiteVisit"]},"role":"admin"},{"input":null,"output":{"allowedFields":["lastAppLogin","lastWebsiteVisit"]},"role":"customer"}],"typeName":"CustomerPreferencesBehavioralData"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_customerNotes","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":"must be a string and is required","name":"author","type":"String!"},{"arguments":[],"deprecated":null,"description":"must be a string and is required","name":"content","type":"String!"},{"arguments":[],"deprecated":null,"description":"must be a valid ISO date and is required","name":"date","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"CustomerPreferencesCustomerNotesInput","typeName":"CustomerPreferencesCustomerNotes"},"name":"CustomerPreferencesCustomerNotes"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["author","content","date"]},"role":"admin"}],"typeName":"CustomerPreferencesCustomerNotes"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_preferences","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":"must be one of 'email', 'phone', or 'SMS' and is required","name":"contactMethod","type":"String!"},{"arguments":[],"deprecated":null,"description":"must be a boolean value and is required","name":"marketingOptIn","type":"Bool!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"CustomerPreferencesPreferencesInput","typeName":"CustomerPreferencesPreferences"},"name":"CustomerPreferencesPreferences"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["contactMethod","marketingOptIn"]},"role":"admin"}],"typeName":"CustomerPreferencesPreferences"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_socialMedia","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":"must be a valid Facebook URL","name":"facebook","type":"String"},{"arguments":[],"deprecated":null,"description":"must be a valid LinkedIn URL","name":"linkedin","type":"String"},{"arguments":[],"deprecated":null,"description":"must be a valid Twitter URL","name":"twitter","type":"String"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"CustomerPreferencesSocialMediaInput","typeName":"CustomerPreferencesSocialMedia"},"name":"CustomerPreferencesSocialMedia"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["facebook","linkedin","twitter"]},"role":"admin"}],"typeName":"CustomerPreferencesSocialMedia"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences","fieldMapping":{"behavioralData":{"column":{"argumentMapping":null,"name":"behavioralData"}},"customerGuid":{"column":{"argumentMapping":null,"name":"customer_guid"}},"customerNotes":{"column":{"argumentMapping":null,"name":"customerNotes"}},"id":{"column":{"argumentMapping":null,"name":"_id"}},"preferences":{"column":{"argumentMapping":null,"name":"preferences"}},"socialMedia":{"column":{"argumentMapping":null,"name":"socialMedia"}}}}],"description":"Object type for collection customerPreferences","fields":[{"arguments":[],"deprecated":null,"description":"primary key _id","name":"id","type":"ObjectId!"},{"arguments":[],"deprecated":null,"description":"behavioralData is an object containing behavioral metrics","name":"behavioralData","type":"CustomerPreferencesBehavioralData!"},{"arguments":[],"deprecated":null,"description":"must be a string and is required","name":"customerGuid","type":"String!"},{"arguments":[],"deprecated":null,"description":"customerNotes is an array of note objects with author, date, and content","name":"customerNotes","type":"[CustomerPreferencesCustomerNotes!]!"},{"arguments":[],"deprecated":null,"description":null,"name":"preferences","type":"CustomerPreferencesPreferences!"},{"arguments":[],"deprecated":null,"description":"socialMedia is an object containing social media profile URLs","name":"socialMedia","type":"CustomerPreferencesSocialMedia"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"CustomerPreferencesInput","typeName":"CustomerPreferences"},"name":"CustomerPreferences"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["id","behavioralData","customerGuid","customerNotes","preferences","socialMedia"]},"role":"admin"},{"input":null,"output":{"allowedFields":["id","behavioralData","customerGuid","customerNotes","preferences","socialMedia"]},"role":"customer"}],"typeName":"CustomerPreferences"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CustomerPreferencesAggExp","arguments":[],"description":null,"filterExpressionType":"CustomerPreferencesBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"customerPreferencesAggregate","subscription":{"deprecated":null,"description":null,"pollingIntervalMs":1000,"rootField":"customerPreferencesAggregate"}},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CustomerPreferencesFilterInput","orderByExpressionType":"CustomerPreferencesOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"customerPreferences","subscription":{"deprecated":null,"description":"Subscribe to customere preferences model","pollingIntervalMs":1000,"rootField":"customer_preferences"}},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"customerPreferencesById","subscription":null,"uniqueIdentifier":["id"]}]},"name":"CustomerPreferences","objectType":"CustomerPreferences","orderableFields":[{"fieldName":"id","orderByDirections":{"enableAll":true}},{"fieldName":"behavioralData","orderByDirections":{"enableAll":true}},{"fieldName":"customerGuid","orderByDirections":{"enableAll":true}},{"fieldName":"customerNotes","orderByDirections":{"enableAll":true}},{"fieldName":"preferences","orderByDirections":{"enableAll":true}},{"fieldName":"socialMedia","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"customerPreferences","dataConnectorName":"mongo"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"CustomerPreferences","permissions":[{"role":"admin","select":{"allowSubscriptions":true,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"customerlink","sourceType":"CustomerPreferences","target":{"model":{"name":"CustomerLink","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CustomerPreferencesAggExp"},"name":"CustomerPreferencesAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"ObjectIdAggExp","description":null,"fieldName":"id"},{"aggregateExpression":"Customer_StringAggExp","description":null,"fieldName":"customerGuid"}],"aggregatedType":"CustomerPreferences"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"CustomerPreferencesBehavioralDataBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerPreferencesBehavioralDataBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"lastAppLogin"},{"booleanExpressionType":"StringBoolExp","fieldName":"lastWebsiteVisit"}],"comparableRelationships":[],"type":"CustomerPreferencesBehavioralData"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"CustomerPreferencesPreferencesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerPreferencesPreferencesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"contactMethod"},{"booleanExpressionType":"BoolBoolExp","fieldName":"marketingOptIn"}],"comparableRelationships":[],"type":"CustomerPreferencesPreferences"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"CustomerPreferencesSocialMediaBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerPreferencesSocialMediaBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"facebook"},{"booleanExpressionType":"StringBoolExp","fieldName":"linkedin"},{"booleanExpressionType":"StringBoolExp","fieldName":"twitter"}],"comparableRelationships":[],"type":"CustomerPreferencesSocialMedia"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"CustomerPreferencesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CustomerPreferencesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"ObjectIdBoolExp","fieldName":"id"},{"booleanExpressionType":"CustomerPreferencesBehavioralDataBoolExp","fieldName":"behavioralData"},{"booleanExpressionType":"StringBoolExp","fieldName":"customerGuid"},{"booleanExpressionType":"CustomerPreferencesPreferencesBoolExp","fieldName":"preferences"},{"booleanExpressionType":"CustomerPreferencesSocialMediaBoolExp","fieldName":"socialMedia"}],"comparableRelationships":[],"type":"CustomerPreferences"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"arguments":[{"description":"The credit card number to mask.","name":"cardNumber","type":"String"}],"description":"Masks a credit card number to hide all but the last four digits.","graphql":{"deprecated":null,"rootFieldKind":"Query","rootFieldName":"maskCardNumber"},"name":"MaskCardNumber","outputType":"String!","source":{"argumentMapping":{},"dataConnectorCommand":{"function":"maskCardNumber"},"dataConnectorName":"logic"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"MaskCardNumber","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"},{"allowExecution":true,"argumentPresets":[],"role":"customer"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"argument":{"argumentName":"cardNumber"}}}],"name":"relationship_name","sourceType":"CreditCards","target":{"command":{"name":"MaskCardNumber","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"dataConnectorName":"logic","dataConnectorScalarType":"String","graphql":{"comparisonExpressionTypeName":"Customer_StringComparisonExp"},"representation":"String"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"logic","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{},"query":{"exists":{},"nested_fields":{},"variables":{}}},"version":"0.1.6"},"schema":{"collections":[],"functions":[{"arguments":{"cardNumber":{"description":"The credit card number to mask.","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}}},"description":"Masks a credit card number to hide all but the last four digits.","name":"maskCardNumber","result_type":{"name":"String","type":"named"}}],"object_types":{},"procedures":[],"scalar_types":{"String":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"}},"representation":{"type":"string"}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:6394"},"write":{"value":"http://local.hasura.dev:6394"}}}},"kind":"DataConnectorLink","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"ObjectId"},"name":"ObjectId"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Bool"},"name":"Bool"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"ObjectId","graphql":{"comparisonExpressionTypeName":"ObjectIdComparisonExp"},"representation":"ObjectId"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"String","graphql":{"comparisonExpressionTypeName":"StringComparisonExp"},"representation":"String"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"Bool","graphql":{"comparisonExpressionTypeName":"BoolComparisonExp"},"representation":"Bool"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Double"},"name":"Double"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"Double","graphql":{"comparisonExpressionTypeName":"DoubleComparisonExp"},"representation":"Double"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"Int","graphql":{"comparisonExpressionTypeName":"IntComparisonExp"},"representation":"Int"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"ObjectIdBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"ObjectIdBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"ObjectId!","name":"_eq"},{"argumentType":"ObjectId!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"ObjectId","operatorMapping":{}}],"type":"ObjectId"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"BoolBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"BoolBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Bool!","name":"_eq"},{"argumentType":"Bool!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"Bool","operatorMapping":{}}],"type":"Bool"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"ObjectIdAggExp"},"name":"ObjectIdAggExp","operand":{"scalar":{"aggregatedType":"ObjectId","aggregationFunctions":[{"description":null,"name":"count","returnType":"Int!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"ObjectId","functionMapping":{"count":{"name":"count"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Customer_StringAggExp"},"name":"Customer_StringAggExp","operand":{"scalar":{"aggregatedType":"String","aggregationFunctions":[{"description":null,"name":"count","returnType":"Int!"},{"description":null,"name":"max","returnType":"String!"},{"description":null,"name":"min","returnType":"String!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"String","functionMapping":{"count":{"name":"count"},"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"DoubleBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DoubleBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Double!","name":"_eq"},{"argumentType":"Double!","name":"_gt"},{"argumentType":"Double!","name":"_gte"},{"argumentType":"Double!","name":"_lt"},{"argumentType":"Double!","name":"_lte"},{"argumentType":"Double!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"Double","operatorMapping":{}}],"type":"Double"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"StringBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"StringBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"String!","name":"_eq"},{"argumentType":"String!","name":"_gt"},{"argumentType":"String!","name":"_gte"},{"argumentType":"String!","name":"_iregex"},{"argumentType":"String!","name":"_lt"},{"argumentType":"String!","name":"_lte"},{"argumentType":"String!","name":"_neq"},{"argumentType":"String!","name":"_regex"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"String","operatorMapping":{}}],"type":"String"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"IntBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"IntBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int!","name":"_eq"},{"argumentType":"Int!","name":"_gt"},{"argumentType":"Int!","name":"_gte"},{"argumentType":"Int!","name":"_lt"},{"argumentType":"Int!","name":"_lte"},{"argumentType":"Int!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"Int","operatorMapping":{}}],"type":"Int"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"mongo","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"variables":{}},"relationships":{"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"foreign_keys":{},"name":"customerPreferences","type":"customerPreferences","uniqueness_constraints":{"customerPreferences_id":{"unique_columns":["_id"]}}}],"functions":[],"object_types":{"customerPreferences":{"description":"Object type for collection customerPreferences","fields":{"_id":{"description":"primary key _id","type":{"name":"ObjectId","type":"named"}},"behavioralData":{"description":"behavioralData is an object containing behavioral metrics","type":{"name":"customerPreferences_behavioralData","type":"named"}},"customerNotes":{"description":"customerNotes is an array of note objects with author, date, and content","type":{"element_type":{"name":"customerPreferences_customerNotes","type":"named"},"type":"array"}},"customer_guid":{"description":"must be a string and is required","type":{"name":"String","type":"named"}},"preferences":{"type":{"name":"customerPreferences_preferences","type":"named"}},"socialMedia":{"description":"socialMedia is an object containing social media profile URLs","type":{"type":"nullable","underlying_type":{"name":"customerPreferences_socialMedia","type":"named"}}}}},"customerPreferences_behavioralData":{"description":"generated from MongoDB validation schema","fields":{"lastAppLogin":{"description":"must be a valid ISO date and is required","type":{"name":"String","type":"named"}},"lastWebsiteVisit":{"description":"must be a valid ISO date and is required","type":{"name":"String","type":"named"}}}},"customerPreferences_customerNotes":{"description":"generated from MongoDB validation schema","fields":{"author":{"description":"must be a string and is required","type":{"name":"String","type":"named"}},"content":{"description":"must be a string and is required","type":{"name":"String","type":"named"}},"date":{"description":"must be a valid ISO date and is required","type":{"name":"String","type":"named"}}}},"customerPreferences_preferences":{"description":"generated from MongoDB validation schema","fields":{"contactMethod":{"description":"must be one of 'email', 'phone', or 'SMS' and is required","type":{"name":"String","type":"named"}},"marketingOptIn":{"description":"must be a boolean value and is required","type":{"name":"Bool","type":"named"}}}},"customerPreferences_socialMedia":{"description":"generated from MongoDB validation schema","fields":{"facebook":{"description":"must be a valid Facebook URL","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}},"linkedin":{"description":"must be a valid LinkedIn URL","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}},"twitter":{"description":"must be a valid Twitter URL","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}}}},"userProfiles":{"description":"Object type for collection userProfiles","fields":{"_id":{"type":{"name":"String","type":"named"}},"accountDetails":{"type":{"name":"userProfiles_accountDetails","type":"named"}},"identification":{"type":{"name":"userProfiles_identification","type":"named"}},"memberID":{"type":{"name":"String","type":"named"}},"notes":{"type":{"name":"String","type":"named"}},"preferences":{"type":{"name":"userProfiles_preferences","type":"named"}},"supportHistory":{"type":{"element_type":{"name":"userProfiles_supportHistory","type":"named"},"type":"array"}},"usageStats":{"type":{"name":"userProfiles_usageStats","type":"named"}}}},"userProfiles_accountDetails":{"description":"generated from MongoDB validation schema","fields":{"accountNumber":{"type":{"name":"String","type":"named"}},"registrationDate":{"type":{"name":"String","type":"named"}}}},"userProfiles_identification":{"description":"generated from MongoDB validation schema","fields":{"expiryDate":{"type":{"name":"String","type":"named"}},"issuedBy":{"type":{"name":"String","type":"named"}},"number":{"type":{"name":"String","type":"named"}},"type":{"type":{"name":"String","type":"named"}}}},"userProfiles_preferences":{"description":"generated from MongoDB validation schema","fields":{"communication":{"type":{"name":"userProfiles_preferences_communication","type":"named"}},"privacySettings":{"type":{"name":"userProfiles_preferences_privacySettings","type":"named"}},"servicePreferences":{"type":{"name":"userProfiles_preferences_servicePreferences","type":"named"}}}},"userProfiles_preferences_communication":{"description":"generated from MongoDB validation schema","fields":{"appNotifications":{"type":{"name":"userProfiles_preferences_communication_appNotifications","type":"named"}},"emailUpdates":{"type":{"name":"Bool","type":"named"}},"smsNotifications":{"type":{"name":"Bool","type":"named"}}}},"userProfiles_preferences_communication_appNotifications":{"description":"generated from MongoDB validation schema","fields":{"enabled":{"type":{"name":"Bool","type":"named"}},"frequency":{"type":{"name":"String","type":"named"}}}},"userProfiles_preferences_privacySettings":{"description":"generated from MongoDB validation schema","fields":{"adPersonalization":{"type":{"name":"Bool","type":"named"}},"shareDataForImprovements":{"type":{"name":"Bool","type":"named"}}}},"userProfiles_preferences_servicePreferences":{"description":"generated from MongoDB validation schema","fields":{"favoriteLocations":{"type":{"element_type":{"name":"userProfiles_preferences_servicePreferences_favoriteLocations","type":"named"},"type":"array"}},"networkSettings":{"type":{"name":"userProfiles_preferences_servicePreferences_networkSettings","type":"named"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations":{"description":"generated from MongoDB validation schema","fields":{"coordinates":{"type":{"name":"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates","type":"named"}},"name":{"type":{"name":"String","type":"named"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates":{"description":"generated from MongoDB validation schema","fields":{"lat":{"type":{"name":"Double","type":"named"}},"long":{"type":{"name":"Double","type":"named"}}}},"userProfiles_preferences_servicePreferences_networkSettings":{"description":"generated from MongoDB validation schema","fields":{"dataSaverMode":{"type":{"name":"Bool","type":"named"}},"preferredNetworkType":{"type":{"name":"String","type":"named"}}}},"userProfiles_supportHistory":{"description":"generated from MongoDB validation schema","fields":{"date":{"type":{"name":"String","type":"named"}},"issue":{"type":{"name":"String","type":"named"}},"resolutionNotes":{"type":{"name":"String","type":"named"}},"status":{"type":{"name":"String","type":"named"}},"ticketId":{"type":{"name":"String","type":"named"}}}},"userProfiles_usageStats":{"description":"generated from MongoDB validation schema","fields":{"appUsage":{"type":{"element_type":{"name":"userProfiles_usageStats_appUsage","type":"named"},"type":"array"}},"callStats":{"type":{"name":"userProfiles_usageStats_callStats","type":"named"}},"dataUsage":{"type":{"name":"userProfiles_usageStats_dataUsage","type":"named"}}}},"userProfiles_usageStats_appUsage":{"description":"generated from MongoDB validation schema","fields":{"name":{"type":{"name":"String","type":"named"}},"usage":{"type":{"name":"String","type":"named"}}}},"userProfiles_usageStats_callStats":{"description":"generated from MongoDB validation schema","fields":{"internationalMinutes":{"type":{"name":"Int","type":"named"}},"totalMinutes":{"type":{"name":"Int","type":"named"}}}},"userProfiles_usageStats_dataUsage":{"description":"generated from MongoDB validation schema","fields":{"currentMonth":{"type":{"name":"String","type":"named"}},"total":{"type":{"name":"String","type":"named"}}}}},"procedures":[],"scalar_types":{"BinData":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"BinData","type":"named"},"type":"custom"}}},"Bool":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Bool","type":"named"},"type":"custom"}},"representation":{"type":"boolean"}},"Date":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Date","type":"named"}},"min":{"result_type":{"name":"Date","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Date","type":"named"},"type":"custom"}},"representation":{"type":"timestamp"}},"DbPointer":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"DbPointer","type":"named"},"type":"custom"}}},"Decimal":{"aggregate_functions":{"avg":{"result_type":{"name":"Decimal","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Decimal","type":"named"}},"min":{"result_type":{"name":"Decimal","type":"named"}},"sum":{"result_type":{"name":"Decimal","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"}},"representation":{"type":"bigdecimal"}},"Double":{"aggregate_functions":{"avg":{"result_type":{"name":"Double","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Double","type":"named"}},"min":{"result_type":{"name":"Double","type":"named"}},"sum":{"result_type":{"name":"Double","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Double","type":"named"},"type":"custom"}},"representation":{"type":"float64"}},"ExtendedJSON":{"aggregate_functions":{"avg":{"result_type":{"name":"ExtendedJSON","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"ExtendedJSON","type":"named"}},"min":{"result_type":{"name":"ExtendedJSON","type":"named"}},"sum":{"result_type":{"name":"ExtendedJSON","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_in":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_iregex":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"String","type":"named"},"type":"custom"}},"representation":{"type":"json"}},"Int":{"aggregate_functions":{"avg":{"result_type":{"name":"Int","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Int","type":"named"}},"min":{"result_type":{"name":"Int","type":"named"}},"sum":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Int","type":"named"},"type":"custom"}},"representation":{"type":"int32"}},"Javascript":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{}},"JavascriptWithScope":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{}},"Long":{"aggregate_functions":{"avg":{"result_type":{"name":"Long","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Long","type":"named"}},"min":{"result_type":{"name":"Long","type":"named"}},"sum":{"result_type":{"name":"Long","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Long","type":"named"},"type":"custom"}},"representation":{"type":"int64"}},"MaxKey":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"MaxKey","type":"named"},"type":"custom"}}},"MinKey":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"MinKey","type":"named"},"type":"custom"}}},"Null":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Null","type":"named"},"type":"custom"}}},"ObjectId":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"ObjectId","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"Regex":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{}},"String":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"String","type":"named"}},"min":{"result_type":{"name":"String","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_iregex":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"String","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"Symbol":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Symbol","type":"named"},"type":"custom"}}},"Timestamp":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Timestamp","type":"named"}},"min":{"result_type":{"name":"Timestamp","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"}}},"Undefined":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Undefined","type":"named"},"type":"custom"}}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:4038"},"write":{"value":"http://local.hasura.dev:4038"}}}},"kind":"DataConnectorLink","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"memberId"}]}}],"name":"supportDB","sourceType":"CustomerLink","target":{"model":{"name":"UserProfiles","relationshipType":"Object","subgraph":"support"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"guid"}]}}],"name":"CDR","sourceType":"CustomerLink","target":{"model":{"name":"Cdr","relationshipType":"Object","subgraph":"network"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"guid"}]}}],"name":"NetworkPerformance","sourceType":"CustomerLink","target":{"model":{"name":"NetworkPerformance","relationshipType":"Object","subgraph":"network"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"guid"}]}}],"name":"DataUsage","sourceType":"CustomerLink","target":{"model":{"name":"DataUsage","relationshipType":"Object","subgraph":"network"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"memberId"}]}}],"name":"userProfiles","sourceType":"CustomerPreferences","target":{"model":{"name":"UserProfiles","relationshipType":"Object","subgraph":"support"}}},"kind":"Relationship","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_billing_by_billing_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_billing_by_billing_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Billing!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteBillingByBillingIdResponseInput","typeName":"V2DeleteBillingByBillingIdResponse"},"name":"V2DeleteBillingByBillingIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteBillingByBillingIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyBillingId","type":"Int4!"},{"description":"Delete permission predicate over the 'billing' collection","name":"preCheck","type":"BillingBoolExp!"}],"description":"Delete any row on the 'billing' collection using the 'billing_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteBillingByBillingId"},"name":"DeleteBillingByBillingId","outputType":"V2DeleteBillingByBillingIdResponse!","source":{"argumentMapping":{"keyBillingId":"key_billing_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_billing_by_billing_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteBillingByBillingId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_credit_cards_by_credit_card_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_credit_cards_by_credit_card_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CreditCards!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCreditCardsByCreditCardIdResponseInput","typeName":"V2DeleteCreditCardsByCreditCardIdResponse"},"name":"V2DeleteCreditCardsByCreditCardIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCreditCardsByCreditCardIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCreditCardId","type":"Int4!"},{"description":"Delete permission predicate over the 'credit_cards' collection","name":"preCheck","type":"CreditCardsBoolExp!"}],"description":"Delete any row on the 'credit_cards' collection using the 'credit_card_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCreditCardsByCreditCardId"},"name":"DeleteCreditCardsByCreditCardId","outputType":"V2DeleteCreditCardsByCreditCardIdResponse!","source":{"argumentMapping":{"keyCreditCardId":"key_credit_card_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_credit_cards_by_credit_card_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCreditCardsByCreditCardId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_link_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customer_link_by_customer_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerLink!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomerLinkByCustomerIdResponseInput","typeName":"V2DeleteCustomerLinkByCustomerIdResponse"},"name":"V2DeleteCustomerLinkByCustomerIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomerLinkByCustomerIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerId","type":"Int4"},{"description":"Delete permission predicate over the 'customer_link' collection","name":"preCheck","type":"CustomerLinkBoolExp!"}],"description":"Delete any row on the 'customer_link' collection using the 'customer_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomerLinkByCustomerId"},"name":"DeleteCustomerLinkByCustomerId","outputType":"V2DeleteCustomerLinkByCustomerIdResponse!","source":{"argumentMapping":{"keyCustomerId":"key_customer_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customer_link_by_customer_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomerLinkByCustomerId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_link_by_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customer_link_by_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerLink!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomerLinkByIdResponseInput","typeName":"V2DeleteCustomerLinkByIdResponse"},"name":"V2DeleteCustomerLinkByIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomerLinkByIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyId","type":"Int4!"},{"description":"Delete permission predicate over the 'customer_link' collection","name":"preCheck","type":"CustomerLinkBoolExp!"}],"description":"Delete any row on the 'customer_link' collection using the 'id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomerLinkById"},"name":"DeleteCustomerLinkById","outputType":"V2DeleteCustomerLinkByIdResponse!","source":{"argumentMapping":{"keyId":"key_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customer_link_by_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomerLinkById","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_network_by_customer_id_and_node_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customer_network_by_customer_id_and_node_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerNetwork!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponseInput","typeName":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse"},"name":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerId","type":"Int4!"},{"description":null,"name":"keyNodeId","type":"Int4!"},{"description":"Delete permission predicate over the 'customer_network' collection","name":"preCheck","type":"CustomerNetworkBoolExp!"}],"description":"Delete any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomerNetworkByCustomerIdAndNodeId"},"name":"DeleteCustomerNetworkByCustomerIdAndNodeId","outputType":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse!","source":{"argumentMapping":{"keyCustomerId":"key_customer_id","keyNodeId":"key_node_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customer_network_by_customer_id_and_node_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomerNetworkByCustomerIdAndNodeId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerPlanDevices!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponseInput","typeName":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse"},"name":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerPlanId","type":"Int4!"},{"description":null,"name":"keyDeviceId","type":"Int4!"},{"description":"Delete permission predicate over the 'customer_plan_devices' collection","name":"preCheck","type":"CustomerPlanDevicesBoolExp!"}],"description":"Delete any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceId"},"name":"DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceId","outputType":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse!","source":{"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","keyDeviceId":"key_device_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_plans_by_customer_plan_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customer_plans_by_customer_plan_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerPlans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomerPlansByCustomerPlanIdResponseInput","typeName":"V2DeleteCustomerPlansByCustomerPlanIdResponse"},"name":"V2DeleteCustomerPlansByCustomerPlanIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomerPlansByCustomerPlanIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerPlanId","type":"Int4!"},{"description":"Delete permission predicate over the 'customer_plans' collection","name":"preCheck","type":"CustomerPlansBoolExp!"}],"description":"Delete any row on the 'customer_plans' collection using the 'customer_plan_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomerPlansByCustomerPlanId"},"name":"DeleteCustomerPlansByCustomerPlanId","outputType":"V2DeleteCustomerPlansByCustomerPlanIdResponse!","source":{"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customer_plans_by_customer_plan_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomerPlansByCustomerPlanId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customers_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customers_by_customer_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Customers!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomersByCustomerIdResponseInput","typeName":"V2DeleteCustomersByCustomerIdResponse"},"name":"V2DeleteCustomersByCustomerIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomersByCustomerIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerId","type":"Int4!"},{"description":"Delete permission predicate over the 'customers' collection","name":"preCheck","type":"CustomersBoolExp!"}],"description":"Delete any row on the 'customers' collection using the 'customer_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomersByCustomerId"},"name":"DeleteCustomersByCustomerId","outputType":"V2DeleteCustomersByCustomerIdResponse!","source":{"argumentMapping":{"keyCustomerId":"key_customer_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customers_by_customer_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomersByCustomerId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customers_by_phone_number_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_customers_by_phone_number' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Customers!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCustomersByPhoneNumberResponseInput","typeName":"V2DeleteCustomersByPhoneNumberResponse"},"name":"V2DeleteCustomersByPhoneNumberResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCustomersByPhoneNumberResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyPhoneNumber","type":"Varchar"},{"description":"Delete permission predicate over the 'customers' collection","name":"preCheck","type":"CustomersBoolExp!"}],"description":"Delete any row on the 'customers' collection using the 'phone_number' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCustomersByPhoneNumber"},"name":"DeleteCustomersByPhoneNumber","outputType":"V2DeleteCustomersByPhoneNumberResponse!","source":{"argumentMapping":{"keyPhoneNumber":"key_phone_number","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_customers_by_phone_number"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCustomersByPhoneNumber","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_deals_by_deal_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_deals_by_deal_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Deals!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteDealsByDealIdResponseInput","typeName":"V2DeleteDealsByDealIdResponse"},"name":"V2DeleteDealsByDealIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteDealsByDealIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyDealId","type":"Int4!"},{"description":"Delete permission predicate over the 'deals' collection","name":"preCheck","type":"DealsBoolExp!"}],"description":"Delete any row on the 'deals' collection using the 'deal_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteDealsByDealId"},"name":"DeleteDealsByDealId","outputType":"V2DeleteDealsByDealIdResponse!","source":{"argumentMapping":{"keyDealId":"key_deal_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_deals_by_deal_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteDealsByDealId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_devices_by_device_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_devices_by_device_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Devices!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteDevicesByDeviceIdResponseInput","typeName":"V2DeleteDevicesByDeviceIdResponse"},"name":"V2DeleteDevicesByDeviceIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteDevicesByDeviceIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyDeviceId","type":"Int4!"},{"description":"Delete permission predicate over the 'devices' collection","name":"preCheck","type":"DevicesBoolExp!"}],"description":"Delete any row on the 'devices' collection using the 'device_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteDevicesByDeviceId"},"name":"DeleteDevicesByDeviceId","outputType":"V2DeleteDevicesByDeviceIdResponse!","source":{"argumentMapping":{"keyDeviceId":"key_device_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_devices_by_device_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteDevicesByDeviceId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_network_by_node_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_network_by_node_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Network!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteNetworkByNodeIdResponseInput","typeName":"V2DeleteNetworkByNodeIdResponse"},"name":"V2DeleteNetworkByNodeIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteNetworkByNodeIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyNodeId","type":"Int4!"},{"description":"Delete permission predicate over the 'network' collection","name":"preCheck","type":"NetworkBoolExp!"}],"description":"Delete any row on the 'network' collection using the 'node_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteNetworkByNodeId"},"name":"DeleteNetworkByNodeId","outputType":"V2DeleteNetworkByNodeIdResponse!","source":{"argumentMapping":{"keyNodeId":"key_node_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_network_by_node_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteNetworkByNodeId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_plans_by_plan_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_plans_by_plan_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Plans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeletePlansByPlanIdResponseInput","typeName":"V2DeletePlansByPlanIdResponse"},"name":"V2DeletePlansByPlanIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeletePlansByPlanIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyPlanId","type":"Int4!"},{"description":"Delete permission predicate over the 'plans' collection","name":"preCheck","type":"PlansBoolExp!"}],"description":"Delete any row on the 'plans' collection using the 'plan_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeletePlansByPlanId"},"name":"DeletePlansByPlanId","outputType":"V2DeletePlansByPlanIdResponse!","source":{"argumentMapping":{"keyPlanId":"key_plan_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_plans_by_plan_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeletePlansByPlanId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_plans_by_plan_name_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_plans_by_plan_name' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Plans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeletePlansByPlanNameResponseInput","typeName":"V2DeletePlansByPlanNameResponse"},"name":"V2DeletePlansByPlanNameResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeletePlansByPlanNameResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyPlanName","type":"Varchar"},{"description":"Delete permission predicate over the 'plans' collection","name":"preCheck","type":"PlansBoolExp!"}],"description":"Delete any row on the 'plans' collection using the 'plan_name' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeletePlansByPlanName"},"name":"DeletePlansByPlanName","outputType":"V2DeletePlansByPlanNameResponse!","source":{"argumentMapping":{"keyPlanName":"key_plan_name","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_plans_by_plan_name"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeletePlansByPlanName","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_billing_object","fieldMapping":{"billingDate":{"column":{"argumentMapping":null,"name":"billing_date"}},"billingId":{"column":{"argumentMapping":null,"name":"billing_id"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"paymentStatus":{"column":{"argumentMapping":null,"name":"payment_status"}},"totalAmount":{"column":{"argumentMapping":null,"name":"total_amount"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"billingDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"billingId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"paymentStatus","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"totalAmount","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertBillingObjectInput","typeName":"V2InsertBillingObject"},"name":"V2InsertBillingObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"role":"admin"}],"typeName":"V2InsertBillingObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_billing_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_billing' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Billing!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertBillingResponseInput","typeName":"V2InsertBillingResponse"},"name":"V2InsertBillingResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertBillingResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertBillingObject!]!"},{"description":"Insert permission predicate over the 'billing' collection","name":"postCheck","type":"BillingBoolExp!"}],"description":"Insert into the billing table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertBilling"},"name":"InsertBilling","outputType":"V2InsertBillingResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_billing"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertBilling","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_credit_cards_object","fieldMapping":{"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"creditCardId":{"column":{"argumentMapping":null,"name":"credit_card_id"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"cvv":{"column":{"argumentMapping":null,"name":"cvv"}},"expiry":{"column":{"argumentMapping":null,"name":"expiry"}},"number":{"column":{"argumentMapping":null,"name":"number"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"creditCardId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"cvv","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"expiry","type":"Date!"},{"arguments":[],"deprecated":null,"description":null,"name":"number","type":"Text!"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCreditCardsObjectInput","typeName":"V2InsertCreditCardsObject"},"name":"V2InsertCreditCardsObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","number","updatedAt"]},"role":"admin"}],"typeName":"V2InsertCreditCardsObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_credit_cards_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_credit_cards' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CreditCards!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCreditCardsResponseInput","typeName":"V2InsertCreditCardsResponse"},"name":"V2InsertCreditCardsResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCreditCardsResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCreditCardsObject!]!"},{"description":"Insert permission predicate over the 'credit_cards' collection","name":"postCheck","type":"CreditCardsBoolExp!"}],"description":"Insert into the credit_cards table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCreditCards"},"name":"InsertCreditCards","outputType":"V2InsertCreditCardsResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_credit_cards"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCreditCards","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_link_object","fieldMapping":{"customerGuid":{"column":{"argumentMapping":null,"name":"customer_guid"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"id":{"column":{"argumentMapping":null,"name":"id"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerGuid","type":"Uuid!"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"id","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerLinkObjectInput","typeName":"V2InsertCustomerLinkObject"},"name":"V2InsertCustomerLinkObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerGuid","customerId","id"]},"role":"admin"}],"typeName":"V2InsertCustomerLinkObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_link_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_customer_link' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerLink!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerLinkResponseInput","typeName":"V2InsertCustomerLinkResponse"},"name":"V2InsertCustomerLinkResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCustomerLinkResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCustomerLinkObject!]!"},{"description":"Insert permission predicate over the 'customer_link' collection","name":"postCheck","type":"CustomerLinkBoolExp!"}],"description":"Insert into the customer_link table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCustomerLink"},"name":"InsertCustomerLink","outputType":"V2InsertCustomerLinkResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_customer_link"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCustomerLink","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_network_object","fieldMapping":{"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"nodeId":{"column":{"argumentMapping":null,"name":"node_id"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeId","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerNetworkObjectInput","typeName":"V2InsertCustomerNetworkObject"},"name":"V2InsertCustomerNetworkObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerId","nodeId"]},"role":"admin"}],"typeName":"V2InsertCustomerNetworkObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_network_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_customer_network' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerNetwork!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerNetworkResponseInput","typeName":"V2InsertCustomerNetworkResponse"},"name":"V2InsertCustomerNetworkResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCustomerNetworkResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCustomerNetworkObject!]!"},{"description":"Insert permission predicate over the 'customer_network' collection","name":"postCheck","type":"CustomerNetworkBoolExp!"}],"description":"Insert into the customer_network table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCustomerNetwork"},"name":"InsertCustomerNetwork","outputType":"V2InsertCustomerNetworkResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_customer_network"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCustomerNetwork","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plan_devices_object","fieldMapping":{"customerPlanId":{"column":{"argumentMapping":null,"name":"customer_plan_id"}},"deviceId":{"column":{"argumentMapping":null,"name":"device_id"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerPlanId","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceId","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerPlanDevicesObjectInput","typeName":"V2InsertCustomerPlanDevicesObject"},"name":"V2InsertCustomerPlanDevicesObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerPlanId","deviceId"]},"role":"admin"}],"typeName":"V2InsertCustomerPlanDevicesObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plan_devices_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_customer_plan_devices' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerPlanDevices!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerPlanDevicesResponseInput","typeName":"V2InsertCustomerPlanDevicesResponse"},"name":"V2InsertCustomerPlanDevicesResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCustomerPlanDevicesResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCustomerPlanDevicesObject!]!"},{"description":"Insert permission predicate over the 'customer_plan_devices' collection","name":"postCheck","type":"CustomerPlanDevicesBoolExp!"}],"description":"Insert into the customer_plan_devices table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCustomerPlanDevices"},"name":"InsertCustomerPlanDevices","outputType":"V2InsertCustomerPlanDevicesResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_customer_plan_devices"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCustomerPlanDevices","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plans_object","fieldMapping":{"cellNumber":{"column":{"argumentMapping":null,"name":"cell_number"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"customerPlanId":{"column":{"argumentMapping":null,"name":"customer_plan_id"}},"endDate":{"column":{"argumentMapping":null,"name":"end_date"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"startDate":{"column":{"argumentMapping":null,"name":"start_date"}},"status":{"column":{"argumentMapping":null,"name":"status"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"cellNumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"customerPlanId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"endDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"planId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"startDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerPlansObjectInput","typeName":"V2InsertCustomerPlansObject"},"name":"V2InsertCustomerPlansObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"role":"admin"}],"typeName":"V2InsertCustomerPlansObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plans_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_customer_plans' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerPlans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomerPlansResponseInput","typeName":"V2InsertCustomerPlansResponse"},"name":"V2InsertCustomerPlansResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCustomerPlansResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCustomerPlansObject!]!"},{"description":"Insert permission predicate over the 'customer_plans' collection","name":"postCheck","type":"CustomerPlansBoolExp!"}],"description":"Insert into the customer_plans table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCustomerPlans"},"name":"InsertCustomerPlans","outputType":"V2InsertCustomerPlansResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_customer_plans"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCustomerPlans","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customers_object","fieldMapping":{"address":{"column":{"argumentMapping":null,"name":"address"}},"city":{"column":{"argumentMapping":null,"name":"city"}},"country":{"column":{"argumentMapping":null,"name":"country"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"firstName":{"column":{"argumentMapping":null,"name":"first_name"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"lastName":{"column":{"argumentMapping":null,"name":"last_name"}},"phoneNumber":{"column":{"argumentMapping":null,"name":"phone_number"}},"postcode":{"column":{"argumentMapping":null,"name":"postcode"}},"segment":{"column":{"argumentMapping":null,"name":"segment"}},"state":{"column":{"argumentMapping":null,"name":"state"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"address","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"city","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"country","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"customerId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"email","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"firstName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"image","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"lastName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"phoneNumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"postcode","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"segment","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"state","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomersObjectInput","typeName":"V2InsertCustomersObject"},"name":"V2InsertCustomersObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"role":"admin"}],"typeName":"V2InsertCustomersObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customers_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_customers' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Customers!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCustomersResponseInput","typeName":"V2InsertCustomersResponse"},"name":"V2InsertCustomersResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCustomersResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCustomersObject!]!"},{"description":"Insert permission predicate over the 'customers' collection","name":"postCheck","type":"CustomersBoolExp!"}],"description":"Insert into the customers table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCustomers"},"name":"InsertCustomers","outputType":"V2InsertCustomersResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_customers"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCustomers","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_deals_object","fieldMapping":{"additionalBenefits":{"column":{"argumentMapping":null,"name":"additional_benefits"}},"customerSegment":{"column":{"argumentMapping":null,"name":"customer_segment"}},"dealId":{"column":{"argumentMapping":null,"name":"deal_id"}},"dealName":{"column":{"argumentMapping":null,"name":"deal_name"}},"description":{"column":{"argumentMapping":null,"name":"description"}},"endDate":{"column":{"argumentMapping":null,"name":"end_date"}},"maxMonthlySpend":{"column":{"argumentMapping":null,"name":"max_monthly_spend"}},"minMonthlySpend":{"column":{"argumentMapping":null,"name":"min_monthly_spend"}},"startDate":{"column":{"argumentMapping":null,"name":"start_date"}},"termsConditions":{"column":{"argumentMapping":null,"name":"terms_conditions"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"additionalBenefits","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"customerSegment","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"dealId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"dealName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"description","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"endDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"maxMonthlySpend","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"minMonthlySpend","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"startDate","type":"Date"},{"arguments":[],"deprecated":null,"description":null,"name":"termsConditions","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDealsObjectInput","typeName":"V2InsertDealsObject"},"name":"V2InsertDealsObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"role":"admin"}],"typeName":"V2InsertDealsObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_deals_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_deals' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Deals!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDealsResponseInput","typeName":"V2InsertDealsResponse"},"name":"V2InsertDealsResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertDealsResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertDealsObject!]!"},{"description":"Insert permission predicate over the 'deals' collection","name":"postCheck","type":"DealsBoolExp!"}],"description":"Insert into the deals table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertDeals"},"name":"InsertDeals","outputType":"V2InsertDealsResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_deals"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertDeals","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_devices_object","fieldMapping":{"brand":{"column":{"argumentMapping":null,"name":"brand"}},"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"deviceId":{"column":{"argumentMapping":null,"name":"device_id"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"model":{"column":{"argumentMapping":null,"name":"model"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"brand","type":"Varchar!"},{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"image","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"model","type":"Varchar!"},{"arguments":[],"deprecated":null,"description":null,"name":"sfRecord","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDevicesObjectInput","typeName":"V2InsertDevicesObject"},"name":"V2InsertDevicesObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"role":"admin"}],"typeName":"V2InsertDevicesObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_devices_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_devices' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Devices!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDevicesResponseInput","typeName":"V2InsertDevicesResponse"},"name":"V2InsertDevicesResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertDevicesResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertDevicesObject!]!"},{"description":"Insert permission predicate over the 'devices' collection","name":"postCheck","type":"DevicesBoolExp!"}],"description":"Insert into the devices table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertDevices"},"name":"InsertDevices","outputType":"V2InsertDevicesResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_devices"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertDevices","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_network_object","fieldMapping":{"capacity":{"column":{"argumentMapping":null,"name":"capacity"}},"latitude":{"column":{"argumentMapping":null,"name":"latitude"}},"longitude":{"column":{"argumentMapping":null,"name":"longitude"}},"nodeId":{"column":{"argumentMapping":null,"name":"node_id"}},"nodeName":{"column":{"argumentMapping":null,"name":"node_name"}},"status":{"column":{"argumentMapping":null,"name":"status"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"capacity","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"latitude","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"longitude","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertNetworkObjectInput","typeName":"V2InsertNetworkObject"},"name":"V2InsertNetworkObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["capacity","latitude","longitude","nodeId","nodeName","status"]},"role":"admin"}],"typeName":"V2InsertNetworkObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_network_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_network' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Network!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertNetworkResponseInput","typeName":"V2InsertNetworkResponse"},"name":"V2InsertNetworkResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertNetworkResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertNetworkObject!]!"},{"description":"Insert permission predicate over the 'network' collection","name":"postCheck","type":"NetworkBoolExp!"}],"description":"Insert into the network table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertNetwork"},"name":"InsertNetwork","outputType":"V2InsertNetworkResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_network"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertNetwork","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_plans_object","fieldMapping":{"description":{"column":{"argumentMapping":null,"name":"description"}},"monthlyFee":{"column":{"argumentMapping":null,"name":"monthly_fee"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"planName":{"column":{"argumentMapping":null,"name":"plan_name"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"type":{"column":{"argumentMapping":null,"name":"type"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"description","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"monthlyFee","type":"Numeric"},{"arguments":[],"deprecated":null,"description":null,"name":"planId","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"planName","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"sfRecord","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"type","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertPlansObjectInput","typeName":"V2InsertPlansObject"},"name":"V2InsertPlansObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"role":"admin"}],"typeName":"V2InsertPlansObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_plans_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_plans' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Plans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertPlansResponseInput","typeName":"V2InsertPlansResponse"},"name":"V2InsertPlansResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertPlansResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertPlansObject!]!"},{"description":"Insert permission predicate over the 'plans' collection","name":"postCheck","type":"PlansBoolExp!"}],"description":"Insert into the plans table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertPlans"},"name":"InsertPlans","outputType":"V2InsertPlansResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_plans"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertPlans","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_billing_date","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'billing_date' column in the 'billing' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Date"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnBillingBillingDateInput","typeName":"UpdateColumnBillingBillingDate"},"name":"UpdateColumnBillingBillingDate"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnBillingBillingDate"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_billing_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'billing_id' column in the 'billing' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnBillingBillingIdInput","typeName":"UpdateColumnBillingBillingId"},"name":"UpdateColumnBillingBillingId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnBillingBillingId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_customer_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_id' column in the 'billing' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnBillingCustomerIdInput","typeName":"UpdateColumnBillingCustomerId"},"name":"UpdateColumnBillingCustomerId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnBillingCustomerId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_payment_status","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'payment_status' column in the 'billing' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnBillingPaymentStatusInput","typeName":"UpdateColumnBillingPaymentStatus"},"name":"UpdateColumnBillingPaymentStatus"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnBillingPaymentStatus"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_total_amount","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'total_amount' column in the 'billing' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnBillingTotalAmountInput","typeName":"UpdateColumnBillingTotalAmount"},"name":"UpdateColumnBillingTotalAmount"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnBillingTotalAmount"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_billing_by_billing_id_update_columns","fieldMapping":{"billingDate":{"column":{"argumentMapping":null,"name":"billing_date"}},"billingId":{"column":{"argumentMapping":null,"name":"billing_id"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"paymentStatus":{"column":{"argumentMapping":null,"name":"payment_status"}},"totalAmount":{"column":{"argumentMapping":null,"name":"total_amount"}}}}],"description":"Update the columns of the 'billing' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'billing_date' column in the 'billing' collection.","name":"billingDate","type":"UpdateColumnBillingBillingDate"},{"arguments":[],"deprecated":null,"description":"Update the 'billing_id' column in the 'billing' collection.","name":"billingId","type":"UpdateColumnBillingBillingId"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'billing' collection.","name":"customerId","type":"UpdateColumnBillingCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'payment_status' column in the 'billing' collection.","name":"paymentStatus","type":"UpdateColumnBillingPaymentStatus"},{"arguments":[],"deprecated":null,"description":"Update the 'total_amount' column in the 'billing' collection.","name":"totalAmount","type":"UpdateColumnBillingTotalAmount"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateBillingByBillingIdUpdateColumnsInput","typeName":"V2UpdateBillingByBillingIdUpdateColumns"},"name":"V2UpdateBillingByBillingIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"role":"admin"}],"typeName":"V2UpdateBillingByBillingIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_billing_by_billing_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_billing_by_billing_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Billing!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateBillingByBillingIdResponseInput","typeName":"V2UpdateBillingByBillingIdResponse"},"name":"V2UpdateBillingByBillingIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateBillingByBillingIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyBillingId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'billing' collection","name":"postCheck","type":"BillingBoolExp!"},{"description":"Update permission pre-condition predicate over the 'billing' collection","name":"preCheck","type":"BillingBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateBillingByBillingIdUpdateColumns!"}],"description":"Update any row on the 'billing' collection using the 'billing_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateBillingByBillingId"},"name":"UpdateBillingByBillingId","outputType":"V2UpdateBillingByBillingIdResponse!","source":{"argumentMapping":{"keyBillingId":"key_billing_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_billing_by_billing_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateBillingByBillingId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_created_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'created_at' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsCreatedAtInput","typeName":"UpdateColumnCreditCardsCreatedAt"},"name":"UpdateColumnCreditCardsCreatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsCreatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_credit_card_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'credit_card_id' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsCreditCardIdInput","typeName":"UpdateColumnCreditCardsCreditCardId"},"name":"UpdateColumnCreditCardsCreditCardId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsCreditCardId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_customer_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_id' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsCustomerIdInput","typeName":"UpdateColumnCreditCardsCustomerId"},"name":"UpdateColumnCreditCardsCustomerId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsCustomerId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_cvv","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'cvv' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsCvvInput","typeName":"UpdateColumnCreditCardsCvv"},"name":"UpdateColumnCreditCardsCvv"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsCvv"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_expiry","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'expiry' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Date!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsExpiryInput","typeName":"UpdateColumnCreditCardsExpiry"},"name":"UpdateColumnCreditCardsExpiry"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsExpiry"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_number","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'number' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsNumberInput","typeName":"UpdateColumnCreditCardsNumber"},"name":"UpdateColumnCreditCardsNumber"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsNumber"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_updated_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'updated_at' column in the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCreditCardsUpdatedAtInput","typeName":"UpdateColumnCreditCardsUpdatedAt"},"name":"UpdateColumnCreditCardsUpdatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCreditCardsUpdatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_credit_cards_by_credit_card_id_update_columns","fieldMapping":{"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"creditCardId":{"column":{"argumentMapping":null,"name":"credit_card_id"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"cvv":{"column":{"argumentMapping":null,"name":"cvv"}},"expiry":{"column":{"argumentMapping":null,"name":"expiry"}},"number":{"column":{"argumentMapping":null,"name":"number"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":"Update the columns of the 'credit_cards' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'created_at' column in the 'credit_cards' collection.","name":"createdAt","type":"UpdateColumnCreditCardsCreatedAt"},{"arguments":[],"deprecated":null,"description":"Update the 'credit_card_id' column in the 'credit_cards' collection.","name":"creditCardId","type":"UpdateColumnCreditCardsCreditCardId"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'credit_cards' collection.","name":"customerId","type":"UpdateColumnCreditCardsCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'cvv' column in the 'credit_cards' collection.","name":"cvv","type":"UpdateColumnCreditCardsCvv"},{"arguments":[],"deprecated":null,"description":"Update the 'expiry' column in the 'credit_cards' collection.","name":"expiry","type":"UpdateColumnCreditCardsExpiry"},{"arguments":[],"deprecated":null,"description":"Update the 'number' column in the 'credit_cards' collection.","name":"number","type":"UpdateColumnCreditCardsNumber"},{"arguments":[],"deprecated":null,"description":"Update the 'updated_at' column in the 'credit_cards' collection.","name":"updatedAt","type":"UpdateColumnCreditCardsUpdatedAt"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCreditCardsByCreditCardIdUpdateColumnsInput","typeName":"V2UpdateCreditCardsByCreditCardIdUpdateColumns"},"name":"V2UpdateCreditCardsByCreditCardIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","number","updatedAt"]},"role":"admin"}],"typeName":"V2UpdateCreditCardsByCreditCardIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_credit_cards_by_credit_card_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_credit_cards_by_credit_card_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CreditCards!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCreditCardsByCreditCardIdResponseInput","typeName":"V2UpdateCreditCardsByCreditCardIdResponse"},"name":"V2UpdateCreditCardsByCreditCardIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCreditCardsByCreditCardIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCreditCardId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'credit_cards' collection","name":"postCheck","type":"CreditCardsBoolExp!"},{"description":"Update permission pre-condition predicate over the 'credit_cards' collection","name":"preCheck","type":"CreditCardsBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCreditCardsByCreditCardIdUpdateColumns!"}],"description":"Update any row on the 'credit_cards' collection using the 'credit_card_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCreditCardsByCreditCardId"},"name":"UpdateCreditCardsByCreditCardId","outputType":"V2UpdateCreditCardsByCreditCardIdResponse!","source":{"argumentMapping":{"keyCreditCardId":"key_credit_card_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_credit_cards_by_credit_card_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCreditCardsByCreditCardId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_link_customer_guid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_guid' column in the 'customer_link' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Uuid!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerLinkCustomerGuidInput","typeName":"UpdateColumnCustomerLinkCustomerGuid"},"name":"UpdateColumnCustomerLinkCustomerGuid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerLinkCustomerGuid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_link_customer_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_id' column in the 'customer_link' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerLinkCustomerIdInput","typeName":"UpdateColumnCustomerLinkCustomerId"},"name":"UpdateColumnCustomerLinkCustomerId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerLinkCustomerId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_link_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'id' column in the 'customer_link' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerLinkIdInput","typeName":"UpdateColumnCustomerLinkId"},"name":"UpdateColumnCustomerLinkId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerLinkId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_customer_id_update_columns","fieldMapping":{"customerGuid":{"column":{"argumentMapping":null,"name":"customer_guid"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"id":{"column":{"argumentMapping":null,"name":"id"}}}}],"description":"Update the columns of the 'customer_link' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'customer_guid' column in the 'customer_link' collection.","name":"customerGuid","type":"UpdateColumnCustomerLinkCustomerGuid"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'customer_link' collection.","name":"customerId","type":"UpdateColumnCustomerLinkCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'id' column in the 'customer_link' collection.","name":"id","type":"UpdateColumnCustomerLinkId"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerLinkByCustomerIdUpdateColumnsInput","typeName":"V2UpdateCustomerLinkByCustomerIdUpdateColumns"},"name":"V2UpdateCustomerLinkByCustomerIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerGuid","customerId","id"]},"role":"admin"}],"typeName":"V2UpdateCustomerLinkByCustomerIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customer_link_by_customer_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerLink!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerLinkByCustomerIdResponseInput","typeName":"V2UpdateCustomerLinkByCustomerIdResponse"},"name":"V2UpdateCustomerLinkByCustomerIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomerLinkByCustomerIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerId","type":"Int4"},{"description":"Update permission post-condition predicate over the 'customer_link' collection","name":"postCheck","type":"CustomerLinkBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customer_link' collection","name":"preCheck","type":"CustomerLinkBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomerLinkByCustomerIdUpdateColumns!"}],"description":"Update any row on the 'customer_link' collection using the 'customer_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomerLinkByCustomerId"},"name":"UpdateCustomerLinkByCustomerId","outputType":"V2UpdateCustomerLinkByCustomerIdResponse!","source":{"argumentMapping":{"keyCustomerId":"key_customer_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customer_link_by_customer_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomerLinkByCustomerId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_id_update_columns","fieldMapping":{"customerGuid":{"column":{"argumentMapping":null,"name":"customer_guid"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"id":{"column":{"argumentMapping":null,"name":"id"}}}}],"description":"Update the columns of the 'customer_link' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'customer_guid' column in the 'customer_link' collection.","name":"customerGuid","type":"UpdateColumnCustomerLinkCustomerGuid"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'customer_link' collection.","name":"customerId","type":"UpdateColumnCustomerLinkCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'id' column in the 'customer_link' collection.","name":"id","type":"UpdateColumnCustomerLinkId"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerLinkByIdUpdateColumnsInput","typeName":"V2UpdateCustomerLinkByIdUpdateColumns"},"name":"V2UpdateCustomerLinkByIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerGuid","customerId","id"]},"role":"admin"}],"typeName":"V2UpdateCustomerLinkByIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customer_link_by_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerLink!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerLinkByIdResponseInput","typeName":"V2UpdateCustomerLinkByIdResponse"},"name":"V2UpdateCustomerLinkByIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomerLinkByIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'customer_link' collection","name":"postCheck","type":"CustomerLinkBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customer_link' collection","name":"preCheck","type":"CustomerLinkBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomerLinkByIdUpdateColumns!"}],"description":"Update any row on the 'customer_link' collection using the 'id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomerLinkById"},"name":"UpdateCustomerLinkById","outputType":"V2UpdateCustomerLinkByIdResponse!","source":{"argumentMapping":{"keyId":"key_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customer_link_by_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomerLinkById","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_network_customer_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_id' column in the 'customer_network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerNetworkCustomerIdInput","typeName":"UpdateColumnCustomerNetworkCustomerId"},"name":"UpdateColumnCustomerNetworkCustomerId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerNetworkCustomerId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_network_node_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'node_id' column in the 'customer_network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerNetworkNodeIdInput","typeName":"UpdateColumnCustomerNetworkNodeId"},"name":"UpdateColumnCustomerNetworkNodeId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerNetworkNodeId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_network_by_customer_id_and_node_id_update_columns","fieldMapping":{"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"nodeId":{"column":{"argumentMapping":null,"name":"node_id"}}}}],"description":"Update the columns of the 'customer_network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'customer_network' collection.","name":"customerId","type":"UpdateColumnCustomerNetworkCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'node_id' column in the 'customer_network' collection.","name":"nodeId","type":"UpdateColumnCustomerNetworkNodeId"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumnsInput","typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns"},"name":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerId","nodeId"]},"role":"admin"}],"typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_network_by_customer_id_and_node_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customer_network_by_customer_id_and_node_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerNetwork!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponseInput","typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse"},"name":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerId","type":"Int4!"},{"description":null,"name":"keyNodeId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'customer_network' collection","name":"postCheck","type":"CustomerNetworkBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customer_network' collection","name":"preCheck","type":"CustomerNetworkBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns!"}],"description":"Update any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomerNetworkByCustomerIdAndNodeId"},"name":"UpdateCustomerNetworkByCustomerIdAndNodeId","outputType":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse!","source":{"argumentMapping":{"keyCustomerId":"key_customer_id","keyNodeId":"key_node_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customer_network_by_customer_id_and_node_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomerNetworkByCustomerIdAndNodeId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plan_devices_customer_plan_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlanDevicesCustomerPlanIdInput","typeName":"UpdateColumnCustomerPlanDevicesCustomerPlanId"},"name":"UpdateColumnCustomerPlanDevicesCustomerPlanId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlanDevicesCustomerPlanId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plan_devices_device_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'device_id' column in the 'customer_plan_devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlanDevicesDeviceIdInput","typeName":"UpdateColumnCustomerPlanDevicesDeviceId"},"name":"UpdateColumnCustomerPlanDevicesDeviceId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlanDevicesDeviceId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_update_columns","fieldMapping":{"customerPlanId":{"column":{"argumentMapping":null,"name":"customer_plan_id"}},"deviceId":{"column":{"argumentMapping":null,"name":"device_id"}}}}],"description":"Update the columns of the 'customer_plan_devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection.","name":"customerPlanId","type":"UpdateColumnCustomerPlanDevicesCustomerPlanId"},{"arguments":[],"deprecated":null,"description":"Update the 'device_id' column in the 'customer_plan_devices' collection.","name":"deviceId","type":"UpdateColumnCustomerPlanDevicesDeviceId"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumnsInput","typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns"},"name":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerPlanId","deviceId"]},"role":"admin"}],"typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerPlanDevices!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponseInput","typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse"},"name":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerPlanId","type":"Int4!"},{"description":null,"name":"keyDeviceId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'customer_plan_devices' collection","name":"postCheck","type":"CustomerPlanDevicesBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customer_plan_devices' collection","name":"preCheck","type":"CustomerPlanDevicesBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns!"}],"description":"Update any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceId"},"name":"UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceId","outputType":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse!","source":{"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","keyDeviceId":"key_device_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_cell_number","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'cell_number' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansCellNumberInput","typeName":"UpdateColumnCustomerPlansCellNumber"},"name":"UpdateColumnCustomerPlansCellNumber"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansCellNumber"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_customer_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_id' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansCustomerIdInput","typeName":"UpdateColumnCustomerPlansCustomerId"},"name":"UpdateColumnCustomerPlansCustomerId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansCustomerId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_customer_plan_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansCustomerPlanIdInput","typeName":"UpdateColumnCustomerPlansCustomerPlanId"},"name":"UpdateColumnCustomerPlansCustomerPlanId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansCustomerPlanId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_end_date","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'end_date' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Date"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansEndDateInput","typeName":"UpdateColumnCustomerPlansEndDate"},"name":"UpdateColumnCustomerPlansEndDate"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansEndDate"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_plan_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'plan_id' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansPlanIdInput","typeName":"UpdateColumnCustomerPlansPlanId"},"name":"UpdateColumnCustomerPlansPlanId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansPlanId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_start_date","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'start_date' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Date"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansStartDateInput","typeName":"UpdateColumnCustomerPlansStartDate"},"name":"UpdateColumnCustomerPlansStartDate"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansStartDate"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_status","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'status' column in the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomerPlansStatusInput","typeName":"UpdateColumnCustomerPlansStatus"},"name":"UpdateColumnCustomerPlansStatus"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomerPlansStatus"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plans_by_customer_plan_id_update_columns","fieldMapping":{"cellNumber":{"column":{"argumentMapping":null,"name":"cell_number"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"customerPlanId":{"column":{"argumentMapping":null,"name":"customer_plan_id"}},"endDate":{"column":{"argumentMapping":null,"name":"end_date"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"startDate":{"column":{"argumentMapping":null,"name":"start_date"}},"status":{"column":{"argumentMapping":null,"name":"status"}}}}],"description":"Update the columns of the 'customer_plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'cell_number' column in the 'customer_plans' collection.","name":"cellNumber","type":"UpdateColumnCustomerPlansCellNumber"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'customer_plans' collection.","name":"customerId","type":"UpdateColumnCustomerPlansCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection.","name":"customerPlanId","type":"UpdateColumnCustomerPlansCustomerPlanId"},{"arguments":[],"deprecated":null,"description":"Update the 'end_date' column in the 'customer_plans' collection.","name":"endDate","type":"UpdateColumnCustomerPlansEndDate"},{"arguments":[],"deprecated":null,"description":"Update the 'plan_id' column in the 'customer_plans' collection.","name":"planId","type":"UpdateColumnCustomerPlansPlanId"},{"arguments":[],"deprecated":null,"description":"Update the 'start_date' column in the 'customer_plans' collection.","name":"startDate","type":"UpdateColumnCustomerPlansStartDate"},{"arguments":[],"deprecated":null,"description":"Update the 'status' column in the 'customer_plans' collection.","name":"status","type":"UpdateColumnCustomerPlansStatus"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumnsInput","typeName":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns"},"name":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"role":"admin"}],"typeName":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plans_by_customer_plan_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customer_plans_by_customer_plan_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[CustomerPlans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomerPlansByCustomerPlanIdResponseInput","typeName":"V2UpdateCustomerPlansByCustomerPlanIdResponse"},"name":"V2UpdateCustomerPlansByCustomerPlanIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomerPlansByCustomerPlanIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerPlanId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'customer_plans' collection","name":"postCheck","type":"CustomerPlansBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customer_plans' collection","name":"preCheck","type":"CustomerPlansBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns!"}],"description":"Update any row on the 'customer_plans' collection using the 'customer_plan_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomerPlansByCustomerPlanId"},"name":"UpdateCustomerPlansByCustomerPlanId","outputType":"V2UpdateCustomerPlansByCustomerPlanIdResponse!","source":{"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customer_plans_by_customer_plan_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomerPlansByCustomerPlanId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_address","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'address' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersAddressInput","typeName":"UpdateColumnCustomersAddress"},"name":"UpdateColumnCustomersAddress"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersAddress"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_city","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'city' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersCityInput","typeName":"UpdateColumnCustomersCity"},"name":"UpdateColumnCustomersCity"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersCity"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_country","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'country' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersCountryInput","typeName":"UpdateColumnCustomersCountry"},"name":"UpdateColumnCustomersCountry"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersCountry"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_customer_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_id' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersCustomerIdInput","typeName":"UpdateColumnCustomersCustomerId"},"name":"UpdateColumnCustomersCustomerId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersCustomerId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_email","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'email' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersEmailInput","typeName":"UpdateColumnCustomersEmail"},"name":"UpdateColumnCustomersEmail"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersEmail"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_first_name","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'first_name' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersFirstNameInput","typeName":"UpdateColumnCustomersFirstName"},"name":"UpdateColumnCustomersFirstName"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersFirstName"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_image","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'image' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersImageInput","typeName":"UpdateColumnCustomersImage"},"name":"UpdateColumnCustomersImage"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersImage"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_last_name","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'last_name' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersLastNameInput","typeName":"UpdateColumnCustomersLastName"},"name":"UpdateColumnCustomersLastName"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersLastName"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_phone_number","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'phone_number' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersPhoneNumberInput","typeName":"UpdateColumnCustomersPhoneNumber"},"name":"UpdateColumnCustomersPhoneNumber"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersPhoneNumber"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_postcode","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'postcode' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersPostcodeInput","typeName":"UpdateColumnCustomersPostcode"},"name":"UpdateColumnCustomersPostcode"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersPostcode"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_segment","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'segment' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersSegmentInput","typeName":"UpdateColumnCustomersSegment"},"name":"UpdateColumnCustomersSegment"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersSegment"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_state","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'state' column in the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCustomersStateInput","typeName":"UpdateColumnCustomersState"},"name":"UpdateColumnCustomersState"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCustomersState"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_customer_id_update_columns","fieldMapping":{"address":{"column":{"argumentMapping":null,"name":"address"}},"city":{"column":{"argumentMapping":null,"name":"city"}},"country":{"column":{"argumentMapping":null,"name":"country"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"firstName":{"column":{"argumentMapping":null,"name":"first_name"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"lastName":{"column":{"argumentMapping":null,"name":"last_name"}},"phoneNumber":{"column":{"argumentMapping":null,"name":"phone_number"}},"postcode":{"column":{"argumentMapping":null,"name":"postcode"}},"segment":{"column":{"argumentMapping":null,"name":"segment"}},"state":{"column":{"argumentMapping":null,"name":"state"}}}}],"description":"Update the columns of the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'address' column in the 'customers' collection.","name":"address","type":"UpdateColumnCustomersAddress"},{"arguments":[],"deprecated":null,"description":"Update the 'city' column in the 'customers' collection.","name":"city","type":"UpdateColumnCustomersCity"},{"arguments":[],"deprecated":null,"description":"Update the 'country' column in the 'customers' collection.","name":"country","type":"UpdateColumnCustomersCountry"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'customers' collection.","name":"customerId","type":"UpdateColumnCustomersCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'email' column in the 'customers' collection.","name":"email","type":"UpdateColumnCustomersEmail"},{"arguments":[],"deprecated":null,"description":"Update the 'first_name' column in the 'customers' collection.","name":"firstName","type":"UpdateColumnCustomersFirstName"},{"arguments":[],"deprecated":null,"description":"Update the 'image' column in the 'customers' collection.","name":"image","type":"UpdateColumnCustomersImage"},{"arguments":[],"deprecated":null,"description":"Update the 'last_name' column in the 'customers' collection.","name":"lastName","type":"UpdateColumnCustomersLastName"},{"arguments":[],"deprecated":null,"description":"Update the 'phone_number' column in the 'customers' collection.","name":"phoneNumber","type":"UpdateColumnCustomersPhoneNumber"},{"arguments":[],"deprecated":null,"description":"Update the 'postcode' column in the 'customers' collection.","name":"postcode","type":"UpdateColumnCustomersPostcode"},{"arguments":[],"deprecated":null,"description":"Update the 'segment' column in the 'customers' collection.","name":"segment","type":"UpdateColumnCustomersSegment"},{"arguments":[],"deprecated":null,"description":"Update the 'state' column in the 'customers' collection.","name":"state","type":"UpdateColumnCustomersState"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomersByCustomerIdUpdateColumnsInput","typeName":"V2UpdateCustomersByCustomerIdUpdateColumns"},"name":"V2UpdateCustomersByCustomerIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"role":"admin"}],"typeName":"V2UpdateCustomersByCustomerIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customers_by_customer_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Customers!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomersByCustomerIdResponseInput","typeName":"V2UpdateCustomersByCustomerIdResponse"},"name":"V2UpdateCustomersByCustomerIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomersByCustomerIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCustomerId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'customers' collection","name":"postCheck","type":"CustomersBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customers' collection","name":"preCheck","type":"CustomersBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomersByCustomerIdUpdateColumns!"}],"description":"Update any row on the 'customers' collection using the 'customer_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomersByCustomerId"},"name":"UpdateCustomersByCustomerId","outputType":"V2UpdateCustomersByCustomerIdResponse!","source":{"argumentMapping":{"keyCustomerId":"key_customer_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customers_by_customer_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomersByCustomerId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_phone_number_update_columns","fieldMapping":{"address":{"column":{"argumentMapping":null,"name":"address"}},"city":{"column":{"argumentMapping":null,"name":"city"}},"country":{"column":{"argumentMapping":null,"name":"country"}},"customerId":{"column":{"argumentMapping":null,"name":"customer_id"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"firstName":{"column":{"argumentMapping":null,"name":"first_name"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"lastName":{"column":{"argumentMapping":null,"name":"last_name"}},"phoneNumber":{"column":{"argumentMapping":null,"name":"phone_number"}},"postcode":{"column":{"argumentMapping":null,"name":"postcode"}},"segment":{"column":{"argumentMapping":null,"name":"segment"}},"state":{"column":{"argumentMapping":null,"name":"state"}}}}],"description":"Update the columns of the 'customers' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'address' column in the 'customers' collection.","name":"address","type":"UpdateColumnCustomersAddress"},{"arguments":[],"deprecated":null,"description":"Update the 'city' column in the 'customers' collection.","name":"city","type":"UpdateColumnCustomersCity"},{"arguments":[],"deprecated":null,"description":"Update the 'country' column in the 'customers' collection.","name":"country","type":"UpdateColumnCustomersCountry"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_id' column in the 'customers' collection.","name":"customerId","type":"UpdateColumnCustomersCustomerId"},{"arguments":[],"deprecated":null,"description":"Update the 'email' column in the 'customers' collection.","name":"email","type":"UpdateColumnCustomersEmail"},{"arguments":[],"deprecated":null,"description":"Update the 'first_name' column in the 'customers' collection.","name":"firstName","type":"UpdateColumnCustomersFirstName"},{"arguments":[],"deprecated":null,"description":"Update the 'image' column in the 'customers' collection.","name":"image","type":"UpdateColumnCustomersImage"},{"arguments":[],"deprecated":null,"description":"Update the 'last_name' column in the 'customers' collection.","name":"lastName","type":"UpdateColumnCustomersLastName"},{"arguments":[],"deprecated":null,"description":"Update the 'phone_number' column in the 'customers' collection.","name":"phoneNumber","type":"UpdateColumnCustomersPhoneNumber"},{"arguments":[],"deprecated":null,"description":"Update the 'postcode' column in the 'customers' collection.","name":"postcode","type":"UpdateColumnCustomersPostcode"},{"arguments":[],"deprecated":null,"description":"Update the 'segment' column in the 'customers' collection.","name":"segment","type":"UpdateColumnCustomersSegment"},{"arguments":[],"deprecated":null,"description":"Update the 'state' column in the 'customers' collection.","name":"state","type":"UpdateColumnCustomersState"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomersByPhoneNumberUpdateColumnsInput","typeName":"V2UpdateCustomersByPhoneNumberUpdateColumns"},"name":"V2UpdateCustomersByPhoneNumberUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"role":"admin"}],"typeName":"V2UpdateCustomersByPhoneNumberUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_phone_number_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_customers_by_phone_number' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Customers!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCustomersByPhoneNumberResponseInput","typeName":"V2UpdateCustomersByPhoneNumberResponse"},"name":"V2UpdateCustomersByPhoneNumberResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCustomersByPhoneNumberResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyPhoneNumber","type":"Varchar"},{"description":"Update permission post-condition predicate over the 'customers' collection","name":"postCheck","type":"CustomersBoolExp!"},{"description":"Update permission pre-condition predicate over the 'customers' collection","name":"preCheck","type":"CustomersBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCustomersByPhoneNumberUpdateColumns!"}],"description":"Update any row on the 'customers' collection using the 'phone_number' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCustomersByPhoneNumber"},"name":"UpdateCustomersByPhoneNumber","outputType":"V2UpdateCustomersByPhoneNumberResponse!","source":{"argumentMapping":{"keyPhoneNumber":"key_phone_number","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_customers_by_phone_number"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCustomersByPhoneNumber","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_additional_benefits","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'additional_benefits' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsAdditionalBenefitsInput","typeName":"UpdateColumnDealsAdditionalBenefits"},"name":"UpdateColumnDealsAdditionalBenefits"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsAdditionalBenefits"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_customer_segment","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customer_segment' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsCustomerSegmentInput","typeName":"UpdateColumnDealsCustomerSegment"},"name":"UpdateColumnDealsCustomerSegment"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsCustomerSegment"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_deal_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'deal_id' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsDealIdInput","typeName":"UpdateColumnDealsDealId"},"name":"UpdateColumnDealsDealId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsDealId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_deal_name","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'deal_name' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsDealNameInput","typeName":"UpdateColumnDealsDealName"},"name":"UpdateColumnDealsDealName"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsDealName"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_description","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'description' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsDescriptionInput","typeName":"UpdateColumnDealsDescription"},"name":"UpdateColumnDealsDescription"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsDescription"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_end_date","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'end_date' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Date"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsEndDateInput","typeName":"UpdateColumnDealsEndDate"},"name":"UpdateColumnDealsEndDate"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsEndDate"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_max_monthly_spend","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'max_monthly_spend' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsMaxMonthlySpendInput","typeName":"UpdateColumnDealsMaxMonthlySpend"},"name":"UpdateColumnDealsMaxMonthlySpend"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsMaxMonthlySpend"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_min_monthly_spend","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'min_monthly_spend' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsMinMonthlySpendInput","typeName":"UpdateColumnDealsMinMonthlySpend"},"name":"UpdateColumnDealsMinMonthlySpend"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsMinMonthlySpend"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_start_date","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'start_date' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Date"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsStartDateInput","typeName":"UpdateColumnDealsStartDate"},"name":"UpdateColumnDealsStartDate"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsStartDate"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_terms_conditions","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'terms_conditions' column in the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDealsTermsConditionsInput","typeName":"UpdateColumnDealsTermsConditions"},"name":"UpdateColumnDealsTermsConditions"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDealsTermsConditions"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_deals_by_deal_id_update_columns","fieldMapping":{"additionalBenefits":{"column":{"argumentMapping":null,"name":"additional_benefits"}},"customerSegment":{"column":{"argumentMapping":null,"name":"customer_segment"}},"dealId":{"column":{"argumentMapping":null,"name":"deal_id"}},"dealName":{"column":{"argumentMapping":null,"name":"deal_name"}},"description":{"column":{"argumentMapping":null,"name":"description"}},"endDate":{"column":{"argumentMapping":null,"name":"end_date"}},"maxMonthlySpend":{"column":{"argumentMapping":null,"name":"max_monthly_spend"}},"minMonthlySpend":{"column":{"argumentMapping":null,"name":"min_monthly_spend"}},"startDate":{"column":{"argumentMapping":null,"name":"start_date"}},"termsConditions":{"column":{"argumentMapping":null,"name":"terms_conditions"}}}}],"description":"Update the columns of the 'deals' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'additional_benefits' column in the 'deals' collection.","name":"additionalBenefits","type":"UpdateColumnDealsAdditionalBenefits"},{"arguments":[],"deprecated":null,"description":"Update the 'customer_segment' column in the 'deals' collection.","name":"customerSegment","type":"UpdateColumnDealsCustomerSegment"},{"arguments":[],"deprecated":null,"description":"Update the 'deal_id' column in the 'deals' collection.","name":"dealId","type":"UpdateColumnDealsDealId"},{"arguments":[],"deprecated":null,"description":"Update the 'deal_name' column in the 'deals' collection.","name":"dealName","type":"UpdateColumnDealsDealName"},{"arguments":[],"deprecated":null,"description":"Update the 'description' column in the 'deals' collection.","name":"description","type":"UpdateColumnDealsDescription"},{"arguments":[],"deprecated":null,"description":"Update the 'end_date' column in the 'deals' collection.","name":"endDate","type":"UpdateColumnDealsEndDate"},{"arguments":[],"deprecated":null,"description":"Update the 'max_monthly_spend' column in the 'deals' collection.","name":"maxMonthlySpend","type":"UpdateColumnDealsMaxMonthlySpend"},{"arguments":[],"deprecated":null,"description":"Update the 'min_monthly_spend' column in the 'deals' collection.","name":"minMonthlySpend","type":"UpdateColumnDealsMinMonthlySpend"},{"arguments":[],"deprecated":null,"description":"Update the 'start_date' column in the 'deals' collection.","name":"startDate","type":"UpdateColumnDealsStartDate"},{"arguments":[],"deprecated":null,"description":"Update the 'terms_conditions' column in the 'deals' collection.","name":"termsConditions","type":"UpdateColumnDealsTermsConditions"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDealsByDealIdUpdateColumnsInput","typeName":"V2UpdateDealsByDealIdUpdateColumns"},"name":"V2UpdateDealsByDealIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"role":"admin"}],"typeName":"V2UpdateDealsByDealIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_deals_by_deal_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_deals_by_deal_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Deals!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDealsByDealIdResponseInput","typeName":"V2UpdateDealsByDealIdResponse"},"name":"V2UpdateDealsByDealIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateDealsByDealIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyDealId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'deals' collection","name":"postCheck","type":"DealsBoolExp!"},{"description":"Update permission pre-condition predicate over the 'deals' collection","name":"preCheck","type":"DealsBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateDealsByDealIdUpdateColumns!"}],"description":"Update any row on the 'deals' collection using the 'deal_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateDealsByDealId"},"name":"UpdateDealsByDealId","outputType":"V2UpdateDealsByDealIdResponse!","source":{"argumentMapping":{"keyDealId":"key_deal_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_deals_by_deal_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateDealsByDealId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_brand","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'brand' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesBrandInput","typeName":"UpdateColumnDevicesBrand"},"name":"UpdateColumnDevicesBrand"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesBrand"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_created_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'created_at' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesCreatedAtInput","typeName":"UpdateColumnDevicesCreatedAt"},"name":"UpdateColumnDevicesCreatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesCreatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_device_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'device_id' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesDeviceIdInput","typeName":"UpdateColumnDevicesDeviceId"},"name":"UpdateColumnDevicesDeviceId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesDeviceId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_image","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'image' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesImageInput","typeName":"UpdateColumnDevicesImage"},"name":"UpdateColumnDevicesImage"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesImage"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_model","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'model' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesModelInput","typeName":"UpdateColumnDevicesModel"},"name":"UpdateColumnDevicesModel"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesModel"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_sf_record","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'sf_record' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesSfRecordInput","typeName":"UpdateColumnDevicesSfRecord"},"name":"UpdateColumnDevicesSfRecord"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesSfRecord"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_updated_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'updated_at' column in the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDevicesUpdatedAtInput","typeName":"UpdateColumnDevicesUpdatedAt"},"name":"UpdateColumnDevicesUpdatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDevicesUpdatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_devices_by_device_id_update_columns","fieldMapping":{"brand":{"column":{"argumentMapping":null,"name":"brand"}},"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"deviceId":{"column":{"argumentMapping":null,"name":"device_id"}},"image":{"column":{"argumentMapping":null,"name":"image"}},"model":{"column":{"argumentMapping":null,"name":"model"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":"Update the columns of the 'devices' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'brand' column in the 'devices' collection.","name":"brand","type":"UpdateColumnDevicesBrand"},{"arguments":[],"deprecated":null,"description":"Update the 'created_at' column in the 'devices' collection.","name":"createdAt","type":"UpdateColumnDevicesCreatedAt"},{"arguments":[],"deprecated":null,"description":"Update the 'device_id' column in the 'devices' collection.","name":"deviceId","type":"UpdateColumnDevicesDeviceId"},{"arguments":[],"deprecated":null,"description":"Update the 'image' column in the 'devices' collection.","name":"image","type":"UpdateColumnDevicesImage"},{"arguments":[],"deprecated":null,"description":"Update the 'model' column in the 'devices' collection.","name":"model","type":"UpdateColumnDevicesModel"},{"arguments":[],"deprecated":null,"description":"Update the 'sf_record' column in the 'devices' collection.","name":"sfRecord","type":"UpdateColumnDevicesSfRecord"},{"arguments":[],"deprecated":null,"description":"Update the 'updated_at' column in the 'devices' collection.","name":"updatedAt","type":"UpdateColumnDevicesUpdatedAt"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDevicesByDeviceIdUpdateColumnsInput","typeName":"V2UpdateDevicesByDeviceIdUpdateColumns"},"name":"V2UpdateDevicesByDeviceIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"role":"admin"}],"typeName":"V2UpdateDevicesByDeviceIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_devices_by_device_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_devices_by_device_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Devices!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDevicesByDeviceIdResponseInput","typeName":"V2UpdateDevicesByDeviceIdResponse"},"name":"V2UpdateDevicesByDeviceIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateDevicesByDeviceIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyDeviceId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'devices' collection","name":"postCheck","type":"DevicesBoolExp!"},{"description":"Update permission pre-condition predicate over the 'devices' collection","name":"preCheck","type":"DevicesBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateDevicesByDeviceIdUpdateColumns!"}],"description":"Update any row on the 'devices' collection using the 'device_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateDevicesByDeviceId"},"name":"UpdateDevicesByDeviceId","outputType":"V2UpdateDevicesByDeviceIdResponse!","source":{"argumentMapping":{"keyDeviceId":"key_device_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_devices_by_device_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateDevicesByDeviceId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_capacity","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'capacity' column in the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnNetworkCapacityInput","typeName":"UpdateColumnNetworkCapacity"},"name":"UpdateColumnNetworkCapacity"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnNetworkCapacity"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_latitude","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'latitude' column in the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnNetworkLatitudeInput","typeName":"UpdateColumnNetworkLatitude"},"name":"UpdateColumnNetworkLatitude"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnNetworkLatitude"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_longitude","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'longitude' column in the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnNetworkLongitudeInput","typeName":"UpdateColumnNetworkLongitude"},"name":"UpdateColumnNetworkLongitude"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnNetworkLongitude"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_node_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'node_id' column in the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnNetworkNodeIdInput","typeName":"UpdateColumnNetworkNodeId"},"name":"UpdateColumnNetworkNodeId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnNetworkNodeId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_node_name","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'node_name' column in the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnNetworkNodeNameInput","typeName":"UpdateColumnNetworkNodeName"},"name":"UpdateColumnNetworkNodeName"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnNetworkNodeName"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_status","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'status' column in the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnNetworkStatusInput","typeName":"UpdateColumnNetworkStatus"},"name":"UpdateColumnNetworkStatus"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnNetworkStatus"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_network_by_node_id_update_columns","fieldMapping":{"capacity":{"column":{"argumentMapping":null,"name":"capacity"}},"latitude":{"column":{"argumentMapping":null,"name":"latitude"}},"longitude":{"column":{"argumentMapping":null,"name":"longitude"}},"nodeId":{"column":{"argumentMapping":null,"name":"node_id"}},"nodeName":{"column":{"argumentMapping":null,"name":"node_name"}},"status":{"column":{"argumentMapping":null,"name":"status"}}}}],"description":"Update the columns of the 'network' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'capacity' column in the 'network' collection.","name":"capacity","type":"UpdateColumnNetworkCapacity"},{"arguments":[],"deprecated":null,"description":"Update the 'latitude' column in the 'network' collection.","name":"latitude","type":"UpdateColumnNetworkLatitude"},{"arguments":[],"deprecated":null,"description":"Update the 'longitude' column in the 'network' collection.","name":"longitude","type":"UpdateColumnNetworkLongitude"},{"arguments":[],"deprecated":null,"description":"Update the 'node_id' column in the 'network' collection.","name":"nodeId","type":"UpdateColumnNetworkNodeId"},{"arguments":[],"deprecated":null,"description":"Update the 'node_name' column in the 'network' collection.","name":"nodeName","type":"UpdateColumnNetworkNodeName"},{"arguments":[],"deprecated":null,"description":"Update the 'status' column in the 'network' collection.","name":"status","type":"UpdateColumnNetworkStatus"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateNetworkByNodeIdUpdateColumnsInput","typeName":"V2UpdateNetworkByNodeIdUpdateColumns"},"name":"V2UpdateNetworkByNodeIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["capacity","latitude","longitude","nodeId","nodeName","status"]},"role":"admin"}],"typeName":"V2UpdateNetworkByNodeIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_network_by_node_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_network_by_node_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Network!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateNetworkByNodeIdResponseInput","typeName":"V2UpdateNetworkByNodeIdResponse"},"name":"V2UpdateNetworkByNodeIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateNetworkByNodeIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyNodeId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'network' collection","name":"postCheck","type":"NetworkBoolExp!"},{"description":"Update permission pre-condition predicate over the 'network' collection","name":"preCheck","type":"NetworkBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateNetworkByNodeIdUpdateColumns!"}],"description":"Update any row on the 'network' collection using the 'node_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateNetworkByNodeId"},"name":"UpdateNetworkByNodeId","outputType":"V2UpdateNetworkByNodeIdResponse!","source":{"argumentMapping":{"keyNodeId":"key_node_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_network_by_node_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateNetworkByNodeId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_description","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'description' column in the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnPlansDescriptionInput","typeName":"UpdateColumnPlansDescription"},"name":"UpdateColumnPlansDescription"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnPlansDescription"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_monthly_fee","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'monthly_fee' column in the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Numeric"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnPlansMonthlyFeeInput","typeName":"UpdateColumnPlansMonthlyFee"},"name":"UpdateColumnPlansMonthlyFee"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnPlansMonthlyFee"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_plan_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'plan_id' column in the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnPlansPlanIdInput","typeName":"UpdateColumnPlansPlanId"},"name":"UpdateColumnPlansPlanId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnPlansPlanId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_plan_name","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'plan_name' column in the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnPlansPlanNameInput","typeName":"UpdateColumnPlansPlanName"},"name":"UpdateColumnPlansPlanName"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnPlansPlanName"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_sf_record","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'sf_record' column in the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnPlansSfRecordInput","typeName":"UpdateColumnPlansSfRecord"},"name":"UpdateColumnPlansSfRecord"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnPlansSfRecord"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_type","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'type' column in the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnPlansTypeInput","typeName":"UpdateColumnPlansType"},"name":"UpdateColumnPlansType"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnPlansType"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_id_update_columns","fieldMapping":{"description":{"column":{"argumentMapping":null,"name":"description"}},"monthlyFee":{"column":{"argumentMapping":null,"name":"monthly_fee"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"planName":{"column":{"argumentMapping":null,"name":"plan_name"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"type":{"column":{"argumentMapping":null,"name":"type"}}}}],"description":"Update the columns of the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'description' column in the 'plans' collection.","name":"description","type":"UpdateColumnPlansDescription"},{"arguments":[],"deprecated":null,"description":"Update the 'monthly_fee' column in the 'plans' collection.","name":"monthlyFee","type":"UpdateColumnPlansMonthlyFee"},{"arguments":[],"deprecated":null,"description":"Update the 'plan_id' column in the 'plans' collection.","name":"planId","type":"UpdateColumnPlansPlanId"},{"arguments":[],"deprecated":null,"description":"Update the 'plan_name' column in the 'plans' collection.","name":"planName","type":"UpdateColumnPlansPlanName"},{"arguments":[],"deprecated":null,"description":"Update the 'sf_record' column in the 'plans' collection.","name":"sfRecord","type":"UpdateColumnPlansSfRecord"},{"arguments":[],"deprecated":null,"description":"Update the 'type' column in the 'plans' collection.","name":"type","type":"UpdateColumnPlansType"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdatePlansByPlanIdUpdateColumnsInput","typeName":"V2UpdatePlansByPlanIdUpdateColumns"},"name":"V2UpdatePlansByPlanIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"role":"admin"}],"typeName":"V2UpdatePlansByPlanIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_plans_by_plan_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Plans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdatePlansByPlanIdResponseInput","typeName":"V2UpdatePlansByPlanIdResponse"},"name":"V2UpdatePlansByPlanIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdatePlansByPlanIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyPlanId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'plans' collection","name":"postCheck","type":"PlansBoolExp!"},{"description":"Update permission pre-condition predicate over the 'plans' collection","name":"preCheck","type":"PlansBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdatePlansByPlanIdUpdateColumns!"}],"description":"Update any row on the 'plans' collection using the 'plan_id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdatePlansByPlanId"},"name":"UpdatePlansByPlanId","outputType":"V2UpdatePlansByPlanIdResponse!","source":{"argumentMapping":{"keyPlanId":"key_plan_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_plans_by_plan_id"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdatePlansByPlanId","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_name_update_columns","fieldMapping":{"description":{"column":{"argumentMapping":null,"name":"description"}},"monthlyFee":{"column":{"argumentMapping":null,"name":"monthly_fee"}},"planId":{"column":{"argumentMapping":null,"name":"plan_id"}},"planName":{"column":{"argumentMapping":null,"name":"plan_name"}},"sfRecord":{"column":{"argumentMapping":null,"name":"sf_record"}},"type":{"column":{"argumentMapping":null,"name":"type"}}}}],"description":"Update the columns of the 'plans' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'description' column in the 'plans' collection.","name":"description","type":"UpdateColumnPlansDescription"},{"arguments":[],"deprecated":null,"description":"Update the 'monthly_fee' column in the 'plans' collection.","name":"monthlyFee","type":"UpdateColumnPlansMonthlyFee"},{"arguments":[],"deprecated":null,"description":"Update the 'plan_id' column in the 'plans' collection.","name":"planId","type":"UpdateColumnPlansPlanId"},{"arguments":[],"deprecated":null,"description":"Update the 'plan_name' column in the 'plans' collection.","name":"planName","type":"UpdateColumnPlansPlanName"},{"arguments":[],"deprecated":null,"description":"Update the 'sf_record' column in the 'plans' collection.","name":"sfRecord","type":"UpdateColumnPlansSfRecord"},{"arguments":[],"deprecated":null,"description":"Update the 'type' column in the 'plans' collection.","name":"type","type":"UpdateColumnPlansType"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdatePlansByPlanNameUpdateColumnsInput","typeName":"V2UpdatePlansByPlanNameUpdateColumns"},"name":"V2UpdatePlansByPlanNameUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"role":"admin"}],"typeName":"V2UpdatePlansByPlanNameUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_name_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_plans_by_plan_name' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Plans!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdatePlansByPlanNameResponseInput","typeName":"V2UpdatePlansByPlanNameResponse"},"name":"V2UpdatePlansByPlanNameResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdatePlansByPlanNameResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyPlanName","type":"Varchar"},{"description":"Update permission post-condition predicate over the 'plans' collection","name":"postCheck","type":"PlansBoolExp!"},{"description":"Update permission pre-condition predicate over the 'plans' collection","name":"preCheck","type":"PlansBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdatePlansByPlanNameUpdateColumns!"}],"description":"Update any row on the 'plans' collection using the 'plan_name' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdatePlansByPlanName"},"name":"UpdatePlansByPlanName","outputType":"V2UpdatePlansByPlanNameResponse!","source":{"argumentMapping":{"keyPlanName":"key_plan_name","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_plans_by_plan_name"},"dataConnectorName":"aurora"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdatePlansByPlanName","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"}]},{"name":"support","objects":[{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_delete_document_embeddings_by_document_uuid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_document_embeddings_by_document_uuid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[DocumentEmbeddings!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteDocumentEmbeddingsByDocumentUuidResponseInput","typeName":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse"},"name":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyDocumentUuid","type":"Uuid!"},{"description":"Delete permission predicate over the 'document_embeddings' collection","name":"preCheck","type":"DocumentEmbeddingsBoolExp!"}],"description":"Delete any row on the 'document_embeddings' collection using the 'document_uuid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteDocumentEmbeddingsByDocumentUuid"},"name":"DeleteDocumentEmbeddingsByDocumentUuid","outputType":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse!","source":{"argumentMapping":{"keyDocumentUuid":"key_document_uuid","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_document_embeddings_by_document_uuid"},"dataConnectorName":"vector"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteDocumentEmbeddingsByDocumentUuid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_delete_documents_by_uuid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_documents_by_uuid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Documents!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteDocumentsByUuidResponseInput","typeName":"V2DeleteDocumentsByUuidResponse"},"name":"V2DeleteDocumentsByUuidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteDocumentsByUuidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyUuid","type":"Uuid!"},{"description":"Delete permission predicate over the 'documents' collection","name":"preCheck","type":"DocumentsBoolExp!"}],"description":"Delete any row on the 'documents' collection using the 'uuid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteDocumentsByUuid"},"name":"DeleteDocumentsByUuid","outputType":"V2DeleteDocumentsByUuidResponse!","source":{"argumentMapping":{"keyUuid":"key_uuid","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_documents_by_uuid"},"dataConnectorName":"vector"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteDocumentsByUuid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"document_embeddings","fieldMapping":{"documentUuid":{"column":{"argumentMapping":null,"name":"document_uuid"}},"embeddings":{"column":{"argumentMapping":null,"name":"embeddings"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"documentUuid","type":"Uuid!"},{"arguments":[],"deprecated":null,"description":null,"name":"embeddings","type":"Vector"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_DocumentEmbeddingsInput","typeName":"Support_DocumentEmbeddings"},"name":"DocumentEmbeddings"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["documentUuid","embeddings"]},"role":"admin"}],"typeName":"DocumentEmbeddings"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"DocumentEmbeddingsAggExp","arguments":[],"description":null,"filterExpressionType":"DocumentEmbeddingsBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"documentEmbeddingsAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"DocumentEmbeddingsFilterInput","orderByExpressionType":"Support_DocumentEmbeddingsOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"documentEmbeddings","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"documentEmbeddingsByDocumentUuid","subscription":null,"uniqueIdentifier":["documentUuid"]}]},"name":"DocumentEmbeddings","objectType":"DocumentEmbeddings","orderableFields":[{"fieldName":"documentUuid","orderByDirections":{"enableAll":true}},{"fieldName":"embeddings","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"document_embeddings","dataConnectorName":"vector"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"DocumentEmbeddings","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"documentUuid"}]},"target":{"modelField":[{"fieldName":"uuid"}]}}],"name":"document","sourceType":"DocumentEmbeddings","target":{"model":{"name":"Documents","relationshipType":"Object","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Support_DocumentEmbeddingsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DocumentEmbeddingsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"UuidBoolExp","fieldName":"documentUuid"},{"booleanExpressionType":"VectorBoolExp","fieldName":"embeddings"}],"comparableRelationships":[],"type":"DocumentEmbeddings"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"DocumentEmbeddingsAggExp"},"name":"DocumentEmbeddingsAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"UuidAggExp","description":null,"fieldName":"documentUuid"},{"aggregateExpression":"VectorAggExp","description":null,"fieldName":"embeddings"}],"aggregatedType":"DocumentEmbeddings"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"documents","fieldMapping":{"body":{"column":{"argumentMapping":null,"name":"body"}},"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"language":{"column":{"argumentMapping":null,"name":"language"}},"rating":{"column":{"argumentMapping":null,"name":"rating"}},"status":{"column":{"argumentMapping":null,"name":"status"}},"tags":{"column":{"argumentMapping":null,"name":"tags"}},"title":{"column":{"argumentMapping":null,"name":"title"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}},"uuid":{"column":{"argumentMapping":null,"name":"uuid"}},"viewCount":{"column":{"argumentMapping":null,"name":"view_count"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"body","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"language","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"rating","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"tags","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"title","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"uuid","type":"Uuid!"},{"arguments":[],"deprecated":null,"description":null,"name":"viewCount","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_DocumentsInput","typeName":"Support_Documents"},"name":"Documents"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"role":"admin"},{"input":null,"output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"role":"customer"}],"typeName":"Documents"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"DocumentsAggExp","arguments":[],"description":null,"filterExpressionType":"DocumentsBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"documentsAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"DocumentsFilterInput","orderByExpressionType":"Support_DocumentsOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"documents","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"documentsByUuid","subscription":null,"uniqueIdentifier":["uuid"]}]},"name":"Documents","objectType":"Documents","orderableFields":[{"fieldName":"body","orderByDirections":{"enableAll":true}},{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"language","orderByDirections":{"enableAll":true}},{"fieldName":"rating","orderByDirections":{"enableAll":true}},{"fieldName":"status","orderByDirections":{"enableAll":true}},{"fieldName":"tags","orderByDirections":{"enableAll":true}},{"fieldName":"title","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}},{"fieldName":"uuid","orderByDirections":{"enableAll":true}},{"fieldName":"viewCount","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"documents","dataConnectorName":"vector"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Documents","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"uuid"}]},"target":{"modelField":[{"fieldName":"documentUuid"}]}}],"name":"documentEmbeddings","sourceType":"Documents","target":{"model":{"name":"DocumentEmbeddings","relationshipType":"Array","subgraph":null}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"updatedAt"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatUpdatedDate","sourceType":"Documents","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"createdAt"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatCreatedDate","sourceType":"Documents","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Support_DocumentsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DocumentsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"TextBoolExp","fieldName":"body"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"createdAt"},{"booleanExpressionType":"TextBoolExp","fieldName":"language"},{"booleanExpressionType":"Int4BoolExp","fieldName":"rating"},{"booleanExpressionType":"TextBoolExp","fieldName":"status"},{"booleanExpressionType":"TextBoolExp","fieldName":"tags"},{"booleanExpressionType":"TextBoolExp","fieldName":"title"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"updatedAt"},{"booleanExpressionType":"UuidBoolExp","fieldName":"uuid"},{"booleanExpressionType":"Int4BoolExp","fieldName":"viewCount"}],"comparableRelationships":[],"type":"Documents"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"DocumentsAggExp"},"name":"DocumentsAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"TextAggExp","description":null,"fieldName":"body"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"createdAt"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"language"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"rating"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"status"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"tags"},{"aggregateExpression":"TextAggExp","description":null,"fieldName":"title"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"updatedAt"},{"aggregateExpression":"UuidAggExp","description":null,"fieldName":"uuid"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"viewCount"}],"aggregatedType":"Documents"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_document_embeddings_object","fieldMapping":{"documentUuid":{"column":{"argumentMapping":null,"name":"document_uuid"}},"embeddings":{"column":{"argumentMapping":null,"name":"embeddings"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"documentUuid","type":"Uuid!"},{"arguments":[],"deprecated":null,"description":null,"name":"embeddings","type":"Vector"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDocumentEmbeddingsObjectInput","typeName":"V2InsertDocumentEmbeddingsObject"},"name":"V2InsertDocumentEmbeddingsObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["documentUuid","embeddings"]},"role":"admin"}],"typeName":"V2InsertDocumentEmbeddingsObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_document_embeddings_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_document_embeddings' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[DocumentEmbeddings!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDocumentEmbeddingsResponseInput","typeName":"V2InsertDocumentEmbeddingsResponse"},"name":"V2InsertDocumentEmbeddingsResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertDocumentEmbeddingsResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertDocumentEmbeddingsObject!]!"},{"description":"Insert permission predicate over the 'document_embeddings' collection","name":"postCheck","type":"DocumentEmbeddingsBoolExp!"}],"description":"Insert into the document_embeddings table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertDocumentEmbeddings"},"name":"InsertDocumentEmbeddings","outputType":"V2InsertDocumentEmbeddingsResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_document_embeddings"},"dataConnectorName":"vector"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertDocumentEmbeddings","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_documents_object","fieldMapping":{"body":{"column":{"argumentMapping":null,"name":"body"}},"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"language":{"column":{"argumentMapping":null,"name":"language"}},"rating":{"column":{"argumentMapping":null,"name":"rating"}},"status":{"column":{"argumentMapping":null,"name":"status"}},"tags":{"column":{"argumentMapping":null,"name":"tags"}},"title":{"column":{"argumentMapping":null,"name":"title"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}},"uuid":{"column":{"argumentMapping":null,"name":"uuid"}},"viewCount":{"column":{"argumentMapping":null,"name":"view_count"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"body","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"language","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"rating","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"tags","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"title","type":"Text"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"uuid","type":"Uuid"},{"arguments":[],"deprecated":null,"description":null,"name":"viewCount","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDocumentsObjectInput","typeName":"V2InsertDocumentsObject"},"name":"V2InsertDocumentsObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"role":"admin"}],"typeName":"V2InsertDocumentsObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_documents_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_documents' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Documents!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertDocumentsResponseInput","typeName":"V2InsertDocumentsResponse"},"name":"V2InsertDocumentsResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertDocumentsResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertDocumentsObject!]!"},{"description":"Insert permission predicate over the 'documents' collection","name":"postCheck","type":"DocumentsBoolExp!"}],"description":"Insert into the documents table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertDocuments"},"name":"InsertDocuments","outputType":"V2InsertDocumentsResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_documents"},"dataConnectorName":"vector"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertDocuments","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_document_embeddings_document_uuid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'document_uuid' column in the 'document_embeddings' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Uuid!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentEmbeddingsDocumentUuidInput","typeName":"UpdateColumnDocumentEmbeddingsDocumentUuid"},"name":"UpdateColumnDocumentEmbeddingsDocumentUuid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentEmbeddingsDocumentUuid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_document_embeddings_embeddings","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'embeddings' column in the 'document_embeddings' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Vector"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentEmbeddingsEmbeddingsInput","typeName":"UpdateColumnDocumentEmbeddingsEmbeddings"},"name":"UpdateColumnDocumentEmbeddingsEmbeddings"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentEmbeddingsEmbeddings"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_document_embeddings_by_document_uuid_update_columns","fieldMapping":{"documentUuid":{"column":{"argumentMapping":null,"name":"document_uuid"}},"embeddings":{"column":{"argumentMapping":null,"name":"embeddings"}}}}],"description":"Update the columns of the 'document_embeddings' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'document_uuid' column in the 'document_embeddings' collection.","name":"documentUuid","type":"UpdateColumnDocumentEmbeddingsDocumentUuid"},{"arguments":[],"deprecated":null,"description":"Update the 'embeddings' column in the 'document_embeddings' collection.","name":"embeddings","type":"UpdateColumnDocumentEmbeddingsEmbeddings"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumnsInput","typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns"},"name":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["documentUuid","embeddings"]},"role":"admin"}],"typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_document_embeddings_by_document_uuid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_document_embeddings_by_document_uuid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[DocumentEmbeddings!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDocumentEmbeddingsByDocumentUuidResponseInput","typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse"},"name":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyDocumentUuid","type":"Uuid!"},{"description":"Update permission post-condition predicate over the 'document_embeddings' collection","name":"postCheck","type":"DocumentEmbeddingsBoolExp!"},{"description":"Update permission pre-condition predicate over the 'document_embeddings' collection","name":"preCheck","type":"DocumentEmbeddingsBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns!"}],"description":"Update any row on the 'document_embeddings' collection using the 'document_uuid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateDocumentEmbeddingsByDocumentUuid"},"name":"UpdateDocumentEmbeddingsByDocumentUuid","outputType":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse!","source":{"argumentMapping":{"keyDocumentUuid":"key_document_uuid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_document_embeddings_by_document_uuid"},"dataConnectorName":"vector"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateDocumentEmbeddingsByDocumentUuid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_body","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'body' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsBodyInput","typeName":"UpdateColumnDocumentsBody"},"name":"UpdateColumnDocumentsBody"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsBody"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_created_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'created_at' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsCreatedAtInput","typeName":"UpdateColumnDocumentsCreatedAt"},"name":"UpdateColumnDocumentsCreatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsCreatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_language","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'language' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsLanguageInput","typeName":"UpdateColumnDocumentsLanguage"},"name":"UpdateColumnDocumentsLanguage"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsLanguage"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_rating","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'rating' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsRatingInput","typeName":"UpdateColumnDocumentsRating"},"name":"UpdateColumnDocumentsRating"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsRating"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_status","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'status' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsStatusInput","typeName":"UpdateColumnDocumentsStatus"},"name":"UpdateColumnDocumentsStatus"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsStatus"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_tags","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'tags' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsTagsInput","typeName":"UpdateColumnDocumentsTags"},"name":"UpdateColumnDocumentsTags"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsTags"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_title","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'title' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Text"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsTitleInput","typeName":"UpdateColumnDocumentsTitle"},"name":"UpdateColumnDocumentsTitle"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsTitle"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_updated_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'updated_at' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsUpdatedAtInput","typeName":"UpdateColumnDocumentsUpdatedAt"},"name":"UpdateColumnDocumentsUpdatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsUpdatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_uuid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'uuid' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Uuid!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsUuidInput","typeName":"UpdateColumnDocumentsUuid"},"name":"UpdateColumnDocumentsUuid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsUuid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_view_count","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'view_count' column in the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnDocumentsViewCountInput","typeName":"UpdateColumnDocumentsViewCount"},"name":"UpdateColumnDocumentsViewCount"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnDocumentsViewCount"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_documents_by_uuid_update_columns","fieldMapping":{"body":{"column":{"argumentMapping":null,"name":"body"}},"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"language":{"column":{"argumentMapping":null,"name":"language"}},"rating":{"column":{"argumentMapping":null,"name":"rating"}},"status":{"column":{"argumentMapping":null,"name":"status"}},"tags":{"column":{"argumentMapping":null,"name":"tags"}},"title":{"column":{"argumentMapping":null,"name":"title"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}},"uuid":{"column":{"argumentMapping":null,"name":"uuid"}},"viewCount":{"column":{"argumentMapping":null,"name":"view_count"}}}}],"description":"Update the columns of the 'documents' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'body' column in the 'documents' collection.","name":"body","type":"UpdateColumnDocumentsBody"},{"arguments":[],"deprecated":null,"description":"Update the 'created_at' column in the 'documents' collection.","name":"createdAt","type":"UpdateColumnDocumentsCreatedAt"},{"arguments":[],"deprecated":null,"description":"Update the 'language' column in the 'documents' collection.","name":"language","type":"UpdateColumnDocumentsLanguage"},{"arguments":[],"deprecated":null,"description":"Update the 'rating' column in the 'documents' collection.","name":"rating","type":"UpdateColumnDocumentsRating"},{"arguments":[],"deprecated":null,"description":"Update the 'status' column in the 'documents' collection.","name":"status","type":"UpdateColumnDocumentsStatus"},{"arguments":[],"deprecated":null,"description":"Update the 'tags' column in the 'documents' collection.","name":"tags","type":"UpdateColumnDocumentsTags"},{"arguments":[],"deprecated":null,"description":"Update the 'title' column in the 'documents' collection.","name":"title","type":"UpdateColumnDocumentsTitle"},{"arguments":[],"deprecated":null,"description":"Update the 'updated_at' column in the 'documents' collection.","name":"updatedAt","type":"UpdateColumnDocumentsUpdatedAt"},{"arguments":[],"deprecated":null,"description":"Update the 'uuid' column in the 'documents' collection.","name":"uuid","type":"UpdateColumnDocumentsUuid"},{"arguments":[],"deprecated":null,"description":"Update the 'view_count' column in the 'documents' collection.","name":"viewCount","type":"UpdateColumnDocumentsViewCount"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDocumentsByUuidUpdateColumnsInput","typeName":"V2UpdateDocumentsByUuidUpdateColumns"},"name":"V2UpdateDocumentsByUuidUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"role":"admin"}],"typeName":"V2UpdateDocumentsByUuidUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_documents_by_uuid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_documents_by_uuid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Documents!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateDocumentsByUuidResponseInput","typeName":"V2UpdateDocumentsByUuidResponse"},"name":"V2UpdateDocumentsByUuidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateDocumentsByUuidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyUuid","type":"Uuid!"},{"description":"Update permission post-condition predicate over the 'documents' collection","name":"postCheck","type":"DocumentsBoolExp!"},{"description":"Update permission pre-condition predicate over the 'documents' collection","name":"preCheck","type":"DocumentsBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateDocumentsByUuidUpdateColumns!"}],"description":"Update any row on the 'documents' collection using the 'uuid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateDocumentsByUuid"},"name":"UpdateDocumentsByUuid","outputType":"V2UpdateDocumentsByUuidResponse!","source":{"argumentMapping":{"keyUuid":"key_uuid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_documents_by_uuid"},"dataConnectorName":"vector"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateDocumentsByUuid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_accountDetails","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"accountNumber","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"registrationDate","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesAccountDetailsInput","typeName":"Support_UserProfilesAccountDetails"},"name":"UserProfilesAccountDetails"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["accountNumber","registrationDate"]},"role":"admin"},{"input":null,"output":{"allowedFields":["accountNumber","registrationDate"]},"role":"customer"}],"typeName":"UserProfilesAccountDetails"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_identification","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"expiryDate","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"issuedBy","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"number","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"type","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesIdentificationInput","typeName":"Support_UserProfilesIdentification"},"name":"UserProfilesIdentification"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["expiryDate","issuedBy","number","type"]},"role":"admin"},{"input":null,"output":{"allowedFields":["expiryDate","issuedBy","number","type"]},"role":"customer"}],"typeName":"UserProfilesIdentification"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_communication_appNotifications","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"enabled","type":"Bool!"},{"arguments":[],"deprecated":null,"description":null,"name":"frequency","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesCommunicationAppNotificationsInput","typeName":"Support_UserProfilesPreferencesCommunicationAppNotifications"},"name":"UserProfilesPreferencesCommunicationAppNotifications"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["enabled","frequency"]},"role":"admin"},{"input":null,"output":{"allowedFields":["enabled","frequency"]},"role":"customer"}],"typeName":"UserProfilesPreferencesCommunicationAppNotifications"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_communication","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"appNotifications","type":"UserProfilesPreferencesCommunicationAppNotifications!"},{"arguments":[],"deprecated":null,"description":null,"name":"emailUpdates","type":"Bool!"},{"arguments":[],"deprecated":null,"description":null,"name":"smsNotifications","type":"Bool!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesCommunicationInput","typeName":"Support_UserProfilesPreferencesCommunication"},"name":"UserProfilesPreferencesCommunication"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["appNotifications","emailUpdates","smsNotifications"]},"role":"admin"},{"input":null,"output":{"allowedFields":["appNotifications","emailUpdates","smsNotifications"]},"role":"customer"}],"typeName":"UserProfilesPreferencesCommunication"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_privacySettings","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"adPersonalization","type":"Bool!"},{"arguments":[],"deprecated":null,"description":null,"name":"shareDataForImprovements","type":"Bool!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesPrivacySettingsInput","typeName":"Support_UserProfilesPreferencesPrivacySettings"},"name":"UserProfilesPreferencesPrivacySettings"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["adPersonalization","shareDataForImprovements"]},"role":"admin"},{"input":null,"output":{"allowedFields":["adPersonalization","shareDataForImprovements"]},"role":"customer"}],"typeName":"UserProfilesPreferencesPrivacySettings"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"lat","type":"Double!"},{"arguments":[],"deprecated":null,"description":null,"name":"long","type":"Double!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinatesInput","typeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates"},"name":"UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["lat","long"]},"role":"admin"},{"input":null,"output":{"allowedFields":["lat","long"]},"role":"customer"}],"typeName":"UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences_favoriteLocations","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"coordinates","type":"UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates!"},{"arguments":[],"deprecated":null,"description":null,"name":"name","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocationsInput","typeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocations"},"name":"UserProfilesPreferencesServicePreferencesFavoriteLocations"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["coordinates","name"]},"role":"admin"},{"input":null,"output":{"allowedFields":["coordinates","name"]},"role":"customer"}],"typeName":"UserProfilesPreferencesServicePreferencesFavoriteLocations"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences_networkSettings","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"dataSaverMode","type":"Bool!"},{"arguments":[],"deprecated":null,"description":null,"name":"preferredNetworkType","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesServicePreferencesNetworkSettingsInput","typeName":"Support_UserProfilesPreferencesServicePreferencesNetworkSettings"},"name":"UserProfilesPreferencesServicePreferencesNetworkSettings"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["dataSaverMode","preferredNetworkType"]},"role":"admin"},{"input":null,"output":{"allowedFields":["dataSaverMode","preferredNetworkType"]},"role":"customer"}],"typeName":"UserProfilesPreferencesServicePreferencesNetworkSettings"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"favoriteLocations","type":"[UserProfilesPreferencesServicePreferencesFavoriteLocations!]!"},{"arguments":[],"deprecated":null,"description":null,"name":"networkSettings","type":"UserProfilesPreferencesServicePreferencesNetworkSettings!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesServicePreferencesInput","typeName":"Support_UserProfilesPreferencesServicePreferences"},"name":"UserProfilesPreferencesServicePreferences"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["favoriteLocations","networkSettings"]},"role":"admin"},{"input":null,"output":{"allowedFields":["favoriteLocations","networkSettings"]},"role":"customer"}],"typeName":"UserProfilesPreferencesServicePreferences"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"communication","type":"UserProfilesPreferencesCommunication!"},{"arguments":[],"deprecated":null,"description":null,"name":"privacySettings","type":"UserProfilesPreferencesPrivacySettings!"},{"arguments":[],"deprecated":null,"description":null,"name":"servicePreferences","type":"UserProfilesPreferencesServicePreferences!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesPreferencesInput","typeName":"Support_UserProfilesPreferences"},"name":"UserProfilesPreferences"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["communication","privacySettings","servicePreferences"]},"role":"admin"},{"input":null,"output":{"allowedFields":["communication","privacySettings","servicePreferences"]},"role":"customer"}],"typeName":"UserProfilesPreferences"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_supportHistory","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"date","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"issue","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"resolutionNotes","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"status","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"ticketId","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesSupportHistoryInput","typeName":"Support_UserProfilesSupportHistory"},"name":"UserProfilesSupportHistory"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["date","issue","resolutionNotes","status","ticketId"]},"role":"admin"},{"input":null,"output":{"allowedFields":["date","issue","resolutionNotes","status","ticketId"]},"role":"customer"}],"typeName":"UserProfilesSupportHistory"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats_appUsage","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"name","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"usage","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesUsageStatsAppUsageInput","typeName":"Support_UserProfilesUsageStatsAppUsage"},"name":"UserProfilesUsageStatsAppUsage"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["name","usage"]},"role":"admin"},{"input":null,"output":{"allowedFields":["name","usage"]},"role":"customer"}],"typeName":"UserProfilesUsageStatsAppUsage"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats_callStats","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"internationalMinutes","type":"Int!"},{"arguments":[],"deprecated":null,"description":null,"name":"totalMinutes","type":"Int!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesUsageStatsCallStatsInput","typeName":"Support_UserProfilesUsageStatsCallStats"},"name":"UserProfilesUsageStatsCallStats"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["internationalMinutes","totalMinutes"]},"role":"admin"},{"input":null,"output":{"allowedFields":["internationalMinutes","totalMinutes"]},"role":"customer"}],"typeName":"UserProfilesUsageStatsCallStats"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats_dataUsage","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"currentMonth","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"total","type":"String!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesUsageStatsDataUsageInput","typeName":"Support_UserProfilesUsageStatsDataUsage"},"name":"UserProfilesUsageStatsDataUsage"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["currentMonth","total"]},"role":"admin"},{"input":null,"output":{"allowedFields":["currentMonth","total"]},"role":"customer"}],"typeName":"UserProfilesUsageStatsDataUsage"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats","fieldMapping":{}}],"description":"generated from MongoDB validation schema","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"appUsage","type":"[UserProfilesUsageStatsAppUsage!]!"},{"arguments":[],"deprecated":null,"description":null,"name":"callStats","type":"UserProfilesUsageStatsCallStats!"},{"arguments":[],"deprecated":null,"description":null,"name":"dataUsage","type":"UserProfilesUsageStatsDataUsage!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesUsageStatsInput","typeName":"Support_UserProfilesUsageStats"},"name":"UserProfilesUsageStats"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["appUsage","callStats","dataUsage"]},"role":"admin"},{"input":null,"output":{"allowedFields":["appUsage","callStats","dataUsage"]},"role":"customer"}],"typeName":"UserProfilesUsageStats"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles","fieldMapping":{"accountDetails":{"column":{"argumentMapping":null,"name":"accountDetails"}},"id":{"column":{"argumentMapping":null,"name":"_id"}},"identification":{"column":{"argumentMapping":null,"name":"identification"}},"memberId":{"column":{"argumentMapping":null,"name":"memberID"}},"notes":{"column":{"argumentMapping":null,"name":"notes"}},"preferences":{"column":{"argumentMapping":null,"name":"preferences"}},"supportHistory":{"column":{"argumentMapping":null,"name":"supportHistory"}},"usageStats":{"column":{"argumentMapping":null,"name":"usageStats"}}}}],"description":"Object type for collection userProfiles","fields":[{"arguments":[],"deprecated":null,"description":null,"name":"id","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"accountDetails","type":"UserProfilesAccountDetails!"},{"arguments":[],"deprecated":null,"description":null,"name":"identification","type":"UserProfilesIdentification!"},{"arguments":[],"deprecated":null,"description":null,"name":"memberId","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"notes","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"preferences","type":"UserProfilesPreferences!"},{"arguments":[],"deprecated":null,"description":null,"name":"supportHistory","type":"[UserProfilesSupportHistory!]!"},{"arguments":[],"deprecated":null,"description":null,"name":"usageStats","type":"UserProfilesUsageStats!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Support_UserProfilesInput","typeName":"Support_UserProfiles"},"name":"UserProfiles"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["id","accountDetails","identification","memberId","notes","preferences","supportHistory","usageStats"]},"role":"admin"},{"input":null,"output":{"allowedFields":["id","accountDetails","identification","memberId","notes","preferences","supportHistory","usageStats"]},"role":"customer"}],"typeName":"UserProfiles"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"UserProfilesAggExp","arguments":[],"description":null,"filterExpressionType":"UserProfilesBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"userProfilesAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"UserProfilesFilterInput","orderByExpressionType":"Support_UserProfilesOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"userProfiles","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"userProfilesById","subscription":null,"uniqueIdentifier":["id"]}]},"name":"UserProfiles","objectType":"UserProfiles","orderableFields":[{"fieldName":"id","orderByDirections":{"enableAll":true}},{"fieldName":"accountDetails","orderByDirections":{"enableAll":true}},{"fieldName":"identification","orderByDirections":{"enableAll":true}},{"fieldName":"memberId","orderByDirections":{"enableAll":true}},{"fieldName":"notes","orderByDirections":{"enableAll":true}},{"fieldName":"preferences","orderByDirections":{"enableAll":true}},{"fieldName":"supportHistory","orderByDirections":{"enableAll":true}},{"fieldName":"usageStats","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"userProfiles","dataConnectorName":"atlas"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"UserProfiles","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"memberId"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"userProfiles","sourceType":"UserProfiles","target":{"model":{"name":"CustomerPreferences","relationshipType":"Object","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"UserProfilesAggExp"},"name":"UserProfilesAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"StringAggExp","description":null,"fieldName":"id"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"memberId"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"notes"}],"aggregatedType":"UserProfiles"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesAccountDetailsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesAccountDetailsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"accountNumber"},{"booleanExpressionType":"StringBoolExp","fieldName":"registrationDate"}],"comparableRelationships":[],"type":"UserProfilesAccountDetails"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesIdentificationBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesIdentificationBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"expiryDate"},{"booleanExpressionType":"StringBoolExp","fieldName":"issuedBy"},{"booleanExpressionType":"StringBoolExp","fieldName":"number"},{"booleanExpressionType":"StringBoolExp","fieldName":"type"}],"comparableRelationships":[],"type":"UserProfilesIdentification"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesPreferencesCommunicationAppNotificationsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesPreferencesCommunicationAppNotificationsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"BoolBoolExp","fieldName":"enabled"},{"booleanExpressionType":"StringBoolExp","fieldName":"frequency"}],"comparableRelationships":[],"type":"UserProfilesPreferencesCommunicationAppNotifications"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesPreferencesCommunicationBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesPreferencesCommunicationBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"UserProfilesPreferencesCommunicationAppNotificationsBoolExp","fieldName":"appNotifications"},{"booleanExpressionType":"BoolBoolExp","fieldName":"emailUpdates"},{"booleanExpressionType":"BoolBoolExp","fieldName":"smsNotifications"}],"comparableRelationships":[],"type":"UserProfilesPreferencesCommunication"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesPreferencesPrivacySettingsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesPreferencesPrivacySettingsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"BoolBoolExp","fieldName":"adPersonalization"},{"booleanExpressionType":"BoolBoolExp","fieldName":"shareDataForImprovements"}],"comparableRelationships":[],"type":"UserProfilesPreferencesPrivacySettings"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesPreferencesServicePreferencesNetworkSettingsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesPreferencesServicePreferencesNetworkSettingsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"BoolBoolExp","fieldName":"dataSaverMode"},{"booleanExpressionType":"StringBoolExp","fieldName":"preferredNetworkType"}],"comparableRelationships":[],"type":"UserProfilesPreferencesServicePreferencesNetworkSettings"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesPreferencesServicePreferencesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesPreferencesServicePreferencesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"UserProfilesPreferencesServicePreferencesNetworkSettingsBoolExp","fieldName":"networkSettings"}],"comparableRelationships":[],"type":"UserProfilesPreferencesServicePreferences"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesPreferencesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesPreferencesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"UserProfilesPreferencesCommunicationBoolExp","fieldName":"communication"},{"booleanExpressionType":"UserProfilesPreferencesPrivacySettingsBoolExp","fieldName":"privacySettings"},{"booleanExpressionType":"UserProfilesPreferencesServicePreferencesBoolExp","fieldName":"servicePreferences"}],"comparableRelationships":[],"type":"UserProfilesPreferences"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesUsageStatsCallStatsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesUsageStatsCallStatsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"IntBoolExp","fieldName":"internationalMinutes"},{"booleanExpressionType":"IntBoolExp","fieldName":"totalMinutes"}],"comparableRelationships":[],"type":"UserProfilesUsageStatsCallStats"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesUsageStatsDataUsageBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesUsageStatsDataUsageBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"currentMonth"},{"booleanExpressionType":"StringBoolExp","fieldName":"total"}],"comparableRelationships":[],"type":"UserProfilesUsageStatsDataUsage"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UserProfilesUsageStatsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesUsageStatsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"UserProfilesUsageStatsCallStatsBoolExp","fieldName":"callStats"},{"booleanExpressionType":"UserProfilesUsageStatsDataUsageBoolExp","fieldName":"dataUsage"}],"comparableRelationships":[],"type":"UserProfilesUsageStats"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"Support_UserProfilesBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UserProfilesBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"id"},{"booleanExpressionType":"UserProfilesAccountDetailsBoolExp","fieldName":"accountDetails"},{"booleanExpressionType":"UserProfilesIdentificationBoolExp","fieldName":"identification"},{"booleanExpressionType":"StringBoolExp","fieldName":"memberId"},{"booleanExpressionType":"StringBoolExp","fieldName":"notes"},{"booleanExpressionType":"UserProfilesPreferencesBoolExp","fieldName":"preferences"},{"booleanExpressionType":"UserProfilesUsageStatsBoolExp","fieldName":"usageStats"}],"comparableRelationships":[],"type":"UserProfiles"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Bool"},"name":"Bool"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Double"},"name":"Double"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"String","graphql":{"comparisonExpressionTypeName":"Support_StringComparisonExp"},"representation":"String"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"Bool","graphql":{"comparisonExpressionTypeName":"Support_BoolComparisonExp"},"representation":"Bool"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"Double","graphql":{"comparisonExpressionTypeName":"Support_DoubleComparisonExp"},"representation":"Double"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"Int","graphql":{"comparisonExpressionTypeName":"Support_IntComparisonExp"},"representation":"Int"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_ObjectId"},"name":"ObjectId"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"ObjectId","graphql":{"comparisonExpressionTypeName":"Support_ObjectIdComparisonExp"},"representation":"ObjectId"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Support_ObjectIdBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"ObjectIdBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"ObjectId!","name":"_eq"},{"argumentType":"ObjectId!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"ObjectId","operatorMapping":{}}],"type":"ObjectId"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"Support_BoolBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"BoolBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Bool!","name":"_eq"},{"argumentType":"Bool!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"Bool","operatorMapping":{}}],"type":"Bool"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"Support_StringBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"StringBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"String!","name":"_eq"},{"argumentType":"String!","name":"_gt"},{"argumentType":"String!","name":"_gte"},{"argumentType":"String!","name":"_iregex"},{"argumentType":"String!","name":"_lt"},{"argumentType":"String!","name":"_lte"},{"argumentType":"String!","name":"_neq"},{"argumentType":"String!","name":"_regex"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"String","operatorMapping":{}}],"type":"String"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Support_ObjectIdAggExp"},"name":"ObjectIdAggExp","operand":{"scalar":{"aggregatedType":"ObjectId","aggregationFunctions":[{"description":null,"name":"count","returnType":"Int!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"ObjectId","functionMapping":{"count":{"name":"count"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Support_StringAggExp"},"name":"StringAggExp","operand":{"scalar":{"aggregatedType":"String","aggregationFunctions":[{"description":null,"name":"count","returnType":"Int!"},{"description":null,"name":"max","returnType":"String!"},{"description":null,"name":"min","returnType":"String!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"String","functionMapping":{"count":{"name":"count"},"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"Support_DoubleBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DoubleBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Double!","name":"_eq"},{"argumentType":"Double!","name":"_gt"},{"argumentType":"Double!","name":"_gte"},{"argumentType":"Double!","name":"_lt"},{"argumentType":"Double!","name":"_lte"},{"argumentType":"Double!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"Double","operatorMapping":{}}],"type":"Double"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"IntBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"IntBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int!","name":"_eq"},{"argumentType":"Int!","name":"_gt"},{"argumentType":"Int!","name":"_gte"},{"argumentType":"Int!","name":"_lt"},{"argumentType":"Int!","name":"_lte"},{"argumentType":"Int!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"Int","operatorMapping":{}}],"type":"Int"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"atlas","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"variables":{}},"relationships":{"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"foreign_keys":{},"name":"userProfiles","type":"userProfiles","uniqueness_constraints":{"userProfiles_id":{"unique_columns":["_id"]}}}],"functions":[],"object_types":{"customerPreferences":{"description":"Object type for collection customerPreferences","fields":{"_id":{"description":"primary key _id","type":{"name":"ObjectId","type":"named"}},"behavioralData":{"description":"behavioralData is an object containing behavioral metrics","type":{"name":"customerPreferences_behavioralData","type":"named"}},"customerNotes":{"description":"customerNotes is an array of note objects with author, date, and content","type":{"element_type":{"name":"customerPreferences_customerNotes","type":"named"},"type":"array"}},"customer_guid":{"description":"must be a string and is required","type":{"name":"String","type":"named"}},"preferences":{"type":{"name":"customerPreferences_preferences","type":"named"}},"socialMedia":{"description":"socialMedia is an object containing social media profile URLs","type":{"type":"nullable","underlying_type":{"name":"customerPreferences_socialMedia","type":"named"}}}}},"customerPreferences_behavioralData":{"description":"generated from MongoDB validation schema","fields":{"lastAppLogin":{"description":"must be a valid ISO date and is required","type":{"name":"String","type":"named"}},"lastWebsiteVisit":{"description":"must be a valid ISO date and is required","type":{"name":"String","type":"named"}}}},"customerPreferences_customerNotes":{"description":"generated from MongoDB validation schema","fields":{"author":{"description":"must be a string and is required","type":{"name":"String","type":"named"}},"content":{"description":"must be a string and is required","type":{"name":"String","type":"named"}},"date":{"description":"must be a valid ISO date and is required","type":{"name":"String","type":"named"}}}},"customerPreferences_preferences":{"description":"generated from MongoDB validation schema","fields":{"contactMethod":{"description":"must be one of 'email', 'phone', or 'SMS' and is required","type":{"name":"String","type":"named"}},"marketingOptIn":{"description":"must be a boolean value and is required","type":{"name":"Bool","type":"named"}}}},"customerPreferences_socialMedia":{"description":"generated from MongoDB validation schema","fields":{"facebook":{"description":"must be a valid Facebook URL","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}},"linkedin":{"description":"must be a valid LinkedIn URL","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}},"twitter":{"description":"must be a valid Twitter URL","type":{"type":"nullable","underlying_type":{"name":"String","type":"named"}}}}},"userProfiles":{"description":"Object type for collection userProfiles","fields":{"_id":{"type":{"name":"String","type":"named"}},"accountDetails":{"type":{"name":"userProfiles_accountDetails","type":"named"}},"identification":{"type":{"name":"userProfiles_identification","type":"named"}},"memberID":{"type":{"name":"String","type":"named"}},"notes":{"type":{"name":"String","type":"named"}},"preferences":{"type":{"name":"userProfiles_preferences","type":"named"}},"supportHistory":{"type":{"element_type":{"name":"userProfiles_supportHistory","type":"named"},"type":"array"}},"usageStats":{"type":{"name":"userProfiles_usageStats","type":"named"}}}},"userProfiles_accountDetails":{"description":"generated from MongoDB validation schema","fields":{"accountNumber":{"type":{"name":"String","type":"named"}},"registrationDate":{"type":{"name":"String","type":"named"}}}},"userProfiles_identification":{"description":"generated from MongoDB validation schema","fields":{"expiryDate":{"type":{"name":"String","type":"named"}},"issuedBy":{"type":{"name":"String","type":"named"}},"number":{"type":{"name":"String","type":"named"}},"type":{"type":{"name":"String","type":"named"}}}},"userProfiles_preferences":{"description":"generated from MongoDB validation schema","fields":{"communication":{"type":{"name":"userProfiles_preferences_communication","type":"named"}},"privacySettings":{"type":{"name":"userProfiles_preferences_privacySettings","type":"named"}},"servicePreferences":{"type":{"name":"userProfiles_preferences_servicePreferences","type":"named"}}}},"userProfiles_preferences_communication":{"description":"generated from MongoDB validation schema","fields":{"appNotifications":{"type":{"name":"userProfiles_preferences_communication_appNotifications","type":"named"}},"emailUpdates":{"type":{"name":"Bool","type":"named"}},"smsNotifications":{"type":{"name":"Bool","type":"named"}}}},"userProfiles_preferences_communication_appNotifications":{"description":"generated from MongoDB validation schema","fields":{"enabled":{"type":{"name":"Bool","type":"named"}},"frequency":{"type":{"name":"String","type":"named"}}}},"userProfiles_preferences_privacySettings":{"description":"generated from MongoDB validation schema","fields":{"adPersonalization":{"type":{"name":"Bool","type":"named"}},"shareDataForImprovements":{"type":{"name":"Bool","type":"named"}}}},"userProfiles_preferences_servicePreferences":{"description":"generated from MongoDB validation schema","fields":{"favoriteLocations":{"type":{"element_type":{"name":"userProfiles_preferences_servicePreferences_favoriteLocations","type":"named"},"type":"array"}},"networkSettings":{"type":{"name":"userProfiles_preferences_servicePreferences_networkSettings","type":"named"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations":{"description":"generated from MongoDB validation schema","fields":{"coordinates":{"type":{"name":"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates","type":"named"}},"name":{"type":{"name":"String","type":"named"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates":{"description":"generated from MongoDB validation schema","fields":{"lat":{"type":{"name":"Double","type":"named"}},"long":{"type":{"name":"Double","type":"named"}}}},"userProfiles_preferences_servicePreferences_networkSettings":{"description":"generated from MongoDB validation schema","fields":{"dataSaverMode":{"type":{"name":"Bool","type":"named"}},"preferredNetworkType":{"type":{"name":"String","type":"named"}}}},"userProfiles_supportHistory":{"description":"generated from MongoDB validation schema","fields":{"date":{"type":{"name":"String","type":"named"}},"issue":{"type":{"name":"String","type":"named"}},"resolutionNotes":{"type":{"name":"String","type":"named"}},"status":{"type":{"name":"String","type":"named"}},"ticketId":{"type":{"name":"String","type":"named"}}}},"userProfiles_usageStats":{"description":"generated from MongoDB validation schema","fields":{"appUsage":{"type":{"element_type":{"name":"userProfiles_usageStats_appUsage","type":"named"},"type":"array"}},"callStats":{"type":{"name":"userProfiles_usageStats_callStats","type":"named"}},"dataUsage":{"type":{"name":"userProfiles_usageStats_dataUsage","type":"named"}}}},"userProfiles_usageStats_appUsage":{"description":"generated from MongoDB validation schema","fields":{"name":{"type":{"name":"String","type":"named"}},"usage":{"type":{"name":"String","type":"named"}}}},"userProfiles_usageStats_callStats":{"description":"generated from MongoDB validation schema","fields":{"internationalMinutes":{"type":{"name":"Int","type":"named"}},"totalMinutes":{"type":{"name":"Int","type":"named"}}}},"userProfiles_usageStats_dataUsage":{"description":"generated from MongoDB validation schema","fields":{"currentMonth":{"type":{"name":"String","type":"named"}},"total":{"type":{"name":"String","type":"named"}}}}},"procedures":[],"scalar_types":{"BinData":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"BinData","type":"named"},"type":"custom"}}},"Bool":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Bool","type":"named"},"type":"custom"}},"representation":{"type":"boolean"}},"Date":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Date","type":"named"}},"min":{"result_type":{"name":"Date","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Date","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Date","type":"named"},"type":"custom"}},"representation":{"type":"timestamp"}},"DbPointer":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"DbPointer","type":"named"},"type":"custom"}}},"Decimal":{"aggregate_functions":{"avg":{"result_type":{"name":"Decimal","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Decimal","type":"named"}},"min":{"result_type":{"name":"Decimal","type":"named"}},"sum":{"result_type":{"name":"Decimal","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Decimal","type":"named"},"type":"custom"}},"representation":{"type":"bigdecimal"}},"Double":{"aggregate_functions":{"avg":{"result_type":{"name":"Double","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Double","type":"named"}},"min":{"result_type":{"name":"Double","type":"named"}},"sum":{"result_type":{"name":"Double","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Double","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Double","type":"named"},"type":"custom"}},"representation":{"type":"float64"}},"ExtendedJSON":{"aggregate_functions":{"avg":{"result_type":{"name":"ExtendedJSON","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"ExtendedJSON","type":"named"}},"min":{"result_type":{"name":"ExtendedJSON","type":"named"}},"sum":{"result_type":{"name":"ExtendedJSON","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_in":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_iregex":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"ExtendedJSON","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"String","type":"named"},"type":"custom"}},"representation":{"type":"json"}},"Int":{"aggregate_functions":{"avg":{"result_type":{"name":"Int","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Int","type":"named"}},"min":{"result_type":{"name":"Int","type":"named"}},"sum":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Int","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Int","type":"named"},"type":"custom"}},"representation":{"type":"int32"}},"Javascript":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{}},"JavascriptWithScope":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{}},"Long":{"aggregate_functions":{"avg":{"result_type":{"name":"Long","type":"named"}},"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Long","type":"named"}},"min":{"result_type":{"name":"Long","type":"named"}},"sum":{"result_type":{"name":"Long","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Long","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Long","type":"named"},"type":"custom"}},"representation":{"type":"int64"}},"MaxKey":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"MaxKey","type":"named"},"type":"custom"}}},"MinKey":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"MinKey","type":"named"},"type":"custom"}}},"Null":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Null","type":"named"},"type":"custom"}}},"ObjectId":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"ObjectId","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"Regex":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{}},"String":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"String","type":"named"}},"min":{"result_type":{"name":"String","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_iregex":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"String","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"Symbol":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Symbol","type":"named"},"type":"custom"}}},"Timestamp":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}},"max":{"result_type":{"name":"Timestamp","type":"named"}},"min":{"result_type":{"name":"Timestamp","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Timestamp","type":"named"},"type":"custom"}}},"Undefined":{"aggregate_functions":{"count":{"result_type":{"name":"Int","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"argument_type":{"name":"Undefined","type":"named"},"type":"custom"}}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:7553"},"write":{"value":"http://local.hasura.dev:7553"}}}},"kind":"DataConnectorLink","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Uuid"},"name":"Uuid"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Vector"},"name":"Vector"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"uuid","graphql":{"comparisonExpressionTypeName":"Support_UuidComparisonExp"},"representation":"Uuid"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"vector","graphql":{"comparisonExpressionTypeName":"Support_VectorComparisonExp"},"representation":"Vector"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Text"},"name":"Text"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Timestamptz"},"name":"Timestamptz"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Int4"},"name":"Int4"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"text","graphql":{"comparisonExpressionTypeName":"Support_TextComparisonExp"},"representation":"Text"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"timestamptz","graphql":{"comparisonExpressionTypeName":"Support_TimestamptzComparisonExp"},"representation":"Timestamptz"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"int4","graphql":{"comparisonExpressionTypeName":"Support_Int4ComparisonExp"},"representation":"Int4"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Timestamp"},"name":"Timestamp"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Json"},"name":"Json"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"timestamp","graphql":{"comparisonExpressionTypeName":"Support_TimestampComparisonExp"},"representation":"Timestamp"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"json","graphql":{"comparisonExpressionTypeName":"Support_JsonComparisonExp"},"representation":"Json"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Bool1"},"name":"Bool_1"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Support_Jsonb"},"name":"Jsonb"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"bool","graphql":{"comparisonExpressionTypeName":"Support_Bool1ComparisonExp"},"representation":"Bool_1"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"jsonb","graphql":{"comparisonExpressionTypeName":"Support_JsonbComparisonExp"},"representation":"Jsonb"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"TextBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TextBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Text!","name":"_eq"},{"argumentType":"Text!","name":"_gt"},{"argumentType":"Text!","name":"_gte"},{"argumentType":"Text!","name":"_ilike"},{"argumentType":"[Text!]!","name":"_in"},{"argumentType":"Text!","name":"_iregex"},{"argumentType":"Text!","name":"_like"},{"argumentType":"Text!","name":"_lt"},{"argumentType":"Text!","name":"_lte"},{"argumentType":"Text!","name":"_neq"},{"argumentType":"Text!","name":"_nilike"},{"argumentType":"Text!","name":"_niregex"},{"argumentType":"Text!","name":"_nlike"},{"argumentType":"Text!","name":"_nregex"},{"argumentType":"Text!","name":"_regex"},{"argumentType":"Text!","name":"starts_with"},{"argumentType":"Text!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"text","operatorMapping":{}}],"type":"Text"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"TimestamptzBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TimestamptzBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Timestamptz!","name":"_eq"},{"argumentType":"Timestamptz!","name":"_gt"},{"argumentType":"Timestamptz!","name":"_gte"},{"argumentType":"[Timestamptz!]!","name":"_in"},{"argumentType":"Timestamptz!","name":"_lt"},{"argumentType":"Timestamptz!","name":"_lte"},{"argumentType":"Timestamptz!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"timestamptz","operatorMapping":{}}],"type":"Timestamptz"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"Int4BoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int4BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int4!","name":"_eq"},{"argumentType":"Int4!","name":"_gt"},{"argumentType":"Int4!","name":"_gte"},{"argumentType":"[Int4!]!","name":"_in"},{"argumentType":"Int4!","name":"_lt"},{"argumentType":"Int4!","name":"_lte"},{"argumentType":"Int4!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"int4","operatorMapping":{}}],"type":"Int4"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"UuidBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UuidBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Uuid!","name":"_eq"},{"argumentType":"Uuid!","name":"_gt"},{"argumentType":"Uuid!","name":"_gte"},{"argumentType":"[Uuid!]!","name":"_in"},{"argumentType":"Uuid!","name":"_lt"},{"argumentType":"Uuid!","name":"_lte"},{"argumentType":"Uuid!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"uuid","operatorMapping":{}}],"type":"Uuid"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"TextAggExp_1"},"name":"TextAggExp","operand":{"scalar":{"aggregatedType":"Text","aggregationFunctions":[{"description":null,"name":"max","returnType":"Text"},{"description":null,"name":"min","returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"text","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"TimestamptzAggExp_1"},"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"description":null,"name":"max","returnType":"Timestamptz"},{"description":null,"name":"min","returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Numeric"},"name":"Numeric"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"numeric","graphql":{"comparisonExpressionTypeName":"NumericComparisonExp"},"representation":"Numeric"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"NumericBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"NumericBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Numeric!","name":"_eq"},{"argumentType":"Numeric!","name":"_gt"},{"argumentType":"Numeric!","name":"_gte"},{"argumentType":"[Numeric!]!","name":"_in"},{"argumentType":"Numeric!","name":"_lt"},{"argumentType":"Numeric!","name":"_lte"},{"argumentType":"Numeric!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"numeric","operatorMapping":{}}],"type":"Numeric"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Int8_1"},"name":"Int8"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"vector","dataConnectorScalarType":"int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp_1"},"representation":"Int8"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int8BoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int8BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int8!","name":"_eq"},{"argumentType":"Int8!","name":"_gt"},{"argumentType":"Int8!","name":"_gte"},{"argumentType":"[Int8!]!","name":"_in"},{"argumentType":"Int8!","name":"_lt"},{"argumentType":"Int8!","name":"_lte"},{"argumentType":"Int8!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"int8","operatorMapping":{}}],"type":"Int8"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Int4AggExp_1"},"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Numeric"},{"description":null,"name":"bit_and","returnType":"Int4"},{"description":null,"name":"bit_or","returnType":"Int4"},{"description":null,"name":"bit_xor","returnType":"Int4"},{"description":null,"name":"max","returnType":"Int4"},{"description":null,"name":"min","returnType":"Int4"},{"description":null,"name":"stddev","returnType":"Numeric"},{"description":null,"name":"stddev_pop","returnType":"Numeric"},{"description":null,"name":"stddev_samp","returnType":"Numeric"},{"description":null,"name":"sum","returnType":"Int8"},{"description":null,"name":"var_pop","returnType":"Numeric"},{"description":null,"name":"var_samp","returnType":"Numeric"},{"description":null,"name":"variance","returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"UuidAggExp_1"},"name":"UuidAggExp","operand":{"scalar":{"aggregatedType":"Uuid","aggregationFunctions":[],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"uuid","functionMapping":{}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"VectorBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"VectorBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Vector!","name":"_eq"},{"argumentType":"Vector!","name":"_gt"},{"argumentType":"Vector!","name":"_gte"},{"argumentType":"[Vector!]!","name":"_in"},{"argumentType":"Vector!","name":"_lt"},{"argumentType":"Vector!","name":"_lte"},{"argumentType":"Vector!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"vector","operatorMapping":{}}],"type":"Vector"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"VectorAggExp"},"name":"VectorAggExp","operand":{"scalar":{"aggregatedType":"Vector","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Vector"},{"description":null,"name":"sum","returnType":"Vector"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"vector","functionMapping":{"avg":{"name":"avg"},"sum":{"name":"sum"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"vector","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{"explain":{},"transactional":{}},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"variables":{}},"relationships":{"order_by_aggregate":{},"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"foreign_keys":{"document_embeddings_document_uuid_fkey":{"column_mapping":{"document_uuid":"uuid"},"foreign_collection":"documents"}},"name":"document_embeddings","type":"document_embeddings","uniqueness_constraints":{"document_embeddings_pkey":{"unique_columns":["document_uuid"]}}},{"arguments":{},"foreign_keys":{},"name":"documents","type":"documents","uniqueness_constraints":{"documents_pkey":{"unique_columns":["uuid"]}}}],"functions":[],"object_types":{"document_embeddings":{"fields":{"document_uuid":{"type":{"name":"uuid","type":"named"}},"embeddings":{"type":{"type":"nullable","underlying_type":{"name":"vector","type":"named"}}}}},"documents":{"fields":{"body":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"created_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"language":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"rating":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"status":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"tags":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"title":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"uuid":{"type":{"name":"uuid","type":"named"}},"view_count":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_document_embeddings_document_uuid":{"description":"Update the 'document_uuid' column in the 'document_embeddings' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"uuid","type":"named"}}}},"update_column_document_embeddings_embeddings":{"description":"Update the 'embeddings' column in the 'document_embeddings' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"vector","type":"named"}}}}},"update_column_documents_body":{"description":"Update the 'body' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_documents_created_at":{"description":"Update the 'created_at' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}}},"update_column_documents_language":{"description":"Update the 'language' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_documents_rating":{"description":"Update the 'rating' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_documents_status":{"description":"Update the 'status' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_documents_tags":{"description":"Update the 'tags' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_documents_title":{"description":"Update the 'title' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}}},"update_column_documents_updated_at":{"description":"Update the 'updated_at' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}}},"update_column_documents_uuid":{"description":"Update the 'uuid' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"uuid","type":"named"}}}},"update_column_documents_view_count":{"description":"Update the 'view_count' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"v2_delete_document_embeddings_by_document_uuid_response":{"description":"Responses from the 'v2_delete_document_embeddings_by_document_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"document_embeddings","type":"named"},"type":"array"}}}},"v2_delete_documents_by_uuid_response":{"description":"Responses from the 'v2_delete_documents_by_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"documents","type":"named"},"type":"array"}}}},"v2_insert_document_embeddings_object":{"fields":{"document_uuid":{"type":{"name":"uuid","type":"named"}},"embeddings":{"type":{"type":"nullable","underlying_type":{"name":"vector","type":"named"}}}}},"v2_insert_document_embeddings_response":{"description":"Responses from the 'v2_insert_document_embeddings' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"document_embeddings","type":"named"},"type":"array"}}}},"v2_insert_documents_object":{"fields":{"body":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"created_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"language":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"rating":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"status":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"tags":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"title":{"type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"uuid":{"type":{"type":"nullable","underlying_type":{"name":"uuid","type":"named"}}},"view_count":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"v2_insert_documents_response":{"description":"Responses from the 'v2_insert_documents' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"documents","type":"named"},"type":"array"}}}},"v2_update_document_embeddings_by_document_uuid_response":{"description":"Responses from the 'v2_update_document_embeddings_by_document_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"document_embeddings","type":"named"},"type":"array"}}}},"v2_update_document_embeddings_by_document_uuid_update_columns":{"description":"Update the columns of the 'document_embeddings' collection","fields":{"document_uuid":{"description":"Update the 'document_uuid' column in the 'document_embeddings' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_document_embeddings_document_uuid","type":"named"}}},"embeddings":{"description":"Update the 'embeddings' column in the 'document_embeddings' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_document_embeddings_embeddings","type":"named"}}}}},"v2_update_documents_by_uuid_response":{"description":"Responses from the 'v2_update_documents_by_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"documents","type":"named"},"type":"array"}}}},"v2_update_documents_by_uuid_update_columns":{"description":"Update the columns of the 'documents' collection","fields":{"body":{"description":"Update the 'body' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_body","type":"named"}}},"created_at":{"description":"Update the 'created_at' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_created_at","type":"named"}}},"language":{"description":"Update the 'language' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_language","type":"named"}}},"rating":{"description":"Update the 'rating' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_rating","type":"named"}}},"status":{"description":"Update the 'status' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_status","type":"named"}}},"tags":{"description":"Update the 'tags' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_tags","type":"named"}}},"title":{"description":"Update the 'title' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_title","type":"named"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_updated_at","type":"named"}}},"uuid":{"description":"Update the 'uuid' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_uuid","type":"named"}}},"view_count":{"description":"Update the 'view_count' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_documents_view_count","type":"named"}}}}}},"procedures":[{"arguments":{"key_document_uuid":{"type":{"name":"uuid","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'document_embeddings' collection","type":{"object_type_name":"document_embeddings","type":"predicate"}}},"description":"Delete any row on the 'document_embeddings' collection using the 'document_uuid' key","name":"v2_delete_document_embeddings_by_document_uuid","result_type":{"name":"v2_delete_document_embeddings_by_document_uuid_response","type":"named"}},{"arguments":{"key_uuid":{"type":{"name":"uuid","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'documents' collection","type":{"object_type_name":"documents","type":"predicate"}}},"description":"Delete any row on the 'documents' collection using the 'uuid' key","name":"v2_delete_documents_by_uuid","result_type":{"name":"v2_delete_documents_by_uuid_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_document_embeddings_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'document_embeddings' collection","type":{"object_type_name":"document_embeddings","type":"predicate"}}},"description":"Insert into the document_embeddings table","name":"v2_insert_document_embeddings","result_type":{"name":"v2_insert_document_embeddings_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_documents_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'documents' collection","type":{"object_type_name":"documents","type":"predicate"}}},"description":"Insert into the documents table","name":"v2_insert_documents","result_type":{"name":"v2_insert_documents_response","type":"named"}},{"arguments":{"key_document_uuid":{"type":{"name":"uuid","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'document_embeddings' collection","type":{"object_type_name":"document_embeddings","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'document_embeddings' collection","type":{"object_type_name":"document_embeddings","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_document_embeddings_by_document_uuid_update_columns","type":"named"}}},"description":"Update any row on the 'document_embeddings' collection using the 'document_uuid' key","name":"v2_update_document_embeddings_by_document_uuid","result_type":{"name":"v2_update_document_embeddings_by_document_uuid_response","type":"named"}},{"arguments":{"key_uuid":{"type":{"name":"uuid","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'documents' collection","type":{"object_type_name":"documents","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'documents' collection","type":{"object_type_name":"documents","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_documents_by_uuid_update_columns","type":"named"}}},"description":"Update any row on the 'documents' collection using the 'uuid' key","name":"v2_update_documents_by_uuid","result_type":{"name":"v2_update_documents_by_uuid_response","type":"named"}}],"scalar_types":{"bool":{"aggregate_functions":{"bool_and":{"result_type":{"type":"nullable","underlying_type":{"name":"bool","type":"named"}}},"bool_or":{"result_type":{"type":"nullable","underlying_type":{"name":"bool","type":"named"}}},"every":{"result_type":{"type":"nullable","underlying_type":{"name":"bool","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"bool","type":"named"},"type":"custom"}},"representation":{"type":"boolean"}},"int4":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int4","type":"named"},"type":"custom"}},"representation":{"type":"int32"}},"int8":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int8","type":"named"},"type":"custom"}},"representation":{"type":"int64"}},"json":{"aggregate_functions":{},"comparison_operators":{"_in":{"type":"in"}}},"jsonb":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"jsonb_contained":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"jsonb_contains":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"jsonb_exists":{"argument_type":{"name":"text","type":"named"},"type":"custom"}}},"numeric":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"}},"representation":{"type":"bigdecimal"}},"text":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"text","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"timestamp":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamp","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamp","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"}},"representation":{"type":"timestamp"}},"timestamptz":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"}},"representation":{"type":"timestamptz"}},"uuid":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"uuid","type":"named"},"type":"custom"}},"representation":{"type":"uuid"}},"vector":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"vector","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"vector","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"vector","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"vector","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"vector","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"vector","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"vector","type":"named"},"type":"custom"}}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:5644"},"write":{"value":"http://local.hasura.dev:5644"}}}},"kind":"DataConnectorLink","version":"v1"}]},{"name":"auth","objects":[{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_delete_users_by_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_users_by_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Users!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteUsersByIdResponseInput","typeName":"V2DeleteUsersByIdResponse"},"name":"V2DeleteUsersByIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteUsersByIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyId","type":"Int4!"},{"description":"Delete permission predicate over the 'users' collection","name":"preCheck","type":"UsersBoolExp!"}],"description":"Delete any row on the 'users' collection using the 'id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteUsersById"},"name":"DeleteUsersById","outputType":"V2DeleteUsersByIdResponse!","source":{"argumentMapping":{"keyId":"key_id","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_users_by_id"},"dataConnectorName":"auth"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteUsersById","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_insert_users_object","fieldMapping":{"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"id":{"column":{"argumentMapping":null,"name":"id"}},"password":{"column":{"argumentMapping":null,"name":"password"}},"roles":{"column":{"argumentMapping":null,"name":"roles"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz"},{"arguments":[],"deprecated":null,"description":null,"name":"email","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"id","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"password","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"roles","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertUsersObjectInput","typeName":"V2InsertUsersObject"},"name":"V2InsertUsersObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["createdAt","email","id","password","roles","updatedAt"]},"role":"admin"}],"typeName":"V2InsertUsersObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_insert_users_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_users' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Users!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertUsersResponseInput","typeName":"V2InsertUsersResponse"},"name":"V2InsertUsersResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertUsersResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertUsersObject!]!"},{"description":"Insert permission predicate over the 'users' collection","name":"postCheck","type":"UsersBoolExp!"}],"description":"Insert into the users table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertUsers"},"name":"InsertUsers","outputType":"V2InsertUsersResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_users"},"dataConnectorName":"auth"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertUsers","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_created_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'created_at' column in the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnUsersCreatedAtInput","typeName":"UpdateColumnUsersCreatedAt"},"name":"UpdateColumnUsersCreatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnUsersCreatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_email","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'email' column in the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnUsersEmailInput","typeName":"UpdateColumnUsersEmail"},"name":"UpdateColumnUsersEmail"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnUsersEmail"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_id","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'id' column in the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnUsersIdInput","typeName":"UpdateColumnUsersId"},"name":"UpdateColumnUsersId"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnUsersId"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_password","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'password' column in the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnUsersPasswordInput","typeName":"UpdateColumnUsersPassword"},"name":"UpdateColumnUsersPassword"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnUsersPassword"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_roles","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'roles' column in the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnUsersRolesInput","typeName":"UpdateColumnUsersRoles"},"name":"UpdateColumnUsersRoles"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnUsersRoles"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_updated_at","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'updated_at' column in the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnUsersUpdatedAtInput","typeName":"UpdateColumnUsersUpdatedAt"},"name":"UpdateColumnUsersUpdatedAt"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnUsersUpdatedAt"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_update_users_by_id_update_columns","fieldMapping":{"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"id":{"column":{"argumentMapping":null,"name":"id"}},"password":{"column":{"argumentMapping":null,"name":"password"}},"roles":{"column":{"argumentMapping":null,"name":"roles"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":"Update the columns of the 'users' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'created_at' column in the 'users' collection.","name":"createdAt","type":"UpdateColumnUsersCreatedAt"},{"arguments":[],"deprecated":null,"description":"Update the 'email' column in the 'users' collection.","name":"email","type":"UpdateColumnUsersEmail"},{"arguments":[],"deprecated":null,"description":"Update the 'id' column in the 'users' collection.","name":"id","type":"UpdateColumnUsersId"},{"arguments":[],"deprecated":null,"description":"Update the 'password' column in the 'users' collection.","name":"password","type":"UpdateColumnUsersPassword"},{"arguments":[],"deprecated":null,"description":"Update the 'roles' column in the 'users' collection.","name":"roles","type":"UpdateColumnUsersRoles"},{"arguments":[],"deprecated":null,"description":"Update the 'updated_at' column in the 'users' collection.","name":"updatedAt","type":"UpdateColumnUsersUpdatedAt"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateUsersByIdUpdateColumnsInput","typeName":"V2UpdateUsersByIdUpdateColumns"},"name":"V2UpdateUsersByIdUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["createdAt","email","id","password","roles","updatedAt"]},"role":"admin"}],"typeName":"V2UpdateUsersByIdUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_update_users_by_id_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_users_by_id' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Users!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateUsersByIdResponseInput","typeName":"V2UpdateUsersByIdResponse"},"name":"V2UpdateUsersByIdResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateUsersByIdResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyId","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'users' collection","name":"postCheck","type":"UsersBoolExp!"},{"description":"Update permission pre-condition predicate over the 'users' collection","name":"preCheck","type":"UsersBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateUsersByIdUpdateColumns!"}],"description":"Update any row on the 'users' collection using the 'id' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateUsersById"},"name":"UpdateUsersById","outputType":"V2UpdateUsersByIdResponse!","source":{"argumentMapping":{"keyId":"key_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_users_by_id"},"dataConnectorName":"auth"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateUsersById","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"users","fieldMapping":{"createdAt":{"column":{"argumentMapping":null,"name":"created_at"}},"email":{"column":{"argumentMapping":null,"name":"email"}},"id":{"column":{"argumentMapping":null,"name":"id"}},"password":{"column":{"argumentMapping":null,"name":"password"}},"roles":{"column":{"argumentMapping":null,"name":"roles"}},"updatedAt":{"column":{"argumentMapping":null,"name":"updated_at"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"createdAt","type":"Timestamptz!"},{"arguments":[],"deprecated":null,"description":null,"name":"email","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"id","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"password","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"roles","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"updatedAt","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Auth_UsersInput","typeName":"Users"},"name":"Users"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["createdAt","email","id","password","roles","updatedAt"]},"role":"admin"},{"input":null,"output":{"allowedFields":["email","id","password","roles"]},"role":"customer"}],"typeName":"Users"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"UsersAggExp","arguments":[],"description":null,"filterExpressionType":"UsersBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"usersAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"UsersFilterInput","orderByExpressionType":"Auth_UsersOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"users","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"usersById","subscription":null,"uniqueIdentifier":["id"]}]},"name":"Users","objectType":"Users","orderableFields":[{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"email","orderByDirections":{"enableAll":true}},{"fieldName":"id","orderByDirections":{"enableAll":true}},{"fieldName":"password","orderByDirections":{"enableAll":true}},{"fieldName":"roles","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"users","dataConnectorName":"auth"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Users","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}},{"role":"customer","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":{"fieldComparison":{"field":"id","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"createdAt"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatCreatedAtTimestamp","sourceType":"Users","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"updatedAt"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatUpdatedAtTimestamp","sourceType":"Users","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Auth_UsersBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"UsersBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"createdAt"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"email"},{"booleanExpressionType":"Int4BoolExp","fieldName":"id"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"password"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"roles"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"updatedAt"}],"comparableRelationships":[],"type":"Users"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"UsersAggExp"},"name":"UsersAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"createdAt"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"email"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"id"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"password"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"roles"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"updatedAt"}],"aggregatedType":"Users"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Auth_Timestamptz"},"name":"Timestamptz"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Auth_Varchar"},"name":"Varchar"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Auth_Int4"},"name":"Int4"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"auth","dataConnectorScalarType":"timestamptz","graphql":{"comparisonExpressionTypeName":"Auth_TimestamptzComparisonExp"},"representation":"Timestamptz"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"auth","dataConnectorScalarType":"varchar","graphql":{"comparisonExpressionTypeName":"Auth_VarcharComparisonExp"},"representation":"Varchar"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"auth","dataConnectorScalarType":"int4","graphql":{"comparisonExpressionTypeName":"Auth_Int4ComparisonExp"},"representation":"Int4"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"TimestamptzBoolExp_2"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TimestamptzBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Timestamptz!","name":"_eq"},{"argumentType":"Timestamptz!","name":"_gt"},{"argumentType":"Timestamptz!","name":"_gte"},{"argumentType":"[Timestamptz!]!","name":"_in"},{"argumentType":"Timestamptz!","name":"_lt"},{"argumentType":"Timestamptz!","name":"_lte"},{"argumentType":"Timestamptz!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"timestamptz","operatorMapping":{}}],"type":"Timestamptz"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"VarcharBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"VarcharBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Varchar!","name":"_eq"},{"argumentType":"Varchar!","name":"_gt"},{"argumentType":"Varchar!","name":"_gte"},{"argumentType":"Varchar!","name":"_ilike"},{"argumentType":"[Varchar!]!","name":"_in"},{"argumentType":"Varchar!","name":"_iregex"},{"argumentType":"Varchar!","name":"_like"},{"argumentType":"Varchar!","name":"_lt"},{"argumentType":"Varchar!","name":"_lte"},{"argumentType":"Varchar!","name":"_neq"},{"argumentType":"Varchar!","name":"_nilike"},{"argumentType":"Varchar!","name":"_niregex"},{"argumentType":"Varchar!","name":"_nlike"},{"argumentType":"Varchar!","name":"_nregex"},{"argumentType":"Varchar!","name":"_regex"},{"argumentType":"Varchar!","name":"starts_with"},{"argumentType":"Varchar!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"varchar","operatorMapping":{}}],"type":"Varchar"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"Int4BoolExp_2"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int4BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int4!","name":"_eq"},{"argumentType":"Int4!","name":"_gt"},{"argumentType":"Int4!","name":"_gte"},{"argumentType":"[Int4!]!","name":"_in"},{"argumentType":"Int4!","name":"_lt"},{"argumentType":"Int4!","name":"_lte"},{"argumentType":"Int4!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"int4","operatorMapping":{}}],"type":"Int4"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"TimestamptzAggExp_2"},"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"description":null,"name":"max","returnType":"Timestamptz"},{"description":null,"name":"min","returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Text"},"name":"Text"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"auth","dataConnectorScalarType":"text","graphql":{"comparisonExpressionTypeName":"TextComparisonExp"},"representation":"Text"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"TextBoolExp_2"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TextBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Text!","name":"_eq"},{"argumentType":"Text!","name":"_gt"},{"argumentType":"Text!","name":"_gte"},{"argumentType":"Text!","name":"_ilike"},{"argumentType":"[Text!]!","name":"_in"},{"argumentType":"Text!","name":"_iregex"},{"argumentType":"Text!","name":"_like"},{"argumentType":"Text!","name":"_lt"},{"argumentType":"Text!","name":"_lte"},{"argumentType":"Text!","name":"_neq"},{"argumentType":"Text!","name":"_nilike"},{"argumentType":"Text!","name":"_niregex"},{"argumentType":"Text!","name":"_nlike"},{"argumentType":"Text!","name":"_nregex"},{"argumentType":"Text!","name":"_regex"},{"argumentType":"Text!","name":"starts_with"},{"argumentType":"Text!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"text","operatorMapping":{}}],"type":"Text"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"VarcharAggExp_1"},"name":"VarcharAggExp","operand":{"scalar":{"aggregatedType":"Varchar","aggregationFunctions":[{"description":null,"name":"max","returnType":"Text"},{"description":null,"name":"min","returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"varchar","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Numeric_1"},"name":"Numeric"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"auth","dataConnectorScalarType":"numeric","graphql":{"comparisonExpressionTypeName":"NumericComparisonExp_1"},"representation":"Numeric"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"NumericBoolExp_2"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"NumericBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Numeric!","name":"_eq"},{"argumentType":"Numeric!","name":"_gt"},{"argumentType":"Numeric!","name":"_gte"},{"argumentType":"[Numeric!]!","name":"_in"},{"argumentType":"Numeric!","name":"_lt"},{"argumentType":"Numeric!","name":"_lte"},{"argumentType":"Numeric!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"numeric","operatorMapping":{}}],"type":"Numeric"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Int8_2"},"name":"Int8"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"auth","dataConnectorScalarType":"int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp_2"},"representation":"Int8"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int8BoolExp_2"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int8BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int8!","name":"_eq"},{"argumentType":"Int8!","name":"_gt"},{"argumentType":"Int8!","name":"_gte"},{"argumentType":"[Int8!]!","name":"_in"},{"argumentType":"Int8!","name":"_lt"},{"argumentType":"Int8!","name":"_lte"},{"argumentType":"Int8!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"int8","operatorMapping":{}}],"type":"Int8"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Int4AggExp_2"},"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Numeric"},{"description":null,"name":"bit_and","returnType":"Int4"},{"description":null,"name":"bit_or","returnType":"Int4"},{"description":null,"name":"bit_xor","returnType":"Int4"},{"description":null,"name":"max","returnType":"Int4"},{"description":null,"name":"min","returnType":"Int4"},{"description":null,"name":"stddev","returnType":"Numeric"},{"description":null,"name":"stddev_pop","returnType":"Numeric"},{"description":null,"name":"stddev_samp","returnType":"Numeric"},{"description":null,"name":"sum","returnType":"Int8"},{"description":null,"name":"var_pop","returnType":"Numeric"},{"description":null,"name":"var_samp","returnType":"Numeric"},{"description":null,"name":"variance","returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"auth","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{"explain":{},"transactional":{}},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"variables":{}},"relationships":{"order_by_aggregate":{},"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"foreign_keys":{},"name":"users","type":"users","uniqueness_constraints":{"users_pkey":{"unique_columns":["id"]}}}],"functions":[],"object_types":{"update_column_users_created_at":{"description":"Update the 'created_at' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"update_column_users_email":{"description":"Update the 'email' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_users_id":{"description":"Update the 'id' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_users_password":{"description":"Update the 'password' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_users_roles":{"description":"Update the 'roles' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_users_updated_at":{"description":"Update the 'updated_at' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"users":{"fields":{"created_at":{"type":{"name":"timestamptz","type":"named"}},"email":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"id":{"type":{"name":"int4","type":"named"}},"password":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"roles":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"updated_at":{"type":{"name":"timestamptz","type":"named"}}}},"v2_delete_users_by_id_response":{"description":"Responses from the 'v2_delete_users_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"users","type":"named"},"type":"array"}}}},"v2_insert_users_object":{"fields":{"created_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"email":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"id":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"password":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"roles":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}}},"v2_insert_users_response":{"description":"Responses from the 'v2_insert_users' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"users","type":"named"},"type":"array"}}}},"v2_update_users_by_id_response":{"description":"Responses from the 'v2_update_users_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"users","type":"named"},"type":"array"}}}},"v2_update_users_by_id_update_columns":{"description":"Update the columns of the 'users' collection","fields":{"created_at":{"description":"Update the 'created_at' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_users_created_at","type":"named"}}},"email":{"description":"Update the 'email' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_users_email","type":"named"}}},"id":{"description":"Update the 'id' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_users_id","type":"named"}}},"password":{"description":"Update the 'password' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_users_password","type":"named"}}},"roles":{"description":"Update the 'roles' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_users_roles","type":"named"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_users_updated_at","type":"named"}}}}}},"procedures":[{"arguments":{"key_id":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'users' collection","type":{"object_type_name":"users","type":"predicate"}}},"description":"Delete any row on the 'users' collection using the 'id' key","name":"v2_delete_users_by_id","result_type":{"name":"v2_delete_users_by_id_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_users_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'users' collection","type":{"object_type_name":"users","type":"predicate"}}},"description":"Insert into the users table","name":"v2_insert_users","result_type":{"name":"v2_insert_users_response","type":"named"}},{"arguments":{"key_id":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'users' collection","type":{"object_type_name":"users","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'users' collection","type":{"object_type_name":"users","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_users_by_id_update_columns","type":"named"}}},"description":"Update any row on the 'users' collection using the 'id' key","name":"v2_update_users_by_id","result_type":{"name":"v2_update_users_by_id_response","type":"named"}}],"scalar_types":{"int4":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int4","type":"named"},"type":"custom"}},"representation":{"type":"int32"}},"int8":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int8","type":"named"},"type":"custom"}},"representation":{"type":"int64"}},"numeric":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"}},"representation":{"type":"bigdecimal"}},"text":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"text","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"timestamptz":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"}},"representation":{"type":"timestamptz"}},"varchar":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"}},"representation":{"type":"string"}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:6460"},"write":{"value":"http://local.hasura.dev:6460"}}}},"kind":"DataConnectorLink","version":"v1"}]},{"name":"network","objects":[{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"calls","fieldMapping":{}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"callid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"calltype","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"customerid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"duration","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeid","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"receivernumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Network_CallsInput","typeName":"Network_Calls"},"name":"Calls"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"role":"admin"},{"input":null,"output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"role":"customer"}],"typeName":"Calls"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CallsAggExp","arguments":[],"description":null,"filterExpressionType":"CallsBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"callsAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CallsFilterInput","orderByExpressionType":"Network_CallsOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"calls","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"callsByCallid","subscription":null,"uniqueIdentifier":["callid"]}]},"name":"Calls","objectType":"Calls","orderableFields":[{"fieldName":"callid","orderByDirections":{"enableAll":true}},{"fieldName":"calltype","orderByDirections":{"enableAll":true}},{"fieldName":"customerid","orderByDirections":{"enableAll":true}},{"fieldName":"deviceid","orderByDirections":{"enableAll":true}},{"fieldName":"duration","orderByDirections":{"enableAll":true}},{"fieldName":"nodeid","orderByDirections":{"enableAll":true}},{"fieldName":"receivernumber","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"calls","dataConnectorName":"kafka_sink"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Calls","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatTimestamp","sourceType":"Calls","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Network_CallsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CallsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Int4BoolExp","fieldName":"callid"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"calltype"},{"booleanExpressionType":"Int4BoolExp","fieldName":"customerid"},{"booleanExpressionType":"Int4BoolExp","fieldName":"deviceid"},{"booleanExpressionType":"Int4BoolExp","fieldName":"duration"},{"booleanExpressionType":"Int4BoolExp","fieldName":"nodeid"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"receivernumber"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"timestamp"}],"comparableRelationships":[],"type":"Calls"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CallsAggExp"},"name":"CallsAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"callid"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"calltype"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerid"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"deviceid"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"duration"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"nodeid"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"receivernumber"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"timestamp"}],"aggregatedType":"Calls"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"cdr","fieldMapping":{"callDuration":{"column":{"argumentMapping":null,"name":"Call_Duration"}},"callType":{"column":{"argumentMapping":null,"name":"Call_Type"}},"guid":{"column":{"argumentMapping":null,"name":"GUID"}},"timestamp":{"column":{"argumentMapping":null,"name":"Timestamp"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"callDuration","type":"Int32!"},{"arguments":[],"deprecated":null,"description":null,"name":"callType","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"guid","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"DateTime!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Network_CdrInput","typeName":"Network_Cdr"},"name":"Cdr"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["callDuration","callType","guid","timestamp"]},"role":"admin"}],"typeName":"Cdr"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"CdrAggExp","arguments":[],"description":null,"filterExpressionType":"CdrBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"cdrAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"CdrFilterInput","orderByExpressionType":"Network_CdrOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"cdr","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"cdrByTimestampGuid","subscription":null,"uniqueIdentifier":["guid","timestamp"]}]},"name":"Cdr","objectType":"Cdr","orderableFields":[{"fieldName":"callDuration","orderByDirections":{"enableAll":true}},{"fieldName":"callType","orderByDirections":{"enableAll":true}},{"fieldName":"guid","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"cdr","dataConnectorName":"clickhouse"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Cdr","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"guid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"customer","sourceType":"Cdr","target":{"model":{"name":"CustomerLink","relationshipType":"Object","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatTimestamp","sourceType":"Cdr","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"CdrAggExp"},"name":"CdrAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Int32AggExp","description":null,"fieldName":"callDuration"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"callType"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"guid"},{"aggregateExpression":"DateTimeAggExp","description":null,"fieldName":"timestamp"}],"aggregatedType":"Cdr"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"Network_CdrBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"CdrBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Int32BoolExp","fieldName":"callDuration"},{"booleanExpressionType":"StringBoolExp","fieldName":"callType"},{"booleanExpressionType":"StringBoolExp","fieldName":"guid"},{"booleanExpressionType":"DateTimeBoolExp","fieldName":"timestamp"}],"comparableRelationships":[],"type":"Cdr"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"data_usage","fieldMapping":{"dataUsage":{"column":{"argumentMapping":null,"name":"Data_Usage"}},"guid":{"column":{"argumentMapping":null,"name":"GUID"}},"timestamp":{"column":{"argumentMapping":null,"name":"Timestamp"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"dataUsage","type":"Float32!"},{"arguments":[],"deprecated":null,"description":null,"name":"guid","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"DateTime!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Network_DataUsageInput","typeName":"Network_DataUsage"},"name":"DataUsage"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["dataUsage","guid","timestamp"]},"role":"admin"}],"typeName":"DataUsage"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"DataUsageAggExp","arguments":[],"description":null,"filterExpressionType":"DataUsageBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"dataUsageAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"DataUsageFilterInput","orderByExpressionType":"Network_DataUsageOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"dataUsage","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"dataUsageByTimestampGuid","subscription":null,"uniqueIdentifier":["guid","timestamp"]}]},"name":"DataUsage","objectType":"DataUsage","orderableFields":[{"fieldName":"dataUsage","orderByDirections":{"enableAll":true}},{"fieldName":"guid","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"data_usage","dataConnectorName":"clickhouse"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"DataUsage","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"guid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"customer","sourceType":"DataUsage","target":{"model":{"name":"CustomerLink","relationshipType":"Object","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatTimestamp","sourceType":"DataUsage","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"DataUsageAggExp"},"name":"DataUsageAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Float32AggExp","description":null,"fieldName":"dataUsage"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"guid"},{"aggregateExpression":"DateTimeAggExp","description":null,"fieldName":"timestamp"}],"aggregatedType":"DataUsage"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"Network_DataUsageBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DataUsageBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Float32BoolExp","fieldName":"dataUsage"},{"booleanExpressionType":"StringBoolExp","fieldName":"guid"},{"booleanExpressionType":"DateTimeBoolExp","fieldName":"timestamp"}],"comparableRelationships":[],"type":"DataUsage"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_delete_calls_by_callid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_calls_by_callid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Calls!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteCallsByCallidResponseInput","typeName":"V2DeleteCallsByCallidResponse"},"name":"V2DeleteCallsByCallidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteCallsByCallidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCallid","type":"Int4!"},{"description":"Delete permission predicate over the 'calls' collection","name":"preCheck","type":"CallsBoolExp!"}],"description":"Delete any row on the 'calls' collection using the 'callid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteCallsByCallid"},"name":"DeleteCallsByCallid","outputType":"V2DeleteCallsByCallidResponse!","source":{"argumentMapping":{"keyCallid":"key_callid","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_calls_by_callid"},"dataConnectorName":"kafka_sink"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteCallsByCallid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_delete_texts_by_textid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_delete_texts_by_textid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Texts!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2DeleteTextsByTextidResponseInput","typeName":"V2DeleteTextsByTextidResponse"},"name":"V2DeleteTextsByTextidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2DeleteTextsByTextidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyTextid","type":"Int4!"},{"description":"Delete permission predicate over the 'texts' collection","name":"preCheck","type":"TextsBoolExp!"}],"description":"Delete any row on the 'texts' collection using the 'textid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"DeleteTextsByTextid"},"name":"DeleteTextsByTextid","outputType":"V2DeleteTextsByTextidResponse!","source":{"argumentMapping":{"keyTextid":"key_textid","preCheck":"pre_check"},"dataConnectorCommand":{"procedure":"v2_delete_texts_by_textid"},"dataConnectorName":"kafka_sink"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"DeleteTextsByTextid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"detailed_user_activity_mv","fieldMapping":{"callDuration":{"column":{"argumentMapping":null,"name":"Call_Duration"}},"callType":{"column":{"argumentMapping":null,"name":"Call_Type"}},"cdrGuid":{"column":{"argumentMapping":null,"name":"CDR_GUID"}},"cdrTimestamp":{"column":{"argumentMapping":null,"name":"CDR_Timestamp"}},"dataUsage":{"column":{"argumentMapping":null,"name":"Data_Usage"}},"downloadSpeed":{"column":{"argumentMapping":null,"name":"Download_Speed"}},"duGuid":{"column":{"argumentMapping":null,"name":"DU_GUID"}},"duTimestamp":{"column":{"argumentMapping":null,"name":"DU_Timestamp"}},"latency":{"column":{"argumentMapping":null,"name":"Latency"}},"npGuid":{"column":{"argumentMapping":null,"name":"NP_GUID"}},"npTimestamp":{"column":{"argumentMapping":null,"name":"NP_Timestamp"}},"uploadSpeed":{"column":{"argumentMapping":null,"name":"Upload_Speed"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"cdrGuid","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"cdrTimestamp","type":"DateTime!"},{"arguments":[],"deprecated":null,"description":null,"name":"callDuration","type":"Int32!"},{"arguments":[],"deprecated":null,"description":null,"name":"callType","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"duGuid","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"duTimestamp","type":"DateTime!"},{"arguments":[],"deprecated":null,"description":null,"name":"dataUsage","type":"Float32!"},{"arguments":[],"deprecated":null,"description":null,"name":"downloadSpeed","type":"Float32!"},{"arguments":[],"deprecated":null,"description":null,"name":"latency","type":"Int32!"},{"arguments":[],"deprecated":null,"description":null,"name":"npGuid","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"npTimestamp","type":"DateTime!"},{"arguments":[],"deprecated":null,"description":null,"name":"uploadSpeed","type":"Float32!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Network_DetailedUserActivityMvInput","typeName":"Network_DetailedUserActivityMv"},"name":"DetailedUserActivityMv"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["cdrGuid","cdrTimestamp","callDuration","callType","duGuid","duTimestamp","dataUsage","downloadSpeed","latency","npGuid","npTimestamp","uploadSpeed"]},"role":"admin"}],"typeName":"DetailedUserActivityMv"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"DetailedUserActivityMvAggExp","arguments":[],"description":null,"filterExpressionType":"DetailedUserActivityMvBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"detailedUserActivityMvAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"DetailedUserActivityMvFilterInput","orderByExpressionType":"Network_DetailedUserActivityMvOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"detailedUserActivityMv","subscription":null},"selectUniques":[]},"name":"DetailedUserActivityMv","objectType":"DetailedUserActivityMv","orderableFields":[{"fieldName":"cdrGuid","orderByDirections":{"enableAll":true}},{"fieldName":"cdrTimestamp","orderByDirections":{"enableAll":true}},{"fieldName":"callDuration","orderByDirections":{"enableAll":true}},{"fieldName":"callType","orderByDirections":{"enableAll":true}},{"fieldName":"duGuid","orderByDirections":{"enableAll":true}},{"fieldName":"duTimestamp","orderByDirections":{"enableAll":true}},{"fieldName":"dataUsage","orderByDirections":{"enableAll":true}},{"fieldName":"downloadSpeed","orderByDirections":{"enableAll":true}},{"fieldName":"latency","orderByDirections":{"enableAll":true}},{"fieldName":"npGuid","orderByDirections":{"enableAll":true}},{"fieldName":"npTimestamp","orderByDirections":{"enableAll":true}},{"fieldName":"uploadSpeed","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"detailed_user_activity_mv","dataConnectorName":"clickhouse"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"DetailedUserActivityMv","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"cdrGuid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"customer","sourceType":"DetailedUserActivityMv","target":{"model":{"name":"CustomerLink","relationshipType":"Object","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"DetailedUserActivityMvAggExp"},"name":"DetailedUserActivityMvAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"StringAggExp","description":null,"fieldName":"cdrGuid"},{"aggregateExpression":"DateTimeAggExp","description":null,"fieldName":"cdrTimestamp"},{"aggregateExpression":"Int32AggExp","description":null,"fieldName":"callDuration"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"callType"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"duGuid"},{"aggregateExpression":"DateTimeAggExp","description":null,"fieldName":"duTimestamp"},{"aggregateExpression":"Float32AggExp","description":null,"fieldName":"dataUsage"},{"aggregateExpression":"Float32AggExp","description":null,"fieldName":"downloadSpeed"},{"aggregateExpression":"Int32AggExp","description":null,"fieldName":"latency"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"npGuid"},{"aggregateExpression":"DateTimeAggExp","description":null,"fieldName":"npTimestamp"},{"aggregateExpression":"Float32AggExp","description":null,"fieldName":"uploadSpeed"}],"aggregatedType":"DetailedUserActivityMv"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"Network_DetailedUserActivityMvBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DetailedUserActivityMvBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"StringBoolExp","fieldName":"cdrGuid"},{"booleanExpressionType":"DateTimeBoolExp","fieldName":"cdrTimestamp"},{"booleanExpressionType":"Int32BoolExp","fieldName":"callDuration"},{"booleanExpressionType":"StringBoolExp","fieldName":"callType"},{"booleanExpressionType":"StringBoolExp","fieldName":"duGuid"},{"booleanExpressionType":"DateTimeBoolExp","fieldName":"duTimestamp"},{"booleanExpressionType":"Float32BoolExp","fieldName":"dataUsage"},{"booleanExpressionType":"Float32BoolExp","fieldName":"downloadSpeed"},{"booleanExpressionType":"Int32BoolExp","fieldName":"latency"},{"booleanExpressionType":"StringBoolExp","fieldName":"npGuid"},{"booleanExpressionType":"DateTimeBoolExp","fieldName":"npTimestamp"},{"booleanExpressionType":"Float32BoolExp","fieldName":"uploadSpeed"}],"comparableRelationships":[],"type":"DetailedUserActivityMv"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_calls_object","fieldMapping":{}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"callid","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"calltype","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"customerid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"duration","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeid","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"receivernumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCallsObjectInput","typeName":"V2InsertCallsObject"},"name":"V2InsertCallsObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"role":"admin"}],"typeName":"V2InsertCallsObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_calls_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_calls' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Calls!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertCallsResponseInput","typeName":"V2InsertCallsResponse"},"name":"V2InsertCallsResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertCallsResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertCallsObject!]!"},{"description":"Insert permission predicate over the 'calls' collection","name":"postCheck","type":"CallsBoolExp!"}],"description":"Insert into the calls table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertCalls"},"name":"InsertCalls","outputType":"V2InsertCallsResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_calls"},"dataConnectorName":"kafka_sink"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertCalls","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_texts_object","fieldMapping":{}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"messagetype","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeid","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"receivernumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"textid","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertTextsObjectInput","typeName":"V2InsertTextsObject"},"name":"V2InsertTextsObject"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"role":"admin"}],"typeName":"V2InsertTextsObject"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_texts_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_insert_texts' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Texts!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2InsertTextsResponseInput","typeName":"V2InsertTextsResponse"},"name":"V2InsertTextsResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2InsertTextsResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"objects","type":"[V2InsertTextsObject!]!"},{"description":"Insert permission predicate over the 'texts' collection","name":"postCheck","type":"TextsBoolExp!"}],"description":"Insert into the texts table","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"InsertTexts"},"name":"InsertTexts","outputType":"V2InsertTextsResponse!","source":{"argumentMapping":{"objects":"objects","postCheck":"post_check"},"dataConnectorCommand":{"procedure":"v2_insert_texts"},"dataConnectorName":"kafka_sink"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"InsertTexts","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"network_performance","fieldMapping":{"downloadSpeed":{"column":{"argumentMapping":null,"name":"Download_Speed"}},"guid":{"column":{"argumentMapping":null,"name":"GUID"}},"latency":{"column":{"argumentMapping":null,"name":"Latency"}},"timestamp":{"column":{"argumentMapping":null,"name":"Timestamp"}},"uploadSpeed":{"column":{"argumentMapping":null,"name":"Upload_Speed"}}}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"downloadSpeed","type":"Float32!"},{"arguments":[],"deprecated":null,"description":null,"name":"guid","type":"String!"},{"arguments":[],"deprecated":null,"description":null,"name":"latency","type":"Int32!"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"DateTime!"},{"arguments":[],"deprecated":null,"description":null,"name":"uploadSpeed","type":"Float32!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Network_NetworkPerformanceInput","typeName":"Network_NetworkPerformance"},"name":"NetworkPerformance"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["downloadSpeed","guid","latency","timestamp","uploadSpeed"]},"role":"admin"}],"typeName":"NetworkPerformance"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"NetworkPerformanceAggExp","arguments":[],"description":null,"filterExpressionType":"NetworkPerformanceBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"networkPerformanceAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"NetworkPerformanceFilterInput","orderByExpressionType":"Network_NetworkPerformanceOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"networkPerformance","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"networkPerformanceByTimestampGuid","subscription":null,"uniqueIdentifier":["guid","timestamp"]}]},"name":"NetworkPerformance","objectType":"NetworkPerformance","orderableFields":[{"fieldName":"downloadSpeed","orderByDirections":{"enableAll":true}},{"fieldName":"guid","orderByDirections":{"enableAll":true}},{"fieldName":"latency","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}},{"fieldName":"uploadSpeed","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"network_performance","dataConnectorName":"clickhouse"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"NetworkPerformance","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"guid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"name":"customer","sourceType":"NetworkPerformance","target":{"model":{"name":"CustomerLink","relationshipType":"Object","subgraph":"customer"}}},"kind":"Relationship","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatTimestamp","sourceType":"NetworkPerformance","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"NetworkPerformanceAggExp"},"name":"NetworkPerformanceAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Float32AggExp","description":null,"fieldName":"downloadSpeed"},{"aggregateExpression":"StringAggExp","description":null,"fieldName":"guid"},{"aggregateExpression":"Int32AggExp","description":null,"fieldName":"latency"},{"aggregateExpression":"DateTimeAggExp","description":null,"fieldName":"timestamp"},{"aggregateExpression":"Float32AggExp","description":null,"fieldName":"uploadSpeed"}],"aggregatedType":"NetworkPerformance"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"Network_NetworkPerformanceBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"NetworkPerformanceBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Float32BoolExp","fieldName":"downloadSpeed"},{"booleanExpressionType":"StringBoolExp","fieldName":"guid"},{"booleanExpressionType":"Int32BoolExp","fieldName":"latency"},{"booleanExpressionType":"DateTimeBoolExp","fieldName":"timestamp"},{"booleanExpressionType":"Float32BoolExp","fieldName":"uploadSpeed"}],"comparableRelationships":[],"type":"NetworkPerformance"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"texts","fieldMapping":{}}],"description":null,"fields":[{"arguments":[],"deprecated":null,"description":null,"name":"customerid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"deviceid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"messagetype","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"nodeid","type":"Int4"},{"arguments":[],"deprecated":null,"description":null,"name":"receivernumber","type":"Varchar"},{"arguments":[],"deprecated":null,"description":null,"name":"textid","type":"Int4!"},{"arguments":[],"deprecated":null,"description":null,"name":"timestamp","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"Network_TextsInput","typeName":"Network_Texts"},"name":"Texts"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"role":"admin"},{"input":null,"output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"role":"customer"}],"typeName":"Texts"},"kind":"TypePermissions","version":"v1"},{"definition":{"aggregateExpression":"TextsAggExp","arguments":[],"description":null,"filterExpressionType":"TextsBoolExp","globalIdSource":false,"graphql":{"aggregate":{"deprecated":null,"description":null,"queryRootField":"textsAggregate","subscription":null},"apolloFederation":null,"argumentsInputType":null,"filterInputTypeName":"TextsFilterInput","orderByExpressionType":"Network_TextsOrderBy","selectMany":{"deprecated":null,"description":null,"queryRootField":"texts","subscription":null},"selectUniques":[{"deprecated":null,"description":null,"queryRootField":"textsByTextid","subscription":null,"uniqueIdentifier":["textid"]}]},"name":"Texts","objectType":"Texts","orderableFields":[{"fieldName":"customerid","orderByDirections":{"enableAll":true}},{"fieldName":"deviceid","orderByDirections":{"enableAll":true}},{"fieldName":"messagetype","orderByDirections":{"enableAll":true}},{"fieldName":"nodeid","orderByDirections":{"enableAll":true}},{"fieldName":"receivernumber","orderByDirections":{"enableAll":true}},{"fieldName":"textid","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"source":{"argumentMapping":{},"collection":"texts","dataConnectorName":"kafka_sink"}},"kind":"Model","version":"v1"},{"definition":{"modelName":"Texts","permissions":[{"role":"admin","select":{"allowSubscriptions":false,"argumentPresets":[],"filter":null}}]},"kind":"ModelPermissions","version":"v1"},{"definition":{"deprecated":null,"description":null,"graphql":null,"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"name":"formatTimestamp","sourceType":"Texts","target":{"command":{"name":"ToDateString","subgraph":"globals"}}},"kind":"Relationship","version":"v1"},{"definition":{"graphql":{"typeName":"Network_TextsBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TextsBoolExp","operand":{"object":{"comparableFields":[{"booleanExpressionType":"Int4BoolExp","fieldName":"customerid"},{"booleanExpressionType":"Int4BoolExp","fieldName":"deviceid"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"messagetype"},{"booleanExpressionType":"Int4BoolExp","fieldName":"nodeid"},{"booleanExpressionType":"VarcharBoolExp","fieldName":"receivernumber"},{"booleanExpressionType":"Int4BoolExp","fieldName":"textid"},{"booleanExpressionType":"TimestamptzBoolExp","fieldName":"timestamp"}],"comparableRelationships":[],"type":"Texts"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":null,"description":null,"graphql":{"deprecated":null,"selectTypeName":"TextsAggExp"},"name":"TextsAggExp","operand":{"object":{"aggregatableFields":[{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"customerid"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"deviceid"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"messagetype"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"nodeid"},{"aggregateExpression":"VarcharAggExp","description":null,"fieldName":"receivernumber"},{"aggregateExpression":"Int4AggExp","description":null,"fieldName":"textid"},{"aggregateExpression":"TimestamptzAggExp","description":null,"fieldName":"timestamp"}],"aggregatedType":"Texts"}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_callid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'callid' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsCallidInput","typeName":"UpdateColumnCallsCallid"},"name":"UpdateColumnCallsCallid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsCallid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_calltype","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'calltype' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsCalltypeInput","typeName":"UpdateColumnCallsCalltype"},"name":"UpdateColumnCallsCalltype"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsCalltype"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_customerid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customerid' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsCustomeridInput","typeName":"UpdateColumnCallsCustomerid"},"name":"UpdateColumnCallsCustomerid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsCustomerid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_deviceid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'deviceid' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsDeviceidInput","typeName":"UpdateColumnCallsDeviceid"},"name":"UpdateColumnCallsDeviceid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsDeviceid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_duration","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'duration' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsDurationInput","typeName":"UpdateColumnCallsDuration"},"name":"UpdateColumnCallsDuration"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsDuration"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_nodeid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'nodeid' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsNodeidInput","typeName":"UpdateColumnCallsNodeid"},"name":"UpdateColumnCallsNodeid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsNodeid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_receivernumber","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'receivernumber' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsReceivernumberInput","typeName":"UpdateColumnCallsReceivernumber"},"name":"UpdateColumnCallsReceivernumber"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsReceivernumber"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_timestamp","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'timestamp' column in the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnCallsTimestampInput","typeName":"UpdateColumnCallsTimestamp"},"name":"UpdateColumnCallsTimestamp"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnCallsTimestamp"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_calls_by_callid_update_columns","fieldMapping":{}}],"description":"Update the columns of the 'calls' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'callid' column in the 'calls' collection.","name":"callid","type":"UpdateColumnCallsCallid"},{"arguments":[],"deprecated":null,"description":"Update the 'calltype' column in the 'calls' collection.","name":"calltype","type":"UpdateColumnCallsCalltype"},{"arguments":[],"deprecated":null,"description":"Update the 'customerid' column in the 'calls' collection.","name":"customerid","type":"UpdateColumnCallsCustomerid"},{"arguments":[],"deprecated":null,"description":"Update the 'deviceid' column in the 'calls' collection.","name":"deviceid","type":"UpdateColumnCallsDeviceid"},{"arguments":[],"deprecated":null,"description":"Update the 'duration' column in the 'calls' collection.","name":"duration","type":"UpdateColumnCallsDuration"},{"arguments":[],"deprecated":null,"description":"Update the 'nodeid' column in the 'calls' collection.","name":"nodeid","type":"UpdateColumnCallsNodeid"},{"arguments":[],"deprecated":null,"description":"Update the 'receivernumber' column in the 'calls' collection.","name":"receivernumber","type":"UpdateColumnCallsReceivernumber"},{"arguments":[],"deprecated":null,"description":"Update the 'timestamp' column in the 'calls' collection.","name":"timestamp","type":"UpdateColumnCallsTimestamp"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCallsByCallidUpdateColumnsInput","typeName":"V2UpdateCallsByCallidUpdateColumns"},"name":"V2UpdateCallsByCallidUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"role":"admin"}],"typeName":"V2UpdateCallsByCallidUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_calls_by_callid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_calls_by_callid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Calls!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateCallsByCallidResponseInput","typeName":"V2UpdateCallsByCallidResponse"},"name":"V2UpdateCallsByCallidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateCallsByCallidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyCallid","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'calls' collection","name":"postCheck","type":"CallsBoolExp!"},{"description":"Update permission pre-condition predicate over the 'calls' collection","name":"preCheck","type":"CallsBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateCallsByCallidUpdateColumns!"}],"description":"Update any row on the 'calls' collection using the 'callid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateCallsByCallid"},"name":"UpdateCallsByCallid","outputType":"V2UpdateCallsByCallidResponse!","source":{"argumentMapping":{"keyCallid":"key_callid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_calls_by_callid"},"dataConnectorName":"kafka_sink"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateCallsByCallid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_customerid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'customerid' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsCustomeridInput","typeName":"UpdateColumnTextsCustomerid"},"name":"UpdateColumnTextsCustomerid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsCustomerid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_deviceid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'deviceid' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsDeviceidInput","typeName":"UpdateColumnTextsDeviceid"},"name":"UpdateColumnTextsDeviceid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsDeviceid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_messagetype","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'messagetype' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsMessagetypeInput","typeName":"UpdateColumnTextsMessagetype"},"name":"UpdateColumnTextsMessagetype"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsMessagetype"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_nodeid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'nodeid' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsNodeidInput","typeName":"UpdateColumnTextsNodeid"},"name":"UpdateColumnTextsNodeid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsNodeid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_receivernumber","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'receivernumber' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Varchar"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsReceivernumberInput","typeName":"UpdateColumnTextsReceivernumber"},"name":"UpdateColumnTextsReceivernumber"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsReceivernumber"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_textid","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'textid' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Int4!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsTextidInput","typeName":"UpdateColumnTextsTextid"},"name":"UpdateColumnTextsTextid"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsTextid"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_timestamp","fieldMapping":{"set":{"column":{"argumentMapping":null,"name":"_set"}}}}],"description":"Update the 'timestamp' column in the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Set the column to this value","name":"set","type":"Timestamptz!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"UpdateColumnTextsTimestampInput","typeName":"UpdateColumnTextsTimestamp"},"name":"UpdateColumnTextsTimestamp"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["set"]},"role":"admin"}],"typeName":"UpdateColumnTextsTimestamp"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_texts_by_textid_update_columns","fieldMapping":{}}],"description":"Update the columns of the 'texts' collection","fields":[{"arguments":[],"deprecated":null,"description":"Update the 'customerid' column in the 'texts' collection.","name":"customerid","type":"UpdateColumnTextsCustomerid"},{"arguments":[],"deprecated":null,"description":"Update the 'deviceid' column in the 'texts' collection.","name":"deviceid","type":"UpdateColumnTextsDeviceid"},{"arguments":[],"deprecated":null,"description":"Update the 'messagetype' column in the 'texts' collection.","name":"messagetype","type":"UpdateColumnTextsMessagetype"},{"arguments":[],"deprecated":null,"description":"Update the 'nodeid' column in the 'texts' collection.","name":"nodeid","type":"UpdateColumnTextsNodeid"},{"arguments":[],"deprecated":null,"description":"Update the 'receivernumber' column in the 'texts' collection.","name":"receivernumber","type":"UpdateColumnTextsReceivernumber"},{"arguments":[],"deprecated":null,"description":"Update the 'textid' column in the 'texts' collection.","name":"textid","type":"UpdateColumnTextsTextid"},{"arguments":[],"deprecated":null,"description":"Update the 'timestamp' column in the 'texts' collection.","name":"timestamp","type":"UpdateColumnTextsTimestamp"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateTextsByTextidUpdateColumnsInput","typeName":"V2UpdateTextsByTextidUpdateColumns"},"name":"V2UpdateTextsByTextidUpdateColumns"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"role":"admin"}],"typeName":"V2UpdateTextsByTextidUpdateColumns"},"kind":"TypePermissions","version":"v1"},{"definition":{"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_texts_by_textid_response","fieldMapping":{"affectedRows":{"column":{"argumentMapping":null,"name":"affected_rows"}},"returning":{"column":{"argumentMapping":null,"name":"returning"}}}}],"description":"Responses from the 'v2_update_texts_by_textid' procedure","fields":[{"arguments":[],"deprecated":null,"description":"The number of rows affected by the mutation","name":"affectedRows","type":"Int4!"},{"arguments":[],"deprecated":null,"description":"Data from rows affected by the mutation","name":"returning","type":"[Texts!]!"}],"globalIdFields":null,"graphql":{"apolloFederation":null,"inputTypeName":"V2UpdateTextsByTextidResponseInput","typeName":"V2UpdateTextsByTextidResponse"},"name":"V2UpdateTextsByTextidResponse"},"kind":"ObjectType","version":"v1"},{"definition":{"permissions":[{"input":null,"output":{"allowedFields":["affectedRows","returning"]},"role":"admin"}],"typeName":"V2UpdateTextsByTextidResponse"},"kind":"TypePermissions","version":"v1"},{"definition":{"arguments":[{"description":null,"name":"keyTextid","type":"Int4!"},{"description":"Update permission post-condition predicate over the 'texts' collection","name":"postCheck","type":"TextsBoolExp!"},{"description":"Update permission pre-condition predicate over the 'texts' collection","name":"preCheck","type":"TextsBoolExp!"},{"description":null,"name":"updateColumns","type":"V2UpdateTextsByTextidUpdateColumns!"}],"description":"Update any row on the 'texts' collection using the 'textid' key","graphql":{"deprecated":null,"rootFieldKind":"Mutation","rootFieldName":"UpdateTextsByTextid"},"name":"UpdateTextsByTextid","outputType":"V2UpdateTextsByTextidResponse!","source":{"argumentMapping":{"keyTextid":"key_textid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"},"dataConnectorCommand":{"procedure":"v2_update_texts_by_textid"},"dataConnectorName":"kafka_sink"}},"kind":"Command","version":"v1"},{"definition":{"commandName":"UpdateTextsByTextid","permissions":[{"allowExecution":true,"argumentPresets":[],"role":"admin"}]},"kind":"CommandPermissions","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_DateTime"},"name":"DateTime"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Int32"},"name":"Int32"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Float32"},"name":"Float32"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"String","graphql":{"comparisonExpressionTypeName":"Network_StringComparisonExp"},"representation":"String"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"DateTime","graphql":{"comparisonExpressionTypeName":"Network_DateTimeComparisonExp"},"representation":"DateTime"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int32","graphql":{"comparisonExpressionTypeName":"Network_Int32ComparisonExp"},"representation":"Int32"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float32","graphql":{"comparisonExpressionTypeName":"Network_Float32ComparisonExp"},"representation":"Float32"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int32BoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int32BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int32!","name":"_eq"},{"argumentType":"Int32!","name":"_gt"},{"argumentType":"Int32!","name":"_gte"},{"argumentType":"[Int32!]!","name":"_in"},{"argumentType":"Int32!","name":"_lt"},{"argumentType":"Int32!","name":"_lte"},{"argumentType":"Int32!","name":"_neq"},{"argumentType":"[Int32!]!","name":"_nin"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int32","operatorMapping":{}}],"type":"Int32"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"DateTimeBoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"DateTimeBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"DateTime!","name":"_eq"},{"argumentType":"DateTime!","name":"_gt"},{"argumentType":"DateTime!","name":"_gte"},{"argumentType":"[DateTime!]!","name":"_in"},{"argumentType":"DateTime!","name":"_lt"},{"argumentType":"DateTime!","name":"_lte"},{"argumentType":"DateTime!","name":"_neq"},{"argumentType":"[DateTime!]!","name":"_nin"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"DateTime","operatorMapping":{}}],"type":"DateTime"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Float64"},"name":"Float64"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float64","graphql":{"comparisonExpressionTypeName":"Float64ComparisonExp"},"representation":"Float64"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Float64BoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Float64BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Float64!","name":"_eq"},{"argumentType":"Float64!","name":"_gt"},{"argumentType":"Float64!","name":"_gte"},{"argumentType":"[Float64!]!","name":"_in"},{"argumentType":"Float64!","name":"_lt"},{"argumentType":"Float64!","name":"_lte"},{"argumentType":"Float64!","name":"_neq"},{"argumentType":"[Float64!]!","name":"_nin"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float64","operatorMapping":{}}],"type":"Float64"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Int64"},"name":"Int64"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int64","graphql":{"comparisonExpressionTypeName":"Int64ComparisonExp"},"representation":"Int64"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int64BoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int64BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int64!","name":"_eq"},{"argumentType":"Int64!","name":"_gt"},{"argumentType":"Int64!","name":"_gte"},{"argumentType":"[Int64!]!","name":"_in"},{"argumentType":"Int64!","name":"_lt"},{"argumentType":"Int64!","name":"_lte"},{"argumentType":"Int64!","name":"_neq"},{"argumentType":"[Int64!]!","name":"_nin"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int64","operatorMapping":{}}],"type":"Int64"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Int32AggExp"},"name":"Int32AggExp","operand":{"scalar":{"aggregatedType":"Int32","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Float64!"},{"description":null,"name":"max","returnType":"Int32!"},{"description":null,"name":"min","returnType":"Int32!"},{"description":null,"name":"stddev_pop","returnType":"Float64!"},{"description":null,"name":"stddev_samp","returnType":"Float64!"},{"description":null,"name":"sum","returnType":"Int64!"},{"description":null,"name":"var_pop","returnType":"Float64!"},{"description":null,"name":"var_samp","returnType":"Float64!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int32","functionMapping":{"avg":{"name":"avg"},"max":{"name":"max"},"min":{"name":"min"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"StringAggExp"},"name":"StringAggExp","operand":{"scalar":{"aggregatedType":"String","aggregationFunctions":[],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"String","functionMapping":{}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"DateTimeAggExp"},"name":"DateTimeAggExp","operand":{"scalar":{"aggregatedType":"DateTime","aggregationFunctions":[{"description":null,"name":"max","returnType":"DateTime!"},{"description":null,"name":"min","returnType":"DateTime!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"DateTime","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"Float32BoolExp"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Float32BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Float32!","name":"_eq"},{"argumentType":"Float32!","name":"_gt"},{"argumentType":"Float32!","name":"_gte"},{"argumentType":"[Float32!]!","name":"_in"},{"argumentType":"Float32!","name":"_lt"},{"argumentType":"Float32!","name":"_lte"},{"argumentType":"Float32!","name":"_neq"},{"argumentType":"[Float32!]!","name":"_nin"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float32","operatorMapping":{}}],"type":"Float32"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Float32AggExp"},"name":"Float32AggExp","operand":{"scalar":{"aggregatedType":"Float32","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Float64!"},{"description":null,"name":"max","returnType":"Float64!"},{"description":null,"name":"min","returnType":"Float32!"},{"description":null,"name":"stddev_pop","returnType":"Float32!"},{"description":null,"name":"stddev_samp","returnType":"Float32!"},{"description":null,"name":"sum","returnType":"Float32!"},{"description":null,"name":"var_pop","returnType":"Float32!"},{"description":null,"name":"var_samp","returnType":"Float32!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float32","functionMapping":{"avg":{"name":"avg"},"max":{"name":"max"},"min":{"name":"min"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"StringBoolExp_1"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"StringBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"String!","name":"_eq"},{"argumentType":"String!","name":"_gt"},{"argumentType":"String!","name":"_gte"},{"argumentType":"String!","name":"_ilike"},{"argumentType":"[String!]!","name":"_in"},{"argumentType":"String!","name":"_like"},{"argumentType":"String!","name":"_lt"},{"argumentType":"String!","name":"_lte"},{"argumentType":"String!","name":"_match"},{"argumentType":"String!","name":"_neq"},{"argumentType":"String!","name":"_nilike"},{"argumentType":"[String!]!","name":"_nin"},{"argumentType":"String!","name":"_nlike"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"String","operatorMapping":{}}],"type":"String"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"clickhouse","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{},"variables":{}},"relationships":{"order_by_aggregate":{},"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"description":"","foreign_keys":{},"name":"cdr","type":"cdr","uniqueness_constraints":{"Timestamp, GUID":{"unique_columns":["GUID","Timestamp"]}}},{"arguments":{},"description":"","foreign_keys":{},"name":"data_usage","type":"data_usage","uniqueness_constraints":{"Timestamp, GUID":{"unique_columns":["GUID","Timestamp"]}}},{"arguments":{},"description":"","foreign_keys":{},"name":"detailed_user_activity_mv","type":"detailed_user_activity_mv","uniqueness_constraints":{}},{"arguments":{},"description":"","foreign_keys":{},"name":"network_performance","type":"network_performance","uniqueness_constraints":{"Timestamp, GUID":{"unique_columns":["GUID","Timestamp"]}}}],"functions":[],"object_types":{".inner_id.ebe5f199-643d-44a5-9775-d2babedc4a8f":{"description":"","fields":{"CDR_GUID":{"type":{"name":"String","type":"named"}},"CDR_Timestamp":{"type":{"name":"DateTime","type":"named"}},"Call_Duration":{"type":{"name":"Int32","type":"named"}},"Call_Type":{"type":{"name":"String","type":"named"}},"DU_GUID":{"type":{"name":"String","type":"named"}},"DU_Timestamp":{"type":{"name":"DateTime","type":"named"}},"Data_Usage":{"type":{"name":"Float32","type":"named"}},"Download_Speed":{"type":{"name":"Float32","type":"named"}},"Latency":{"type":{"name":"Int32","type":"named"}},"NP_GUID":{"type":{"name":"String","type":"named"}},"NP_Timestamp":{"type":{"name":"DateTime","type":"named"}},"Upload_Speed":{"type":{"name":"Float32","type":"named"}}}},"cdr":{"description":"","fields":{"Call_Duration":{"type":{"name":"Int32","type":"named"}},"Call_Type":{"type":{"name":"String","type":"named"}},"GUID":{"type":{"name":"String","type":"named"}},"Timestamp":{"type":{"name":"DateTime","type":"named"}}}},"data_usage":{"description":"","fields":{"Data_Usage":{"type":{"name":"Float32","type":"named"}},"GUID":{"type":{"name":"String","type":"named"}},"Timestamp":{"type":{"name":"DateTime","type":"named"}}}},"detailed_user_activity_mv":{"description":"","fields":{"CDR_GUID":{"type":{"name":"String","type":"named"}},"CDR_Timestamp":{"type":{"name":"DateTime","type":"named"}},"Call_Duration":{"type":{"name":"Int32","type":"named"}},"Call_Type":{"type":{"name":"String","type":"named"}},"DU_GUID":{"type":{"name":"String","type":"named"}},"DU_Timestamp":{"type":{"name":"DateTime","type":"named"}},"Data_Usage":{"type":{"name":"Float32","type":"named"}},"Download_Speed":{"type":{"name":"Float32","type":"named"}},"Latency":{"type":{"name":"Int32","type":"named"}},"NP_GUID":{"type":{"name":"String","type":"named"}},"NP_Timestamp":{"type":{"name":"DateTime","type":"named"}},"Upload_Speed":{"type":{"name":"Float32","type":"named"}}}},"network_performance":{"description":"","fields":{"Download_Speed":{"type":{"name":"Float32","type":"named"}},"GUID":{"type":{"name":"String","type":"named"}},"Latency":{"type":{"name":"Int32","type":"named"}},"Timestamp":{"type":{"name":"DateTime","type":"named"}},"Upload_Speed":{"type":{"name":"Float32","type":"named"}}}}},"procedures":[],"scalar_types":{"DateTime":{"aggregate_functions":{"max":{"result_type":{"name":"DateTime","type":"named"}},"min":{"result_type":{"name":"DateTime","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"DateTime","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"DateTime","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"DateTime","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"DateTime","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"DateTime","type":"named"},"type":"custom"},"_nin":{"argument_type":{"element_type":{"name":"DateTime","type":"named"},"type":"array"},"type":"custom"}},"representation":{"type":"string"}},"Float32":{"aggregate_functions":{"avg":{"result_type":{"name":"Float64","type":"named"}},"max":{"result_type":{"name":"Float64","type":"named"}},"min":{"result_type":{"name":"Float32","type":"named"}},"stddev_pop":{"result_type":{"name":"Float32","type":"named"}},"stddev_samp":{"result_type":{"name":"Float32","type":"named"}},"sum":{"result_type":{"name":"Float32","type":"named"}},"var_pop":{"result_type":{"name":"Float32","type":"named"}},"var_samp":{"result_type":{"name":"Float32","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Float32","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Float32","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"Float32","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Float32","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Float32","type":"named"},"type":"custom"},"_nin":{"argument_type":{"element_type":{"name":"Float32","type":"named"},"type":"array"},"type":"custom"}},"representation":{"type":"float32"}},"Float64":{"aggregate_functions":{"avg":{"result_type":{"name":"Float64","type":"named"}},"max":{"result_type":{"name":"Float64","type":"named"}},"min":{"result_type":{"name":"Float64","type":"named"}},"stddev_pop":{"result_type":{"name":"Float64","type":"named"}},"stddev_samp":{"result_type":{"name":"Float64","type":"named"}},"sum":{"result_type":{"name":"Float64","type":"named"}},"var_pop":{"result_type":{"name":"Float64","type":"named"}},"var_samp":{"result_type":{"name":"Float64","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Float64","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Float64","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"Float64","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Float64","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Float64","type":"named"},"type":"custom"},"_nin":{"argument_type":{"element_type":{"name":"Float64","type":"named"},"type":"array"},"type":"custom"}},"representation":{"type":"float64"}},"Int32":{"aggregate_functions":{"avg":{"result_type":{"name":"Float64","type":"named"}},"max":{"result_type":{"name":"Int32","type":"named"}},"min":{"result_type":{"name":"Int32","type":"named"}},"stddev_pop":{"result_type":{"name":"Float64","type":"named"}},"stddev_samp":{"result_type":{"name":"Float64","type":"named"}},"sum":{"result_type":{"name":"Int64","type":"named"}},"var_pop":{"result_type":{"name":"Float64","type":"named"}},"var_samp":{"result_type":{"name":"Float64","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Int32","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Int32","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"Int32","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Int32","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Int32","type":"named"},"type":"custom"},"_nin":{"argument_type":{"element_type":{"name":"Int32","type":"named"},"type":"array"},"type":"custom"}},"representation":{"type":"int32"}},"Int64":{"aggregate_functions":{"avg":{"result_type":{"name":"Float64","type":"named"}},"max":{"result_type":{"name":"Int64","type":"named"}},"min":{"result_type":{"name":"Int64","type":"named"}},"stddev_pop":{"result_type":{"name":"Float64","type":"named"}},"stddev_samp":{"result_type":{"name":"Float64","type":"named"}},"sum":{"result_type":{"name":"Int64","type":"named"}},"var_pop":{"result_type":{"name":"Float64","type":"named"}},"var_samp":{"result_type":{"name":"Float64","type":"named"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"Int64","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"Int64","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"Int64","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"Int64","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"Int64","type":"named"},"type":"custom"},"_nin":{"argument_type":{"element_type":{"name":"Int64","type":"named"},"type":"array"},"type":"custom"}},"representation":{"type":"int64"}},"String":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_in":{"type":"in"},"_like":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_match":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"String","type":"named"},"type":"custom"},"_nin":{"argument_type":{"element_type":{"name":"String","type":"named"},"type":"array"},"type":"custom"},"_nlike":{"argument_type":{"name":"String","type":"named"},"type":"custom"}},"representation":{"type":"string"}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:5052"},"write":{"value":"http://local.hasura.dev:5052"}}}},"kind":"DataConnectorLink","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Int4"},"name":"Int4"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Varchar"},"name":"Varchar"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Timestamptz"},"name":"Timestamptz"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int4","graphql":{"comparisonExpressionTypeName":"Network_Int4ComparisonExp"},"representation":"Int4"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"varchar","graphql":{"comparisonExpressionTypeName":"Network_VarcharComparisonExp"},"representation":"Varchar"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamptz","graphql":{"comparisonExpressionTypeName":"Network_TimestamptzComparisonExp"},"representation":"Timestamptz"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Timestamp"},"name":"Timestamp"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Text"},"name":"Text"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Json"},"name":"Json"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamp","graphql":{"comparisonExpressionTypeName":"Network_TimestampComparisonExp"},"representation":"Timestamp"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"text","graphql":{"comparisonExpressionTypeName":"Network_TextComparisonExp"},"representation":"Text"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"json","graphql":{"comparisonExpressionTypeName":"Network_JsonComparisonExp"},"representation":"Json"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Bool"},"name":"Bool"},"kind":"ScalarType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Network_Jsonb"},"name":"Jsonb"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"bool","graphql":{"comparisonExpressionTypeName":"Network_BoolComparisonExp"},"representation":"Bool"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"jsonb","graphql":{"comparisonExpressionTypeName":"Network_JsonbComparisonExp"},"representation":"Jsonb"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int4BoolExp_3"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int4BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int4!","name":"_eq"},{"argumentType":"Int4!","name":"_gt"},{"argumentType":"Int4!","name":"_gte"},{"argumentType":"[Int4!]!","name":"_in"},{"argumentType":"Int4!","name":"_lt"},{"argumentType":"Int4!","name":"_lte"},{"argumentType":"Int4!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int4","operatorMapping":{}}],"type":"Int4"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"VarcharBoolExp_2"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"VarcharBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Varchar!","name":"_eq"},{"argumentType":"Varchar!","name":"_gt"},{"argumentType":"Varchar!","name":"_gte"},{"argumentType":"Varchar!","name":"_ilike"},{"argumentType":"[Varchar!]!","name":"_in"},{"argumentType":"Varchar!","name":"_iregex"},{"argumentType":"Varchar!","name":"_like"},{"argumentType":"Varchar!","name":"_lt"},{"argumentType":"Varchar!","name":"_lte"},{"argumentType":"Varchar!","name":"_neq"},{"argumentType":"Varchar!","name":"_nilike"},{"argumentType":"Varchar!","name":"_niregex"},{"argumentType":"Varchar!","name":"_nlike"},{"argumentType":"Varchar!","name":"_nregex"},{"argumentType":"Varchar!","name":"_regex"},{"argumentType":"Varchar!","name":"starts_with"},{"argumentType":"Varchar!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"varchar","operatorMapping":{}}],"type":"Varchar"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"graphql":{"typeName":"TimestamptzBoolExp_3"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TimestamptzBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Timestamptz!","name":"_eq"},{"argumentType":"Timestamptz!","name":"_gt"},{"argumentType":"Timestamptz!","name":"_gte"},{"argumentType":"[Timestamptz!]!","name":"_in"},{"argumentType":"Timestamptz!","name":"_lt"},{"argumentType":"Timestamptz!","name":"_lte"},{"argumentType":"Timestamptz!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamptz","operatorMapping":{}}],"type":"Timestamptz"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Numeric_2"},"name":"Numeric"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"numeric","graphql":{"comparisonExpressionTypeName":"NumericComparisonExp_2"},"representation":"Numeric"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"NumericBoolExp_3"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"NumericBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Numeric!","name":"_eq"},{"argumentType":"Numeric!","name":"_gt"},{"argumentType":"Numeric!","name":"_gte"},{"argumentType":"[Numeric!]!","name":"_in"},{"argumentType":"Numeric!","name":"_lt"},{"argumentType":"Numeric!","name":"_lte"},{"argumentType":"Numeric!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"numeric","operatorMapping":{}}],"type":"Numeric"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"description":null,"graphql":{"typeName":"Int8_3"},"name":"Int8"},"kind":"ScalarType","version":"v1"},{"definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp_3"},"representation":"Int8"},"kind":"DataConnectorScalarRepresentation","version":"v1"},{"definition":{"graphql":{"typeName":"Int8BoolExp_3"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"Int8BoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Int8!","name":"_eq"},{"argumentType":"Int8!","name":"_gt"},{"argumentType":"Int8!","name":"_gte"},{"argumentType":"[Int8!]!","name":"_in"},{"argumentType":"Int8!","name":"_lt"},{"argumentType":"Int8!","name":"_lte"},{"argumentType":"Int8!","name":"_neq"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int8","operatorMapping":{}}],"type":"Int8"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"Int4AggExp_3"},"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"description":null,"name":"avg","returnType":"Numeric"},{"description":null,"name":"bit_and","returnType":"Int4"},{"description":null,"name":"bit_or","returnType":"Int4"},{"description":null,"name":"bit_xor","returnType":"Int4"},{"description":null,"name":"max","returnType":"Int4"},{"description":null,"name":"min","returnType":"Int4"},{"description":null,"name":"stddev","returnType":"Numeric"},{"description":null,"name":"stddev_pop","returnType":"Numeric"},{"description":null,"name":"stddev_samp","returnType":"Numeric"},{"description":null,"name":"sum","returnType":"Int8"},{"description":null,"name":"var_pop","returnType":"Numeric"},{"description":null,"name":"var_samp","returnType":"Numeric"},{"description":null,"name":"variance","returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"graphql":{"typeName":"TextBoolExp_3"},"isNull":{"enable":true},"logicalOperators":{"enable":true},"name":"TextBoolExp","operand":{"scalar":{"comparisonOperators":[{"argumentType":"Text!","name":"_eq"},{"argumentType":"Text!","name":"_gt"},{"argumentType":"Text!","name":"_gte"},{"argumentType":"Text!","name":"_ilike"},{"argumentType":"[Text!]!","name":"_in"},{"argumentType":"Text!","name":"_iregex"},{"argumentType":"Text!","name":"_like"},{"argumentType":"Text!","name":"_lt"},{"argumentType":"Text!","name":"_lte"},{"argumentType":"Text!","name":"_neq"},{"argumentType":"Text!","name":"_nilike"},{"argumentType":"Text!","name":"_niregex"},{"argumentType":"Text!","name":"_nlike"},{"argumentType":"Text!","name":"_nregex"},{"argumentType":"Text!","name":"_regex"},{"argumentType":"Text!","name":"starts_with"},{"argumentType":"Text!","name":"ts_match_tt"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"text","operatorMapping":{}}],"type":"Text"}}},"kind":"BooleanExpressionType","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"VarcharAggExp_2"},"name":"VarcharAggExp","operand":{"scalar":{"aggregatedType":"Varchar","aggregationFunctions":[{"description":null,"name":"max","returnType":"Text"},{"description":null,"name":"min","returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"varchar","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"count":{"description":null,"enable":true},"countDistinct":{"description":null,"enable":true},"description":null,"graphql":{"deprecated":null,"selectTypeName":"TimestamptzAggExp_3"},"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"description":null,"name":"max","returnType":"Timestamptz"},{"description":null,"name":"min","returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}}},"kind":"AggregateExpression","version":"v1"},{"definition":{"argumentPresets":[],"headers":{"Authorization":{"value":"Bearer YQ=="}},"name":"kafka_sink","responseHeaders":null,"schema":{"capabilities":{"capabilities":{"mutation":{"explain":{},"transactional":{}},"query":{"aggregates":{},"exists":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"variables":{}},"relationships":{"order_by_aggregate":{},"relation_comparisons":{}}},"version":"0.1.6"},"schema":{"collections":[{"arguments":{},"foreign_keys":{},"name":"calls","type":"calls","uniqueness_constraints":{"calls_pkey":{"unique_columns":["callid"]}}},{"arguments":{},"foreign_keys":{},"name":"texts","type":"texts","uniqueness_constraints":{"texts_pkey":{"unique_columns":["textid"]}}}],"functions":[],"object_types":{"calls":{"fields":{"callid":{"type":{"name":"int4","type":"named"}},"calltype":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"customerid":{"type":{"name":"int4","type":"named"}},"deviceid":{"type":{"name":"int4","type":"named"}},"duration":{"type":{"name":"int4","type":"named"}},"nodeid":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"timestamp":{"type":{"name":"timestamptz","type":"named"}}}},"texts":{"fields":{"customerid":{"type":{"name":"int4","type":"named"}},"deviceid":{"type":{"name":"int4","type":"named"}},"messagetype":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"nodeid":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"textid":{"type":{"name":"int4","type":"named"}},"timestamp":{"type":{"name":"timestamptz","type":"named"}}}},"update_column_calls_callid":{"description":"Update the 'callid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_calls_calltype":{"description":"Update the 'calltype' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_calls_customerid":{"description":"Update the 'customerid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_calls_deviceid":{"description":"Update the 'deviceid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_calls_duration":{"description":"Update the 'duration' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_calls_nodeid":{"description":"Update the 'nodeid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_calls_receivernumber":{"description":"Update the 'receivernumber' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_calls_timestamp":{"description":"Update the 'timestamp' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"update_column_texts_customerid":{"description":"Update the 'customerid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_texts_deviceid":{"description":"Update the 'deviceid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_texts_messagetype":{"description":"Update the 'messagetype' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_texts_nodeid":{"description":"Update the 'nodeid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}}}},"update_column_texts_receivernumber":{"description":"Update the 'receivernumber' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}}}},"update_column_texts_textid":{"description":"Update the 'textid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"int4","type":"named"}}}},"update_column_texts_timestamp":{"description":"Update the 'timestamp' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"name":"timestamptz","type":"named"}}}},"v2_delete_calls_by_callid_response":{"description":"Responses from the 'v2_delete_calls_by_callid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"calls","type":"named"},"type":"array"}}}},"v2_delete_texts_by_textid_response":{"description":"Responses from the 'v2_delete_texts_by_textid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"texts","type":"named"},"type":"array"}}}},"v2_insert_calls_object":{"fields":{"callid":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"calltype":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"customerid":{"type":{"name":"int4","type":"named"}},"deviceid":{"type":{"name":"int4","type":"named"}},"duration":{"type":{"name":"int4","type":"named"}},"nodeid":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"timestamp":{"type":{"name":"timestamptz","type":"named"}}}},"v2_insert_calls_response":{"description":"Responses from the 'v2_insert_calls' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"calls","type":"named"},"type":"array"}}}},"v2_insert_texts_object":{"fields":{"customerid":{"type":{"name":"int4","type":"named"}},"deviceid":{"type":{"name":"int4","type":"named"}},"messagetype":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"nodeid":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"name":"varchar","type":"named"}}},"textid":{"type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"timestamp":{"type":{"name":"timestamptz","type":"named"}}}},"v2_insert_texts_response":{"description":"Responses from the 'v2_insert_texts' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"texts","type":"named"},"type":"array"}}}},"v2_update_calls_by_callid_response":{"description":"Responses from the 'v2_update_calls_by_callid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"calls","type":"named"},"type":"array"}}}},"v2_update_calls_by_callid_update_columns":{"description":"Update the columns of the 'calls' collection","fields":{"callid":{"description":"Update the 'callid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_callid","type":"named"}}},"calltype":{"description":"Update the 'calltype' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_calltype","type":"named"}}},"customerid":{"description":"Update the 'customerid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_customerid","type":"named"}}},"deviceid":{"description":"Update the 'deviceid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_deviceid","type":"named"}}},"duration":{"description":"Update the 'duration' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_duration","type":"named"}}},"nodeid":{"description":"Update the 'nodeid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_nodeid","type":"named"}}},"receivernumber":{"description":"Update the 'receivernumber' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_receivernumber","type":"named"}}},"timestamp":{"description":"Update the 'timestamp' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_calls_timestamp","type":"named"}}}}},"v2_update_texts_by_textid_response":{"description":"Responses from the 'v2_update_texts_by_textid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"name":"int4","type":"named"}},"returning":{"description":"Data from rows affected by the mutation","type":{"element_type":{"name":"texts","type":"named"},"type":"array"}}}},"v2_update_texts_by_textid_update_columns":{"description":"Update the columns of the 'texts' collection","fields":{"customerid":{"description":"Update the 'customerid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_customerid","type":"named"}}},"deviceid":{"description":"Update the 'deviceid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_deviceid","type":"named"}}},"messagetype":{"description":"Update the 'messagetype' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_messagetype","type":"named"}}},"nodeid":{"description":"Update the 'nodeid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_nodeid","type":"named"}}},"receivernumber":{"description":"Update the 'receivernumber' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_receivernumber","type":"named"}}},"textid":{"description":"Update the 'textid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_textid","type":"named"}}},"timestamp":{"description":"Update the 'timestamp' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"name":"update_column_texts_timestamp","type":"named"}}}}}},"procedures":[{"arguments":{"key_callid":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'calls' collection","type":{"object_type_name":"calls","type":"predicate"}}},"description":"Delete any row on the 'calls' collection using the 'callid' key","name":"v2_delete_calls_by_callid","result_type":{"name":"v2_delete_calls_by_callid_response","type":"named"}},{"arguments":{"key_textid":{"type":{"name":"int4","type":"named"}},"pre_check":{"description":"Delete permission predicate over the 'texts' collection","type":{"object_type_name":"texts","type":"predicate"}}},"description":"Delete any row on the 'texts' collection using the 'textid' key","name":"v2_delete_texts_by_textid","result_type":{"name":"v2_delete_texts_by_textid_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_calls_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'calls' collection","type":{"object_type_name":"calls","type":"predicate"}}},"description":"Insert into the calls table","name":"v2_insert_calls","result_type":{"name":"v2_insert_calls_response","type":"named"}},{"arguments":{"objects":{"type":{"element_type":{"name":"v2_insert_texts_object","type":"named"},"type":"array"}},"post_check":{"description":"Insert permission predicate over the 'texts' collection","type":{"object_type_name":"texts","type":"predicate"}}},"description":"Insert into the texts table","name":"v2_insert_texts","result_type":{"name":"v2_insert_texts_response","type":"named"}},{"arguments":{"key_callid":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'calls' collection","type":{"object_type_name":"calls","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'calls' collection","type":{"object_type_name":"calls","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_calls_by_callid_update_columns","type":"named"}}},"description":"Update any row on the 'calls' collection using the 'callid' key","name":"v2_update_calls_by_callid","result_type":{"name":"v2_update_calls_by_callid_response","type":"named"}},{"arguments":{"key_textid":{"type":{"name":"int4","type":"named"}},"post_check":{"description":"Update permission post-condition predicate over the 'texts' collection","type":{"object_type_name":"texts","type":"predicate"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'texts' collection","type":{"object_type_name":"texts","type":"predicate"}},"update_columns":{"type":{"name":"v2_update_texts_by_textid_update_columns","type":"named"}}},"description":"Update any row on the 'texts' collection using the 'textid' key","name":"v2_update_texts_by_textid","result_type":{"name":"v2_update_texts_by_textid_response","type":"named"}}],"scalar_types":{"bool":{"aggregate_functions":{"bool_and":{"result_type":{"type":"nullable","underlying_type":{"name":"bool","type":"named"}}},"bool_or":{"result_type":{"type":"nullable","underlying_type":{"name":"bool","type":"named"}}},"every":{"result_type":{"type":"nullable","underlying_type":{"name":"bool","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"bool","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"bool","type":"named"},"type":"custom"}},"representation":{"type":"boolean"}},"int4":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int4","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int4","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int4","type":"named"},"type":"custom"}},"representation":{"type":"int32"}},"int8":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"int8","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"int8","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"int8","type":"named"},"type":"custom"}},"representation":{"type":"int64"}},"json":{"aggregate_functions":{},"comparison_operators":{"_in":{"type":"in"}}},"jsonb":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"jsonb_contained":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"jsonb_contains":{"argument_type":{"name":"jsonb","type":"named"},"type":"custom"},"jsonb_exists":{"argument_type":{"name":"text","type":"named"},"type":"custom"}}},"numeric":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"name":"numeric","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"numeric","type":"named"},"type":"custom"}},"representation":{"type":"bigdecimal"}},"text":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"text","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"text","type":"named"},"type":"custom"}},"representation":{"type":"string"}},"timestamp":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamp","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamp","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"timestamp","type":"named"},"type":"custom"}},"representation":{"type":"timestamp"}},"timestamptz":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"timestamptz","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_in":{"type":"in"},"_lt":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"timestamptz","type":"named"},"type":"custom"}},"representation":{"type":"timestamptz"}},"varchar":{"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"name":"text","type":"named"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_gte":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_ilike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_in":{"type":"in"},"_iregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_like":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_lt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_lte":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_neq":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nilike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_niregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nlike":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_nregex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"_regex":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"starts_with":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"},"ts_match_tt":{"argument_type":{"name":"varchar","type":"named"},"type":"custom"}},"representation":{"type":"string"}}}},"version":"v0.1"},"url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:8034"},"write":{"value":"http://local.hasura.dev:8034"}}}},"kind":"DataConnectorLink","version":"v1"}]}],"version":"v2"} \ No newline at end of file diff --git a/hasura/engine/build/open_dd.json b/hasura/engine/build/open_dd.json new file mode 100644 index 0000000..a6fb817 --- /dev/null +++ b/hasura/engine/build/open_dd.json @@ -0,0 +1 @@ +{"version":"v3","subgraphs":[{"name":"globals","objects":[{"kind":"Command","version":"v1","definition":{"name":"ConvertCurrency","outputType":"Float!","arguments":[{"name":"amount","type":"Float!","description":"The amount to convert."},{"name":"currentCurrency","type":"String!","description":"The current currency of the amount."},{"name":"targetCurrency","type":"String!","description":"The target currency to convert to."}],"source":{"dataConnectorName":"global_functions","dataConnectorCommand":{"function":"convertCurrency"},"argumentMapping":{}},"graphql":{"rootFieldName":"convertCurrency","rootFieldKind":"Query","deprecated":null},"description":"Converts currency amount to the target currency."}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"ConvertCurrency","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"Command","version":"v1","definition":{"name":"ConvertDataToMb","outputType":"Float!","arguments":[{"name":"dataInGb","type":"Float!","description":"The data in GB."}],"source":{"dataConnectorName":"global_functions","dataConnectorCommand":{"function":"convertDataToMB"},"argumentMapping":{"dataInGb":"dataInGB"}},"graphql":{"rootFieldName":"convertDataToMb","rootFieldKind":"Query","deprecated":null},"description":"Converts data from GB to MB."}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"ConvertDataToMb","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"Command","version":"v1","definition":{"name":"FormatDateToIso","outputType":"String!","arguments":[{"name":"dateString","type":"String","description":"The date string to format."}],"source":{"dataConnectorName":"global_functions","dataConnectorCommand":{"function":"formatDateToISO"},"argumentMapping":{}},"graphql":{"rootFieldName":"formatDateToIso","rootFieldKind":"Query","deprecated":null},"description":"Formats a date string to ISO 8601 format."}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"FormatDateToIso","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"Command","version":"v1","definition":{"name":"ToDateString","outputType":"String!","arguments":[{"name":"date","type":"String","description":"The date string to format."}],"source":{"dataConnectorName":"global_functions","dataConnectorCommand":{"function":"toDateString"},"argumentMapping":{}},"graphql":{"rootFieldName":"toDateString","rootFieldKind":"Query","deprecated":null},"description":"Formats a date string to a human-readable format."}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"ToDateString","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"global_functions","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:5756"},"write":{"value":"http://local.hasura.dev:5756"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"Float":{"representation":{"type":"float64"},"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"}}},"String":{"representation":{"type":"string"},"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"}}}},"object_types":{},"collections":[],"functions":[{"name":"toDateString","description":"Formats a date string to a human-readable format.","arguments":{"date":{"description":"The date string to format.","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}}},"result_type":{"type":"named","name":"String"}},{"name":"formatDateToISO","description":"Formats a date string to ISO 8601 format.","arguments":{"dateString":{"description":"The date string to format.","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}}},"result_type":{"type":"named","name":"String"}},{"name":"convertDataToMB","description":"Converts data from GB to MB.","arguments":{"dataInGB":{"description":"The data in GB.","type":{"type":"named","name":"Float"}}},"result_type":{"type":"named","name":"Float"}},{"name":"convertCurrency","description":"Converts currency amount to the target currency.","arguments":{"amount":{"description":"The amount to convert.","type":{"type":"named","name":"Float"}},"currentCurrency":{"description":"The current currency of the amount.","type":{"type":"named","name":"String"}},"targetCurrency":{"description":"The target currency to convert to.","type":{"type":"named","name":"String"}}},"result_type":{"type":"named","name":"Float"}}],"procedures":[]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"variables":{},"nested_fields":{},"exists":{}},"mutation":{}}}},"argumentPresets":[],"responseHeaders":null}},{"kind":"GraphqlConfig","version":"v1","definition":{"query":{"rootOperationTypeName":"Query","argumentsInput":{"fieldName":"args"},"limitInput":{"fieldName":"limit"},"offsetInput":{"fieldName":"offset"},"filterInput":{"fieldName":"where","operatorNames":{"and":"_and","or":"_or","not":"_not","isNull":"_is_null"}},"orderByInput":{"fieldName":"order_by","enumDirectionValues":{"asc":"Asc","desc":"Desc"},"enumTypeNames":[{"directions":["Asc","Desc"],"typeName":"OrderBy"}]},"aggregate":{"filterInputFieldName":"filter_input","countFieldName":"_count","countDistinctFieldName":"_count_distinct"}},"mutation":{"rootOperationTypeName":"Mutation"},"subscription":{"rootOperationTypeName":"Subscription"},"apolloFederation":null}}]},{"name":"customer","objects":[{"kind":"ObjectType","version":"v1","definition":{"name":"Billing","fields":[{"name":"billingDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"billingId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"paymentStatus","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"totalAmount","type":"Numeric","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_Billing","inputTypeName":"Customer_BillingInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"billing","fieldMapping":{"billingDate":{"column":{"name":"billing_date","argumentMapping":null}},"billingId":{"column":{"name":"billing_id","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"paymentStatus":{"column":{"name":"payment_status","argumentMapping":null}},"totalAmount":{"column":{"name":"total_amount","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Billing","permissions":[{"role":"admin","output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"input":null},{"role":"customer","output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Billing","objectType":"Billing","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"billing","argumentMapping":{}},"filterExpressionType":"BillingBoolExp","orderableFields":[{"fieldName":"billingDate","orderByDirections":{"enableAll":true}},{"fieldName":"billingId","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"paymentStatus","orderByDirections":{"enableAll":true}},{"fieldName":"totalAmount","orderByDirections":{"enableAll":true}}],"aggregateExpression":"BillingAggExp","graphql":{"selectUniques":[{"queryRootField":"billingByBillingId","uniqueIdentifier":["billingId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"billing","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_BillingOrderBy","apolloFederation":null,"filterInputTypeName":"BillingFilterInput","aggregate":{"queryRootField":"billingAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Billing","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"Billing","target":{"model":{"name":"Customers","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"BillingBoolExp","operand":{"object":{"type":"Billing","comparableFields":[{"fieldName":"billingDate","booleanExpressionType":"DateBoolExp"},{"fieldName":"billingId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"customerId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"paymentStatus","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"totalAmount","booleanExpressionType":"NumericBoolExp"}],"comparableRelationships":[{"relationshipName":"customer","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_BillingBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"BillingAggExp","operand":{"object":{"aggregatedType":"Billing","aggregatableFields":[{"fieldName":"billingDate","description":null,"aggregateExpression":"DateAggExp"},{"fieldName":"billingId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"customerId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"paymentStatus","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"totalAmount","description":null,"aggregateExpression":"NumericAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"BillingAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"CreditCards","fields":[{"name":"createdAt","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]},{"name":"creditCardId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"cvv","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"expiry","type":"Date!","description":null,"deprecated":null,"arguments":[]},{"name":"number","type":"Text!","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_CreditCards","inputTypeName":"Customer_CreditCardsInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"credit_cards","fieldMapping":{"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"creditCardId":{"column":{"name":"credit_card_id","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"cvv":{"column":{"name":"cvv","argumentMapping":null}},"expiry":{"column":{"name":"expiry","argumentMapping":null}},"number":{"column":{"name":"number","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CreditCards","permissions":[{"role":"admin","output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","number","updatedAt"]},"input":null},{"role":"customer","output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","updatedAt","number"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"CreditCards","objectType":"CreditCards","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"credit_cards","argumentMapping":{}},"filterExpressionType":"CreditCardsBoolExp","orderableFields":[{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"creditCardId","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"cvv","orderByDirections":{"enableAll":true}},{"fieldName":"expiry","orderByDirections":{"enableAll":true}},{"fieldName":"number","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CreditCardsAggExp","graphql":{"selectUniques":[{"queryRootField":"creditCardsByCreditCardId","uniqueIdentifier":["creditCardId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"creditCards","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_CreditCardsOrderBy","apolloFederation":null,"filterInputTypeName":"CreditCardsFilterInput","aggregate":{"queryRootField":"creditCardsAggregate","description":null,"deprecated":null,"subscription":null}},"description":"Credit Card information - take care to enforce PCI"}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"CreditCards","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"CreditCards","target":{"model":{"name":"Customers","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CreditCardsBoolExp","operand":{"object":{"type":"CreditCards","comparableFields":[{"fieldName":"createdAt","booleanExpressionType":"TimestamptzBoolExp"},{"fieldName":"creditCardId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"customerId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"cvv","booleanExpressionType":"Int4BoolExp"},{"fieldName":"expiry","booleanExpressionType":"DateBoolExp"},{"fieldName":"number","booleanExpressionType":"TextBoolExp"},{"fieldName":"updatedAt","booleanExpressionType":"TimestamptzBoolExp"}],"comparableRelationships":[{"relationshipName":"customer","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_CreditCardsBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CreditCardsAggExp","operand":{"object":{"aggregatedType":"CreditCards","aggregatableFields":[{"fieldName":"createdAt","description":null,"aggregateExpression":"TimestamptzAggExp"},{"fieldName":"creditCardId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"customerId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"cvv","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"expiry","description":null,"aggregateExpression":"DateAggExp"},{"fieldName":"number","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"updatedAt","description":null,"aggregateExpression":"TimestamptzAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CreditCardsAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerLink","fields":[{"name":"customerGuid","type":"Uuid!","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"id","type":"Int4!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_CustomerLink","inputTypeName":"Customer_CustomerLinkInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_link","fieldMapping":{"customerGuid":{"column":{"name":"customer_guid","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerLink","permissions":[{"role":"admin","output":{"allowedFields":["customerGuid","customerId","id"]},"input":null},{"role":"customer","output":{"allowedFields":["customerGuid","customerId","id"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"CustomerLink","objectType":"CustomerLink","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"customer_link","argumentMapping":{}},"filterExpressionType":"CustomerLinkBoolExp","orderableFields":[{"fieldName":"customerGuid","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"id","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CustomerLinkAggExp","graphql":{"selectUniques":[{"queryRootField":"customerLinkByCustomerId","uniqueIdentifier":["customerId"],"description":null,"deprecated":null,"subscription":null},{"queryRootField":"customerLinkById","uniqueIdentifier":["id"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"customerLink","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_CustomerLinkOrderBy","apolloFederation":null,"filterInputTypeName":"CustomerLinkFilterInput","aggregate":{"queryRootField":"customerLinkAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"CustomerLink","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"CustomerLink","target":{"model":{"name":"Customers","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerLinkBoolExp","operand":{"object":{"type":"CustomerLink","comparableFields":[{"fieldName":"customerGuid","booleanExpressionType":"UuidBoolExp"},{"fieldName":"customerId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"id","booleanExpressionType":"Int4BoolExp"}],"comparableRelationships":[{"relationshipName":"customer","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_CustomerLinkBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CustomerLinkAggExp","operand":{"object":{"aggregatedType":"CustomerLink","aggregatableFields":[{"fieldName":"customerGuid","description":null,"aggregateExpression":"UuidAggExp"},{"fieldName":"customerId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"id","description":null,"aggregateExpression":"Int4AggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CustomerLinkAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerNetwork","fields":[{"name":"customerId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"nodeId","type":"Int4!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_CustomerNetwork","inputTypeName":"Customer_CustomerNetworkInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_network","fieldMapping":{"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"nodeId":{"column":{"name":"node_id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerNetwork","permissions":[{"role":"admin","output":{"allowedFields":["customerId","nodeId"]},"input":null},{"role":"customer","output":{"allowedFields":["customerId","nodeId"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"CustomerNetwork","objectType":"CustomerNetwork","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"customer_network","argumentMapping":{}},"filterExpressionType":"CustomerNetworkBoolExp","orderableFields":[{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"nodeId","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CustomerNetworkAggExp","graphql":{"selectUniques":[{"queryRootField":"customerNetworkByCustomerNetworkPkey","uniqueIdentifier":["customerId","nodeId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"customerNetwork","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_CustomerNetworkOrderBy","apolloFederation":null,"filterInputTypeName":"CustomerNetworkFilterInput","aggregate":{"queryRootField":"customerNetworkAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"CustomerNetwork","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"CustomerNetwork","target":{"model":{"name":"Customers","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"network","sourceType":"CustomerNetwork","target":{"model":{"name":"Network","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"nodeId"}]},"target":{"modelField":[{"fieldName":"nodeId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerNetworkBoolExp","operand":{"object":{"type":"CustomerNetwork","comparableFields":[{"fieldName":"customerId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"nodeId","booleanExpressionType":"Int4BoolExp"}],"comparableRelationships":[{"relationshipName":"customer","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_CustomerNetworkBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CustomerNetworkAggExp","operand":{"object":{"aggregatedType":"CustomerNetwork","aggregatableFields":[{"fieldName":"customerId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"nodeId","description":null,"aggregateExpression":"Int4AggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CustomerNetworkAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPlanDevices","fields":[{"name":"customerPlanId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceId","type":"Int4!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_CustomerPlanDevices","inputTypeName":"Customer_CustomerPlanDevicesInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_plan_devices","fieldMapping":{"customerPlanId":{"column":{"name":"customer_plan_id","argumentMapping":null}},"deviceId":{"column":{"name":"device_id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPlanDevices","permissions":[{"role":"admin","output":{"allowedFields":["customerPlanId","deviceId"]},"input":null},{"role":"customer","output":{"allowedFields":["customerPlanId","deviceId"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"CustomerPlanDevices","objectType":"CustomerPlanDevices","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"customer_plan_devices","argumentMapping":{}},"filterExpressionType":"CustomerPlanDevicesBoolExp","orderableFields":[{"fieldName":"customerPlanId","orderByDirections":{"enableAll":true}},{"fieldName":"deviceId","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CustomerPlanDevicesAggExp","graphql":{"selectUniques":[{"queryRootField":"customerPlanDevicesByCustomerPlanDevicesPkey","uniqueIdentifier":["customerPlanId","deviceId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"customerPlanDevices","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_CustomerPlanDevicesOrderBy","apolloFederation":null,"filterInputTypeName":"CustomerPlanDevicesFilterInput","aggregate":{"queryRootField":"customerPlanDevicesAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"CustomerPlanDevices","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customerPlan","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customerPlan","sourceType":"CustomerPlanDevices","target":{"model":{"name":"CustomerPlans","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerPlanId"}]},"target":{"modelField":[{"fieldName":"customerPlanId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"device","sourceType":"CustomerPlanDevices","target":{"model":{"name":"Devices","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"deviceId"}]},"target":{"modelField":[{"fieldName":"deviceId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerPlanDevicesBoolExp","operand":{"object":{"type":"CustomerPlanDevices","comparableFields":[{"fieldName":"customerPlanId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"deviceId","booleanExpressionType":"Int4BoolExp"}],"comparableRelationships":[{"relationshipName":"customerPlan","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_CustomerPlanDevicesBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CustomerPlanDevicesAggExp","operand":{"object":{"aggregatedType":"CustomerPlanDevices","aggregatableFields":[{"fieldName":"customerPlanId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"deviceId","description":null,"aggregateExpression":"Int4AggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CustomerPlanDevicesAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPlans","fields":[{"name":"cellNumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"customerPlanId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"endDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"planId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"startDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"Varchar","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_CustomerPlans","inputTypeName":"Customer_CustomerPlansInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customer_plans","fieldMapping":{"cellNumber":{"column":{"name":"cell_number","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"customerPlanId":{"column":{"name":"customer_plan_id","argumentMapping":null}},"endDate":{"column":{"name":"end_date","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"startDate":{"column":{"name":"start_date","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPlans","permissions":[{"role":"admin","output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"input":null},{"role":"customer","output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"CustomerPlans","objectType":"CustomerPlans","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"customer_plans","argumentMapping":{}},"filterExpressionType":"CustomerPlansBoolExp","orderableFields":[{"fieldName":"cellNumber","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"customerPlanId","orderByDirections":{"enableAll":true}},{"fieldName":"endDate","orderByDirections":{"enableAll":true}},{"fieldName":"planId","orderByDirections":{"enableAll":true}},{"fieldName":"startDate","orderByDirections":{"enableAll":true}},{"fieldName":"status","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CustomerPlansAggExp","graphql":{"selectUniques":[{"queryRootField":"customerPlansByCustomerPlanId","uniqueIdentifier":["customerPlanId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"customerPlans","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_CustomerPlansOrderBy","apolloFederation":null,"filterInputTypeName":"CustomerPlansFilterInput","aggregate":{"queryRootField":"customerPlansAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"CustomerPlans","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customerPlanDevices","sourceType":"CustomerPlans","target":{"model":{"name":"CustomerPlanDevices","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerPlanId"}]},"target":{"modelField":[{"fieldName":"customerPlanId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"CustomerPlans","target":{"model":{"name":"Customers","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"plan","sourceType":"CustomerPlans","target":{"model":{"name":"Plans","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"planId"}]},"target":{"modelField":[{"fieldName":"planId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerPlansBoolExp","operand":{"object":{"type":"CustomerPlans","comparableFields":[{"fieldName":"cellNumber","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"customerId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"customerPlanId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"endDate","booleanExpressionType":"DateBoolExp"},{"fieldName":"planId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"startDate","booleanExpressionType":"DateBoolExp"},{"fieldName":"status","booleanExpressionType":"VarcharBoolExp"}],"comparableRelationships":[{"relationshipName":"plan","booleanExpressionType":null,"aggregateBooleanExpressionType":null},{"relationshipName":"customer","booleanExpressionType":null,"aggregateBooleanExpressionType":null},{"relationshipName":"customerPlanDevices","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_CustomerPlansBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CustomerPlansAggExp","operand":{"object":{"aggregatedType":"CustomerPlans","aggregatableFields":[{"fieldName":"cellNumber","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"customerId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"customerPlanId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"endDate","description":null,"aggregateExpression":"DateAggExp"},{"fieldName":"planId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"startDate","description":null,"aggregateExpression":"DateAggExp"},{"fieldName":"status","description":null,"aggregateExpression":"VarcharAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CustomerPlansAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Customers","fields":[{"name":"address","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"city","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"country","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"email","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"firstName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"image","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"lastName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"phoneNumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"postcode","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"segment","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"state","type":"Varchar","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_Customers","inputTypeName":"Customer_CustomersInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"customers","fieldMapping":{"address":{"column":{"name":"address","argumentMapping":null}},"city":{"column":{"name":"city","argumentMapping":null}},"country":{"column":{"name":"country","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"firstName":{"column":{"name":"first_name","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"lastName":{"column":{"name":"last_name","argumentMapping":null}},"phoneNumber":{"column":{"name":"phone_number","argumentMapping":null}},"postcode":{"column":{"name":"postcode","argumentMapping":null}},"segment":{"column":{"name":"segment","argumentMapping":null}},"state":{"column":{"name":"state","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Customers","permissions":[{"role":"admin","output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"input":null},{"role":"customer","output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Customers","objectType":"Customers","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"customers","argumentMapping":{}},"filterExpressionType":"CustomersBoolExp","orderableFields":[{"fieldName":"address","orderByDirections":{"enableAll":true}},{"fieldName":"city","orderByDirections":{"enableAll":true}},{"fieldName":"country","orderByDirections":{"enableAll":true}},{"fieldName":"customerId","orderByDirections":{"enableAll":true}},{"fieldName":"email","orderByDirections":{"enableAll":true}},{"fieldName":"firstName","orderByDirections":{"enableAll":true}},{"fieldName":"image","orderByDirections":{"enableAll":true}},{"fieldName":"lastName","orderByDirections":{"enableAll":true}},{"fieldName":"phoneNumber","orderByDirections":{"enableAll":true}},{"fieldName":"postcode","orderByDirections":{"enableAll":true}},{"fieldName":"segment","orderByDirections":{"enableAll":true}},{"fieldName":"state","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CustomersAggExp","graphql":{"selectUniques":[{"queryRootField":"customersByPhoneNumber","uniqueIdentifier":["phoneNumber"],"description":null,"deprecated":null,"subscription":null},{"queryRootField":"customersByCustomerId","uniqueIdentifier":["customerId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"customers","description":null,"deprecated":null,"subscription":{"rootField":"customers_sub","description":"Subscribe to customers model","deprecated":null,"pollingIntervalMs":1000}},"argumentsInputType":null,"orderByExpressionType":"Customer_CustomersOrderBy","apolloFederation":null,"filterInputTypeName":"CustomersFilterInput","aggregate":{"queryRootField":"customersAggregate","description":null,"deprecated":null,"subscription":null}},"description":"**Customers Model**\nThis model represents customer-related data sourced from the Aurora database. It provides the ability to query, filter, and order customer records based on various fields, including name, address, contact information, and more.\n\n_Key features include:_\n- Subscriptions for real-time updates\n- Aggregated insights through the `customersAggregate` query\n- Support for unique lookups via `phoneNumber` and `customerId`\n- Comprehensive order-by options for sortable fields\n"}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Customers","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":true}},{"role":"customer","select":{"filter":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"billings","sourceType":"Customers","target":{"model":{"name":"Billing","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"creditCards","sourceType":"Customers","target":{"model":{"name":"CreditCards","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"customerLinks","sourceType":"Customers","target":{"model":{"name":"CustomerLink","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"customerNetworks","sourceType":"Customers","target":{"model":{"name":"CustomerNetwork","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"customerPlans","sourceType":"Customers","target":{"model":{"name":"CustomerPlans","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"modelField":[{"fieldName":"customerId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomersBoolExp","operand":{"object":{"type":"Customers","comparableFields":[{"fieldName":"address","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"city","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"country","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"customerId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"email","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"firstName","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"image","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"lastName","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"phoneNumber","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"postcode","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"segment","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"state","booleanExpressionType":"VarcharBoolExp"}],"comparableRelationships":[{"relationshipName":"creditCards","booleanExpressionType":null,"aggregateBooleanExpressionType":null},{"relationshipName":"customerLinks","booleanExpressionType":null,"aggregateBooleanExpressionType":null},{"relationshipName":"customerNetworks","booleanExpressionType":null,"aggregateBooleanExpressionType":null},{"relationshipName":"customerPlans","booleanExpressionType":null,"aggregateBooleanExpressionType":null},{"relationshipName":"billings","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_CustomersBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CustomersAggExp","operand":{"object":{"aggregatedType":"Customers","aggregatableFields":[{"fieldName":"address","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"city","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"country","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"customerId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"email","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"firstName","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"image","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"lastName","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"phoneNumber","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"postcode","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"segment","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"state","description":null,"aggregateExpression":"VarcharAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CustomersAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Deals","fields":[{"name":"additionalBenefits","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"customerSegment","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"dealId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"dealName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"description","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"endDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"maxMonthlySpend","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"minMonthlySpend","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"startDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"termsConditions","type":"Text","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_Deals","inputTypeName":"Customer_DealsInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"deals","fieldMapping":{"additionalBenefits":{"column":{"name":"additional_benefits","argumentMapping":null}},"customerSegment":{"column":{"name":"customer_segment","argumentMapping":null}},"dealId":{"column":{"name":"deal_id","argumentMapping":null}},"dealName":{"column":{"name":"deal_name","argumentMapping":null}},"description":{"column":{"name":"description","argumentMapping":null}},"endDate":{"column":{"name":"end_date","argumentMapping":null}},"maxMonthlySpend":{"column":{"name":"max_monthly_spend","argumentMapping":null}},"minMonthlySpend":{"column":{"name":"min_monthly_spend","argumentMapping":null}},"startDate":{"column":{"name":"start_date","argumentMapping":null}},"termsConditions":{"column":{"name":"terms_conditions","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Deals","permissions":[{"role":"admin","output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"input":null},{"role":"customer","output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Deals","objectType":"Deals","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"deals","argumentMapping":{}},"filterExpressionType":"DealsBoolExp","orderableFields":[{"fieldName":"additionalBenefits","orderByDirections":{"enableAll":true}},{"fieldName":"customerSegment","orderByDirections":{"enableAll":true}},{"fieldName":"dealId","orderByDirections":{"enableAll":true}},{"fieldName":"dealName","orderByDirections":{"enableAll":true}},{"fieldName":"description","orderByDirections":{"enableAll":true}},{"fieldName":"endDate","orderByDirections":{"enableAll":true}},{"fieldName":"maxMonthlySpend","orderByDirections":{"enableAll":true}},{"fieldName":"minMonthlySpend","orderByDirections":{"enableAll":true}},{"fieldName":"startDate","orderByDirections":{"enableAll":true}},{"fieldName":"termsConditions","orderByDirections":{"enableAll":true}}],"aggregateExpression":"DealsAggExp","graphql":{"selectUniques":[{"queryRootField":"dealsByDealId","uniqueIdentifier":["dealId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"deals","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_DealsOrderBy","apolloFederation":null,"filterInputTypeName":"DealsFilterInput","aggregate":{"queryRootField":"dealsAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Deals","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"and":[{"fieldComparison":{"field":"startDate","operator":"_lte","value":{"literal":"now()"}}},{"fieldComparison":{"field":"endDate","operator":"_gte","value":{"literal":"now()"}}}]},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DealsBoolExp","operand":{"object":{"type":"Deals","comparableFields":[{"fieldName":"additionalBenefits","booleanExpressionType":"TextBoolExp"},{"fieldName":"customerSegment","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"dealId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"dealName","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"description","booleanExpressionType":"TextBoolExp"},{"fieldName":"endDate","booleanExpressionType":"DateBoolExp"},{"fieldName":"maxMonthlySpend","booleanExpressionType":"NumericBoolExp"},{"fieldName":"minMonthlySpend","booleanExpressionType":"NumericBoolExp"},{"fieldName":"startDate","booleanExpressionType":"DateBoolExp"},{"fieldName":"termsConditions","booleanExpressionType":"TextBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_DealsBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DealsAggExp","operand":{"object":{"aggregatedType":"Deals","aggregatableFields":[{"fieldName":"additionalBenefits","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"customerSegment","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"dealId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"dealName","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"description","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"endDate","description":null,"aggregateExpression":"DateAggExp"},{"fieldName":"maxMonthlySpend","description":null,"aggregateExpression":"NumericAggExp"},{"fieldName":"minMonthlySpend","description":null,"aggregateExpression":"NumericAggExp"},{"fieldName":"startDate","description":null,"aggregateExpression":"DateAggExp"},{"fieldName":"termsConditions","description":null,"aggregateExpression":"TextAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"DealsAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Devices","fields":[{"name":"brand","type":"Varchar!","description":null,"deprecated":null,"arguments":[]},{"name":"createdAt","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"image","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"model","type":"Varchar!","description":null,"deprecated":null,"arguments":[]},{"name":"sfRecord","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_Devices","inputTypeName":"Customer_DevicesInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"devices","fieldMapping":{"brand":{"column":{"name":"brand","argumentMapping":null}},"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"deviceId":{"column":{"name":"device_id","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"model":{"column":{"name":"model","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Devices","permissions":[{"role":"admin","output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"input":null},{"role":"customer","output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Devices","objectType":"Devices","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"devices","argumentMapping":{}},"filterExpressionType":"DevicesBoolExp","orderableFields":[{"fieldName":"brand","orderByDirections":{"enableAll":true}},{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"deviceId","orderByDirections":{"enableAll":true}},{"fieldName":"image","orderByDirections":{"enableAll":true}},{"fieldName":"model","orderByDirections":{"enableAll":true}},{"fieldName":"sfRecord","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}}],"aggregateExpression":"DevicesAggExp","graphql":{"selectUniques":[{"queryRootField":"devicesByDeviceId","uniqueIdentifier":["deviceId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"devices","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_DevicesOrderBy","apolloFederation":null,"filterInputTypeName":"DevicesFilterInput","aggregate":{"queryRootField":"devicesAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Devices","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customerPlanDevices","predicate":{"relationship":{"name":"customerPlan","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customerPlanDevices","sourceType":"Devices","target":{"model":{"name":"CustomerPlanDevices","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"deviceId"}]},"target":{"modelField":[{"fieldName":"deviceId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DevicesBoolExp","operand":{"object":{"type":"Devices","comparableFields":[{"fieldName":"brand","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"createdAt","booleanExpressionType":"TimestamptzBoolExp"},{"fieldName":"deviceId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"image","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"model","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"sfRecord","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"updatedAt","booleanExpressionType":"TimestamptzBoolExp"}],"comparableRelationships":[{"relationshipName":"customerPlanDevices","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_DevicesBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DevicesAggExp","operand":{"object":{"aggregatedType":"Devices","aggregatableFields":[{"fieldName":"brand","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"createdAt","description":null,"aggregateExpression":"TimestamptzAggExp"},{"fieldName":"deviceId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"image","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"model","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"sfRecord","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"updatedAt","description":null,"aggregateExpression":"TimestamptzAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"DevicesAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Network","fields":[{"name":"capacity","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"latitude","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"longitude","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"nodeId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"nodeName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"Varchar","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_Network","inputTypeName":"Customer_NetworkInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"network","fieldMapping":{"capacity":{"column":{"name":"capacity","argumentMapping":null}},"latitude":{"column":{"name":"latitude","argumentMapping":null}},"longitude":{"column":{"name":"longitude","argumentMapping":null}},"nodeId":{"column":{"name":"node_id","argumentMapping":null}},"nodeName":{"column":{"name":"node_name","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Network","permissions":[{"role":"admin","output":{"allowedFields":["capacity","latitude","longitude","nodeId","nodeName","status"]},"input":null},{"role":"customer","output":{"allowedFields":["capacity","nodeName","status"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Network","objectType":"Network","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"network","argumentMapping":{}},"filterExpressionType":"NetworkBoolExp","orderableFields":[{"fieldName":"capacity","orderByDirections":{"enableAll":true}},{"fieldName":"latitude","orderByDirections":{"enableAll":true}},{"fieldName":"longitude","orderByDirections":{"enableAll":true}},{"fieldName":"nodeId","orderByDirections":{"enableAll":true}},{"fieldName":"nodeName","orderByDirections":{"enableAll":true}},{"fieldName":"status","orderByDirections":{"enableAll":true}}],"aggregateExpression":"NetworkAggExp","graphql":{"selectUniques":[{"queryRootField":"networkByNodeId","uniqueIdentifier":["nodeId"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"network","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_NetworkOrderBy","apolloFederation":null,"filterInputTypeName":"NetworkFilterInput","aggregate":{"queryRootField":"networkAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Network","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customerNetworks","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customerNetworks","sourceType":"Network","target":{"model":{"name":"CustomerNetwork","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"nodeId"}]},"target":{"modelField":[{"fieldName":"nodeId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"NetworkBoolExp","operand":{"object":{"type":"Network","comparableFields":[{"fieldName":"capacity","booleanExpressionType":"Int4BoolExp"},{"fieldName":"latitude","booleanExpressionType":"NumericBoolExp"},{"fieldName":"longitude","booleanExpressionType":"NumericBoolExp"},{"fieldName":"nodeId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"nodeName","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"status","booleanExpressionType":"VarcharBoolExp"}],"comparableRelationships":[{"relationshipName":"customerNetworks","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_NetworkBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"NetworkAggExp","operand":{"object":{"aggregatedType":"Network","aggregatableFields":[{"fieldName":"capacity","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"latitude","description":null,"aggregateExpression":"NumericAggExp"},{"fieldName":"longitude","description":null,"aggregateExpression":"NumericAggExp"},{"fieldName":"nodeId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"nodeName","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"status","description":null,"aggregateExpression":"VarcharAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"NetworkAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Plans","fields":[{"name":"description","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"monthlyFee","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"planId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"planName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"sfRecord","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"type","type":"Text","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Customer_Plans","inputTypeName":"Customer_PlansInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"plans","fieldMapping":{"description":{"column":{"name":"description","argumentMapping":null}},"monthlyFee":{"column":{"name":"monthly_fee","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"planName":{"column":{"name":"plan_name","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"type":{"column":{"name":"type","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Plans","permissions":[{"role":"admin","output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"input":null},{"role":"customer","output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Plans","objectType":"Plans","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"aurora","collection":"plans","argumentMapping":{}},"filterExpressionType":"PlansBoolExp","orderableFields":[{"fieldName":"description","orderByDirections":{"enableAll":true}},{"fieldName":"monthlyFee","orderByDirections":{"enableAll":true}},{"fieldName":"planId","orderByDirections":{"enableAll":true}},{"fieldName":"planName","orderByDirections":{"enableAll":true}},{"fieldName":"sfRecord","orderByDirections":{"enableAll":true}},{"fieldName":"type","orderByDirections":{"enableAll":true}}],"aggregateExpression":"PlansAggExp","graphql":{"selectUniques":[{"queryRootField":"plansByPlanId","uniqueIdentifier":["planId"],"description":null,"deprecated":null,"subscription":null},{"queryRootField":"plansByPlanName","uniqueIdentifier":["planName"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"plans","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Customer_PlansOrderBy","apolloFederation":null,"filterInputTypeName":"PlansFilterInput","aggregate":{"queryRootField":"plansAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Plans","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"relationship":{"name":"customerPlans","predicate":{"relationship":{"name":"customer","predicate":{"fieldComparison":{"field":"customerId","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}}}}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customerPlans","sourceType":"Plans","target":{"model":{"name":"CustomerPlans","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"planId"}]},"target":{"modelField":[{"fieldName":"planId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"PlansBoolExp","operand":{"object":{"type":"Plans","comparableFields":[{"fieldName":"description","booleanExpressionType":"TextBoolExp"},{"fieldName":"monthlyFee","booleanExpressionType":"NumericBoolExp"},{"fieldName":"planId","booleanExpressionType":"Int4BoolExp"},{"fieldName":"planName","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"sfRecord","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"type","booleanExpressionType":"TextBoolExp"}],"comparableRelationships":[{"relationshipName":"customerPlans","booleanExpressionType":null,"aggregateBooleanExpressionType":null}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Customer_PlansBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"PlansAggExp","operand":{"object":{"aggregatedType":"Plans","aggregatableFields":[{"fieldName":"description","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"monthlyFee","description":null,"aggregateExpression":"NumericAggExp"},{"fieldName":"planId","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"planName","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"sfRecord","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"type","description":null,"aggregateExpression":"TextAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"PlansAggExp","deprecated":null},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Date","graphql":{"typeName":"Customer_Date"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int4","graphql":{"typeName":"Customer_Int4"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Varchar","graphql":{"typeName":"Customer_Varchar"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Numeric","graphql":{"typeName":"Customer_Numeric"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"date","representation":"Date","graphql":{"comparisonExpressionTypeName":"Customer_DateComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"int4","representation":"Int4","graphql":{"comparisonExpressionTypeName":"Customer_Int4ComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"varchar","representation":"Varchar","graphql":{"comparisonExpressionTypeName":"Customer_VarcharComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"numeric","representation":"Numeric","graphql":{"comparisonExpressionTypeName":"Customer_NumericComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Timestamptz","graphql":{"typeName":"Customer_Timestamptz"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Text","graphql":{"typeName":"Customer_Text"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"timestamptz","representation":"Timestamptz","graphql":{"comparisonExpressionTypeName":"Customer_TimestamptzComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"text","representation":"Text","graphql":{"comparisonExpressionTypeName":"Customer_TextComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Uuid","graphql":{"typeName":"Customer_Uuid"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"uuid","representation":"Uuid","graphql":{"comparisonExpressionTypeName":"Customer_UuidComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TextBoolExp","operand":{"scalar":{"type":"Text","comparisonOperators":[{"name":"_eq","argumentType":"Text!"},{"name":"_gt","argumentType":"Text!"},{"name":"_gte","argumentType":"Text!"},{"name":"_ilike","argumentType":"Text!"},{"name":"_in","argumentType":"[Text!]!"},{"name":"_iregex","argumentType":"Text!"},{"name":"_like","argumentType":"Text!"},{"name":"_lt","argumentType":"Text!"},{"name":"_lte","argumentType":"Text!"},{"name":"_neq","argumentType":"Text!"},{"name":"_nilike","argumentType":"Text!"},{"name":"_niregex","argumentType":"Text!"},{"name":"_nlike","argumentType":"Text!"},{"name":"_nregex","argumentType":"Text!"},{"name":"_regex","argumentType":"Text!"},{"name":"starts_with","argumentType":"Text!"},{"name":"ts_match_tt","argumentType":"Text!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"text","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TextBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"NumericBoolExp","operand":{"scalar":{"type":"Numeric","comparisonOperators":[{"name":"_eq","argumentType":"Numeric!"},{"name":"_gt","argumentType":"Numeric!"},{"name":"_gte","argumentType":"Numeric!"},{"name":"_in","argumentType":"[Numeric!]!"},{"name":"_lt","argumentType":"Numeric!"},{"name":"_lte","argumentType":"Numeric!"},{"name":"_neq","argumentType":"Numeric!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"numeric","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"NumericBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int4BoolExp","operand":{"scalar":{"type":"Int4","comparisonOperators":[{"name":"_eq","argumentType":"Int4!"},{"name":"_gt","argumentType":"Int4!"},{"name":"_gte","argumentType":"Int4!"},{"name":"_in","argumentType":"[Int4!]!"},{"name":"_lt","argumentType":"Int4!"},{"name":"_lte","argumentType":"Int4!"},{"name":"_neq","argumentType":"Int4!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"int4","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int4BoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"VarcharBoolExp","operand":{"scalar":{"type":"Varchar","comparisonOperators":[{"name":"_eq","argumentType":"Varchar!"},{"name":"_gt","argumentType":"Varchar!"},{"name":"_gte","argumentType":"Varchar!"},{"name":"_ilike","argumentType":"Varchar!"},{"name":"_in","argumentType":"[Varchar!]!"},{"name":"_iregex","argumentType":"Varchar!"},{"name":"_like","argumentType":"Varchar!"},{"name":"_lt","argumentType":"Varchar!"},{"name":"_lte","argumentType":"Varchar!"},{"name":"_neq","argumentType":"Varchar!"},{"name":"_nilike","argumentType":"Varchar!"},{"name":"_niregex","argumentType":"Varchar!"},{"name":"_nlike","argumentType":"Varchar!"},{"name":"_nregex","argumentType":"Varchar!"},{"name":"_regex","argumentType":"Varchar!"},{"name":"starts_with","argumentType":"Varchar!"},{"name":"ts_match_tt","argumentType":"Varchar!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"varchar","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"VarcharBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TextAggExp","operand":{"scalar":{"aggregatedType":"Text","aggregationFunctions":[{"name":"max","description":null,"returnType":"Text"},{"name":"min","description":null,"returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"text","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"TextAggExp","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"NumericAggExp","operand":{"scalar":{"aggregatedType":"Numeric","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Numeric"},{"name":"max","description":null,"returnType":"Numeric"},{"name":"min","description":null,"returnType":"Numeric"},{"name":"stddev","description":null,"returnType":"Numeric"},{"name":"stddev_pop","description":null,"returnType":"Numeric"},{"name":"stddev_samp","description":null,"returnType":"Numeric"},{"name":"sum","description":null,"returnType":"Numeric"},{"name":"var_pop","description":null,"returnType":"Numeric"},{"name":"var_samp","description":null,"returnType":"Numeric"},{"name":"variance","description":null,"returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"numeric","functionMapping":{"avg":{"name":"avg"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"NumericAggExp","deprecated":null},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int8","graphql":{"typeName":"Int8"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"aurora","dataConnectorScalarType":"int8","representation":"Int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int8BoolExp","operand":{"scalar":{"type":"Int8","comparisonOperators":[{"name":"_eq","argumentType":"Int8!"},{"name":"_gt","argumentType":"Int8!"},{"name":"_gte","argumentType":"Int8!"},{"name":"_in","argumentType":"[Int8!]!"},{"name":"_lt","argumentType":"Int8!"},{"name":"_lte","argumentType":"Int8!"},{"name":"_neq","argumentType":"Int8!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"int8","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int8BoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Numeric"},{"name":"bit_and","description":null,"returnType":"Int4"},{"name":"bit_or","description":null,"returnType":"Int4"},{"name":"bit_xor","description":null,"returnType":"Int4"},{"name":"max","description":null,"returnType":"Int4"},{"name":"min","description":null,"returnType":"Int4"},{"name":"stddev","description":null,"returnType":"Numeric"},{"name":"stddev_pop","description":null,"returnType":"Numeric"},{"name":"stddev_samp","description":null,"returnType":"Numeric"},{"name":"sum","description":null,"returnType":"Int8"},{"name":"var_pop","description":null,"returnType":"Numeric"},{"name":"var_samp","description":null,"returnType":"Numeric"},{"name":"variance","description":null,"returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Int4AggExp","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"VarcharAggExp","operand":{"scalar":{"aggregatedType":"Varchar","aggregationFunctions":[{"name":"max","description":null,"returnType":"Text"},{"name":"min","description":null,"returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"varchar","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"VarcharAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TimestamptzBoolExp","operand":{"scalar":{"type":"Timestamptz","comparisonOperators":[{"name":"_eq","argumentType":"Timestamptz!"},{"name":"_gt","argumentType":"Timestamptz!"},{"name":"_gte","argumentType":"Timestamptz!"},{"name":"_in","argumentType":"[Timestamptz!]!"},{"name":"_lt","argumentType":"Timestamptz!"},{"name":"_lte","argumentType":"Timestamptz!"},{"name":"_neq","argumentType":"Timestamptz!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"timestamptz","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TimestamptzBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"name":"max","description":null,"returnType":"Timestamptz"},{"name":"min","description":null,"returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"TimestamptzAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DateBoolExp","operand":{"scalar":{"type":"Date","comparisonOperators":[{"name":"_eq","argumentType":"Date!"},{"name":"_gt","argumentType":"Date!"},{"name":"_gte","argumentType":"Date!"},{"name":"_in","argumentType":"[Date!]!"},{"name":"_lt","argumentType":"Date!"},{"name":"_lte","argumentType":"Date!"},{"name":"_neq","argumentType":"Date!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"date","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"DateBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DateAggExp","operand":{"scalar":{"aggregatedType":"Date","aggregationFunctions":[{"name":"max","description":null,"returnType":"Date"},{"name":"min","description":null,"returnType":"Date"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"date","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"DateAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UuidBoolExp","operand":{"scalar":{"type":"Uuid","comparisonOperators":[{"name":"_eq","argumentType":"Uuid!"},{"name":"_gt","argumentType":"Uuid!"},{"name":"_gte","argumentType":"Uuid!"},{"name":"_in","argumentType":"[Uuid!]!"},{"name":"_lt","argumentType":"Uuid!"},{"name":"_lte","argumentType":"Uuid!"},{"name":"_neq","argumentType":"Uuid!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"uuid","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UuidBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"UuidAggExp","operand":{"scalar":{"aggregatedType":"Uuid","aggregationFunctions":[],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"aurora","dataConnectorScalarType":"uuid","functionMapping":{}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"UuidAggExp","deprecated":null},"description":null}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"aurora","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:6742"},"write":{"value":"http://local.hasura.dev:6742"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"date":{"representation":{"type":"date"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"date"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"date"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"date"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"date"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"date"}}}},"int4":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int4"}}}},"int8":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int8"}}}},"numeric":{"representation":{"type":"bigdecimal"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"numeric"}}}},"text":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"text"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"text"}}}},"timestamptz":{"representation":{"type":"timestamptz"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}}}},"uuid":{"representation":{"type":"uuid"},"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"uuid"}}}},"varchar":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}}}}},"object_types":{"billing":{"fields":{"billing_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"billing_id":{"type":{"type":"named","name":"int4"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"payment_status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"total_amount":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"credit_cards":{"fields":{"created_at":{"type":{"type":"named","name":"timestamptz"}},"credit_card_id":{"type":{"type":"named","name":"int4"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"cvv":{"type":{"type":"named","name":"int4"}},"expiry":{"type":{"type":"named","name":"date"}},"number":{"type":{"type":"named","name":"text"}},"updated_at":{"type":{"type":"named","name":"timestamptz"}}}},"customer_link":{"fields":{"customer_guid":{"type":{"type":"named","name":"uuid"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"id":{"type":{"type":"named","name":"int4"}}}},"customer_network":{"fields":{"customer_id":{"type":{"type":"named","name":"int4"}},"node_id":{"type":{"type":"named","name":"int4"}}}},"customer_plan_devices":{"fields":{"customer_plan_id":{"type":{"type":"named","name":"int4"}},"device_id":{"type":{"type":"named","name":"int4"}}}},"customer_plans":{"fields":{"cell_number":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"customer_plan_id":{"type":{"type":"named","name":"int4"}},"end_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"plan_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"customers":{"fields":{"address":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"city":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"country":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"customer_id":{"type":{"type":"named","name":"int4"}},"email":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"first_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"image":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"last_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"phone_number":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"postcode":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"segment":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"state":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"deals":{"fields":{"additional_benefits":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"customer_segment":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"deal_id":{"type":{"type":"named","name":"int4"}},"deal_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"description":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"end_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"max_monthly_spend":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"min_monthly_spend":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"terms_conditions":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"devices":{"fields":{"brand":{"type":{"type":"named","name":"varchar"}},"created_at":{"type":{"type":"named","name":"timestamptz"}},"device_id":{"type":{"type":"named","name":"int4"}},"image":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"model":{"type":{"type":"named","name":"varchar"}},"sf_record":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"updated_at":{"type":{"type":"named","name":"timestamptz"}}}},"network":{"fields":{"capacity":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"latitude":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"longitude":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"node_id":{"type":{"type":"named","name":"int4"}},"node_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"plans":{"fields":{"description":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"monthly_fee":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"plan_id":{"type":{"type":"named","name":"int4"}},"plan_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"sf_record":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"type":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_billing_billing_date":{"description":"Update the 'billing_date' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}}}},"update_column_billing_billing_id":{"description":"Update the 'billing_id' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_billing_customer_id":{"description":"Update the 'customer_id' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_billing_payment_status":{"description":"Update the 'payment_status' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_billing_total_amount":{"description":"Update the 'total_amount' column in the 'billing' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"update_column_credit_cards_created_at":{"description":"Update the 'created_at' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"update_column_credit_cards_credit_card_id":{"description":"Update the 'credit_card_id' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_credit_cards_customer_id":{"description":"Update the 'customer_id' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_credit_cards_cvv":{"description":"Update the 'cvv' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_credit_cards_expiry":{"description":"Update the 'expiry' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"date"}}}},"update_column_credit_cards_number":{"description":"Update the 'number' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"text"}}}},"update_column_credit_cards_updated_at":{"description":"Update the 'updated_at' column in the 'credit_cards' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"update_column_customer_link_customer_guid":{"description":"Update the 'customer_guid' column in the 'customer_link' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"uuid"}}}},"update_column_customer_link_customer_id":{"description":"Update the 'customer_id' column in the 'customer_link' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_customer_link_id":{"description":"Update the 'id' column in the 'customer_link' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customer_network_customer_id":{"description":"Update the 'customer_id' column in the 'customer_network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customer_network_node_id":{"description":"Update the 'node_id' column in the 'customer_network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customer_plan_devices_customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customer_plan_devices_device_id":{"description":"Update the 'device_id' column in the 'customer_plan_devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customer_plans_cell_number":{"description":"Update the 'cell_number' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customer_plans_customer_id":{"description":"Update the 'customer_id' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_customer_plans_customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customer_plans_end_date":{"description":"Update the 'end_date' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}}}},"update_column_customer_plans_plan_id":{"description":"Update the 'plan_id' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_customer_plans_start_date":{"description":"Update the 'start_date' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}}}},"update_column_customer_plans_status":{"description":"Update the 'status' column in the 'customer_plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_address":{"description":"Update the 'address' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_city":{"description":"Update the 'city' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_country":{"description":"Update the 'country' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_customer_id":{"description":"Update the 'customer_id' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_customers_email":{"description":"Update the 'email' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_first_name":{"description":"Update the 'first_name' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_image":{"description":"Update the 'image' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_last_name":{"description":"Update the 'last_name' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_phone_number":{"description":"Update the 'phone_number' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_postcode":{"description":"Update the 'postcode' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_segment":{"description":"Update the 'segment' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_customers_state":{"description":"Update the 'state' column in the 'customers' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_deals_additional_benefits":{"description":"Update the 'additional_benefits' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_deals_customer_segment":{"description":"Update the 'customer_segment' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_deals_deal_id":{"description":"Update the 'deal_id' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_deals_deal_name":{"description":"Update the 'deal_name' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_deals_description":{"description":"Update the 'description' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_deals_end_date":{"description":"Update the 'end_date' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}}}},"update_column_deals_max_monthly_spend":{"description":"Update the 'max_monthly_spend' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"update_column_deals_min_monthly_spend":{"description":"Update the 'min_monthly_spend' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"update_column_deals_start_date":{"description":"Update the 'start_date' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}}}},"update_column_deals_terms_conditions":{"description":"Update the 'terms_conditions' column in the 'deals' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_devices_brand":{"description":"Update the 'brand' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"varchar"}}}},"update_column_devices_created_at":{"description":"Update the 'created_at' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"update_column_devices_device_id":{"description":"Update the 'device_id' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_devices_image":{"description":"Update the 'image' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_devices_model":{"description":"Update the 'model' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"varchar"}}}},"update_column_devices_sf_record":{"description":"Update the 'sf_record' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_devices_updated_at":{"description":"Update the 'updated_at' column in the 'devices' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"update_column_network_capacity":{"description":"Update the 'capacity' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_network_latitude":{"description":"Update the 'latitude' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"update_column_network_longitude":{"description":"Update the 'longitude' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"update_column_network_node_id":{"description":"Update the 'node_id' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_network_node_name":{"description":"Update the 'node_name' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_network_status":{"description":"Update the 'status' column in the 'network' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_plans_description":{"description":"Update the 'description' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_plans_monthly_fee":{"description":"Update the 'monthly_fee' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"update_column_plans_plan_id":{"description":"Update the 'plan_id' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_plans_plan_name":{"description":"Update the 'plan_name' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_plans_sf_record":{"description":"Update the 'sf_record' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_plans_type":{"description":"Update the 'type' column in the 'plans' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"v2_delete_billing_by_billing_id_response":{"description":"Responses from the 'v2_delete_billing_by_billing_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"billing"}}}}},"v2_delete_credit_cards_by_credit_card_id_response":{"description":"Responses from the 'v2_delete_credit_cards_by_credit_card_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"credit_cards"}}}}},"v2_delete_customer_link_by_customer_id_response":{"description":"Responses from the 'v2_delete_customer_link_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_link"}}}}},"v2_delete_customer_link_by_id_response":{"description":"Responses from the 'v2_delete_customer_link_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_link"}}}}},"v2_delete_customer_network_by_customer_id_and_node_id_response":{"description":"Responses from the 'v2_delete_customer_network_by_customer_id_and_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_network"}}}}},"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id_response":{"description":"Responses from the 'v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_plan_devices"}}}}},"v2_delete_customer_plans_by_customer_plan_id_response":{"description":"Responses from the 'v2_delete_customer_plans_by_customer_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_plans"}}}}},"v2_delete_customers_by_customer_id_response":{"description":"Responses from the 'v2_delete_customers_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customers"}}}}},"v2_delete_customers_by_phone_number_response":{"description":"Responses from the 'v2_delete_customers_by_phone_number' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customers"}}}}},"v2_delete_deals_by_deal_id_response":{"description":"Responses from the 'v2_delete_deals_by_deal_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"deals"}}}}},"v2_delete_devices_by_device_id_response":{"description":"Responses from the 'v2_delete_devices_by_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"devices"}}}}},"v2_delete_network_by_node_id_response":{"description":"Responses from the 'v2_delete_network_by_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"network"}}}}},"v2_delete_plans_by_plan_id_response":{"description":"Responses from the 'v2_delete_plans_by_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"plans"}}}}},"v2_delete_plans_by_plan_name_response":{"description":"Responses from the 'v2_delete_plans_by_plan_name' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"plans"}}}}},"v2_insert_billing_object":{"fields":{"billing_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"billing_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"payment_status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"total_amount":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}}},"v2_insert_billing_response":{"description":"Responses from the 'v2_insert_billing' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"billing"}}}}},"v2_insert_credit_cards_object":{"fields":{"created_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"credit_card_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"cvv":{"type":{"type":"named","name":"int4"}},"expiry":{"type":{"type":"named","name":"date"}},"number":{"type":{"type":"named","name":"text"}},"updated_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}}},"v2_insert_credit_cards_response":{"description":"Responses from the 'v2_insert_credit_cards' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"credit_cards"}}}}},"v2_insert_customer_link_object":{"fields":{"customer_guid":{"type":{"type":"named","name":"uuid"}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"v2_insert_customer_link_response":{"description":"Responses from the 'v2_insert_customer_link' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_link"}}}}},"v2_insert_customer_network_object":{"fields":{"customer_id":{"type":{"type":"named","name":"int4"}},"node_id":{"type":{"type":"named","name":"int4"}}}},"v2_insert_customer_network_response":{"description":"Responses from the 'v2_insert_customer_network' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_network"}}}}},"v2_insert_customer_plan_devices_object":{"fields":{"customer_plan_id":{"type":{"type":"named","name":"int4"}},"device_id":{"type":{"type":"named","name":"int4"}}}},"v2_insert_customer_plan_devices_response":{"description":"Responses from the 'v2_insert_customer_plan_devices' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_plan_devices"}}}}},"v2_insert_customer_plans_object":{"fields":{"cell_number":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"customer_plan_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"end_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"plan_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"v2_insert_customer_plans_response":{"description":"Responses from the 'v2_insert_customer_plans' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_plans"}}}}},"v2_insert_customers_object":{"fields":{"address":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"city":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"country":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"email":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"first_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"image":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"last_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"phone_number":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"postcode":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"segment":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"state":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"v2_insert_customers_response":{"description":"Responses from the 'v2_insert_customers' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customers"}}}}},"v2_insert_deals_object":{"fields":{"additional_benefits":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"customer_segment":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"deal_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"deal_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"description":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"end_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"max_monthly_spend":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"min_monthly_spend":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"start_date":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"date"}}},"terms_conditions":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"v2_insert_deals_response":{"description":"Responses from the 'v2_insert_deals' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"deals"}}}}},"v2_insert_devices_object":{"fields":{"brand":{"type":{"type":"named","name":"varchar"}},"created_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"device_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"image":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"model":{"type":{"type":"named","name":"varchar"}},"sf_record":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}}},"v2_insert_devices_response":{"description":"Responses from the 'v2_insert_devices' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"devices"}}}}},"v2_insert_network_object":{"fields":{"capacity":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"latitude":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"longitude":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"node_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"node_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"v2_insert_network_response":{"description":"Responses from the 'v2_insert_network' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"network"}}}}},"v2_insert_plans_object":{"fields":{"description":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"monthly_fee":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"plan_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"plan_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"sf_record":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"type":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"v2_insert_plans_response":{"description":"Responses from the 'v2_insert_plans' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"plans"}}}}},"v2_update_billing_by_billing_id_response":{"description":"Responses from the 'v2_update_billing_by_billing_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"billing"}}}}},"v2_update_billing_by_billing_id_update_columns":{"description":"Update the columns of the 'billing' collection","fields":{"billing_date":{"description":"Update the 'billing_date' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_billing_billing_date"}}},"billing_id":{"description":"Update the 'billing_id' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_billing_billing_id"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_billing_customer_id"}}},"payment_status":{"description":"Update the 'payment_status' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_billing_payment_status"}}},"total_amount":{"description":"Update the 'total_amount' column in the 'billing' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_billing_total_amount"}}}}},"v2_update_credit_cards_by_credit_card_id_response":{"description":"Responses from the 'v2_update_credit_cards_by_credit_card_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"credit_cards"}}}}},"v2_update_credit_cards_by_credit_card_id_update_columns":{"description":"Update the columns of the 'credit_cards' collection","fields":{"created_at":{"description":"Update the 'created_at' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_created_at"}}},"credit_card_id":{"description":"Update the 'credit_card_id' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_credit_card_id"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_customer_id"}}},"cvv":{"description":"Update the 'cvv' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_cvv"}}},"expiry":{"description":"Update the 'expiry' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_expiry"}}},"number":{"description":"Update the 'number' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_number"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'credit_cards' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_credit_cards_updated_at"}}}}},"v2_update_customer_link_by_customer_id_response":{"description":"Responses from the 'v2_update_customer_link_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_link"}}}}},"v2_update_customer_link_by_customer_id_update_columns":{"description":"Update the columns of the 'customer_link' collection","fields":{"customer_guid":{"description":"Update the 'customer_guid' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_link_customer_guid"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_link_customer_id"}}},"id":{"description":"Update the 'id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_link_id"}}}}},"v2_update_customer_link_by_id_response":{"description":"Responses from the 'v2_update_customer_link_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_link"}}}}},"v2_update_customer_link_by_id_update_columns":{"description":"Update the columns of the 'customer_link' collection","fields":{"customer_guid":{"description":"Update the 'customer_guid' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_link_customer_guid"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_link_customer_id"}}},"id":{"description":"Update the 'id' column in the 'customer_link' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_link_id"}}}}},"v2_update_customer_network_by_customer_id_and_node_id_response":{"description":"Responses from the 'v2_update_customer_network_by_customer_id_and_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_network"}}}}},"v2_update_customer_network_by_customer_id_and_node_id_update_columns":{"description":"Update the columns of the 'customer_network' collection","fields":{"customer_id":{"description":"Update the 'customer_id' column in the 'customer_network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_network_customer_id"}}},"node_id":{"description":"Update the 'node_id' column in the 'customer_network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_network_node_id"}}}}},"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_response":{"description":"Responses from the 'v2_update_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_plan_devices"}}}}},"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_update_columns":{"description":"Update the columns of the 'customer_plan_devices' collection","fields":{"customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plan_devices_customer_plan_id"}}},"device_id":{"description":"Update the 'device_id' column in the 'customer_plan_devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plan_devices_device_id"}}}}},"v2_update_customer_plans_by_customer_plan_id_response":{"description":"Responses from the 'v2_update_customer_plans_by_customer_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customer_plans"}}}}},"v2_update_customer_plans_by_customer_plan_id_update_columns":{"description":"Update the columns of the 'customer_plans' collection","fields":{"cell_number":{"description":"Update the 'cell_number' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_cell_number"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_customer_id"}}},"customer_plan_id":{"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_customer_plan_id"}}},"end_date":{"description":"Update the 'end_date' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_end_date"}}},"plan_id":{"description":"Update the 'plan_id' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_plan_id"}}},"start_date":{"description":"Update the 'start_date' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_start_date"}}},"status":{"description":"Update the 'status' column in the 'customer_plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customer_plans_status"}}}}},"v2_update_customers_by_customer_id_response":{"description":"Responses from the 'v2_update_customers_by_customer_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customers"}}}}},"v2_update_customers_by_customer_id_update_columns":{"description":"Update the columns of the 'customers' collection","fields":{"address":{"description":"Update the 'address' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_address"}}},"city":{"description":"Update the 'city' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_city"}}},"country":{"description":"Update the 'country' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_country"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_customer_id"}}},"email":{"description":"Update the 'email' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_email"}}},"first_name":{"description":"Update the 'first_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_first_name"}}},"image":{"description":"Update the 'image' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_image"}}},"last_name":{"description":"Update the 'last_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_last_name"}}},"phone_number":{"description":"Update the 'phone_number' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_phone_number"}}},"postcode":{"description":"Update the 'postcode' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_postcode"}}},"segment":{"description":"Update the 'segment' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_segment"}}},"state":{"description":"Update the 'state' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_state"}}}}},"v2_update_customers_by_phone_number_response":{"description":"Responses from the 'v2_update_customers_by_phone_number' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"customers"}}}}},"v2_update_customers_by_phone_number_update_columns":{"description":"Update the columns of the 'customers' collection","fields":{"address":{"description":"Update the 'address' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_address"}}},"city":{"description":"Update the 'city' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_city"}}},"country":{"description":"Update the 'country' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_country"}}},"customer_id":{"description":"Update the 'customer_id' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_customer_id"}}},"email":{"description":"Update the 'email' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_email"}}},"first_name":{"description":"Update the 'first_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_first_name"}}},"image":{"description":"Update the 'image' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_image"}}},"last_name":{"description":"Update the 'last_name' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_last_name"}}},"phone_number":{"description":"Update the 'phone_number' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_phone_number"}}},"postcode":{"description":"Update the 'postcode' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_postcode"}}},"segment":{"description":"Update the 'segment' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_segment"}}},"state":{"description":"Update the 'state' column in the 'customers' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_customers_state"}}}}},"v2_update_deals_by_deal_id_response":{"description":"Responses from the 'v2_update_deals_by_deal_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"deals"}}}}},"v2_update_deals_by_deal_id_update_columns":{"description":"Update the columns of the 'deals' collection","fields":{"additional_benefits":{"description":"Update the 'additional_benefits' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_additional_benefits"}}},"customer_segment":{"description":"Update the 'customer_segment' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_customer_segment"}}},"deal_id":{"description":"Update the 'deal_id' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_deal_id"}}},"deal_name":{"description":"Update the 'deal_name' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_deal_name"}}},"description":{"description":"Update the 'description' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_description"}}},"end_date":{"description":"Update the 'end_date' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_end_date"}}},"max_monthly_spend":{"description":"Update the 'max_monthly_spend' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_max_monthly_spend"}}},"min_monthly_spend":{"description":"Update the 'min_monthly_spend' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_min_monthly_spend"}}},"start_date":{"description":"Update the 'start_date' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_start_date"}}},"terms_conditions":{"description":"Update the 'terms_conditions' column in the 'deals' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_deals_terms_conditions"}}}}},"v2_update_devices_by_device_id_response":{"description":"Responses from the 'v2_update_devices_by_device_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"devices"}}}}},"v2_update_devices_by_device_id_update_columns":{"description":"Update the columns of the 'devices' collection","fields":{"brand":{"description":"Update the 'brand' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_brand"}}},"created_at":{"description":"Update the 'created_at' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_created_at"}}},"device_id":{"description":"Update the 'device_id' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_device_id"}}},"image":{"description":"Update the 'image' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_image"}}},"model":{"description":"Update the 'model' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_model"}}},"sf_record":{"description":"Update the 'sf_record' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_sf_record"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'devices' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_devices_updated_at"}}}}},"v2_update_network_by_node_id_response":{"description":"Responses from the 'v2_update_network_by_node_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"network"}}}}},"v2_update_network_by_node_id_update_columns":{"description":"Update the columns of the 'network' collection","fields":{"capacity":{"description":"Update the 'capacity' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_network_capacity"}}},"latitude":{"description":"Update the 'latitude' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_network_latitude"}}},"longitude":{"description":"Update the 'longitude' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_network_longitude"}}},"node_id":{"description":"Update the 'node_id' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_network_node_id"}}},"node_name":{"description":"Update the 'node_name' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_network_node_name"}}},"status":{"description":"Update the 'status' column in the 'network' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_network_status"}}}}},"v2_update_plans_by_plan_id_response":{"description":"Responses from the 'v2_update_plans_by_plan_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"plans"}}}}},"v2_update_plans_by_plan_id_update_columns":{"description":"Update the columns of the 'plans' collection","fields":{"description":{"description":"Update the 'description' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_description"}}},"monthly_fee":{"description":"Update the 'monthly_fee' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_monthly_fee"}}},"plan_id":{"description":"Update the 'plan_id' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_plan_id"}}},"plan_name":{"description":"Update the 'plan_name' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_plan_name"}}},"sf_record":{"description":"Update the 'sf_record' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_sf_record"}}},"type":{"description":"Update the 'type' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_type"}}}}},"v2_update_plans_by_plan_name_response":{"description":"Responses from the 'v2_update_plans_by_plan_name' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"plans"}}}}},"v2_update_plans_by_plan_name_update_columns":{"description":"Update the columns of the 'plans' collection","fields":{"description":{"description":"Update the 'description' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_description"}}},"monthly_fee":{"description":"Update the 'monthly_fee' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_monthly_fee"}}},"plan_id":{"description":"Update the 'plan_id' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_plan_id"}}},"plan_name":{"description":"Update the 'plan_name' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_plan_name"}}},"sf_record":{"description":"Update the 'sf_record' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_sf_record"}}},"type":{"description":"Update the 'type' column in the 'plans' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_plans_type"}}}}}},"collections":[{"name":"billing","arguments":{},"type":"billing","uniqueness_constraints":{"billing_pkey":{"unique_columns":["billing_id"]}},"foreign_keys":{"billing_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"}}},{"name":"credit_cards","arguments":{},"type":"credit_cards","uniqueness_constraints":{"credit_cards_pkey":{"unique_columns":["credit_card_id"]}},"foreign_keys":{"credit_cards_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"}}},{"name":"customer_link","arguments":{},"type":"customer_link","uniqueness_constraints":{"customer_link_customer_id_key":{"unique_columns":["customer_id"]},"customer_link_pkey":{"unique_columns":["id"]}},"foreign_keys":{"customer_link_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"}}},{"name":"customer_network","arguments":{},"type":"customer_network","uniqueness_constraints":{"customer_network_pkey":{"unique_columns":["customer_id","node_id"]}},"foreign_keys":{"customer_network_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"},"customer_network_node_id_fkey":{"column_mapping":{"node_id":"node_id"},"foreign_collection":"network"}}},{"name":"customer_plan_devices","arguments":{},"type":"customer_plan_devices","uniqueness_constraints":{"customer_plan_devices_pkey":{"unique_columns":["customer_plan_id","device_id"]}},"foreign_keys":{"customer_plan_devices_customer_plan_id_fkey":{"column_mapping":{"customer_plan_id":"customer_plan_id"},"foreign_collection":"customer_plans"},"customer_plan_devices_device_id_fkey":{"column_mapping":{"device_id":"device_id"},"foreign_collection":"devices"}}},{"name":"customer_plans","arguments":{},"type":"customer_plans","uniqueness_constraints":{"customer_plans_pkey":{"unique_columns":["customer_plan_id"]}},"foreign_keys":{"customer_plans_customer_id_fkey":{"column_mapping":{"customer_id":"customer_id"},"foreign_collection":"customers"},"customer_plans_plan_id_fkey":{"column_mapping":{"plan_id":"plan_id"},"foreign_collection":"plans"}}},{"name":"customers","arguments":{},"type":"customers","uniqueness_constraints":{"customers_phone_number_key":{"unique_columns":["phone_number"]},"customers_pkey":{"unique_columns":["customer_id"]}},"foreign_keys":{}},{"name":"deals","arguments":{},"type":"deals","uniqueness_constraints":{"deals_pkey":{"unique_columns":["deal_id"]}},"foreign_keys":{}},{"name":"devices","arguments":{},"type":"devices","uniqueness_constraints":{"devices_pkey":{"unique_columns":["device_id"]}},"foreign_keys":{}},{"name":"network","arguments":{},"type":"network","uniqueness_constraints":{"network_pkey":{"unique_columns":["node_id"]}},"foreign_keys":{}},{"name":"plans","arguments":{},"type":"plans","uniqueness_constraints":{"plans_pkey":{"unique_columns":["plan_id"]},"plans_plan_name_key":{"unique_columns":["plan_name"]}},"foreign_keys":{}}],"functions":[],"procedures":[{"name":"v2_delete_billing_by_billing_id","description":"Delete any row on the 'billing' collection using the 'billing_id' key","arguments":{"key_billing_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'billing' collection","type":{"type":"predicate","object_type_name":"billing"}}},"result_type":{"type":"named","name":"v2_delete_billing_by_billing_id_response"}},{"name":"v2_delete_credit_cards_by_credit_card_id","description":"Delete any row on the 'credit_cards' collection using the 'credit_card_id' key","arguments":{"key_credit_card_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'credit_cards' collection","type":{"type":"predicate","object_type_name":"credit_cards"}}},"result_type":{"type":"named","name":"v2_delete_credit_cards_by_credit_card_id_response"}},{"name":"v2_delete_customer_link_by_customer_id","description":"Delete any row on the 'customer_link' collection using the 'customer_id' key","arguments":{"key_customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"pre_check":{"description":"Delete permission predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}}},"result_type":{"type":"named","name":"v2_delete_customer_link_by_customer_id_response"}},{"name":"v2_delete_customer_link_by_id","description":"Delete any row on the 'customer_link' collection using the 'id' key","arguments":{"key_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}}},"result_type":{"type":"named","name":"v2_delete_customer_link_by_id_response"}},{"name":"v2_delete_customer_network_by_customer_id_and_node_id","description":"Delete any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys","arguments":{"key_customer_id":{"type":{"type":"named","name":"int4"}},"key_node_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'customer_network' collection","type":{"type":"predicate","object_type_name":"customer_network"}}},"result_type":{"type":"named","name":"v2_delete_customer_network_by_customer_id_and_node_id_response"}},{"name":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id","description":"Delete any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys","arguments":{"key_customer_plan_id":{"type":{"type":"named","name":"int4"}},"key_device_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'customer_plan_devices' collection","type":{"type":"predicate","object_type_name":"customer_plan_devices"}}},"result_type":{"type":"named","name":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id_response"}},{"name":"v2_delete_customer_plans_by_customer_plan_id","description":"Delete any row on the 'customer_plans' collection using the 'customer_plan_id' key","arguments":{"key_customer_plan_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'customer_plans' collection","type":{"type":"predicate","object_type_name":"customer_plans"}}},"result_type":{"type":"named","name":"v2_delete_customer_plans_by_customer_plan_id_response"}},{"name":"v2_delete_customers_by_customer_id","description":"Delete any row on the 'customers' collection using the 'customer_id' key","arguments":{"key_customer_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}}},"result_type":{"type":"named","name":"v2_delete_customers_by_customer_id_response"}},{"name":"v2_delete_customers_by_phone_number","description":"Delete any row on the 'customers' collection using the 'phone_number' key","arguments":{"key_phone_number":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"pre_check":{"description":"Delete permission predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}}},"result_type":{"type":"named","name":"v2_delete_customers_by_phone_number_response"}},{"name":"v2_delete_deals_by_deal_id","description":"Delete any row on the 'deals' collection using the 'deal_id' key","arguments":{"key_deal_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'deals' collection","type":{"type":"predicate","object_type_name":"deals"}}},"result_type":{"type":"named","name":"v2_delete_deals_by_deal_id_response"}},{"name":"v2_delete_devices_by_device_id","description":"Delete any row on the 'devices' collection using the 'device_id' key","arguments":{"key_device_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'devices' collection","type":{"type":"predicate","object_type_name":"devices"}}},"result_type":{"type":"named","name":"v2_delete_devices_by_device_id_response"}},{"name":"v2_delete_network_by_node_id","description":"Delete any row on the 'network' collection using the 'node_id' key","arguments":{"key_node_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'network' collection","type":{"type":"predicate","object_type_name":"network"}}},"result_type":{"type":"named","name":"v2_delete_network_by_node_id_response"}},{"name":"v2_delete_plans_by_plan_id","description":"Delete any row on the 'plans' collection using the 'plan_id' key","arguments":{"key_plan_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}}},"result_type":{"type":"named","name":"v2_delete_plans_by_plan_id_response"}},{"name":"v2_delete_plans_by_plan_name","description":"Delete any row on the 'plans' collection using the 'plan_name' key","arguments":{"key_plan_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"pre_check":{"description":"Delete permission predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}}},"result_type":{"type":"named","name":"v2_delete_plans_by_plan_name_response"}},{"name":"v2_insert_billing","description":"Insert into the billing table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_billing_object"}}},"post_check":{"description":"Insert permission predicate over the 'billing' collection","type":{"type":"predicate","object_type_name":"billing"}}},"result_type":{"type":"named","name":"v2_insert_billing_response"}},{"name":"v2_insert_credit_cards","description":"Insert into the credit_cards table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_credit_cards_object"}}},"post_check":{"description":"Insert permission predicate over the 'credit_cards' collection","type":{"type":"predicate","object_type_name":"credit_cards"}}},"result_type":{"type":"named","name":"v2_insert_credit_cards_response"}},{"name":"v2_insert_customer_link","description":"Insert into the customer_link table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_customer_link_object"}}},"post_check":{"description":"Insert permission predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}}},"result_type":{"type":"named","name":"v2_insert_customer_link_response"}},{"name":"v2_insert_customer_network","description":"Insert into the customer_network table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_customer_network_object"}}},"post_check":{"description":"Insert permission predicate over the 'customer_network' collection","type":{"type":"predicate","object_type_name":"customer_network"}}},"result_type":{"type":"named","name":"v2_insert_customer_network_response"}},{"name":"v2_insert_customer_plan_devices","description":"Insert into the customer_plan_devices table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_customer_plan_devices_object"}}},"post_check":{"description":"Insert permission predicate over the 'customer_plan_devices' collection","type":{"type":"predicate","object_type_name":"customer_plan_devices"}}},"result_type":{"type":"named","name":"v2_insert_customer_plan_devices_response"}},{"name":"v2_insert_customer_plans","description":"Insert into the customer_plans table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_customer_plans_object"}}},"post_check":{"description":"Insert permission predicate over the 'customer_plans' collection","type":{"type":"predicate","object_type_name":"customer_plans"}}},"result_type":{"type":"named","name":"v2_insert_customer_plans_response"}},{"name":"v2_insert_customers","description":"Insert into the customers table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_customers_object"}}},"post_check":{"description":"Insert permission predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}}},"result_type":{"type":"named","name":"v2_insert_customers_response"}},{"name":"v2_insert_deals","description":"Insert into the deals table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_deals_object"}}},"post_check":{"description":"Insert permission predicate over the 'deals' collection","type":{"type":"predicate","object_type_name":"deals"}}},"result_type":{"type":"named","name":"v2_insert_deals_response"}},{"name":"v2_insert_devices","description":"Insert into the devices table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_devices_object"}}},"post_check":{"description":"Insert permission predicate over the 'devices' collection","type":{"type":"predicate","object_type_name":"devices"}}},"result_type":{"type":"named","name":"v2_insert_devices_response"}},{"name":"v2_insert_network","description":"Insert into the network table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_network_object"}}},"post_check":{"description":"Insert permission predicate over the 'network' collection","type":{"type":"predicate","object_type_name":"network"}}},"result_type":{"type":"named","name":"v2_insert_network_response"}},{"name":"v2_insert_plans","description":"Insert into the plans table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_plans_object"}}},"post_check":{"description":"Insert permission predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}}},"result_type":{"type":"named","name":"v2_insert_plans_response"}},{"name":"v2_update_billing_by_billing_id","description":"Update any row on the 'billing' collection using the 'billing_id' key","arguments":{"key_billing_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'billing' collection","type":{"type":"predicate","object_type_name":"billing"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'billing' collection","type":{"type":"predicate","object_type_name":"billing"}},"update_columns":{"type":{"type":"named","name":"v2_update_billing_by_billing_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_billing_by_billing_id_response"}},{"name":"v2_update_credit_cards_by_credit_card_id","description":"Update any row on the 'credit_cards' collection using the 'credit_card_id' key","arguments":{"key_credit_card_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'credit_cards' collection","type":{"type":"predicate","object_type_name":"credit_cards"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'credit_cards' collection","type":{"type":"predicate","object_type_name":"credit_cards"}},"update_columns":{"type":{"type":"named","name":"v2_update_credit_cards_by_credit_card_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_credit_cards_by_credit_card_id_response"}},{"name":"v2_update_customer_link_by_customer_id","description":"Update any row on the 'customer_link' collection using the 'customer_id' key","arguments":{"key_customer_id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}},"update_columns":{"type":{"type":"named","name":"v2_update_customer_link_by_customer_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customer_link_by_customer_id_response"}},{"name":"v2_update_customer_link_by_id","description":"Update any row on the 'customer_link' collection using the 'id' key","arguments":{"key_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_link' collection","type":{"type":"predicate","object_type_name":"customer_link"}},"update_columns":{"type":{"type":"named","name":"v2_update_customer_link_by_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customer_link_by_id_response"}},{"name":"v2_update_customer_network_by_customer_id_and_node_id","description":"Update any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys","arguments":{"key_customer_id":{"type":{"type":"named","name":"int4"}},"key_node_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_network' collection","type":{"type":"predicate","object_type_name":"customer_network"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_network' collection","type":{"type":"predicate","object_type_name":"customer_network"}},"update_columns":{"type":{"type":"named","name":"v2_update_customer_network_by_customer_id_and_node_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customer_network_by_customer_id_and_node_id_response"}},{"name":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id","description":"Update any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys","arguments":{"key_customer_plan_id":{"type":{"type":"named","name":"int4"}},"key_device_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_plan_devices' collection","type":{"type":"predicate","object_type_name":"customer_plan_devices"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_plan_devices' collection","type":{"type":"predicate","object_type_name":"customer_plan_devices"}},"update_columns":{"type":{"type":"named","name":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_response"}},{"name":"v2_update_customer_plans_by_customer_plan_id","description":"Update any row on the 'customer_plans' collection using the 'customer_plan_id' key","arguments":{"key_customer_plan_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'customer_plans' collection","type":{"type":"predicate","object_type_name":"customer_plans"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customer_plans' collection","type":{"type":"predicate","object_type_name":"customer_plans"}},"update_columns":{"type":{"type":"named","name":"v2_update_customer_plans_by_customer_plan_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customer_plans_by_customer_plan_id_response"}},{"name":"v2_update_customers_by_customer_id","description":"Update any row on the 'customers' collection using the 'customer_id' key","arguments":{"key_customer_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}},"update_columns":{"type":{"type":"named","name":"v2_update_customers_by_customer_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customers_by_customer_id_response"}},{"name":"v2_update_customers_by_phone_number","description":"Update any row on the 'customers' collection using the 'phone_number' key","arguments":{"key_phone_number":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"post_check":{"description":"Update permission post-condition predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'customers' collection","type":{"type":"predicate","object_type_name":"customers"}},"update_columns":{"type":{"type":"named","name":"v2_update_customers_by_phone_number_update_columns"}}},"result_type":{"type":"named","name":"v2_update_customers_by_phone_number_response"}},{"name":"v2_update_deals_by_deal_id","description":"Update any row on the 'deals' collection using the 'deal_id' key","arguments":{"key_deal_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'deals' collection","type":{"type":"predicate","object_type_name":"deals"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'deals' collection","type":{"type":"predicate","object_type_name":"deals"}},"update_columns":{"type":{"type":"named","name":"v2_update_deals_by_deal_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_deals_by_deal_id_response"}},{"name":"v2_update_devices_by_device_id","description":"Update any row on the 'devices' collection using the 'device_id' key","arguments":{"key_device_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'devices' collection","type":{"type":"predicate","object_type_name":"devices"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'devices' collection","type":{"type":"predicate","object_type_name":"devices"}},"update_columns":{"type":{"type":"named","name":"v2_update_devices_by_device_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_devices_by_device_id_response"}},{"name":"v2_update_network_by_node_id","description":"Update any row on the 'network' collection using the 'node_id' key","arguments":{"key_node_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'network' collection","type":{"type":"predicate","object_type_name":"network"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'network' collection","type":{"type":"predicate","object_type_name":"network"}},"update_columns":{"type":{"type":"named","name":"v2_update_network_by_node_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_network_by_node_id_response"}},{"name":"v2_update_plans_by_plan_id","description":"Update any row on the 'plans' collection using the 'plan_id' key","arguments":{"key_plan_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}},"update_columns":{"type":{"type":"named","name":"v2_update_plans_by_plan_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_plans_by_plan_id_response"}},{"name":"v2_update_plans_by_plan_name","description":"Update any row on the 'plans' collection using the 'plan_name' key","arguments":{"key_plan_name":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"post_check":{"description":"Update permission post-condition predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'plans' collection","type":{"type":"predicate","object_type_name":"plans"}},"update_columns":{"type":{"type":"named","name":"v2_update_plans_by_plan_name_update_columns"}}},"result_type":{"type":"named","name":"v2_update_plans_by_plan_name_response"}}]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"exists":{}},"mutation":{"transactional":{},"explain":{}},"relationships":{"relation_comparisons":{},"order_by_aggregate":{}}}}},"argumentPresets":[],"responseHeaders":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatBillingDate","sourceType":"Billing","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"billingDate"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"maskCreditCard","sourceType":"CreditCards","target":{"command":{"name":"MaskCardNumber","subgraph":"customer"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"number"}]},"target":{"argument":{"argumentName":"cardNumber"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"customerPreferences","sourceType":"CustomerLink","target":{"model":{"name":"CustomerPreferences","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPreferencesBehavioralData","fields":[{"name":"lastAppLogin","type":"String!","description":"must be a valid ISO date and is required","deprecated":null,"arguments":[]},{"name":"lastWebsiteVisit","type":"String!","description":"must be a valid ISO date and is required","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"CustomerPreferencesBehavioralData","inputTypeName":"CustomerPreferencesBehavioralDataInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_behavioralData","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPreferencesBehavioralData","permissions":[{"role":"admin","output":{"allowedFields":["lastAppLogin","lastWebsiteVisit"]},"input":null},{"role":"customer","output":{"allowedFields":["lastAppLogin","lastWebsiteVisit"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPreferencesCustomerNotes","fields":[{"name":"author","type":"String!","description":"must be a string and is required","deprecated":null,"arguments":[]},{"name":"content","type":"String!","description":"must be a string and is required","deprecated":null,"arguments":[]},{"name":"date","type":"String!","description":"must be a valid ISO date and is required","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"CustomerPreferencesCustomerNotes","inputTypeName":"CustomerPreferencesCustomerNotesInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_customerNotes","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPreferencesCustomerNotes","permissions":[{"role":"admin","output":{"allowedFields":["author","content","date"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPreferencesPreferences","fields":[{"name":"contactMethod","type":"String!","description":"must be one of 'email', 'phone', or 'SMS' and is required","deprecated":null,"arguments":[]},{"name":"marketingOptIn","type":"Bool!","description":"must be a boolean value and is required","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"CustomerPreferencesPreferences","inputTypeName":"CustomerPreferencesPreferencesInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_preferences","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPreferencesPreferences","permissions":[{"role":"admin","output":{"allowedFields":["contactMethod","marketingOptIn"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPreferencesSocialMedia","fields":[{"name":"facebook","type":"String","description":"must be a valid Facebook URL","deprecated":null,"arguments":[]},{"name":"linkedin","type":"String","description":"must be a valid LinkedIn URL","deprecated":null,"arguments":[]},{"name":"twitter","type":"String","description":"must be a valid Twitter URL","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"CustomerPreferencesSocialMedia","inputTypeName":"CustomerPreferencesSocialMediaInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences_socialMedia","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPreferencesSocialMedia","permissions":[{"role":"admin","output":{"allowedFields":["facebook","linkedin","twitter"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"CustomerPreferences","fields":[{"name":"id","type":"ObjectId!","description":"primary key _id","deprecated":null,"arguments":[]},{"name":"behavioralData","type":"CustomerPreferencesBehavioralData!","description":"behavioralData is an object containing behavioral metrics","deprecated":null,"arguments":[]},{"name":"customerGuid","type":"String!","description":"must be a string and is required","deprecated":null,"arguments":[]},{"name":"customerNotes","type":"[CustomerPreferencesCustomerNotes!]!","description":"customerNotes is an array of note objects with author, date, and content","deprecated":null,"arguments":[]},{"name":"preferences","type":"CustomerPreferencesPreferences!","description":null,"deprecated":null,"arguments":[]},{"name":"socialMedia","type":"CustomerPreferencesSocialMedia","description":"socialMedia is an object containing social media profile URLs","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"CustomerPreferences","inputTypeName":"CustomerPreferencesInput","apolloFederation":null},"description":"Object type for collection customerPreferences","dataConnectorTypeMapping":[{"dataConnectorName":"mongo","dataConnectorObjectType":"customerPreferences","fieldMapping":{"behavioralData":{"column":{"name":"behavioralData","argumentMapping":null}},"customerGuid":{"column":{"name":"customer_guid","argumentMapping":null}},"customerNotes":{"column":{"name":"customerNotes","argumentMapping":null}},"id":{"column":{"name":"_id","argumentMapping":null}},"preferences":{"column":{"name":"preferences","argumentMapping":null}},"socialMedia":{"column":{"name":"socialMedia","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"CustomerPreferences","permissions":[{"role":"admin","output":{"allowedFields":["id","behavioralData","customerGuid","customerNotes","preferences","socialMedia"]},"input":null},{"role":"customer","output":{"allowedFields":["id","behavioralData","customerGuid","customerNotes","preferences","socialMedia"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"CustomerPreferences","objectType":"CustomerPreferences","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"mongo","collection":"customerPreferences","argumentMapping":{}},"filterExpressionType":"CustomerPreferencesBoolExp","orderableFields":[{"fieldName":"id","orderByDirections":{"enableAll":true}},{"fieldName":"behavioralData","orderByDirections":{"enableAll":true}},{"fieldName":"customerGuid","orderByDirections":{"enableAll":true}},{"fieldName":"customerNotes","orderByDirections":{"enableAll":true}},{"fieldName":"preferences","orderByDirections":{"enableAll":true}},{"fieldName":"socialMedia","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CustomerPreferencesAggExp","graphql":{"selectUniques":[{"queryRootField":"customerPreferencesById","uniqueIdentifier":["id"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"customerPreferences","description":null,"deprecated":null,"subscription":{"rootField":"customer_preferences","description":"Subscribe to customere preferences model","deprecated":null,"pollingIntervalMs":1000}},"argumentsInputType":null,"orderByExpressionType":"CustomerPreferencesOrderBy","apolloFederation":null,"filterInputTypeName":"CustomerPreferencesFilterInput","aggregate":{"queryRootField":"customerPreferencesAggregate","description":null,"deprecated":null,"subscription":{"rootField":"customerPreferencesAggregate","description":null,"deprecated":null,"pollingIntervalMs":1000}}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"CustomerPreferences","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":true}},{"role":"customer","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customerlink","sourceType":"CustomerPreferences","target":{"model":{"name":"CustomerLink","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CustomerPreferencesAggExp","operand":{"object":{"aggregatedType":"CustomerPreferences","aggregatableFields":[{"fieldName":"id","description":null,"aggregateExpression":"ObjectIdAggExp"},{"fieldName":"customerGuid","description":null,"aggregateExpression":"Customer_StringAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CustomerPreferencesAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerPreferencesBehavioralDataBoolExp","operand":{"object":{"type":"CustomerPreferencesBehavioralData","comparableFields":[{"fieldName":"lastAppLogin","booleanExpressionType":"StringBoolExp"},{"fieldName":"lastWebsiteVisit","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"CustomerPreferencesBehavioralDataBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerPreferencesPreferencesBoolExp","operand":{"object":{"type":"CustomerPreferencesPreferences","comparableFields":[{"fieldName":"contactMethod","booleanExpressionType":"StringBoolExp"},{"fieldName":"marketingOptIn","booleanExpressionType":"BoolBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"CustomerPreferencesPreferencesBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerPreferencesSocialMediaBoolExp","operand":{"object":{"type":"CustomerPreferencesSocialMedia","comparableFields":[{"fieldName":"facebook","booleanExpressionType":"StringBoolExp"},{"fieldName":"linkedin","booleanExpressionType":"StringBoolExp"},{"fieldName":"twitter","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"CustomerPreferencesSocialMediaBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CustomerPreferencesBoolExp","operand":{"object":{"type":"CustomerPreferences","comparableFields":[{"fieldName":"id","booleanExpressionType":"ObjectIdBoolExp"},{"fieldName":"behavioralData","booleanExpressionType":"CustomerPreferencesBehavioralDataBoolExp"},{"fieldName":"customerGuid","booleanExpressionType":"StringBoolExp"},{"fieldName":"preferences","booleanExpressionType":"CustomerPreferencesPreferencesBoolExp"},{"fieldName":"socialMedia","booleanExpressionType":"CustomerPreferencesSocialMediaBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"CustomerPreferencesBoolExp"}}},{"kind":"Command","version":"v1","definition":{"name":"MaskCardNumber","outputType":"String!","arguments":[{"name":"cardNumber","type":"String","description":"The credit card number to mask."}],"source":{"dataConnectorName":"logic","dataConnectorCommand":{"function":"maskCardNumber"},"argumentMapping":{}},"graphql":{"rootFieldName":"maskCardNumber","rootFieldKind":"Query","deprecated":null},"description":"Masks a credit card number to hide all but the last four digits."}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"MaskCardNumber","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]},{"role":"customer","allowExecution":true,"argumentPresets":[]}]}},{"kind":"Relationship","version":"v1","definition":{"name":"relationship_name","sourceType":"CreditCards","target":{"command":{"name":"MaskCardNumber","subgraph":"customer"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerId"}]},"target":{"argument":{"argumentName":"cardNumber"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"logic","dataConnectorScalarType":"String","representation":"String","graphql":{"comparisonExpressionTypeName":"Customer_StringComparisonExp"}}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"logic","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:6394"},"write":{"value":"http://local.hasura.dev:6394"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"String":{"representation":{"type":"string"},"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"}}}},"object_types":{},"collections":[],"functions":[{"name":"maskCardNumber","description":"Masks a credit card number to hide all but the last four digits.","arguments":{"cardNumber":{"description":"The credit card number to mask.","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}}},"result_type":{"type":"named","name":"String"}}],"procedures":[]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"variables":{},"nested_fields":{},"exists":{}},"mutation":{}}}},"argumentPresets":[],"responseHeaders":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"ObjectId","graphql":{"typeName":"ObjectId"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Bool","graphql":{"typeName":"Bool"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"ObjectId","representation":"ObjectId","graphql":{"comparisonExpressionTypeName":"ObjectIdComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"String","representation":"String","graphql":{"comparisonExpressionTypeName":"StringComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"Bool","representation":"Bool","graphql":{"comparisonExpressionTypeName":"BoolComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Double","graphql":{"typeName":"Double"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"Double","representation":"Double","graphql":{"comparisonExpressionTypeName":"DoubleComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"mongo","dataConnectorScalarType":"Int","representation":"Int","graphql":{"comparisonExpressionTypeName":"IntComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"ObjectIdBoolExp","operand":{"scalar":{"type":"ObjectId","comparisonOperators":[{"name":"_eq","argumentType":"ObjectId!"},{"name":"_neq","argumentType":"ObjectId!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"ObjectId","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"ObjectIdBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"BoolBoolExp","operand":{"scalar":{"type":"Bool","comparisonOperators":[{"name":"_eq","argumentType":"Bool!"},{"name":"_neq","argumentType":"Bool!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"Bool","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"BoolBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"ObjectIdAggExp","operand":{"scalar":{"aggregatedType":"ObjectId","aggregationFunctions":[{"name":"count","description":null,"returnType":"Int!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"ObjectId","functionMapping":{"count":{"name":"count"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"ObjectIdAggExp","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Customer_StringAggExp","operand":{"scalar":{"aggregatedType":"String","aggregationFunctions":[{"name":"count","description":null,"returnType":"Int!"},{"name":"max","description":null,"returnType":"String!"},{"name":"min","description":null,"returnType":"String!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"String","functionMapping":{"count":{"name":"count"},"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Customer_StringAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DoubleBoolExp","operand":{"scalar":{"type":"Double","comparisonOperators":[{"name":"_eq","argumentType":"Double!"},{"name":"_gt","argumentType":"Double!"},{"name":"_gte","argumentType":"Double!"},{"name":"_lt","argumentType":"Double!"},{"name":"_lte","argumentType":"Double!"},{"name":"_neq","argumentType":"Double!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"Double","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"DoubleBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"StringBoolExp","operand":{"scalar":{"type":"String","comparisonOperators":[{"name":"_eq","argumentType":"String!"},{"name":"_gt","argumentType":"String!"},{"name":"_gte","argumentType":"String!"},{"name":"_iregex","argumentType":"String!"},{"name":"_lt","argumentType":"String!"},{"name":"_lte","argumentType":"String!"},{"name":"_neq","argumentType":"String!"},{"name":"_regex","argumentType":"String!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"String","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"StringBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"IntBoolExp","operand":{"scalar":{"type":"Int","comparisonOperators":[{"name":"_eq","argumentType":"Int!"},{"name":"_gt","argumentType":"Int!"},{"name":"_gte","argumentType":"Int!"},{"name":"_lt","argumentType":"Int!"},{"name":"_lte","argumentType":"Int!"},{"name":"_neq","argumentType":"Int!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"mongo","dataConnectorScalarType":"Int","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"IntBoolExp"}}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"mongo","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:4038"},"write":{"value":"http://local.hasura.dev:4038"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"BinData":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"BinData"}}}},"Bool":{"representation":{"type":"boolean"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Bool"}}}},"Date":{"representation":{"type":"timestamp"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Date"}},"min":{"result_type":{"type":"named","name":"Date"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Date"}}}},"DbPointer":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"DbPointer"}}}},"Decimal":{"representation":{"type":"bigdecimal"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Decimal"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Decimal"}},"min":{"result_type":{"type":"named","name":"Decimal"}},"sum":{"result_type":{"type":"named","name":"Decimal"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}}}},"Double":{"representation":{"type":"float64"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Double"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Double"}},"min":{"result_type":{"type":"named","name":"Double"}},"sum":{"result_type":{"type":"named","name":"Double"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Double"}}}},"ExtendedJSON":{"representation":{"type":"json"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"ExtendedJSON"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"ExtendedJSON"}},"min":{"result_type":{"type":"named","name":"ExtendedJSON"}},"sum":{"result_type":{"type":"named","name":"ExtendedJSON"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_in":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"String"}}}},"Int":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Int"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Int"}},"min":{"result_type":{"type":"named","name":"Int"}},"sum":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Int"}}}},"Javascript":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{}},"JavascriptWithScope":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{}},"Long":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Long"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Long"}},"min":{"result_type":{"type":"named","name":"Long"}},"sum":{"result_type":{"type":"named","name":"Long"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Long"}}}},"MaxKey":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"MaxKey"}}}},"MinKey":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"MinKey"}}}},"Null":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Null"}}}},"ObjectId":{"representation":{"type":"string"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"ObjectId"}}}},"Regex":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{}},"String":{"representation":{"type":"string"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"String"}},"min":{"result_type":{"type":"named","name":"String"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"String"}}}},"Symbol":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Symbol"}}}},"Timestamp":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Timestamp"}},"min":{"result_type":{"type":"named","name":"Timestamp"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}}}},"Undefined":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Undefined"}}}}},"object_types":{"customerPreferences":{"description":"Object type for collection customerPreferences","fields":{"_id":{"description":"primary key _id","type":{"type":"named","name":"ObjectId"}},"behavioralData":{"description":"behavioralData is an object containing behavioral metrics","type":{"type":"named","name":"customerPreferences_behavioralData"}},"customerNotes":{"description":"customerNotes is an array of note objects with author, date, and content","type":{"type":"array","element_type":{"type":"named","name":"customerPreferences_customerNotes"}}},"customer_guid":{"description":"must be a string and is required","type":{"type":"named","name":"String"}},"preferences":{"type":{"type":"named","name":"customerPreferences_preferences"}},"socialMedia":{"description":"socialMedia is an object containing social media profile URLs","type":{"type":"nullable","underlying_type":{"type":"named","name":"customerPreferences_socialMedia"}}}}},"customerPreferences_behavioralData":{"description":"generated from MongoDB validation schema","fields":{"lastAppLogin":{"description":"must be a valid ISO date and is required","type":{"type":"named","name":"String"}},"lastWebsiteVisit":{"description":"must be a valid ISO date and is required","type":{"type":"named","name":"String"}}}},"customerPreferences_customerNotes":{"description":"generated from MongoDB validation schema","fields":{"author":{"description":"must be a string and is required","type":{"type":"named","name":"String"}},"content":{"description":"must be a string and is required","type":{"type":"named","name":"String"}},"date":{"description":"must be a valid ISO date and is required","type":{"type":"named","name":"String"}}}},"customerPreferences_preferences":{"description":"generated from MongoDB validation schema","fields":{"contactMethod":{"description":"must be one of 'email', 'phone', or 'SMS' and is required","type":{"type":"named","name":"String"}},"marketingOptIn":{"description":"must be a boolean value and is required","type":{"type":"named","name":"Bool"}}}},"customerPreferences_socialMedia":{"description":"generated from MongoDB validation schema","fields":{"facebook":{"description":"must be a valid Facebook URL","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}},"linkedin":{"description":"must be a valid LinkedIn URL","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}},"twitter":{"description":"must be a valid Twitter URL","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}}}},"userProfiles":{"description":"Object type for collection userProfiles","fields":{"_id":{"type":{"type":"named","name":"String"}},"accountDetails":{"type":{"type":"named","name":"userProfiles_accountDetails"}},"identification":{"type":{"type":"named","name":"userProfiles_identification"}},"memberID":{"type":{"type":"named","name":"String"}},"notes":{"type":{"type":"named","name":"String"}},"preferences":{"type":{"type":"named","name":"userProfiles_preferences"}},"supportHistory":{"type":{"type":"array","element_type":{"type":"named","name":"userProfiles_supportHistory"}}},"usageStats":{"type":{"type":"named","name":"userProfiles_usageStats"}}}},"userProfiles_accountDetails":{"description":"generated from MongoDB validation schema","fields":{"accountNumber":{"type":{"type":"named","name":"String"}},"registrationDate":{"type":{"type":"named","name":"String"}}}},"userProfiles_identification":{"description":"generated from MongoDB validation schema","fields":{"expiryDate":{"type":{"type":"named","name":"String"}},"issuedBy":{"type":{"type":"named","name":"String"}},"number":{"type":{"type":"named","name":"String"}},"type":{"type":{"type":"named","name":"String"}}}},"userProfiles_preferences":{"description":"generated from MongoDB validation schema","fields":{"communication":{"type":{"type":"named","name":"userProfiles_preferences_communication"}},"privacySettings":{"type":{"type":"named","name":"userProfiles_preferences_privacySettings"}},"servicePreferences":{"type":{"type":"named","name":"userProfiles_preferences_servicePreferences"}}}},"userProfiles_preferences_communication":{"description":"generated from MongoDB validation schema","fields":{"appNotifications":{"type":{"type":"named","name":"userProfiles_preferences_communication_appNotifications"}},"emailUpdates":{"type":{"type":"named","name":"Bool"}},"smsNotifications":{"type":{"type":"named","name":"Bool"}}}},"userProfiles_preferences_communication_appNotifications":{"description":"generated from MongoDB validation schema","fields":{"enabled":{"type":{"type":"named","name":"Bool"}},"frequency":{"type":{"type":"named","name":"String"}}}},"userProfiles_preferences_privacySettings":{"description":"generated from MongoDB validation schema","fields":{"adPersonalization":{"type":{"type":"named","name":"Bool"}},"shareDataForImprovements":{"type":{"type":"named","name":"Bool"}}}},"userProfiles_preferences_servicePreferences":{"description":"generated from MongoDB validation schema","fields":{"favoriteLocations":{"type":{"type":"array","element_type":{"type":"named","name":"userProfiles_preferences_servicePreferences_favoriteLocations"}}},"networkSettings":{"type":{"type":"named","name":"userProfiles_preferences_servicePreferences_networkSettings"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations":{"description":"generated from MongoDB validation schema","fields":{"coordinates":{"type":{"type":"named","name":"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates"}},"name":{"type":{"type":"named","name":"String"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates":{"description":"generated from MongoDB validation schema","fields":{"lat":{"type":{"type":"named","name":"Double"}},"long":{"type":{"type":"named","name":"Double"}}}},"userProfiles_preferences_servicePreferences_networkSettings":{"description":"generated from MongoDB validation schema","fields":{"dataSaverMode":{"type":{"type":"named","name":"Bool"}},"preferredNetworkType":{"type":{"type":"named","name":"String"}}}},"userProfiles_supportHistory":{"description":"generated from MongoDB validation schema","fields":{"date":{"type":{"type":"named","name":"String"}},"issue":{"type":{"type":"named","name":"String"}},"resolutionNotes":{"type":{"type":"named","name":"String"}},"status":{"type":{"type":"named","name":"String"}},"ticketId":{"type":{"type":"named","name":"String"}}}},"userProfiles_usageStats":{"description":"generated from MongoDB validation schema","fields":{"appUsage":{"type":{"type":"array","element_type":{"type":"named","name":"userProfiles_usageStats_appUsage"}}},"callStats":{"type":{"type":"named","name":"userProfiles_usageStats_callStats"}},"dataUsage":{"type":{"type":"named","name":"userProfiles_usageStats_dataUsage"}}}},"userProfiles_usageStats_appUsage":{"description":"generated from MongoDB validation schema","fields":{"name":{"type":{"type":"named","name":"String"}},"usage":{"type":{"type":"named","name":"String"}}}},"userProfiles_usageStats_callStats":{"description":"generated from MongoDB validation schema","fields":{"internationalMinutes":{"type":{"type":"named","name":"Int"}},"totalMinutes":{"type":{"type":"named","name":"Int"}}}},"userProfiles_usageStats_dataUsage":{"description":"generated from MongoDB validation schema","fields":{"currentMonth":{"type":{"type":"named","name":"String"}},"total":{"type":{"type":"named","name":"String"}}}}},"collections":[{"name":"customerPreferences","arguments":{},"type":"customerPreferences","uniqueness_constraints":{"customerPreferences_id":{"unique_columns":["_id"]}},"foreign_keys":{}}],"functions":[],"procedures":[]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"exists":{}},"mutation":{},"relationships":{"relation_comparisons":{}}}}},"argumentPresets":[],"responseHeaders":null}},{"kind":"Relationship","version":"v1","definition":{"name":"supportDB","sourceType":"CustomerLink","target":{"model":{"name":"UserProfiles","subgraph":"support","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"memberId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"CDR","sourceType":"CustomerLink","target":{"model":{"name":"Cdr","subgraph":"network","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"guid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"NetworkPerformance","sourceType":"CustomerLink","target":{"model":{"name":"NetworkPerformance","subgraph":"network","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"guid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"DataUsage","sourceType":"CustomerLink","target":{"model":{"name":"DataUsage","subgraph":"network","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"guid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"userProfiles","sourceType":"CustomerPreferences","target":{"model":{"name":"UserProfiles","subgraph":"support","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"customerGuid"}]},"target":{"modelField":[{"fieldName":"memberId"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteBillingByBillingIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Billing!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteBillingByBillingIdResponse","inputTypeName":"V2DeleteBillingByBillingIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_billing_by_billing_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_billing_by_billing_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteBillingByBillingIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteBillingByBillingId","outputType":"V2DeleteBillingByBillingIdResponse!","arguments":[{"name":"keyBillingId","type":"Int4!","description":null},{"name":"preCheck","type":"BillingBoolExp!","description":"Delete permission predicate over the 'billing' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_billing_by_billing_id"},"argumentMapping":{"keyBillingId":"key_billing_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteBillingByBillingId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'billing' collection using the 'billing_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteBillingByBillingId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCreditCardsByCreditCardIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CreditCards!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCreditCardsByCreditCardIdResponse","inputTypeName":"V2DeleteCreditCardsByCreditCardIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_credit_cards_by_credit_card_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_credit_cards_by_credit_card_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCreditCardsByCreditCardIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCreditCardsByCreditCardId","outputType":"V2DeleteCreditCardsByCreditCardIdResponse!","arguments":[{"name":"keyCreditCardId","type":"Int4!","description":null},{"name":"preCheck","type":"CreditCardsBoolExp!","description":"Delete permission predicate over the 'credit_cards' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_credit_cards_by_credit_card_id"},"argumentMapping":{"keyCreditCardId":"key_credit_card_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCreditCardsByCreditCardId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'credit_cards' collection using the 'credit_card_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCreditCardsByCreditCardId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomerLinkByCustomerIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerLink!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomerLinkByCustomerIdResponse","inputTypeName":"V2DeleteCustomerLinkByCustomerIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customer_link_by_customer_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_link_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomerLinkByCustomerIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomerLinkByCustomerId","outputType":"V2DeleteCustomerLinkByCustomerIdResponse!","arguments":[{"name":"keyCustomerId","type":"Int4","description":null},{"name":"preCheck","type":"CustomerLinkBoolExp!","description":"Delete permission predicate over the 'customer_link' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customer_link_by_customer_id"},"argumentMapping":{"keyCustomerId":"key_customer_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomerLinkByCustomerId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customer_link' collection using the 'customer_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomerLinkByCustomerId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomerLinkByIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerLink!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomerLinkByIdResponse","inputTypeName":"V2DeleteCustomerLinkByIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customer_link_by_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_link_by_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomerLinkByIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomerLinkById","outputType":"V2DeleteCustomerLinkByIdResponse!","arguments":[{"name":"keyId","type":"Int4!","description":null},{"name":"preCheck","type":"CustomerLinkBoolExp!","description":"Delete permission predicate over the 'customer_link' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customer_link_by_id"},"argumentMapping":{"keyId":"key_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomerLinkById","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customer_link' collection using the 'id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomerLinkById","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerNetwork!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse","inputTypeName":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customer_network_by_customer_id_and_node_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_network_by_customer_id_and_node_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomerNetworkByCustomerIdAndNodeId","outputType":"V2DeleteCustomerNetworkByCustomerIdAndNodeIdResponse!","arguments":[{"name":"keyCustomerId","type":"Int4!","description":null},{"name":"keyNodeId","type":"Int4!","description":null},{"name":"preCheck","type":"CustomerNetworkBoolExp!","description":"Delete permission predicate over the 'customer_network' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customer_network_by_customer_id_and_node_id"},"argumentMapping":{"keyCustomerId":"key_customer_id","keyNodeId":"key_node_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomerNetworkByCustomerIdAndNodeId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomerNetworkByCustomerIdAndNodeId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerPlanDevices!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse","inputTypeName":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceId","outputType":"V2DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse!","arguments":[{"name":"keyCustomerPlanId","type":"Int4!","description":null},{"name":"keyDeviceId","type":"Int4!","description":null},{"name":"preCheck","type":"CustomerPlanDevicesBoolExp!","description":"Delete permission predicate over the 'customer_plan_devices' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customer_plan_devices_by_customer_plan_id_and_device_id"},"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","keyDeviceId":"key_device_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomerPlanDevicesByCustomerPlanIdAndDeviceId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomerPlansByCustomerPlanIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerPlans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomerPlansByCustomerPlanIdResponse","inputTypeName":"V2DeleteCustomerPlansByCustomerPlanIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customer_plans_by_customer_plan_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customer_plans_by_customer_plan_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomerPlansByCustomerPlanIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomerPlansByCustomerPlanId","outputType":"V2DeleteCustomerPlansByCustomerPlanIdResponse!","arguments":[{"name":"keyCustomerPlanId","type":"Int4!","description":null},{"name":"preCheck","type":"CustomerPlansBoolExp!","description":"Delete permission predicate over the 'customer_plans' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customer_plans_by_customer_plan_id"},"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomerPlansByCustomerPlanId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customer_plans' collection using the 'customer_plan_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomerPlansByCustomerPlanId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomersByCustomerIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Customers!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomersByCustomerIdResponse","inputTypeName":"V2DeleteCustomersByCustomerIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customers_by_customer_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customers_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomersByCustomerIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomersByCustomerId","outputType":"V2DeleteCustomersByCustomerIdResponse!","arguments":[{"name":"keyCustomerId","type":"Int4!","description":null},{"name":"preCheck","type":"CustomersBoolExp!","description":"Delete permission predicate over the 'customers' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customers_by_customer_id"},"argumentMapping":{"keyCustomerId":"key_customer_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomersByCustomerId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customers' collection using the 'customer_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomersByCustomerId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCustomersByPhoneNumberResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Customers!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCustomersByPhoneNumberResponse","inputTypeName":"V2DeleteCustomersByPhoneNumberResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_customers_by_phone_number' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_customers_by_phone_number_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCustomersByPhoneNumberResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCustomersByPhoneNumber","outputType":"V2DeleteCustomersByPhoneNumberResponse!","arguments":[{"name":"keyPhoneNumber","type":"Varchar","description":null},{"name":"preCheck","type":"CustomersBoolExp!","description":"Delete permission predicate over the 'customers' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_customers_by_phone_number"},"argumentMapping":{"keyPhoneNumber":"key_phone_number","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCustomersByPhoneNumber","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'customers' collection using the 'phone_number' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCustomersByPhoneNumber","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteDealsByDealIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Deals!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteDealsByDealIdResponse","inputTypeName":"V2DeleteDealsByDealIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_deals_by_deal_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_deals_by_deal_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteDealsByDealIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteDealsByDealId","outputType":"V2DeleteDealsByDealIdResponse!","arguments":[{"name":"keyDealId","type":"Int4!","description":null},{"name":"preCheck","type":"DealsBoolExp!","description":"Delete permission predicate over the 'deals' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_deals_by_deal_id"},"argumentMapping":{"keyDealId":"key_deal_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteDealsByDealId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'deals' collection using the 'deal_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteDealsByDealId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteDevicesByDeviceIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Devices!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteDevicesByDeviceIdResponse","inputTypeName":"V2DeleteDevicesByDeviceIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_devices_by_device_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_devices_by_device_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteDevicesByDeviceIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteDevicesByDeviceId","outputType":"V2DeleteDevicesByDeviceIdResponse!","arguments":[{"name":"keyDeviceId","type":"Int4!","description":null},{"name":"preCheck","type":"DevicesBoolExp!","description":"Delete permission predicate over the 'devices' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_devices_by_device_id"},"argumentMapping":{"keyDeviceId":"key_device_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteDevicesByDeviceId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'devices' collection using the 'device_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteDevicesByDeviceId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteNetworkByNodeIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Network!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteNetworkByNodeIdResponse","inputTypeName":"V2DeleteNetworkByNodeIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_network_by_node_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_network_by_node_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteNetworkByNodeIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteNetworkByNodeId","outputType":"V2DeleteNetworkByNodeIdResponse!","arguments":[{"name":"keyNodeId","type":"Int4!","description":null},{"name":"preCheck","type":"NetworkBoolExp!","description":"Delete permission predicate over the 'network' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_network_by_node_id"},"argumentMapping":{"keyNodeId":"key_node_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteNetworkByNodeId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'network' collection using the 'node_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteNetworkByNodeId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeletePlansByPlanIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Plans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeletePlansByPlanIdResponse","inputTypeName":"V2DeletePlansByPlanIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_plans_by_plan_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_plans_by_plan_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeletePlansByPlanIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeletePlansByPlanId","outputType":"V2DeletePlansByPlanIdResponse!","arguments":[{"name":"keyPlanId","type":"Int4!","description":null},{"name":"preCheck","type":"PlansBoolExp!","description":"Delete permission predicate over the 'plans' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_plans_by_plan_id"},"argumentMapping":{"keyPlanId":"key_plan_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeletePlansByPlanId","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'plans' collection using the 'plan_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeletePlansByPlanId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeletePlansByPlanNameResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Plans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeletePlansByPlanNameResponse","inputTypeName":"V2DeletePlansByPlanNameResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_plans_by_plan_name' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_delete_plans_by_plan_name_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeletePlansByPlanNameResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeletePlansByPlanName","outputType":"V2DeletePlansByPlanNameResponse!","arguments":[{"name":"keyPlanName","type":"Varchar","description":null},{"name":"preCheck","type":"PlansBoolExp!","description":"Delete permission predicate over the 'plans' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_delete_plans_by_plan_name"},"argumentMapping":{"keyPlanName":"key_plan_name","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeletePlansByPlanName","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'plans' collection using the 'plan_name' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeletePlansByPlanName","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertBillingObject","fields":[{"name":"billingDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"billingId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"paymentStatus","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"totalAmount","type":"Numeric","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertBillingObject","inputTypeName":"V2InsertBillingObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_billing_object","fieldMapping":{"billingDate":{"column":{"name":"billing_date","argumentMapping":null}},"billingId":{"column":{"name":"billing_id","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"paymentStatus":{"column":{"name":"payment_status","argumentMapping":null}},"totalAmount":{"column":{"name":"total_amount","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertBillingObject","permissions":[{"role":"admin","output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertBillingResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Billing!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertBillingResponse","inputTypeName":"V2InsertBillingResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_billing' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_billing_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertBillingResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertBilling","outputType":"V2InsertBillingResponse!","arguments":[{"name":"objects","type":"[V2InsertBillingObject!]!","description":null},{"name":"postCheck","type":"BillingBoolExp!","description":"Insert permission predicate over the 'billing' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_billing"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertBilling","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the billing table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertBilling","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCreditCardsObject","fields":[{"name":"createdAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"creditCardId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"cvv","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"expiry","type":"Date!","description":null,"deprecated":null,"arguments":[]},{"name":"number","type":"Text!","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCreditCardsObject","inputTypeName":"V2InsertCreditCardsObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_credit_cards_object","fieldMapping":{"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"creditCardId":{"column":{"name":"credit_card_id","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"cvv":{"column":{"name":"cvv","argumentMapping":null}},"expiry":{"column":{"name":"expiry","argumentMapping":null}},"number":{"column":{"name":"number","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCreditCardsObject","permissions":[{"role":"admin","output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","number","updatedAt"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCreditCardsResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CreditCards!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCreditCardsResponse","inputTypeName":"V2InsertCreditCardsResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_credit_cards' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_credit_cards_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCreditCardsResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCreditCards","outputType":"V2InsertCreditCardsResponse!","arguments":[{"name":"objects","type":"[V2InsertCreditCardsObject!]!","description":null},{"name":"postCheck","type":"CreditCardsBoolExp!","description":"Insert permission predicate over the 'credit_cards' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_credit_cards"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCreditCards","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the credit_cards table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCreditCards","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerLinkObject","fields":[{"name":"customerGuid","type":"Uuid!","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"id","type":"Int4","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerLinkObject","inputTypeName":"V2InsertCustomerLinkObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_link_object","fieldMapping":{"customerGuid":{"column":{"name":"customer_guid","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerLinkObject","permissions":[{"role":"admin","output":{"allowedFields":["customerGuid","customerId","id"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerLinkResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerLink!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerLinkResponse","inputTypeName":"V2InsertCustomerLinkResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_customer_link' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_link_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerLinkResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCustomerLink","outputType":"V2InsertCustomerLinkResponse!","arguments":[{"name":"objects","type":"[V2InsertCustomerLinkObject!]!","description":null},{"name":"postCheck","type":"CustomerLinkBoolExp!","description":"Insert permission predicate over the 'customer_link' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_customer_link"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCustomerLink","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the customer_link table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCustomerLink","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerNetworkObject","fields":[{"name":"customerId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"nodeId","type":"Int4!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerNetworkObject","inputTypeName":"V2InsertCustomerNetworkObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_network_object","fieldMapping":{"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"nodeId":{"column":{"name":"node_id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerNetworkObject","permissions":[{"role":"admin","output":{"allowedFields":["customerId","nodeId"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerNetworkResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerNetwork!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerNetworkResponse","inputTypeName":"V2InsertCustomerNetworkResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_customer_network' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_network_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerNetworkResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCustomerNetwork","outputType":"V2InsertCustomerNetworkResponse!","arguments":[{"name":"objects","type":"[V2InsertCustomerNetworkObject!]!","description":null},{"name":"postCheck","type":"CustomerNetworkBoolExp!","description":"Insert permission predicate over the 'customer_network' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_customer_network"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCustomerNetwork","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the customer_network table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCustomerNetwork","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerPlanDevicesObject","fields":[{"name":"customerPlanId","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceId","type":"Int4!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerPlanDevicesObject","inputTypeName":"V2InsertCustomerPlanDevicesObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plan_devices_object","fieldMapping":{"customerPlanId":{"column":{"name":"customer_plan_id","argumentMapping":null}},"deviceId":{"column":{"name":"device_id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerPlanDevicesObject","permissions":[{"role":"admin","output":{"allowedFields":["customerPlanId","deviceId"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerPlanDevicesResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerPlanDevices!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerPlanDevicesResponse","inputTypeName":"V2InsertCustomerPlanDevicesResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_customer_plan_devices' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plan_devices_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerPlanDevicesResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCustomerPlanDevices","outputType":"V2InsertCustomerPlanDevicesResponse!","arguments":[{"name":"objects","type":"[V2InsertCustomerPlanDevicesObject!]!","description":null},{"name":"postCheck","type":"CustomerPlanDevicesBoolExp!","description":"Insert permission predicate over the 'customer_plan_devices' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_customer_plan_devices"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCustomerPlanDevices","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the customer_plan_devices table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCustomerPlanDevices","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerPlansObject","fields":[{"name":"cellNumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"customerPlanId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"endDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"planId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"startDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"Varchar","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerPlansObject","inputTypeName":"V2InsertCustomerPlansObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plans_object","fieldMapping":{"cellNumber":{"column":{"name":"cell_number","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"customerPlanId":{"column":{"name":"customer_plan_id","argumentMapping":null}},"endDate":{"column":{"name":"end_date","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"startDate":{"column":{"name":"start_date","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerPlansObject","permissions":[{"role":"admin","output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomerPlansResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerPlans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomerPlansResponse","inputTypeName":"V2InsertCustomerPlansResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_customer_plans' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customer_plans_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomerPlansResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCustomerPlans","outputType":"V2InsertCustomerPlansResponse!","arguments":[{"name":"objects","type":"[V2InsertCustomerPlansObject!]!","description":null},{"name":"postCheck","type":"CustomerPlansBoolExp!","description":"Insert permission predicate over the 'customer_plans' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_customer_plans"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCustomerPlans","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the customer_plans table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCustomerPlans","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomersObject","fields":[{"name":"address","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"city","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"country","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"customerId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"email","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"firstName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"image","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"lastName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"phoneNumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"postcode","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"segment","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"state","type":"Varchar","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomersObject","inputTypeName":"V2InsertCustomersObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customers_object","fieldMapping":{"address":{"column":{"name":"address","argumentMapping":null}},"city":{"column":{"name":"city","argumentMapping":null}},"country":{"column":{"name":"country","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"firstName":{"column":{"name":"first_name","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"lastName":{"column":{"name":"last_name","argumentMapping":null}},"phoneNumber":{"column":{"name":"phone_number","argumentMapping":null}},"postcode":{"column":{"name":"postcode","argumentMapping":null}},"segment":{"column":{"name":"segment","argumentMapping":null}},"state":{"column":{"name":"state","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomersObject","permissions":[{"role":"admin","output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCustomersResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Customers!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCustomersResponse","inputTypeName":"V2InsertCustomersResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_customers' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_customers_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCustomersResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCustomers","outputType":"V2InsertCustomersResponse!","arguments":[{"name":"objects","type":"[V2InsertCustomersObject!]!","description":null},{"name":"postCheck","type":"CustomersBoolExp!","description":"Insert permission predicate over the 'customers' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_customers"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCustomers","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the customers table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCustomers","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDealsObject","fields":[{"name":"additionalBenefits","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"customerSegment","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"dealId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"dealName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"description","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"endDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"maxMonthlySpend","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"minMonthlySpend","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"startDate","type":"Date","description":null,"deprecated":null,"arguments":[]},{"name":"termsConditions","type":"Text","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDealsObject","inputTypeName":"V2InsertDealsObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_deals_object","fieldMapping":{"additionalBenefits":{"column":{"name":"additional_benefits","argumentMapping":null}},"customerSegment":{"column":{"name":"customer_segment","argumentMapping":null}},"dealId":{"column":{"name":"deal_id","argumentMapping":null}},"dealName":{"column":{"name":"deal_name","argumentMapping":null}},"description":{"column":{"name":"description","argumentMapping":null}},"endDate":{"column":{"name":"end_date","argumentMapping":null}},"maxMonthlySpend":{"column":{"name":"max_monthly_spend","argumentMapping":null}},"minMonthlySpend":{"column":{"name":"min_monthly_spend","argumentMapping":null}},"startDate":{"column":{"name":"start_date","argumentMapping":null}},"termsConditions":{"column":{"name":"terms_conditions","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDealsObject","permissions":[{"role":"admin","output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDealsResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Deals!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDealsResponse","inputTypeName":"V2InsertDealsResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_deals' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_deals_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDealsResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertDeals","outputType":"V2InsertDealsResponse!","arguments":[{"name":"objects","type":"[V2InsertDealsObject!]!","description":null},{"name":"postCheck","type":"DealsBoolExp!","description":"Insert permission predicate over the 'deals' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_deals"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertDeals","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the deals table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertDeals","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDevicesObject","fields":[{"name":"brand","type":"Varchar!","description":null,"deprecated":null,"arguments":[]},{"name":"createdAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"deviceId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"image","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"model","type":"Varchar!","description":null,"deprecated":null,"arguments":[]},{"name":"sfRecord","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDevicesObject","inputTypeName":"V2InsertDevicesObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_devices_object","fieldMapping":{"brand":{"column":{"name":"brand","argumentMapping":null}},"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"deviceId":{"column":{"name":"device_id","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"model":{"column":{"name":"model","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDevicesObject","permissions":[{"role":"admin","output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDevicesResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Devices!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDevicesResponse","inputTypeName":"V2InsertDevicesResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_devices' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_devices_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDevicesResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertDevices","outputType":"V2InsertDevicesResponse!","arguments":[{"name":"objects","type":"[V2InsertDevicesObject!]!","description":null},{"name":"postCheck","type":"DevicesBoolExp!","description":"Insert permission predicate over the 'devices' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_devices"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertDevices","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the devices table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertDevices","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertNetworkObject","fields":[{"name":"capacity","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"latitude","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"longitude","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"nodeId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"nodeName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"Varchar","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertNetworkObject","inputTypeName":"V2InsertNetworkObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_network_object","fieldMapping":{"capacity":{"column":{"name":"capacity","argumentMapping":null}},"latitude":{"column":{"name":"latitude","argumentMapping":null}},"longitude":{"column":{"name":"longitude","argumentMapping":null}},"nodeId":{"column":{"name":"node_id","argumentMapping":null}},"nodeName":{"column":{"name":"node_name","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertNetworkObject","permissions":[{"role":"admin","output":{"allowedFields":["capacity","latitude","longitude","nodeId","nodeName","status"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertNetworkResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Network!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertNetworkResponse","inputTypeName":"V2InsertNetworkResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_network' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_network_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertNetworkResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertNetwork","outputType":"V2InsertNetworkResponse!","arguments":[{"name":"objects","type":"[V2InsertNetworkObject!]!","description":null},{"name":"postCheck","type":"NetworkBoolExp!","description":"Insert permission predicate over the 'network' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_network"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertNetwork","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the network table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertNetwork","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertPlansObject","fields":[{"name":"description","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"monthlyFee","type":"Numeric","description":null,"deprecated":null,"arguments":[]},{"name":"planId","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"planName","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"sfRecord","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"type","type":"Text","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertPlansObject","inputTypeName":"V2InsertPlansObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_plans_object","fieldMapping":{"description":{"column":{"name":"description","argumentMapping":null}},"monthlyFee":{"column":{"name":"monthly_fee","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"planName":{"column":{"name":"plan_name","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"type":{"column":{"name":"type","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertPlansObject","permissions":[{"role":"admin","output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertPlansResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Plans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertPlansResponse","inputTypeName":"V2InsertPlansResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_plans' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_insert_plans_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertPlansResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertPlans","outputType":"V2InsertPlansResponse!","arguments":[{"name":"objects","type":"[V2InsertPlansObject!]!","description":null},{"name":"postCheck","type":"PlansBoolExp!","description":"Insert permission predicate over the 'plans' collection"}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_insert_plans"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertPlans","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the plans table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertPlans","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnBillingBillingDate","fields":[{"name":"set","type":"Date","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnBillingBillingDate","inputTypeName":"UpdateColumnBillingBillingDateInput","apolloFederation":null},"description":"Update the 'billing_date' column in the 'billing' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_billing_date","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnBillingBillingDate","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnBillingBillingId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnBillingBillingId","inputTypeName":"UpdateColumnBillingBillingIdInput","apolloFederation":null},"description":"Update the 'billing_id' column in the 'billing' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_billing_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnBillingBillingId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnBillingCustomerId","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnBillingCustomerId","inputTypeName":"UpdateColumnBillingCustomerIdInput","apolloFederation":null},"description":"Update the 'customer_id' column in the 'billing' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_customer_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnBillingCustomerId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnBillingPaymentStatus","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnBillingPaymentStatus","inputTypeName":"UpdateColumnBillingPaymentStatusInput","apolloFederation":null},"description":"Update the 'payment_status' column in the 'billing' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_payment_status","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnBillingPaymentStatus","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnBillingTotalAmount","fields":[{"name":"set","type":"Numeric","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnBillingTotalAmount","inputTypeName":"UpdateColumnBillingTotalAmountInput","apolloFederation":null},"description":"Update the 'total_amount' column in the 'billing' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_billing_total_amount","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnBillingTotalAmount","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateBillingByBillingIdUpdateColumns","fields":[{"name":"billingDate","type":"UpdateColumnBillingBillingDate","description":"Update the 'billing_date' column in the 'billing' collection.","deprecated":null,"arguments":[]},{"name":"billingId","type":"UpdateColumnBillingBillingId","description":"Update the 'billing_id' column in the 'billing' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnBillingCustomerId","description":"Update the 'customer_id' column in the 'billing' collection.","deprecated":null,"arguments":[]},{"name":"paymentStatus","type":"UpdateColumnBillingPaymentStatus","description":"Update the 'payment_status' column in the 'billing' collection.","deprecated":null,"arguments":[]},{"name":"totalAmount","type":"UpdateColumnBillingTotalAmount","description":"Update the 'total_amount' column in the 'billing' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateBillingByBillingIdUpdateColumns","inputTypeName":"V2UpdateBillingByBillingIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'billing' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_billing_by_billing_id_update_columns","fieldMapping":{"billingDate":{"column":{"name":"billing_date","argumentMapping":null}},"billingId":{"column":{"name":"billing_id","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"paymentStatus":{"column":{"name":"payment_status","argumentMapping":null}},"totalAmount":{"column":{"name":"total_amount","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateBillingByBillingIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["billingDate","billingId","customerId","paymentStatus","totalAmount"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateBillingByBillingIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Billing!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateBillingByBillingIdResponse","inputTypeName":"V2UpdateBillingByBillingIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_billing_by_billing_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_billing_by_billing_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateBillingByBillingIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateBillingByBillingId","outputType":"V2UpdateBillingByBillingIdResponse!","arguments":[{"name":"keyBillingId","type":"Int4!","description":null},{"name":"postCheck","type":"BillingBoolExp!","description":"Update permission post-condition predicate over the 'billing' collection"},{"name":"preCheck","type":"BillingBoolExp!","description":"Update permission pre-condition predicate over the 'billing' collection"},{"name":"updateColumns","type":"V2UpdateBillingByBillingIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_billing_by_billing_id"},"argumentMapping":{"keyBillingId":"key_billing_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateBillingByBillingId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'billing' collection using the 'billing_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateBillingByBillingId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsCreatedAt","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsCreatedAt","inputTypeName":"UpdateColumnCreditCardsCreatedAtInput","apolloFederation":null},"description":"Update the 'created_at' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_created_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsCreatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsCreditCardId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsCreditCardId","inputTypeName":"UpdateColumnCreditCardsCreditCardIdInput","apolloFederation":null},"description":"Update the 'credit_card_id' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_credit_card_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsCreditCardId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsCustomerId","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsCustomerId","inputTypeName":"UpdateColumnCreditCardsCustomerIdInput","apolloFederation":null},"description":"Update the 'customer_id' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_customer_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsCustomerId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsCvv","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsCvv","inputTypeName":"UpdateColumnCreditCardsCvvInput","apolloFederation":null},"description":"Update the 'cvv' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_cvv","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsCvv","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsExpiry","fields":[{"name":"set","type":"Date!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsExpiry","inputTypeName":"UpdateColumnCreditCardsExpiryInput","apolloFederation":null},"description":"Update the 'expiry' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_expiry","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsExpiry","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsNumber","fields":[{"name":"set","type":"Text!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsNumber","inputTypeName":"UpdateColumnCreditCardsNumberInput","apolloFederation":null},"description":"Update the 'number' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_number","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsNumber","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCreditCardsUpdatedAt","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCreditCardsUpdatedAt","inputTypeName":"UpdateColumnCreditCardsUpdatedAtInput","apolloFederation":null},"description":"Update the 'updated_at' column in the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_credit_cards_updated_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCreditCardsUpdatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCreditCardsByCreditCardIdUpdateColumns","fields":[{"name":"createdAt","type":"UpdateColumnCreditCardsCreatedAt","description":"Update the 'created_at' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]},{"name":"creditCardId","type":"UpdateColumnCreditCardsCreditCardId","description":"Update the 'credit_card_id' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnCreditCardsCustomerId","description":"Update the 'customer_id' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]},{"name":"cvv","type":"UpdateColumnCreditCardsCvv","description":"Update the 'cvv' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]},{"name":"expiry","type":"UpdateColumnCreditCardsExpiry","description":"Update the 'expiry' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]},{"name":"number","type":"UpdateColumnCreditCardsNumber","description":"Update the 'number' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]},{"name":"updatedAt","type":"UpdateColumnCreditCardsUpdatedAt","description":"Update the 'updated_at' column in the 'credit_cards' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCreditCardsByCreditCardIdUpdateColumns","inputTypeName":"V2UpdateCreditCardsByCreditCardIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'credit_cards' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_credit_cards_by_credit_card_id_update_columns","fieldMapping":{"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"creditCardId":{"column":{"name":"credit_card_id","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"cvv":{"column":{"name":"cvv","argumentMapping":null}},"expiry":{"column":{"name":"expiry","argumentMapping":null}},"number":{"column":{"name":"number","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCreditCardsByCreditCardIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["createdAt","creditCardId","customerId","cvv","expiry","number","updatedAt"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCreditCardsByCreditCardIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CreditCards!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCreditCardsByCreditCardIdResponse","inputTypeName":"V2UpdateCreditCardsByCreditCardIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_credit_cards_by_credit_card_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_credit_cards_by_credit_card_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCreditCardsByCreditCardIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCreditCardsByCreditCardId","outputType":"V2UpdateCreditCardsByCreditCardIdResponse!","arguments":[{"name":"keyCreditCardId","type":"Int4!","description":null},{"name":"postCheck","type":"CreditCardsBoolExp!","description":"Update permission post-condition predicate over the 'credit_cards' collection"},{"name":"preCheck","type":"CreditCardsBoolExp!","description":"Update permission pre-condition predicate over the 'credit_cards' collection"},{"name":"updateColumns","type":"V2UpdateCreditCardsByCreditCardIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_credit_cards_by_credit_card_id"},"argumentMapping":{"keyCreditCardId":"key_credit_card_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCreditCardsByCreditCardId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'credit_cards' collection using the 'credit_card_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCreditCardsByCreditCardId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerLinkCustomerGuid","fields":[{"name":"set","type":"Uuid!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerLinkCustomerGuid","inputTypeName":"UpdateColumnCustomerLinkCustomerGuidInput","apolloFederation":null},"description":"Update the 'customer_guid' column in the 'customer_link' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_link_customer_guid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerLinkCustomerGuid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerLinkCustomerId","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerLinkCustomerId","inputTypeName":"UpdateColumnCustomerLinkCustomerIdInput","apolloFederation":null},"description":"Update the 'customer_id' column in the 'customer_link' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_link_customer_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerLinkCustomerId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerLinkId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerLinkId","inputTypeName":"UpdateColumnCustomerLinkIdInput","apolloFederation":null},"description":"Update the 'id' column in the 'customer_link' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_link_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerLinkId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerLinkByCustomerIdUpdateColumns","fields":[{"name":"customerGuid","type":"UpdateColumnCustomerLinkCustomerGuid","description":"Update the 'customer_guid' column in the 'customer_link' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnCustomerLinkCustomerId","description":"Update the 'customer_id' column in the 'customer_link' collection.","deprecated":null,"arguments":[]},{"name":"id","type":"UpdateColumnCustomerLinkId","description":"Update the 'id' column in the 'customer_link' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerLinkByCustomerIdUpdateColumns","inputTypeName":"V2UpdateCustomerLinkByCustomerIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customer_link' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_customer_id_update_columns","fieldMapping":{"customerGuid":{"column":{"name":"customer_guid","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerLinkByCustomerIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["customerGuid","customerId","id"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerLinkByCustomerIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerLink!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerLinkByCustomerIdResponse","inputTypeName":"V2UpdateCustomerLinkByCustomerIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customer_link_by_customer_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerLinkByCustomerIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomerLinkByCustomerId","outputType":"V2UpdateCustomerLinkByCustomerIdResponse!","arguments":[{"name":"keyCustomerId","type":"Int4","description":null},{"name":"postCheck","type":"CustomerLinkBoolExp!","description":"Update permission post-condition predicate over the 'customer_link' collection"},{"name":"preCheck","type":"CustomerLinkBoolExp!","description":"Update permission pre-condition predicate over the 'customer_link' collection"},{"name":"updateColumns","type":"V2UpdateCustomerLinkByCustomerIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customer_link_by_customer_id"},"argumentMapping":{"keyCustomerId":"key_customer_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomerLinkByCustomerId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customer_link' collection using the 'customer_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomerLinkByCustomerId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerLinkByIdUpdateColumns","fields":[{"name":"customerGuid","type":"UpdateColumnCustomerLinkCustomerGuid","description":"Update the 'customer_guid' column in the 'customer_link' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnCustomerLinkCustomerId","description":"Update the 'customer_id' column in the 'customer_link' collection.","deprecated":null,"arguments":[]},{"name":"id","type":"UpdateColumnCustomerLinkId","description":"Update the 'id' column in the 'customer_link' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerLinkByIdUpdateColumns","inputTypeName":"V2UpdateCustomerLinkByIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customer_link' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_id_update_columns","fieldMapping":{"customerGuid":{"column":{"name":"customer_guid","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerLinkByIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["customerGuid","customerId","id"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerLinkByIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerLink!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerLinkByIdResponse","inputTypeName":"V2UpdateCustomerLinkByIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customer_link_by_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_link_by_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerLinkByIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomerLinkById","outputType":"V2UpdateCustomerLinkByIdResponse!","arguments":[{"name":"keyId","type":"Int4!","description":null},{"name":"postCheck","type":"CustomerLinkBoolExp!","description":"Update permission post-condition predicate over the 'customer_link' collection"},{"name":"preCheck","type":"CustomerLinkBoolExp!","description":"Update permission pre-condition predicate over the 'customer_link' collection"},{"name":"updateColumns","type":"V2UpdateCustomerLinkByIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customer_link_by_id"},"argumentMapping":{"keyId":"key_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomerLinkById","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customer_link' collection using the 'id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomerLinkById","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerNetworkCustomerId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerNetworkCustomerId","inputTypeName":"UpdateColumnCustomerNetworkCustomerIdInput","apolloFederation":null},"description":"Update the 'customer_id' column in the 'customer_network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_network_customer_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerNetworkCustomerId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerNetworkNodeId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerNetworkNodeId","inputTypeName":"UpdateColumnCustomerNetworkNodeIdInput","apolloFederation":null},"description":"Update the 'node_id' column in the 'customer_network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_network_node_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerNetworkNodeId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns","fields":[{"name":"customerId","type":"UpdateColumnCustomerNetworkCustomerId","description":"Update the 'customer_id' column in the 'customer_network' collection.","deprecated":null,"arguments":[]},{"name":"nodeId","type":"UpdateColumnCustomerNetworkNodeId","description":"Update the 'node_id' column in the 'customer_network' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns","inputTypeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customer_network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_network_by_customer_id_and_node_id_update_columns","fieldMapping":{"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"nodeId":{"column":{"name":"node_id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["customerId","nodeId"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerNetwork!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse","inputTypeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customer_network_by_customer_id_and_node_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_network_by_customer_id_and_node_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomerNetworkByCustomerIdAndNodeId","outputType":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdResponse!","arguments":[{"name":"keyCustomerId","type":"Int4!","description":null},{"name":"keyNodeId","type":"Int4!","description":null},{"name":"postCheck","type":"CustomerNetworkBoolExp!","description":"Update permission post-condition predicate over the 'customer_network' collection"},{"name":"preCheck","type":"CustomerNetworkBoolExp!","description":"Update permission pre-condition predicate over the 'customer_network' collection"},{"name":"updateColumns","type":"V2UpdateCustomerNetworkByCustomerIdAndNodeIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customer_network_by_customer_id_and_node_id"},"argumentMapping":{"keyCustomerId":"key_customer_id","keyNodeId":"key_node_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomerNetworkByCustomerIdAndNodeId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customer_network' collection using the 'customer_id' and 'node_id' keys"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomerNetworkByCustomerIdAndNodeId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlanDevicesCustomerPlanId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlanDevicesCustomerPlanId","inputTypeName":"UpdateColumnCustomerPlanDevicesCustomerPlanIdInput","apolloFederation":null},"description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plan_devices_customer_plan_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlanDevicesCustomerPlanId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlanDevicesDeviceId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlanDevicesDeviceId","inputTypeName":"UpdateColumnCustomerPlanDevicesDeviceIdInput","apolloFederation":null},"description":"Update the 'device_id' column in the 'customer_plan_devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plan_devices_device_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlanDevicesDeviceId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns","fields":[{"name":"customerPlanId","type":"UpdateColumnCustomerPlanDevicesCustomerPlanId","description":"Update the 'customer_plan_id' column in the 'customer_plan_devices' collection.","deprecated":null,"arguments":[]},{"name":"deviceId","type":"UpdateColumnCustomerPlanDevicesDeviceId","description":"Update the 'device_id' column in the 'customer_plan_devices' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns","inputTypeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customer_plan_devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_update_columns","fieldMapping":{"customerPlanId":{"column":{"name":"customer_plan_id","argumentMapping":null}},"deviceId":{"column":{"name":"device_id","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["customerPlanId","deviceId"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerPlanDevices!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse","inputTypeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customer_plan_devices_by_customer_plan_id_and_device_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceId","outputType":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdResponse!","arguments":[{"name":"keyCustomerPlanId","type":"Int4!","description":null},{"name":"keyDeviceId","type":"Int4!","description":null},{"name":"postCheck","type":"CustomerPlanDevicesBoolExp!","description":"Update permission post-condition predicate over the 'customer_plan_devices' collection"},{"name":"preCheck","type":"CustomerPlanDevicesBoolExp!","description":"Update permission pre-condition predicate over the 'customer_plan_devices' collection"},{"name":"updateColumns","type":"V2UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customer_plan_devices_by_customer_plan_id_and_device_id"},"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","keyDeviceId":"key_device_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customer_plan_devices' collection using the 'customer_plan_id' and 'device_id' keys"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomerPlanDevicesByCustomerPlanIdAndDeviceId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansCellNumber","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansCellNumber","inputTypeName":"UpdateColumnCustomerPlansCellNumberInput","apolloFederation":null},"description":"Update the 'cell_number' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_cell_number","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansCellNumber","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansCustomerId","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansCustomerId","inputTypeName":"UpdateColumnCustomerPlansCustomerIdInput","apolloFederation":null},"description":"Update the 'customer_id' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_customer_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansCustomerId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansCustomerPlanId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansCustomerPlanId","inputTypeName":"UpdateColumnCustomerPlansCustomerPlanIdInput","apolloFederation":null},"description":"Update the 'customer_plan_id' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_customer_plan_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansCustomerPlanId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansEndDate","fields":[{"name":"set","type":"Date","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansEndDate","inputTypeName":"UpdateColumnCustomerPlansEndDateInput","apolloFederation":null},"description":"Update the 'end_date' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_end_date","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansEndDate","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansPlanId","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansPlanId","inputTypeName":"UpdateColumnCustomerPlansPlanIdInput","apolloFederation":null},"description":"Update the 'plan_id' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_plan_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansPlanId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansStartDate","fields":[{"name":"set","type":"Date","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansStartDate","inputTypeName":"UpdateColumnCustomerPlansStartDateInput","apolloFederation":null},"description":"Update the 'start_date' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_start_date","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansStartDate","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomerPlansStatus","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomerPlansStatus","inputTypeName":"UpdateColumnCustomerPlansStatusInput","apolloFederation":null},"description":"Update the 'status' column in the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customer_plans_status","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomerPlansStatus","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns","fields":[{"name":"cellNumber","type":"UpdateColumnCustomerPlansCellNumber","description":"Update the 'cell_number' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnCustomerPlansCustomerId","description":"Update the 'customer_id' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]},{"name":"customerPlanId","type":"UpdateColumnCustomerPlansCustomerPlanId","description":"Update the 'customer_plan_id' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]},{"name":"endDate","type":"UpdateColumnCustomerPlansEndDate","description":"Update the 'end_date' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]},{"name":"planId","type":"UpdateColumnCustomerPlansPlanId","description":"Update the 'plan_id' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]},{"name":"startDate","type":"UpdateColumnCustomerPlansStartDate","description":"Update the 'start_date' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]},{"name":"status","type":"UpdateColumnCustomerPlansStatus","description":"Update the 'status' column in the 'customer_plans' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns","inputTypeName":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customer_plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plans_by_customer_plan_id_update_columns","fieldMapping":{"cellNumber":{"column":{"name":"cell_number","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"customerPlanId":{"column":{"name":"customer_plan_id","argumentMapping":null}},"endDate":{"column":{"name":"end_date","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"startDate":{"column":{"name":"start_date","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["cellNumber","customerId","customerPlanId","endDate","planId","startDate","status"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomerPlansByCustomerPlanIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[CustomerPlans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomerPlansByCustomerPlanIdResponse","inputTypeName":"V2UpdateCustomerPlansByCustomerPlanIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customer_plans_by_customer_plan_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customer_plans_by_customer_plan_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomerPlansByCustomerPlanIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomerPlansByCustomerPlanId","outputType":"V2UpdateCustomerPlansByCustomerPlanIdResponse!","arguments":[{"name":"keyCustomerPlanId","type":"Int4!","description":null},{"name":"postCheck","type":"CustomerPlansBoolExp!","description":"Update permission post-condition predicate over the 'customer_plans' collection"},{"name":"preCheck","type":"CustomerPlansBoolExp!","description":"Update permission pre-condition predicate over the 'customer_plans' collection"},{"name":"updateColumns","type":"V2UpdateCustomerPlansByCustomerPlanIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customer_plans_by_customer_plan_id"},"argumentMapping":{"keyCustomerPlanId":"key_customer_plan_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomerPlansByCustomerPlanId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customer_plans' collection using the 'customer_plan_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomerPlansByCustomerPlanId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersAddress","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersAddress","inputTypeName":"UpdateColumnCustomersAddressInput","apolloFederation":null},"description":"Update the 'address' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_address","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersAddress","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersCity","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersCity","inputTypeName":"UpdateColumnCustomersCityInput","apolloFederation":null},"description":"Update the 'city' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_city","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersCity","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersCountry","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersCountry","inputTypeName":"UpdateColumnCustomersCountryInput","apolloFederation":null},"description":"Update the 'country' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_country","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersCountry","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersCustomerId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersCustomerId","inputTypeName":"UpdateColumnCustomersCustomerIdInput","apolloFederation":null},"description":"Update the 'customer_id' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_customer_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersCustomerId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersEmail","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersEmail","inputTypeName":"UpdateColumnCustomersEmailInput","apolloFederation":null},"description":"Update the 'email' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_email","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersEmail","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersFirstName","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersFirstName","inputTypeName":"UpdateColumnCustomersFirstNameInput","apolloFederation":null},"description":"Update the 'first_name' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_first_name","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersFirstName","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersImage","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersImage","inputTypeName":"UpdateColumnCustomersImageInput","apolloFederation":null},"description":"Update the 'image' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_image","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersImage","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersLastName","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersLastName","inputTypeName":"UpdateColumnCustomersLastNameInput","apolloFederation":null},"description":"Update the 'last_name' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_last_name","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersLastName","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersPhoneNumber","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersPhoneNumber","inputTypeName":"UpdateColumnCustomersPhoneNumberInput","apolloFederation":null},"description":"Update the 'phone_number' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_phone_number","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersPhoneNumber","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersPostcode","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersPostcode","inputTypeName":"UpdateColumnCustomersPostcodeInput","apolloFederation":null},"description":"Update the 'postcode' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_postcode","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersPostcode","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersSegment","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersSegment","inputTypeName":"UpdateColumnCustomersSegmentInput","apolloFederation":null},"description":"Update the 'segment' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_segment","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersSegment","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCustomersState","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCustomersState","inputTypeName":"UpdateColumnCustomersStateInput","apolloFederation":null},"description":"Update the 'state' column in the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_customers_state","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCustomersState","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomersByCustomerIdUpdateColumns","fields":[{"name":"address","type":"UpdateColumnCustomersAddress","description":"Update the 'address' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"city","type":"UpdateColumnCustomersCity","description":"Update the 'city' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"country","type":"UpdateColumnCustomersCountry","description":"Update the 'country' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnCustomersCustomerId","description":"Update the 'customer_id' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"email","type":"UpdateColumnCustomersEmail","description":"Update the 'email' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"firstName","type":"UpdateColumnCustomersFirstName","description":"Update the 'first_name' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"image","type":"UpdateColumnCustomersImage","description":"Update the 'image' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"lastName","type":"UpdateColumnCustomersLastName","description":"Update the 'last_name' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"phoneNumber","type":"UpdateColumnCustomersPhoneNumber","description":"Update the 'phone_number' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"postcode","type":"UpdateColumnCustomersPostcode","description":"Update the 'postcode' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"segment","type":"UpdateColumnCustomersSegment","description":"Update the 'segment' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"state","type":"UpdateColumnCustomersState","description":"Update the 'state' column in the 'customers' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomersByCustomerIdUpdateColumns","inputTypeName":"V2UpdateCustomersByCustomerIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_customer_id_update_columns","fieldMapping":{"address":{"column":{"name":"address","argumentMapping":null}},"city":{"column":{"name":"city","argumentMapping":null}},"country":{"column":{"name":"country","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"firstName":{"column":{"name":"first_name","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"lastName":{"column":{"name":"last_name","argumentMapping":null}},"phoneNumber":{"column":{"name":"phone_number","argumentMapping":null}},"postcode":{"column":{"name":"postcode","argumentMapping":null}},"segment":{"column":{"name":"segment","argumentMapping":null}},"state":{"column":{"name":"state","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomersByCustomerIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomersByCustomerIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Customers!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomersByCustomerIdResponse","inputTypeName":"V2UpdateCustomersByCustomerIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customers_by_customer_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_customer_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomersByCustomerIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomersByCustomerId","outputType":"V2UpdateCustomersByCustomerIdResponse!","arguments":[{"name":"keyCustomerId","type":"Int4!","description":null},{"name":"postCheck","type":"CustomersBoolExp!","description":"Update permission post-condition predicate over the 'customers' collection"},{"name":"preCheck","type":"CustomersBoolExp!","description":"Update permission pre-condition predicate over the 'customers' collection"},{"name":"updateColumns","type":"V2UpdateCustomersByCustomerIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customers_by_customer_id"},"argumentMapping":{"keyCustomerId":"key_customer_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomersByCustomerId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customers' collection using the 'customer_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomersByCustomerId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomersByPhoneNumberUpdateColumns","fields":[{"name":"address","type":"UpdateColumnCustomersAddress","description":"Update the 'address' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"city","type":"UpdateColumnCustomersCity","description":"Update the 'city' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"country","type":"UpdateColumnCustomersCountry","description":"Update the 'country' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"customerId","type":"UpdateColumnCustomersCustomerId","description":"Update the 'customer_id' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"email","type":"UpdateColumnCustomersEmail","description":"Update the 'email' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"firstName","type":"UpdateColumnCustomersFirstName","description":"Update the 'first_name' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"image","type":"UpdateColumnCustomersImage","description":"Update the 'image' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"lastName","type":"UpdateColumnCustomersLastName","description":"Update the 'last_name' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"phoneNumber","type":"UpdateColumnCustomersPhoneNumber","description":"Update the 'phone_number' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"postcode","type":"UpdateColumnCustomersPostcode","description":"Update the 'postcode' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"segment","type":"UpdateColumnCustomersSegment","description":"Update the 'segment' column in the 'customers' collection.","deprecated":null,"arguments":[]},{"name":"state","type":"UpdateColumnCustomersState","description":"Update the 'state' column in the 'customers' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomersByPhoneNumberUpdateColumns","inputTypeName":"V2UpdateCustomersByPhoneNumberUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'customers' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_phone_number_update_columns","fieldMapping":{"address":{"column":{"name":"address","argumentMapping":null}},"city":{"column":{"name":"city","argumentMapping":null}},"country":{"column":{"name":"country","argumentMapping":null}},"customerId":{"column":{"name":"customer_id","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"firstName":{"column":{"name":"first_name","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"lastName":{"column":{"name":"last_name","argumentMapping":null}},"phoneNumber":{"column":{"name":"phone_number","argumentMapping":null}},"postcode":{"column":{"name":"postcode","argumentMapping":null}},"segment":{"column":{"name":"segment","argumentMapping":null}},"state":{"column":{"name":"state","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomersByPhoneNumberUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["address","city","country","customerId","email","firstName","image","lastName","phoneNumber","postcode","segment","state"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCustomersByPhoneNumberResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Customers!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCustomersByPhoneNumberResponse","inputTypeName":"V2UpdateCustomersByPhoneNumberResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_customers_by_phone_number' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_customers_by_phone_number_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCustomersByPhoneNumberResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCustomersByPhoneNumber","outputType":"V2UpdateCustomersByPhoneNumberResponse!","arguments":[{"name":"keyPhoneNumber","type":"Varchar","description":null},{"name":"postCheck","type":"CustomersBoolExp!","description":"Update permission post-condition predicate over the 'customers' collection"},{"name":"preCheck","type":"CustomersBoolExp!","description":"Update permission pre-condition predicate over the 'customers' collection"},{"name":"updateColumns","type":"V2UpdateCustomersByPhoneNumberUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_customers_by_phone_number"},"argumentMapping":{"keyPhoneNumber":"key_phone_number","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCustomersByPhoneNumber","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'customers' collection using the 'phone_number' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCustomersByPhoneNumber","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsAdditionalBenefits","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsAdditionalBenefits","inputTypeName":"UpdateColumnDealsAdditionalBenefitsInput","apolloFederation":null},"description":"Update the 'additional_benefits' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_additional_benefits","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsAdditionalBenefits","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsCustomerSegment","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsCustomerSegment","inputTypeName":"UpdateColumnDealsCustomerSegmentInput","apolloFederation":null},"description":"Update the 'customer_segment' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_customer_segment","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsCustomerSegment","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsDealId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsDealId","inputTypeName":"UpdateColumnDealsDealIdInput","apolloFederation":null},"description":"Update the 'deal_id' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_deal_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsDealId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsDealName","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsDealName","inputTypeName":"UpdateColumnDealsDealNameInput","apolloFederation":null},"description":"Update the 'deal_name' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_deal_name","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsDealName","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsDescription","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsDescription","inputTypeName":"UpdateColumnDealsDescriptionInput","apolloFederation":null},"description":"Update the 'description' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_description","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsDescription","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsEndDate","fields":[{"name":"set","type":"Date","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsEndDate","inputTypeName":"UpdateColumnDealsEndDateInput","apolloFederation":null},"description":"Update the 'end_date' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_end_date","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsEndDate","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsMaxMonthlySpend","fields":[{"name":"set","type":"Numeric","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsMaxMonthlySpend","inputTypeName":"UpdateColumnDealsMaxMonthlySpendInput","apolloFederation":null},"description":"Update the 'max_monthly_spend' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_max_monthly_spend","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsMaxMonthlySpend","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsMinMonthlySpend","fields":[{"name":"set","type":"Numeric","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsMinMonthlySpend","inputTypeName":"UpdateColumnDealsMinMonthlySpendInput","apolloFederation":null},"description":"Update the 'min_monthly_spend' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_min_monthly_spend","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsMinMonthlySpend","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsStartDate","fields":[{"name":"set","type":"Date","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsStartDate","inputTypeName":"UpdateColumnDealsStartDateInput","apolloFederation":null},"description":"Update the 'start_date' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_start_date","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsStartDate","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDealsTermsConditions","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDealsTermsConditions","inputTypeName":"UpdateColumnDealsTermsConditionsInput","apolloFederation":null},"description":"Update the 'terms_conditions' column in the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_deals_terms_conditions","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDealsTermsConditions","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDealsByDealIdUpdateColumns","fields":[{"name":"additionalBenefits","type":"UpdateColumnDealsAdditionalBenefits","description":"Update the 'additional_benefits' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"customerSegment","type":"UpdateColumnDealsCustomerSegment","description":"Update the 'customer_segment' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"dealId","type":"UpdateColumnDealsDealId","description":"Update the 'deal_id' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"dealName","type":"UpdateColumnDealsDealName","description":"Update the 'deal_name' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"description","type":"UpdateColumnDealsDescription","description":"Update the 'description' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"endDate","type":"UpdateColumnDealsEndDate","description":"Update the 'end_date' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"maxMonthlySpend","type":"UpdateColumnDealsMaxMonthlySpend","description":"Update the 'max_monthly_spend' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"minMonthlySpend","type":"UpdateColumnDealsMinMonthlySpend","description":"Update the 'min_monthly_spend' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"startDate","type":"UpdateColumnDealsStartDate","description":"Update the 'start_date' column in the 'deals' collection.","deprecated":null,"arguments":[]},{"name":"termsConditions","type":"UpdateColumnDealsTermsConditions","description":"Update the 'terms_conditions' column in the 'deals' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDealsByDealIdUpdateColumns","inputTypeName":"V2UpdateDealsByDealIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'deals' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_deals_by_deal_id_update_columns","fieldMapping":{"additionalBenefits":{"column":{"name":"additional_benefits","argumentMapping":null}},"customerSegment":{"column":{"name":"customer_segment","argumentMapping":null}},"dealId":{"column":{"name":"deal_id","argumentMapping":null}},"dealName":{"column":{"name":"deal_name","argumentMapping":null}},"description":{"column":{"name":"description","argumentMapping":null}},"endDate":{"column":{"name":"end_date","argumentMapping":null}},"maxMonthlySpend":{"column":{"name":"max_monthly_spend","argumentMapping":null}},"minMonthlySpend":{"column":{"name":"min_monthly_spend","argumentMapping":null}},"startDate":{"column":{"name":"start_date","argumentMapping":null}},"termsConditions":{"column":{"name":"terms_conditions","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDealsByDealIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["additionalBenefits","customerSegment","dealId","dealName","description","endDate","maxMonthlySpend","minMonthlySpend","startDate","termsConditions"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDealsByDealIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Deals!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDealsByDealIdResponse","inputTypeName":"V2UpdateDealsByDealIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_deals_by_deal_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_deals_by_deal_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDealsByDealIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateDealsByDealId","outputType":"V2UpdateDealsByDealIdResponse!","arguments":[{"name":"keyDealId","type":"Int4!","description":null},{"name":"postCheck","type":"DealsBoolExp!","description":"Update permission post-condition predicate over the 'deals' collection"},{"name":"preCheck","type":"DealsBoolExp!","description":"Update permission pre-condition predicate over the 'deals' collection"},{"name":"updateColumns","type":"V2UpdateDealsByDealIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_deals_by_deal_id"},"argumentMapping":{"keyDealId":"key_deal_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateDealsByDealId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'deals' collection using the 'deal_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateDealsByDealId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesBrand","fields":[{"name":"set","type":"Varchar!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesBrand","inputTypeName":"UpdateColumnDevicesBrandInput","apolloFederation":null},"description":"Update the 'brand' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_brand","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesBrand","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesCreatedAt","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesCreatedAt","inputTypeName":"UpdateColumnDevicesCreatedAtInput","apolloFederation":null},"description":"Update the 'created_at' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_created_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesCreatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesDeviceId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesDeviceId","inputTypeName":"UpdateColumnDevicesDeviceIdInput","apolloFederation":null},"description":"Update the 'device_id' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_device_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesDeviceId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesImage","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesImage","inputTypeName":"UpdateColumnDevicesImageInput","apolloFederation":null},"description":"Update the 'image' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_image","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesImage","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesModel","fields":[{"name":"set","type":"Varchar!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesModel","inputTypeName":"UpdateColumnDevicesModelInput","apolloFederation":null},"description":"Update the 'model' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_model","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesModel","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesSfRecord","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesSfRecord","inputTypeName":"UpdateColumnDevicesSfRecordInput","apolloFederation":null},"description":"Update the 'sf_record' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_sf_record","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesSfRecord","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDevicesUpdatedAt","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDevicesUpdatedAt","inputTypeName":"UpdateColumnDevicesUpdatedAtInput","apolloFederation":null},"description":"Update the 'updated_at' column in the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_devices_updated_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDevicesUpdatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDevicesByDeviceIdUpdateColumns","fields":[{"name":"brand","type":"UpdateColumnDevicesBrand","description":"Update the 'brand' column in the 'devices' collection.","deprecated":null,"arguments":[]},{"name":"createdAt","type":"UpdateColumnDevicesCreatedAt","description":"Update the 'created_at' column in the 'devices' collection.","deprecated":null,"arguments":[]},{"name":"deviceId","type":"UpdateColumnDevicesDeviceId","description":"Update the 'device_id' column in the 'devices' collection.","deprecated":null,"arguments":[]},{"name":"image","type":"UpdateColumnDevicesImage","description":"Update the 'image' column in the 'devices' collection.","deprecated":null,"arguments":[]},{"name":"model","type":"UpdateColumnDevicesModel","description":"Update the 'model' column in the 'devices' collection.","deprecated":null,"arguments":[]},{"name":"sfRecord","type":"UpdateColumnDevicesSfRecord","description":"Update the 'sf_record' column in the 'devices' collection.","deprecated":null,"arguments":[]},{"name":"updatedAt","type":"UpdateColumnDevicesUpdatedAt","description":"Update the 'updated_at' column in the 'devices' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDevicesByDeviceIdUpdateColumns","inputTypeName":"V2UpdateDevicesByDeviceIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'devices' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_devices_by_device_id_update_columns","fieldMapping":{"brand":{"column":{"name":"brand","argumentMapping":null}},"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"deviceId":{"column":{"name":"device_id","argumentMapping":null}},"image":{"column":{"name":"image","argumentMapping":null}},"model":{"column":{"name":"model","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDevicesByDeviceIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["brand","createdAt","deviceId","image","model","sfRecord","updatedAt"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDevicesByDeviceIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Devices!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDevicesByDeviceIdResponse","inputTypeName":"V2UpdateDevicesByDeviceIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_devices_by_device_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_devices_by_device_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDevicesByDeviceIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateDevicesByDeviceId","outputType":"V2UpdateDevicesByDeviceIdResponse!","arguments":[{"name":"keyDeviceId","type":"Int4!","description":null},{"name":"postCheck","type":"DevicesBoolExp!","description":"Update permission post-condition predicate over the 'devices' collection"},{"name":"preCheck","type":"DevicesBoolExp!","description":"Update permission pre-condition predicate over the 'devices' collection"},{"name":"updateColumns","type":"V2UpdateDevicesByDeviceIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_devices_by_device_id"},"argumentMapping":{"keyDeviceId":"key_device_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateDevicesByDeviceId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'devices' collection using the 'device_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateDevicesByDeviceId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnNetworkCapacity","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnNetworkCapacity","inputTypeName":"UpdateColumnNetworkCapacityInput","apolloFederation":null},"description":"Update the 'capacity' column in the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_capacity","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnNetworkCapacity","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnNetworkLatitude","fields":[{"name":"set","type":"Numeric","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnNetworkLatitude","inputTypeName":"UpdateColumnNetworkLatitudeInput","apolloFederation":null},"description":"Update the 'latitude' column in the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_latitude","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnNetworkLatitude","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnNetworkLongitude","fields":[{"name":"set","type":"Numeric","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnNetworkLongitude","inputTypeName":"UpdateColumnNetworkLongitudeInput","apolloFederation":null},"description":"Update the 'longitude' column in the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_longitude","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnNetworkLongitude","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnNetworkNodeId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnNetworkNodeId","inputTypeName":"UpdateColumnNetworkNodeIdInput","apolloFederation":null},"description":"Update the 'node_id' column in the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_node_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnNetworkNodeId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnNetworkNodeName","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnNetworkNodeName","inputTypeName":"UpdateColumnNetworkNodeNameInput","apolloFederation":null},"description":"Update the 'node_name' column in the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_node_name","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnNetworkNodeName","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnNetworkStatus","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnNetworkStatus","inputTypeName":"UpdateColumnNetworkStatusInput","apolloFederation":null},"description":"Update the 'status' column in the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_network_status","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnNetworkStatus","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateNetworkByNodeIdUpdateColumns","fields":[{"name":"capacity","type":"UpdateColumnNetworkCapacity","description":"Update the 'capacity' column in the 'network' collection.","deprecated":null,"arguments":[]},{"name":"latitude","type":"UpdateColumnNetworkLatitude","description":"Update the 'latitude' column in the 'network' collection.","deprecated":null,"arguments":[]},{"name":"longitude","type":"UpdateColumnNetworkLongitude","description":"Update the 'longitude' column in the 'network' collection.","deprecated":null,"arguments":[]},{"name":"nodeId","type":"UpdateColumnNetworkNodeId","description":"Update the 'node_id' column in the 'network' collection.","deprecated":null,"arguments":[]},{"name":"nodeName","type":"UpdateColumnNetworkNodeName","description":"Update the 'node_name' column in the 'network' collection.","deprecated":null,"arguments":[]},{"name":"status","type":"UpdateColumnNetworkStatus","description":"Update the 'status' column in the 'network' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateNetworkByNodeIdUpdateColumns","inputTypeName":"V2UpdateNetworkByNodeIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'network' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_network_by_node_id_update_columns","fieldMapping":{"capacity":{"column":{"name":"capacity","argumentMapping":null}},"latitude":{"column":{"name":"latitude","argumentMapping":null}},"longitude":{"column":{"name":"longitude","argumentMapping":null}},"nodeId":{"column":{"name":"node_id","argumentMapping":null}},"nodeName":{"column":{"name":"node_name","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateNetworkByNodeIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["capacity","latitude","longitude","nodeId","nodeName","status"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateNetworkByNodeIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Network!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateNetworkByNodeIdResponse","inputTypeName":"V2UpdateNetworkByNodeIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_network_by_node_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_network_by_node_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateNetworkByNodeIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateNetworkByNodeId","outputType":"V2UpdateNetworkByNodeIdResponse!","arguments":[{"name":"keyNodeId","type":"Int4!","description":null},{"name":"postCheck","type":"NetworkBoolExp!","description":"Update permission post-condition predicate over the 'network' collection"},{"name":"preCheck","type":"NetworkBoolExp!","description":"Update permission pre-condition predicate over the 'network' collection"},{"name":"updateColumns","type":"V2UpdateNetworkByNodeIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_network_by_node_id"},"argumentMapping":{"keyNodeId":"key_node_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateNetworkByNodeId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'network' collection using the 'node_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateNetworkByNodeId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnPlansDescription","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnPlansDescription","inputTypeName":"UpdateColumnPlansDescriptionInput","apolloFederation":null},"description":"Update the 'description' column in the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_description","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnPlansDescription","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnPlansMonthlyFee","fields":[{"name":"set","type":"Numeric","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnPlansMonthlyFee","inputTypeName":"UpdateColumnPlansMonthlyFeeInput","apolloFederation":null},"description":"Update the 'monthly_fee' column in the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_monthly_fee","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnPlansMonthlyFee","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnPlansPlanId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnPlansPlanId","inputTypeName":"UpdateColumnPlansPlanIdInput","apolloFederation":null},"description":"Update the 'plan_id' column in the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_plan_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnPlansPlanId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnPlansPlanName","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnPlansPlanName","inputTypeName":"UpdateColumnPlansPlanNameInput","apolloFederation":null},"description":"Update the 'plan_name' column in the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_plan_name","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnPlansPlanName","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnPlansSfRecord","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnPlansSfRecord","inputTypeName":"UpdateColumnPlansSfRecordInput","apolloFederation":null},"description":"Update the 'sf_record' column in the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_sf_record","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnPlansSfRecord","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnPlansType","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnPlansType","inputTypeName":"UpdateColumnPlansTypeInput","apolloFederation":null},"description":"Update the 'type' column in the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"update_column_plans_type","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnPlansType","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdatePlansByPlanIdUpdateColumns","fields":[{"name":"description","type":"UpdateColumnPlansDescription","description":"Update the 'description' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"monthlyFee","type":"UpdateColumnPlansMonthlyFee","description":"Update the 'monthly_fee' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"planId","type":"UpdateColumnPlansPlanId","description":"Update the 'plan_id' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"planName","type":"UpdateColumnPlansPlanName","description":"Update the 'plan_name' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"sfRecord","type":"UpdateColumnPlansSfRecord","description":"Update the 'sf_record' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"type","type":"UpdateColumnPlansType","description":"Update the 'type' column in the 'plans' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdatePlansByPlanIdUpdateColumns","inputTypeName":"V2UpdatePlansByPlanIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_id_update_columns","fieldMapping":{"description":{"column":{"name":"description","argumentMapping":null}},"monthlyFee":{"column":{"name":"monthly_fee","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"planName":{"column":{"name":"plan_name","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"type":{"column":{"name":"type","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdatePlansByPlanIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdatePlansByPlanIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Plans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdatePlansByPlanIdResponse","inputTypeName":"V2UpdatePlansByPlanIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_plans_by_plan_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdatePlansByPlanIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdatePlansByPlanId","outputType":"V2UpdatePlansByPlanIdResponse!","arguments":[{"name":"keyPlanId","type":"Int4!","description":null},{"name":"postCheck","type":"PlansBoolExp!","description":"Update permission post-condition predicate over the 'plans' collection"},{"name":"preCheck","type":"PlansBoolExp!","description":"Update permission pre-condition predicate over the 'plans' collection"},{"name":"updateColumns","type":"V2UpdatePlansByPlanIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_plans_by_plan_id"},"argumentMapping":{"keyPlanId":"key_plan_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdatePlansByPlanId","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'plans' collection using the 'plan_id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdatePlansByPlanId","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdatePlansByPlanNameUpdateColumns","fields":[{"name":"description","type":"UpdateColumnPlansDescription","description":"Update the 'description' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"monthlyFee","type":"UpdateColumnPlansMonthlyFee","description":"Update the 'monthly_fee' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"planId","type":"UpdateColumnPlansPlanId","description":"Update the 'plan_id' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"planName","type":"UpdateColumnPlansPlanName","description":"Update the 'plan_name' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"sfRecord","type":"UpdateColumnPlansSfRecord","description":"Update the 'sf_record' column in the 'plans' collection.","deprecated":null,"arguments":[]},{"name":"type","type":"UpdateColumnPlansType","description":"Update the 'type' column in the 'plans' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdatePlansByPlanNameUpdateColumns","inputTypeName":"V2UpdatePlansByPlanNameUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'plans' collection","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_name_update_columns","fieldMapping":{"description":{"column":{"name":"description","argumentMapping":null}},"monthlyFee":{"column":{"name":"monthly_fee","argumentMapping":null}},"planId":{"column":{"name":"plan_id","argumentMapping":null}},"planName":{"column":{"name":"plan_name","argumentMapping":null}},"sfRecord":{"column":{"name":"sf_record","argumentMapping":null}},"type":{"column":{"name":"type","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdatePlansByPlanNameUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["description","monthlyFee","planId","planName","sfRecord","type"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdatePlansByPlanNameResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Plans!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdatePlansByPlanNameResponse","inputTypeName":"V2UpdatePlansByPlanNameResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_plans_by_plan_name' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"aurora","dataConnectorObjectType":"v2_update_plans_by_plan_name_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdatePlansByPlanNameResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdatePlansByPlanName","outputType":"V2UpdatePlansByPlanNameResponse!","arguments":[{"name":"keyPlanName","type":"Varchar","description":null},{"name":"postCheck","type":"PlansBoolExp!","description":"Update permission post-condition predicate over the 'plans' collection"},{"name":"preCheck","type":"PlansBoolExp!","description":"Update permission pre-condition predicate over the 'plans' collection"},{"name":"updateColumns","type":"V2UpdatePlansByPlanNameUpdateColumns!","description":null}],"source":{"dataConnectorName":"aurora","dataConnectorCommand":{"procedure":"v2_update_plans_by_plan_name"},"argumentMapping":{"keyPlanName":"key_plan_name","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdatePlansByPlanName","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'plans' collection using the 'plan_name' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdatePlansByPlanName","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}}]},{"name":"support","objects":[{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[DocumentEmbeddings!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse","inputTypeName":"V2DeleteDocumentEmbeddingsByDocumentUuidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_document_embeddings_by_document_uuid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_delete_document_embeddings_by_document_uuid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteDocumentEmbeddingsByDocumentUuid","outputType":"V2DeleteDocumentEmbeddingsByDocumentUuidResponse!","arguments":[{"name":"keyDocumentUuid","type":"Uuid!","description":null},{"name":"preCheck","type":"DocumentEmbeddingsBoolExp!","description":"Delete permission predicate over the 'document_embeddings' collection"}],"source":{"dataConnectorName":"vector","dataConnectorCommand":{"procedure":"v2_delete_document_embeddings_by_document_uuid"},"argumentMapping":{"keyDocumentUuid":"key_document_uuid","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteDocumentEmbeddingsByDocumentUuid","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'document_embeddings' collection using the 'document_uuid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteDocumentEmbeddingsByDocumentUuid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteDocumentsByUuidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Documents!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteDocumentsByUuidResponse","inputTypeName":"V2DeleteDocumentsByUuidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_documents_by_uuid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_delete_documents_by_uuid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteDocumentsByUuidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteDocumentsByUuid","outputType":"V2DeleteDocumentsByUuidResponse!","arguments":[{"name":"keyUuid","type":"Uuid!","description":null},{"name":"preCheck","type":"DocumentsBoolExp!","description":"Delete permission predicate over the 'documents' collection"}],"source":{"dataConnectorName":"vector","dataConnectorCommand":{"procedure":"v2_delete_documents_by_uuid"},"argumentMapping":{"keyUuid":"key_uuid","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteDocumentsByUuid","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'documents' collection using the 'uuid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteDocumentsByUuid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"DocumentEmbeddings","fields":[{"name":"documentUuid","type":"Uuid!","description":null,"deprecated":null,"arguments":[]},{"name":"embeddings","type":"Vector","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_DocumentEmbeddings","inputTypeName":"Support_DocumentEmbeddingsInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"document_embeddings","fieldMapping":{"documentUuid":{"column":{"name":"document_uuid","argumentMapping":null}},"embeddings":{"column":{"name":"embeddings","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"DocumentEmbeddings","permissions":[{"role":"admin","output":{"allowedFields":["documentUuid","embeddings"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"DocumentEmbeddings","objectType":"DocumentEmbeddings","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"vector","collection":"document_embeddings","argumentMapping":{}},"filterExpressionType":"DocumentEmbeddingsBoolExp","orderableFields":[{"fieldName":"documentUuid","orderByDirections":{"enableAll":true}},{"fieldName":"embeddings","orderByDirections":{"enableAll":true}}],"aggregateExpression":"DocumentEmbeddingsAggExp","graphql":{"selectUniques":[{"queryRootField":"documentEmbeddingsByDocumentUuid","uniqueIdentifier":["documentUuid"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"documentEmbeddings","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Support_DocumentEmbeddingsOrderBy","apolloFederation":null,"filterInputTypeName":"DocumentEmbeddingsFilterInput","aggregate":{"queryRootField":"documentEmbeddingsAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"DocumentEmbeddings","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"document","sourceType":"DocumentEmbeddings","target":{"model":{"name":"Documents","subgraph":null,"relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"documentUuid"}]},"target":{"modelField":[{"fieldName":"uuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DocumentEmbeddingsBoolExp","operand":{"object":{"type":"DocumentEmbeddings","comparableFields":[{"fieldName":"documentUuid","booleanExpressionType":"UuidBoolExp"},{"fieldName":"embeddings","booleanExpressionType":"VectorBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_DocumentEmbeddingsBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DocumentEmbeddingsAggExp","operand":{"object":{"aggregatedType":"DocumentEmbeddings","aggregatableFields":[{"fieldName":"documentUuid","description":null,"aggregateExpression":"UuidAggExp"},{"fieldName":"embeddings","description":null,"aggregateExpression":"VectorAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"DocumentEmbeddingsAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Documents","fields":[{"name":"body","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"createdAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"language","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"rating","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"tags","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"title","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"uuid","type":"Uuid!","description":null,"deprecated":null,"arguments":[]},{"name":"viewCount","type":"Int4","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_Documents","inputTypeName":"Support_DocumentsInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"documents","fieldMapping":{"body":{"column":{"name":"body","argumentMapping":null}},"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"language":{"column":{"name":"language","argumentMapping":null}},"rating":{"column":{"name":"rating","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}},"tags":{"column":{"name":"tags","argumentMapping":null}},"title":{"column":{"name":"title","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}},"uuid":{"column":{"name":"uuid","argumentMapping":null}},"viewCount":{"column":{"name":"view_count","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Documents","permissions":[{"role":"admin","output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"input":null},{"role":"customer","output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Documents","objectType":"Documents","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"vector","collection":"documents","argumentMapping":{}},"filterExpressionType":"DocumentsBoolExp","orderableFields":[{"fieldName":"body","orderByDirections":{"enableAll":true}},{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"language","orderByDirections":{"enableAll":true}},{"fieldName":"rating","orderByDirections":{"enableAll":true}},{"fieldName":"status","orderByDirections":{"enableAll":true}},{"fieldName":"tags","orderByDirections":{"enableAll":true}},{"fieldName":"title","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}},{"fieldName":"uuid","orderByDirections":{"enableAll":true}},{"fieldName":"viewCount","orderByDirections":{"enableAll":true}}],"aggregateExpression":"DocumentsAggExp","graphql":{"selectUniques":[{"queryRootField":"documentsByUuid","uniqueIdentifier":["uuid"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"documents","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Support_DocumentsOrderBy","apolloFederation":null,"filterInputTypeName":"DocumentsFilterInput","aggregate":{"queryRootField":"documentsAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Documents","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"documentEmbeddings","sourceType":"Documents","target":{"model":{"name":"DocumentEmbeddings","subgraph":null,"relationshipType":"Array"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"uuid"}]},"target":{"modelField":[{"fieldName":"documentUuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatUpdatedDate","sourceType":"Documents","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"updatedAt"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatCreatedDate","sourceType":"Documents","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"createdAt"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DocumentsBoolExp","operand":{"object":{"type":"Documents","comparableFields":[{"fieldName":"body","booleanExpressionType":"TextBoolExp"},{"fieldName":"createdAt","booleanExpressionType":"TimestamptzBoolExp"},{"fieldName":"language","booleanExpressionType":"TextBoolExp"},{"fieldName":"rating","booleanExpressionType":"Int4BoolExp"},{"fieldName":"status","booleanExpressionType":"TextBoolExp"},{"fieldName":"tags","booleanExpressionType":"TextBoolExp"},{"fieldName":"title","booleanExpressionType":"TextBoolExp"},{"fieldName":"updatedAt","booleanExpressionType":"TimestamptzBoolExp"},{"fieldName":"uuid","booleanExpressionType":"UuidBoolExp"},{"fieldName":"viewCount","booleanExpressionType":"Int4BoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_DocumentsBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DocumentsAggExp","operand":{"object":{"aggregatedType":"Documents","aggregatableFields":[{"fieldName":"body","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"createdAt","description":null,"aggregateExpression":"TimestamptzAggExp"},{"fieldName":"language","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"rating","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"status","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"tags","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"title","description":null,"aggregateExpression":"TextAggExp"},{"fieldName":"updatedAt","description":null,"aggregateExpression":"TimestamptzAggExp"},{"fieldName":"uuid","description":null,"aggregateExpression":"UuidAggExp"},{"fieldName":"viewCount","description":null,"aggregateExpression":"Int4AggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"DocumentsAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDocumentEmbeddingsObject","fields":[{"name":"documentUuid","type":"Uuid!","description":null,"deprecated":null,"arguments":[]},{"name":"embeddings","type":"Vector","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDocumentEmbeddingsObject","inputTypeName":"V2InsertDocumentEmbeddingsObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_document_embeddings_object","fieldMapping":{"documentUuid":{"column":{"name":"document_uuid","argumentMapping":null}},"embeddings":{"column":{"name":"embeddings","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDocumentEmbeddingsObject","permissions":[{"role":"admin","output":{"allowedFields":["documentUuid","embeddings"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDocumentEmbeddingsResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[DocumentEmbeddings!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDocumentEmbeddingsResponse","inputTypeName":"V2InsertDocumentEmbeddingsResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_document_embeddings' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_document_embeddings_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDocumentEmbeddingsResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertDocumentEmbeddings","outputType":"V2InsertDocumentEmbeddingsResponse!","arguments":[{"name":"objects","type":"[V2InsertDocumentEmbeddingsObject!]!","description":null},{"name":"postCheck","type":"DocumentEmbeddingsBoolExp!","description":"Insert permission predicate over the 'document_embeddings' collection"}],"source":{"dataConnectorName":"vector","dataConnectorCommand":{"procedure":"v2_insert_document_embeddings"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertDocumentEmbeddings","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the document_embeddings table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertDocumentEmbeddings","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDocumentsObject","fields":[{"name":"body","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"createdAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"language","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"rating","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"tags","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"title","type":"Text","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"uuid","type":"Uuid","description":null,"deprecated":null,"arguments":[]},{"name":"viewCount","type":"Int4","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDocumentsObject","inputTypeName":"V2InsertDocumentsObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_documents_object","fieldMapping":{"body":{"column":{"name":"body","argumentMapping":null}},"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"language":{"column":{"name":"language","argumentMapping":null}},"rating":{"column":{"name":"rating","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}},"tags":{"column":{"name":"tags","argumentMapping":null}},"title":{"column":{"name":"title","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}},"uuid":{"column":{"name":"uuid","argumentMapping":null}},"viewCount":{"column":{"name":"view_count","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDocumentsObject","permissions":[{"role":"admin","output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertDocumentsResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Documents!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertDocumentsResponse","inputTypeName":"V2InsertDocumentsResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_documents' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_insert_documents_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertDocumentsResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertDocuments","outputType":"V2InsertDocumentsResponse!","arguments":[{"name":"objects","type":"[V2InsertDocumentsObject!]!","description":null},{"name":"postCheck","type":"DocumentsBoolExp!","description":"Insert permission predicate over the 'documents' collection"}],"source":{"dataConnectorName":"vector","dataConnectorCommand":{"procedure":"v2_insert_documents"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertDocuments","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the documents table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertDocuments","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentEmbeddingsDocumentUuid","fields":[{"name":"set","type":"Uuid!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentEmbeddingsDocumentUuid","inputTypeName":"UpdateColumnDocumentEmbeddingsDocumentUuidInput","apolloFederation":null},"description":"Update the 'document_uuid' column in the 'document_embeddings' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_document_embeddings_document_uuid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentEmbeddingsDocumentUuid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentEmbeddingsEmbeddings","fields":[{"name":"set","type":"Vector","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentEmbeddingsEmbeddings","inputTypeName":"UpdateColumnDocumentEmbeddingsEmbeddingsInput","apolloFederation":null},"description":"Update the 'embeddings' column in the 'document_embeddings' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_document_embeddings_embeddings","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentEmbeddingsEmbeddings","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns","fields":[{"name":"documentUuid","type":"UpdateColumnDocumentEmbeddingsDocumentUuid","description":"Update the 'document_uuid' column in the 'document_embeddings' collection.","deprecated":null,"arguments":[]},{"name":"embeddings","type":"UpdateColumnDocumentEmbeddingsEmbeddings","description":"Update the 'embeddings' column in the 'document_embeddings' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns","inputTypeName":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'document_embeddings' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_document_embeddings_by_document_uuid_update_columns","fieldMapping":{"documentUuid":{"column":{"name":"document_uuid","argumentMapping":null}},"embeddings":{"column":{"name":"embeddings","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["documentUuid","embeddings"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[DocumentEmbeddings!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse","inputTypeName":"V2UpdateDocumentEmbeddingsByDocumentUuidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_document_embeddings_by_document_uuid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_document_embeddings_by_document_uuid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateDocumentEmbeddingsByDocumentUuid","outputType":"V2UpdateDocumentEmbeddingsByDocumentUuidResponse!","arguments":[{"name":"keyDocumentUuid","type":"Uuid!","description":null},{"name":"postCheck","type":"DocumentEmbeddingsBoolExp!","description":"Update permission post-condition predicate over the 'document_embeddings' collection"},{"name":"preCheck","type":"DocumentEmbeddingsBoolExp!","description":"Update permission pre-condition predicate over the 'document_embeddings' collection"},{"name":"updateColumns","type":"V2UpdateDocumentEmbeddingsByDocumentUuidUpdateColumns!","description":null}],"source":{"dataConnectorName":"vector","dataConnectorCommand":{"procedure":"v2_update_document_embeddings_by_document_uuid"},"argumentMapping":{"keyDocumentUuid":"key_document_uuid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateDocumentEmbeddingsByDocumentUuid","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'document_embeddings' collection using the 'document_uuid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateDocumentEmbeddingsByDocumentUuid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsBody","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsBody","inputTypeName":"UpdateColumnDocumentsBodyInput","apolloFederation":null},"description":"Update the 'body' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_body","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsBody","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsCreatedAt","fields":[{"name":"set","type":"Timestamptz","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsCreatedAt","inputTypeName":"UpdateColumnDocumentsCreatedAtInput","apolloFederation":null},"description":"Update the 'created_at' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_created_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsCreatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsLanguage","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsLanguage","inputTypeName":"UpdateColumnDocumentsLanguageInput","apolloFederation":null},"description":"Update the 'language' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_language","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsLanguage","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsRating","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsRating","inputTypeName":"UpdateColumnDocumentsRatingInput","apolloFederation":null},"description":"Update the 'rating' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_rating","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsRating","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsStatus","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsStatus","inputTypeName":"UpdateColumnDocumentsStatusInput","apolloFederation":null},"description":"Update the 'status' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_status","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsStatus","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsTags","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsTags","inputTypeName":"UpdateColumnDocumentsTagsInput","apolloFederation":null},"description":"Update the 'tags' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_tags","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsTags","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsTitle","fields":[{"name":"set","type":"Text","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsTitle","inputTypeName":"UpdateColumnDocumentsTitleInput","apolloFederation":null},"description":"Update the 'title' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_title","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsTitle","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsUpdatedAt","fields":[{"name":"set","type":"Timestamptz","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsUpdatedAt","inputTypeName":"UpdateColumnDocumentsUpdatedAtInput","apolloFederation":null},"description":"Update the 'updated_at' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_updated_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsUpdatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsUuid","fields":[{"name":"set","type":"Uuid!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsUuid","inputTypeName":"UpdateColumnDocumentsUuidInput","apolloFederation":null},"description":"Update the 'uuid' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_uuid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsUuid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnDocumentsViewCount","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnDocumentsViewCount","inputTypeName":"UpdateColumnDocumentsViewCountInput","apolloFederation":null},"description":"Update the 'view_count' column in the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"update_column_documents_view_count","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnDocumentsViewCount","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDocumentsByUuidUpdateColumns","fields":[{"name":"body","type":"UpdateColumnDocumentsBody","description":"Update the 'body' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"createdAt","type":"UpdateColumnDocumentsCreatedAt","description":"Update the 'created_at' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"language","type":"UpdateColumnDocumentsLanguage","description":"Update the 'language' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"rating","type":"UpdateColumnDocumentsRating","description":"Update the 'rating' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"status","type":"UpdateColumnDocumentsStatus","description":"Update the 'status' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"tags","type":"UpdateColumnDocumentsTags","description":"Update the 'tags' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"title","type":"UpdateColumnDocumentsTitle","description":"Update the 'title' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"updatedAt","type":"UpdateColumnDocumentsUpdatedAt","description":"Update the 'updated_at' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"uuid","type":"UpdateColumnDocumentsUuid","description":"Update the 'uuid' column in the 'documents' collection.","deprecated":null,"arguments":[]},{"name":"viewCount","type":"UpdateColumnDocumentsViewCount","description":"Update the 'view_count' column in the 'documents' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDocumentsByUuidUpdateColumns","inputTypeName":"V2UpdateDocumentsByUuidUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'documents' collection","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_documents_by_uuid_update_columns","fieldMapping":{"body":{"column":{"name":"body","argumentMapping":null}},"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"language":{"column":{"name":"language","argumentMapping":null}},"rating":{"column":{"name":"rating","argumentMapping":null}},"status":{"column":{"name":"status","argumentMapping":null}},"tags":{"column":{"name":"tags","argumentMapping":null}},"title":{"column":{"name":"title","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}},"uuid":{"column":{"name":"uuid","argumentMapping":null}},"viewCount":{"column":{"name":"view_count","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDocumentsByUuidUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["body","createdAt","language","rating","status","tags","title","updatedAt","uuid","viewCount"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateDocumentsByUuidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Documents!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateDocumentsByUuidResponse","inputTypeName":"V2UpdateDocumentsByUuidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_documents_by_uuid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"vector","dataConnectorObjectType":"v2_update_documents_by_uuid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateDocumentsByUuidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateDocumentsByUuid","outputType":"V2UpdateDocumentsByUuidResponse!","arguments":[{"name":"keyUuid","type":"Uuid!","description":null},{"name":"postCheck","type":"DocumentsBoolExp!","description":"Update permission post-condition predicate over the 'documents' collection"},{"name":"preCheck","type":"DocumentsBoolExp!","description":"Update permission pre-condition predicate over the 'documents' collection"},{"name":"updateColumns","type":"V2UpdateDocumentsByUuidUpdateColumns!","description":null}],"source":{"dataConnectorName":"vector","dataConnectorCommand":{"procedure":"v2_update_documents_by_uuid"},"argumentMapping":{"keyUuid":"key_uuid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateDocumentsByUuid","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'documents' collection using the 'uuid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateDocumentsByUuid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesAccountDetails","fields":[{"name":"accountNumber","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"registrationDate","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesAccountDetails","inputTypeName":"Support_UserProfilesAccountDetailsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_accountDetails","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesAccountDetails","permissions":[{"role":"admin","output":{"allowedFields":["accountNumber","registrationDate"]},"input":null},{"role":"customer","output":{"allowedFields":["accountNumber","registrationDate"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesIdentification","fields":[{"name":"expiryDate","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"issuedBy","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"number","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"type","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesIdentification","inputTypeName":"Support_UserProfilesIdentificationInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_identification","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesIdentification","permissions":[{"role":"admin","output":{"allowedFields":["expiryDate","issuedBy","number","type"]},"input":null},{"role":"customer","output":{"allowedFields":["expiryDate","issuedBy","number","type"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesCommunicationAppNotifications","fields":[{"name":"enabled","type":"Bool!","description":null,"deprecated":null,"arguments":[]},{"name":"frequency","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesCommunicationAppNotifications","inputTypeName":"Support_UserProfilesPreferencesCommunicationAppNotificationsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_communication_appNotifications","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesCommunicationAppNotifications","permissions":[{"role":"admin","output":{"allowedFields":["enabled","frequency"]},"input":null},{"role":"customer","output":{"allowedFields":["enabled","frequency"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesCommunication","fields":[{"name":"appNotifications","type":"UserProfilesPreferencesCommunicationAppNotifications!","description":null,"deprecated":null,"arguments":[]},{"name":"emailUpdates","type":"Bool!","description":null,"deprecated":null,"arguments":[]},{"name":"smsNotifications","type":"Bool!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesCommunication","inputTypeName":"Support_UserProfilesPreferencesCommunicationInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_communication","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesCommunication","permissions":[{"role":"admin","output":{"allowedFields":["appNotifications","emailUpdates","smsNotifications"]},"input":null},{"role":"customer","output":{"allowedFields":["appNotifications","emailUpdates","smsNotifications"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesPrivacySettings","fields":[{"name":"adPersonalization","type":"Bool!","description":null,"deprecated":null,"arguments":[]},{"name":"shareDataForImprovements","type":"Bool!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesPrivacySettings","inputTypeName":"Support_UserProfilesPreferencesPrivacySettingsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_privacySettings","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesPrivacySettings","permissions":[{"role":"admin","output":{"allowedFields":["adPersonalization","shareDataForImprovements"]},"input":null},{"role":"customer","output":{"allowedFields":["adPersonalization","shareDataForImprovements"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates","fields":[{"name":"lat","type":"Double!","description":null,"deprecated":null,"arguments":[]},{"name":"long","type":"Double!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates","inputTypeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinatesInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates","permissions":[{"role":"admin","output":{"allowedFields":["lat","long"]},"input":null},{"role":"customer","output":{"allowedFields":["lat","long"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesServicePreferencesFavoriteLocations","fields":[{"name":"coordinates","type":"UserProfilesPreferencesServicePreferencesFavoriteLocationsCoordinates!","description":null,"deprecated":null,"arguments":[]},{"name":"name","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocations","inputTypeName":"Support_UserProfilesPreferencesServicePreferencesFavoriteLocationsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences_favoriteLocations","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesServicePreferencesFavoriteLocations","permissions":[{"role":"admin","output":{"allowedFields":["coordinates","name"]},"input":null},{"role":"customer","output":{"allowedFields":["coordinates","name"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesServicePreferencesNetworkSettings","fields":[{"name":"dataSaverMode","type":"Bool!","description":null,"deprecated":null,"arguments":[]},{"name":"preferredNetworkType","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesServicePreferencesNetworkSettings","inputTypeName":"Support_UserProfilesPreferencesServicePreferencesNetworkSettingsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences_networkSettings","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesServicePreferencesNetworkSettings","permissions":[{"role":"admin","output":{"allowedFields":["dataSaverMode","preferredNetworkType"]},"input":null},{"role":"customer","output":{"allowedFields":["dataSaverMode","preferredNetworkType"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferencesServicePreferences","fields":[{"name":"favoriteLocations","type":"[UserProfilesPreferencesServicePreferencesFavoriteLocations!]!","description":null,"deprecated":null,"arguments":[]},{"name":"networkSettings","type":"UserProfilesPreferencesServicePreferencesNetworkSettings!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferencesServicePreferences","inputTypeName":"Support_UserProfilesPreferencesServicePreferencesInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences_servicePreferences","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferencesServicePreferences","permissions":[{"role":"admin","output":{"allowedFields":["favoriteLocations","networkSettings"]},"input":null},{"role":"customer","output":{"allowedFields":["favoriteLocations","networkSettings"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesPreferences","fields":[{"name":"communication","type":"UserProfilesPreferencesCommunication!","description":null,"deprecated":null,"arguments":[]},{"name":"privacySettings","type":"UserProfilesPreferencesPrivacySettings!","description":null,"deprecated":null,"arguments":[]},{"name":"servicePreferences","type":"UserProfilesPreferencesServicePreferences!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesPreferences","inputTypeName":"Support_UserProfilesPreferencesInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_preferences","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesPreferences","permissions":[{"role":"admin","output":{"allowedFields":["communication","privacySettings","servicePreferences"]},"input":null},{"role":"customer","output":{"allowedFields":["communication","privacySettings","servicePreferences"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesSupportHistory","fields":[{"name":"date","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"issue","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"resolutionNotes","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"status","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"ticketId","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesSupportHistory","inputTypeName":"Support_UserProfilesSupportHistoryInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_supportHistory","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesSupportHistory","permissions":[{"role":"admin","output":{"allowedFields":["date","issue","resolutionNotes","status","ticketId"]},"input":null},{"role":"customer","output":{"allowedFields":["date","issue","resolutionNotes","status","ticketId"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesUsageStatsAppUsage","fields":[{"name":"name","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"usage","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesUsageStatsAppUsage","inputTypeName":"Support_UserProfilesUsageStatsAppUsageInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats_appUsage","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesUsageStatsAppUsage","permissions":[{"role":"admin","output":{"allowedFields":["name","usage"]},"input":null},{"role":"customer","output":{"allowedFields":["name","usage"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesUsageStatsCallStats","fields":[{"name":"internationalMinutes","type":"Int!","description":null,"deprecated":null,"arguments":[]},{"name":"totalMinutes","type":"Int!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesUsageStatsCallStats","inputTypeName":"Support_UserProfilesUsageStatsCallStatsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats_callStats","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesUsageStatsCallStats","permissions":[{"role":"admin","output":{"allowedFields":["internationalMinutes","totalMinutes"]},"input":null},{"role":"customer","output":{"allowedFields":["internationalMinutes","totalMinutes"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesUsageStatsDataUsage","fields":[{"name":"currentMonth","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"total","type":"String!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesUsageStatsDataUsage","inputTypeName":"Support_UserProfilesUsageStatsDataUsageInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats_dataUsage","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesUsageStatsDataUsage","permissions":[{"role":"admin","output":{"allowedFields":["currentMonth","total"]},"input":null},{"role":"customer","output":{"allowedFields":["currentMonth","total"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfilesUsageStats","fields":[{"name":"appUsage","type":"[UserProfilesUsageStatsAppUsage!]!","description":null,"deprecated":null,"arguments":[]},{"name":"callStats","type":"UserProfilesUsageStatsCallStats!","description":null,"deprecated":null,"arguments":[]},{"name":"dataUsage","type":"UserProfilesUsageStatsDataUsage!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfilesUsageStats","inputTypeName":"Support_UserProfilesUsageStatsInput","apolloFederation":null},"description":"generated from MongoDB validation schema","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles_usageStats","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfilesUsageStats","permissions":[{"role":"admin","output":{"allowedFields":["appUsage","callStats","dataUsage"]},"input":null},{"role":"customer","output":{"allowedFields":["appUsage","callStats","dataUsage"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UserProfiles","fields":[{"name":"id","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"accountDetails","type":"UserProfilesAccountDetails!","description":null,"deprecated":null,"arguments":[]},{"name":"identification","type":"UserProfilesIdentification!","description":null,"deprecated":null,"arguments":[]},{"name":"memberId","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"notes","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"preferences","type":"UserProfilesPreferences!","description":null,"deprecated":null,"arguments":[]},{"name":"supportHistory","type":"[UserProfilesSupportHistory!]!","description":null,"deprecated":null,"arguments":[]},{"name":"usageStats","type":"UserProfilesUsageStats!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Support_UserProfiles","inputTypeName":"Support_UserProfilesInput","apolloFederation":null},"description":"Object type for collection userProfiles","dataConnectorTypeMapping":[{"dataConnectorName":"atlas","dataConnectorObjectType":"userProfiles","fieldMapping":{"accountDetails":{"column":{"name":"accountDetails","argumentMapping":null}},"id":{"column":{"name":"_id","argumentMapping":null}},"identification":{"column":{"name":"identification","argumentMapping":null}},"memberId":{"column":{"name":"memberID","argumentMapping":null}},"notes":{"column":{"name":"notes","argumentMapping":null}},"preferences":{"column":{"name":"preferences","argumentMapping":null}},"supportHistory":{"column":{"name":"supportHistory","argumentMapping":null}},"usageStats":{"column":{"name":"usageStats","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UserProfiles","permissions":[{"role":"admin","output":{"allowedFields":["id","accountDetails","identification","memberId","notes","preferences","supportHistory","usageStats"]},"input":null},{"role":"customer","output":{"allowedFields":["id","accountDetails","identification","memberId","notes","preferences","supportHistory","usageStats"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"UserProfiles","objectType":"UserProfiles","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"atlas","collection":"userProfiles","argumentMapping":{}},"filterExpressionType":"UserProfilesBoolExp","orderableFields":[{"fieldName":"id","orderByDirections":{"enableAll":true}},{"fieldName":"accountDetails","orderByDirections":{"enableAll":true}},{"fieldName":"identification","orderByDirections":{"enableAll":true}},{"fieldName":"memberId","orderByDirections":{"enableAll":true}},{"fieldName":"notes","orderByDirections":{"enableAll":true}},{"fieldName":"preferences","orderByDirections":{"enableAll":true}},{"fieldName":"supportHistory","orderByDirections":{"enableAll":true}},{"fieldName":"usageStats","orderByDirections":{"enableAll":true}}],"aggregateExpression":"UserProfilesAggExp","graphql":{"selectUniques":[{"queryRootField":"userProfilesById","uniqueIdentifier":["id"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"userProfiles","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Support_UserProfilesOrderBy","apolloFederation":null,"filterInputTypeName":"UserProfilesFilterInput","aggregate":{"queryRootField":"userProfilesAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"UserProfiles","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"userProfiles","sourceType":"UserProfiles","target":{"model":{"name":"CustomerPreferences","subgraph":"customer","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"memberId"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"UserProfilesAggExp","operand":{"object":{"aggregatedType":"UserProfiles","aggregatableFields":[{"fieldName":"id","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"memberId","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"notes","description":null,"aggregateExpression":"StringAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"UserProfilesAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesAccountDetailsBoolExp","operand":{"object":{"type":"UserProfilesAccountDetails","comparableFields":[{"fieldName":"accountNumber","booleanExpressionType":"StringBoolExp"},{"fieldName":"registrationDate","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesAccountDetailsBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesIdentificationBoolExp","operand":{"object":{"type":"UserProfilesIdentification","comparableFields":[{"fieldName":"expiryDate","booleanExpressionType":"StringBoolExp"},{"fieldName":"issuedBy","booleanExpressionType":"StringBoolExp"},{"fieldName":"number","booleanExpressionType":"StringBoolExp"},{"fieldName":"type","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesIdentificationBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesPreferencesCommunicationAppNotificationsBoolExp","operand":{"object":{"type":"UserProfilesPreferencesCommunicationAppNotifications","comparableFields":[{"fieldName":"enabled","booleanExpressionType":"BoolBoolExp"},{"fieldName":"frequency","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesPreferencesCommunicationAppNotificationsBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesPreferencesCommunicationBoolExp","operand":{"object":{"type":"UserProfilesPreferencesCommunication","comparableFields":[{"fieldName":"appNotifications","booleanExpressionType":"UserProfilesPreferencesCommunicationAppNotificationsBoolExp"},{"fieldName":"emailUpdates","booleanExpressionType":"BoolBoolExp"},{"fieldName":"smsNotifications","booleanExpressionType":"BoolBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesPreferencesCommunicationBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesPreferencesPrivacySettingsBoolExp","operand":{"object":{"type":"UserProfilesPreferencesPrivacySettings","comparableFields":[{"fieldName":"adPersonalization","booleanExpressionType":"BoolBoolExp"},{"fieldName":"shareDataForImprovements","booleanExpressionType":"BoolBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesPreferencesPrivacySettingsBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesPreferencesServicePreferencesNetworkSettingsBoolExp","operand":{"object":{"type":"UserProfilesPreferencesServicePreferencesNetworkSettings","comparableFields":[{"fieldName":"dataSaverMode","booleanExpressionType":"BoolBoolExp"},{"fieldName":"preferredNetworkType","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesPreferencesServicePreferencesNetworkSettingsBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesPreferencesServicePreferencesBoolExp","operand":{"object":{"type":"UserProfilesPreferencesServicePreferences","comparableFields":[{"fieldName":"networkSettings","booleanExpressionType":"UserProfilesPreferencesServicePreferencesNetworkSettingsBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesPreferencesServicePreferencesBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesPreferencesBoolExp","operand":{"object":{"type":"UserProfilesPreferences","comparableFields":[{"fieldName":"communication","booleanExpressionType":"UserProfilesPreferencesCommunicationBoolExp"},{"fieldName":"privacySettings","booleanExpressionType":"UserProfilesPreferencesPrivacySettingsBoolExp"},{"fieldName":"servicePreferences","booleanExpressionType":"UserProfilesPreferencesServicePreferencesBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesPreferencesBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesUsageStatsCallStatsBoolExp","operand":{"object":{"type":"UserProfilesUsageStatsCallStats","comparableFields":[{"fieldName":"internationalMinutes","booleanExpressionType":"IntBoolExp"},{"fieldName":"totalMinutes","booleanExpressionType":"IntBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesUsageStatsCallStatsBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesUsageStatsDataUsageBoolExp","operand":{"object":{"type":"UserProfilesUsageStatsDataUsage","comparableFields":[{"fieldName":"currentMonth","booleanExpressionType":"StringBoolExp"},{"fieldName":"total","booleanExpressionType":"StringBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesUsageStatsDataUsageBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesUsageStatsBoolExp","operand":{"object":{"type":"UserProfilesUsageStats","comparableFields":[{"fieldName":"callStats","booleanExpressionType":"UserProfilesUsageStatsCallStatsBoolExp"},{"fieldName":"dataUsage","booleanExpressionType":"UserProfilesUsageStatsDataUsageBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UserProfilesUsageStatsBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UserProfilesBoolExp","operand":{"object":{"type":"UserProfiles","comparableFields":[{"fieldName":"id","booleanExpressionType":"StringBoolExp"},{"fieldName":"accountDetails","booleanExpressionType":"UserProfilesAccountDetailsBoolExp"},{"fieldName":"identification","booleanExpressionType":"UserProfilesIdentificationBoolExp"},{"fieldName":"memberId","booleanExpressionType":"StringBoolExp"},{"fieldName":"notes","booleanExpressionType":"StringBoolExp"},{"fieldName":"preferences","booleanExpressionType":"UserProfilesPreferencesBoolExp"},{"fieldName":"usageStats","booleanExpressionType":"UserProfilesUsageStatsBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_UserProfilesBoolExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Bool","graphql":{"typeName":"Support_Bool"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Double","graphql":{"typeName":"Support_Double"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"String","representation":"String","graphql":{"comparisonExpressionTypeName":"Support_StringComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"Bool","representation":"Bool","graphql":{"comparisonExpressionTypeName":"Support_BoolComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"Double","representation":"Double","graphql":{"comparisonExpressionTypeName":"Support_DoubleComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"Int","representation":"Int","graphql":{"comparisonExpressionTypeName":"Support_IntComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"ObjectId","graphql":{"typeName":"Support_ObjectId"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"atlas","dataConnectorScalarType":"ObjectId","representation":"ObjectId","graphql":{"comparisonExpressionTypeName":"Support_ObjectIdComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"ObjectIdBoolExp","operand":{"scalar":{"type":"ObjectId","comparisonOperators":[{"name":"_eq","argumentType":"ObjectId!"},{"name":"_neq","argumentType":"ObjectId!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"ObjectId","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_ObjectIdBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"BoolBoolExp","operand":{"scalar":{"type":"Bool","comparisonOperators":[{"name":"_eq","argumentType":"Bool!"},{"name":"_neq","argumentType":"Bool!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"Bool","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_BoolBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"StringBoolExp","operand":{"scalar":{"type":"String","comparisonOperators":[{"name":"_eq","argumentType":"String!"},{"name":"_gt","argumentType":"String!"},{"name":"_gte","argumentType":"String!"},{"name":"_iregex","argumentType":"String!"},{"name":"_lt","argumentType":"String!"},{"name":"_lte","argumentType":"String!"},{"name":"_neq","argumentType":"String!"},{"name":"_regex","argumentType":"String!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"String","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_StringBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"ObjectIdAggExp","operand":{"scalar":{"aggregatedType":"ObjectId","aggregationFunctions":[{"name":"count","description":null,"returnType":"Int!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"ObjectId","functionMapping":{"count":{"name":"count"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Support_ObjectIdAggExp","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"StringAggExp","operand":{"scalar":{"aggregatedType":"String","aggregationFunctions":[{"name":"count","description":null,"returnType":"Int!"},{"name":"max","description":null,"returnType":"String!"},{"name":"min","description":null,"returnType":"String!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"String","functionMapping":{"count":{"name":"count"},"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Support_StringAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DoubleBoolExp","operand":{"scalar":{"type":"Double","comparisonOperators":[{"name":"_eq","argumentType":"Double!"},{"name":"_gt","argumentType":"Double!"},{"name":"_gte","argumentType":"Double!"},{"name":"_lt","argumentType":"Double!"},{"name":"_lte","argumentType":"Double!"},{"name":"_neq","argumentType":"Double!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"Double","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Support_DoubleBoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"IntBoolExp","operand":{"scalar":{"type":"Int","comparisonOperators":[{"name":"_eq","argumentType":"Int!"},{"name":"_gt","argumentType":"Int!"},{"name":"_gte","argumentType":"Int!"},{"name":"_lt","argumentType":"Int!"},{"name":"_lte","argumentType":"Int!"},{"name":"_neq","argumentType":"Int!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"atlas","dataConnectorScalarType":"Int","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"IntBoolExp_1"}}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"atlas","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:7553"},"write":{"value":"http://local.hasura.dev:7553"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"BinData":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"BinData"}}}},"Bool":{"representation":{"type":"boolean"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Bool"}}}},"Date":{"representation":{"type":"timestamp"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Date"}},"min":{"result_type":{"type":"named","name":"Date"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Date"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Date"}}}},"DbPointer":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"DbPointer"}}}},"Decimal":{"representation":{"type":"bigdecimal"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Decimal"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Decimal"}},"min":{"result_type":{"type":"named","name":"Decimal"}},"sum":{"result_type":{"type":"named","name":"Decimal"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Decimal"}}}},"Double":{"representation":{"type":"float64"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Double"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Double"}},"min":{"result_type":{"type":"named","name":"Double"}},"sum":{"result_type":{"type":"named","name":"Double"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Double"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Double"}}}},"ExtendedJSON":{"representation":{"type":"json"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"ExtendedJSON"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"ExtendedJSON"}},"min":{"result_type":{"type":"named","name":"ExtendedJSON"}},"sum":{"result_type":{"type":"named","name":"ExtendedJSON"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_in":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"ExtendedJSON"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"String"}}}},"Int":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Int"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Int"}},"min":{"result_type":{"type":"named","name":"Int"}},"sum":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Int"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Int"}}}},"Javascript":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{}},"JavascriptWithScope":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{}},"Long":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Long"}},"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Long"}},"min":{"result_type":{"type":"named","name":"Long"}},"sum":{"result_type":{"type":"named","name":"Long"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Long"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Long"}}}},"MaxKey":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"MaxKey"}}}},"MinKey":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"MinKey"}}}},"Null":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Null"}}}},"ObjectId":{"representation":{"type":"string"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"ObjectId"}}}},"Regex":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{}},"String":{"representation":{"type":"string"},"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"String"}},"min":{"result_type":{"type":"named","name":"String"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"String"}}}},"Symbol":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Symbol"}}}},"Timestamp":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}},"max":{"result_type":{"type":"named","name":"Timestamp"}},"min":{"result_type":{"type":"named","name":"Timestamp"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Timestamp"}}}},"Undefined":{"aggregate_functions":{"count":{"result_type":{"type":"named","name":"Int"}}},"comparison_operators":{"_eq":{"type":"equal"},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Undefined"}}}}},"object_types":{"customerPreferences":{"description":"Object type for collection customerPreferences","fields":{"_id":{"description":"primary key _id","type":{"type":"named","name":"ObjectId"}},"behavioralData":{"description":"behavioralData is an object containing behavioral metrics","type":{"type":"named","name":"customerPreferences_behavioralData"}},"customerNotes":{"description":"customerNotes is an array of note objects with author, date, and content","type":{"type":"array","element_type":{"type":"named","name":"customerPreferences_customerNotes"}}},"customer_guid":{"description":"must be a string and is required","type":{"type":"named","name":"String"}},"preferences":{"type":{"type":"named","name":"customerPreferences_preferences"}},"socialMedia":{"description":"socialMedia is an object containing social media profile URLs","type":{"type":"nullable","underlying_type":{"type":"named","name":"customerPreferences_socialMedia"}}}}},"customerPreferences_behavioralData":{"description":"generated from MongoDB validation schema","fields":{"lastAppLogin":{"description":"must be a valid ISO date and is required","type":{"type":"named","name":"String"}},"lastWebsiteVisit":{"description":"must be a valid ISO date and is required","type":{"type":"named","name":"String"}}}},"customerPreferences_customerNotes":{"description":"generated from MongoDB validation schema","fields":{"author":{"description":"must be a string and is required","type":{"type":"named","name":"String"}},"content":{"description":"must be a string and is required","type":{"type":"named","name":"String"}},"date":{"description":"must be a valid ISO date and is required","type":{"type":"named","name":"String"}}}},"customerPreferences_preferences":{"description":"generated from MongoDB validation schema","fields":{"contactMethod":{"description":"must be one of 'email', 'phone', or 'SMS' and is required","type":{"type":"named","name":"String"}},"marketingOptIn":{"description":"must be a boolean value and is required","type":{"type":"named","name":"Bool"}}}},"customerPreferences_socialMedia":{"description":"generated from MongoDB validation schema","fields":{"facebook":{"description":"must be a valid Facebook URL","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}},"linkedin":{"description":"must be a valid LinkedIn URL","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}},"twitter":{"description":"must be a valid Twitter URL","type":{"type":"nullable","underlying_type":{"type":"named","name":"String"}}}}},"userProfiles":{"description":"Object type for collection userProfiles","fields":{"_id":{"type":{"type":"named","name":"String"}},"accountDetails":{"type":{"type":"named","name":"userProfiles_accountDetails"}},"identification":{"type":{"type":"named","name":"userProfiles_identification"}},"memberID":{"type":{"type":"named","name":"String"}},"notes":{"type":{"type":"named","name":"String"}},"preferences":{"type":{"type":"named","name":"userProfiles_preferences"}},"supportHistory":{"type":{"type":"array","element_type":{"type":"named","name":"userProfiles_supportHistory"}}},"usageStats":{"type":{"type":"named","name":"userProfiles_usageStats"}}}},"userProfiles_accountDetails":{"description":"generated from MongoDB validation schema","fields":{"accountNumber":{"type":{"type":"named","name":"String"}},"registrationDate":{"type":{"type":"named","name":"String"}}}},"userProfiles_identification":{"description":"generated from MongoDB validation schema","fields":{"expiryDate":{"type":{"type":"named","name":"String"}},"issuedBy":{"type":{"type":"named","name":"String"}},"number":{"type":{"type":"named","name":"String"}},"type":{"type":{"type":"named","name":"String"}}}},"userProfiles_preferences":{"description":"generated from MongoDB validation schema","fields":{"communication":{"type":{"type":"named","name":"userProfiles_preferences_communication"}},"privacySettings":{"type":{"type":"named","name":"userProfiles_preferences_privacySettings"}},"servicePreferences":{"type":{"type":"named","name":"userProfiles_preferences_servicePreferences"}}}},"userProfiles_preferences_communication":{"description":"generated from MongoDB validation schema","fields":{"appNotifications":{"type":{"type":"named","name":"userProfiles_preferences_communication_appNotifications"}},"emailUpdates":{"type":{"type":"named","name":"Bool"}},"smsNotifications":{"type":{"type":"named","name":"Bool"}}}},"userProfiles_preferences_communication_appNotifications":{"description":"generated from MongoDB validation schema","fields":{"enabled":{"type":{"type":"named","name":"Bool"}},"frequency":{"type":{"type":"named","name":"String"}}}},"userProfiles_preferences_privacySettings":{"description":"generated from MongoDB validation schema","fields":{"adPersonalization":{"type":{"type":"named","name":"Bool"}},"shareDataForImprovements":{"type":{"type":"named","name":"Bool"}}}},"userProfiles_preferences_servicePreferences":{"description":"generated from MongoDB validation schema","fields":{"favoriteLocations":{"type":{"type":"array","element_type":{"type":"named","name":"userProfiles_preferences_servicePreferences_favoriteLocations"}}},"networkSettings":{"type":{"type":"named","name":"userProfiles_preferences_servicePreferences_networkSettings"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations":{"description":"generated from MongoDB validation schema","fields":{"coordinates":{"type":{"type":"named","name":"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates"}},"name":{"type":{"type":"named","name":"String"}}}},"userProfiles_preferences_servicePreferences_favoriteLocations_coordinates":{"description":"generated from MongoDB validation schema","fields":{"lat":{"type":{"type":"named","name":"Double"}},"long":{"type":{"type":"named","name":"Double"}}}},"userProfiles_preferences_servicePreferences_networkSettings":{"description":"generated from MongoDB validation schema","fields":{"dataSaverMode":{"type":{"type":"named","name":"Bool"}},"preferredNetworkType":{"type":{"type":"named","name":"String"}}}},"userProfiles_supportHistory":{"description":"generated from MongoDB validation schema","fields":{"date":{"type":{"type":"named","name":"String"}},"issue":{"type":{"type":"named","name":"String"}},"resolutionNotes":{"type":{"type":"named","name":"String"}},"status":{"type":{"type":"named","name":"String"}},"ticketId":{"type":{"type":"named","name":"String"}}}},"userProfiles_usageStats":{"description":"generated from MongoDB validation schema","fields":{"appUsage":{"type":{"type":"array","element_type":{"type":"named","name":"userProfiles_usageStats_appUsage"}}},"callStats":{"type":{"type":"named","name":"userProfiles_usageStats_callStats"}},"dataUsage":{"type":{"type":"named","name":"userProfiles_usageStats_dataUsage"}}}},"userProfiles_usageStats_appUsage":{"description":"generated from MongoDB validation schema","fields":{"name":{"type":{"type":"named","name":"String"}},"usage":{"type":{"type":"named","name":"String"}}}},"userProfiles_usageStats_callStats":{"description":"generated from MongoDB validation schema","fields":{"internationalMinutes":{"type":{"type":"named","name":"Int"}},"totalMinutes":{"type":{"type":"named","name":"Int"}}}},"userProfiles_usageStats_dataUsage":{"description":"generated from MongoDB validation schema","fields":{"currentMonth":{"type":{"type":"named","name":"String"}},"total":{"type":{"type":"named","name":"String"}}}}},"collections":[{"name":"userProfiles","arguments":{},"type":"userProfiles","uniqueness_constraints":{"userProfiles_id":{"unique_columns":["_id"]}},"foreign_keys":{}}],"functions":[],"procedures":[]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"exists":{}},"mutation":{},"relationships":{"relation_comparisons":{}}}}},"argumentPresets":[],"responseHeaders":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Uuid","graphql":{"typeName":"Support_Uuid"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Vector","graphql":{"typeName":"Support_Vector"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"uuid","representation":"Uuid","graphql":{"comparisonExpressionTypeName":"Support_UuidComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"vector","representation":"Vector","graphql":{"comparisonExpressionTypeName":"Support_VectorComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Text","graphql":{"typeName":"Support_Text"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Timestamptz","graphql":{"typeName":"Support_Timestamptz"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int4","graphql":{"typeName":"Support_Int4"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"text","representation":"Text","graphql":{"comparisonExpressionTypeName":"Support_TextComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"timestamptz","representation":"Timestamptz","graphql":{"comparisonExpressionTypeName":"Support_TimestamptzComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"int4","representation":"Int4","graphql":{"comparisonExpressionTypeName":"Support_Int4ComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Timestamp","graphql":{"typeName":"Support_Timestamp"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Json","graphql":{"typeName":"Support_Json"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"timestamp","representation":"Timestamp","graphql":{"comparisonExpressionTypeName":"Support_TimestampComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"json","representation":"Json","graphql":{"comparisonExpressionTypeName":"Support_JsonComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Bool_1","graphql":{"typeName":"Support_Bool1"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Jsonb","graphql":{"typeName":"Support_Jsonb"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"bool","representation":"Bool_1","graphql":{"comparisonExpressionTypeName":"Support_Bool1ComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"jsonb","representation":"Jsonb","graphql":{"comparisonExpressionTypeName":"Support_JsonbComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TextBoolExp","operand":{"scalar":{"type":"Text","comparisonOperators":[{"name":"_eq","argumentType":"Text!"},{"name":"_gt","argumentType":"Text!"},{"name":"_gte","argumentType":"Text!"},{"name":"_ilike","argumentType":"Text!"},{"name":"_in","argumentType":"[Text!]!"},{"name":"_iregex","argumentType":"Text!"},{"name":"_like","argumentType":"Text!"},{"name":"_lt","argumentType":"Text!"},{"name":"_lte","argumentType":"Text!"},{"name":"_neq","argumentType":"Text!"},{"name":"_nilike","argumentType":"Text!"},{"name":"_niregex","argumentType":"Text!"},{"name":"_nlike","argumentType":"Text!"},{"name":"_nregex","argumentType":"Text!"},{"name":"_regex","argumentType":"Text!"},{"name":"starts_with","argumentType":"Text!"},{"name":"ts_match_tt","argumentType":"Text!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"text","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TextBoolExp_1"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TimestamptzBoolExp","operand":{"scalar":{"type":"Timestamptz","comparisonOperators":[{"name":"_eq","argumentType":"Timestamptz!"},{"name":"_gt","argumentType":"Timestamptz!"},{"name":"_gte","argumentType":"Timestamptz!"},{"name":"_in","argumentType":"[Timestamptz!]!"},{"name":"_lt","argumentType":"Timestamptz!"},{"name":"_lte","argumentType":"Timestamptz!"},{"name":"_neq","argumentType":"Timestamptz!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"timestamptz","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TimestamptzBoolExp_1"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int4BoolExp","operand":{"scalar":{"type":"Int4","comparisonOperators":[{"name":"_eq","argumentType":"Int4!"},{"name":"_gt","argumentType":"Int4!"},{"name":"_gte","argumentType":"Int4!"},{"name":"_in","argumentType":"[Int4!]!"},{"name":"_lt","argumentType":"Int4!"},{"name":"_lte","argumentType":"Int4!"},{"name":"_neq","argumentType":"Int4!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"int4","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int4BoolExp_1"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UuidBoolExp","operand":{"scalar":{"type":"Uuid","comparisonOperators":[{"name":"_eq","argumentType":"Uuid!"},{"name":"_gt","argumentType":"Uuid!"},{"name":"_gte","argumentType":"Uuid!"},{"name":"_in","argumentType":"[Uuid!]!"},{"name":"_lt","argumentType":"Uuid!"},{"name":"_lte","argumentType":"Uuid!"},{"name":"_neq","argumentType":"Uuid!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"uuid","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"UuidBoolExp_1"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TextAggExp","operand":{"scalar":{"aggregatedType":"Text","aggregationFunctions":[{"name":"max","description":null,"returnType":"Text"},{"name":"min","description":null,"returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"text","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"TextAggExp_1","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"name":"max","description":null,"returnType":"Timestamptz"},{"name":"min","description":null,"returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"TimestamptzAggExp_1","deprecated":null},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Numeric","graphql":{"typeName":"Numeric"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"numeric","representation":"Numeric","graphql":{"comparisonExpressionTypeName":"NumericComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"NumericBoolExp","operand":{"scalar":{"type":"Numeric","comparisonOperators":[{"name":"_eq","argumentType":"Numeric!"},{"name":"_gt","argumentType":"Numeric!"},{"name":"_gte","argumentType":"Numeric!"},{"name":"_in","argumentType":"[Numeric!]!"},{"name":"_lt","argumentType":"Numeric!"},{"name":"_lte","argumentType":"Numeric!"},{"name":"_neq","argumentType":"Numeric!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"numeric","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"NumericBoolExp_1"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int8","graphql":{"typeName":"Int8_1"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"vector","dataConnectorScalarType":"int8","representation":"Int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp_1"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int8BoolExp","operand":{"scalar":{"type":"Int8","comparisonOperators":[{"name":"_eq","argumentType":"Int8!"},{"name":"_gt","argumentType":"Int8!"},{"name":"_gte","argumentType":"Int8!"},{"name":"_in","argumentType":"[Int8!]!"},{"name":"_lt","argumentType":"Int8!"},{"name":"_lte","argumentType":"Int8!"},{"name":"_neq","argumentType":"Int8!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"int8","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int8BoolExp_1"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Numeric"},{"name":"bit_and","description":null,"returnType":"Int4"},{"name":"bit_or","description":null,"returnType":"Int4"},{"name":"bit_xor","description":null,"returnType":"Int4"},{"name":"max","description":null,"returnType":"Int4"},{"name":"min","description":null,"returnType":"Int4"},{"name":"stddev","description":null,"returnType":"Numeric"},{"name":"stddev_pop","description":null,"returnType":"Numeric"},{"name":"stddev_samp","description":null,"returnType":"Numeric"},{"name":"sum","description":null,"returnType":"Int8"},{"name":"var_pop","description":null,"returnType":"Numeric"},{"name":"var_samp","description":null,"returnType":"Numeric"},{"name":"variance","description":null,"returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Int4AggExp_1","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"UuidAggExp","operand":{"scalar":{"aggregatedType":"Uuid","aggregationFunctions":[],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"uuid","functionMapping":{}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"UuidAggExp_1","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"VectorBoolExp","operand":{"scalar":{"type":"Vector","comparisonOperators":[{"name":"_eq","argumentType":"Vector!"},{"name":"_gt","argumentType":"Vector!"},{"name":"_gte","argumentType":"Vector!"},{"name":"_in","argumentType":"[Vector!]!"},{"name":"_lt","argumentType":"Vector!"},{"name":"_lte","argumentType":"Vector!"},{"name":"_neq","argumentType":"Vector!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"vector","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"VectorBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"VectorAggExp","operand":{"scalar":{"aggregatedType":"Vector","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Vector"},{"name":"sum","description":null,"returnType":"Vector"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"vector","dataConnectorScalarType":"vector","functionMapping":{"avg":{"name":"avg"},"sum":{"name":"sum"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"VectorAggExp","deprecated":null},"description":null}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"vector","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:5644"},"write":{"value":"http://local.hasura.dev:5644"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"bool":{"representation":{"type":"boolean"},"aggregate_functions":{"bool_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"bool"}}},"bool_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"bool"}}},"every":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"bool"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"bool"}}}},"int4":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int4"}}}},"int8":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int8"}}}},"json":{"aggregate_functions":{},"comparison_operators":{"_in":{"type":"in"}}},"jsonb":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"jsonb_contained":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"jsonb_contains":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"jsonb_exists":{"type":"custom","argument_type":{"type":"named","name":"text"}}}},"numeric":{"representation":{"type":"bigdecimal"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"numeric"}}}},"text":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"text"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"text"}}}},"timestamp":{"representation":{"type":"timestamp"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamp"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamp"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}}}},"timestamptz":{"representation":{"type":"timestamptz"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}}}},"uuid":{"representation":{"type":"uuid"},"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"uuid"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"uuid"}}}},"vector":{"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"vector"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"vector"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"vector"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"vector"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"vector"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"vector"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"vector"}}}}},"object_types":{"document_embeddings":{"fields":{"document_uuid":{"type":{"type":"named","name":"uuid"}},"embeddings":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"vector"}}}}},"documents":{"fields":{"body":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"created_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"language":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"rating":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"tags":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"title":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"uuid":{"type":{"type":"named","name":"uuid"}},"view_count":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_document_embeddings_document_uuid":{"description":"Update the 'document_uuid' column in the 'document_embeddings' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"uuid"}}}},"update_column_document_embeddings_embeddings":{"description":"Update the 'embeddings' column in the 'document_embeddings' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"vector"}}}}},"update_column_documents_body":{"description":"Update the 'body' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_documents_created_at":{"description":"Update the 'created_at' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}}},"update_column_documents_language":{"description":"Update the 'language' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_documents_rating":{"description":"Update the 'rating' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_documents_status":{"description":"Update the 'status' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_documents_tags":{"description":"Update the 'tags' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_documents_title":{"description":"Update the 'title' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}}},"update_column_documents_updated_at":{"description":"Update the 'updated_at' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}}},"update_column_documents_uuid":{"description":"Update the 'uuid' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"uuid"}}}},"update_column_documents_view_count":{"description":"Update the 'view_count' column in the 'documents' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"v2_delete_document_embeddings_by_document_uuid_response":{"description":"Responses from the 'v2_delete_document_embeddings_by_document_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"document_embeddings"}}}}},"v2_delete_documents_by_uuid_response":{"description":"Responses from the 'v2_delete_documents_by_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"documents"}}}}},"v2_insert_document_embeddings_object":{"fields":{"document_uuid":{"type":{"type":"named","name":"uuid"}},"embeddings":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"vector"}}}}},"v2_insert_document_embeddings_response":{"description":"Responses from the 'v2_insert_document_embeddings' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"document_embeddings"}}}}},"v2_insert_documents_object":{"fields":{"body":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"created_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"language":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"rating":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"status":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"tags":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"title":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"uuid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"uuid"}}},"view_count":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"v2_insert_documents_response":{"description":"Responses from the 'v2_insert_documents' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"documents"}}}}},"v2_update_document_embeddings_by_document_uuid_response":{"description":"Responses from the 'v2_update_document_embeddings_by_document_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"document_embeddings"}}}}},"v2_update_document_embeddings_by_document_uuid_update_columns":{"description":"Update the columns of the 'document_embeddings' collection","fields":{"document_uuid":{"description":"Update the 'document_uuid' column in the 'document_embeddings' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_document_embeddings_document_uuid"}}},"embeddings":{"description":"Update the 'embeddings' column in the 'document_embeddings' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_document_embeddings_embeddings"}}}}},"v2_update_documents_by_uuid_response":{"description":"Responses from the 'v2_update_documents_by_uuid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"documents"}}}}},"v2_update_documents_by_uuid_update_columns":{"description":"Update the columns of the 'documents' collection","fields":{"body":{"description":"Update the 'body' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_body"}}},"created_at":{"description":"Update the 'created_at' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_created_at"}}},"language":{"description":"Update the 'language' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_language"}}},"rating":{"description":"Update the 'rating' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_rating"}}},"status":{"description":"Update the 'status' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_status"}}},"tags":{"description":"Update the 'tags' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_tags"}}},"title":{"description":"Update the 'title' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_title"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_updated_at"}}},"uuid":{"description":"Update the 'uuid' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_uuid"}}},"view_count":{"description":"Update the 'view_count' column in the 'documents' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_documents_view_count"}}}}}},"collections":[{"name":"document_embeddings","arguments":{},"type":"document_embeddings","uniqueness_constraints":{"document_embeddings_pkey":{"unique_columns":["document_uuid"]}},"foreign_keys":{"document_embeddings_document_uuid_fkey":{"column_mapping":{"document_uuid":"uuid"},"foreign_collection":"documents"}}},{"name":"documents","arguments":{},"type":"documents","uniqueness_constraints":{"documents_pkey":{"unique_columns":["uuid"]}},"foreign_keys":{}}],"functions":[],"procedures":[{"name":"v2_delete_document_embeddings_by_document_uuid","description":"Delete any row on the 'document_embeddings' collection using the 'document_uuid' key","arguments":{"key_document_uuid":{"type":{"type":"named","name":"uuid"}},"pre_check":{"description":"Delete permission predicate over the 'document_embeddings' collection","type":{"type":"predicate","object_type_name":"document_embeddings"}}},"result_type":{"type":"named","name":"v2_delete_document_embeddings_by_document_uuid_response"}},{"name":"v2_delete_documents_by_uuid","description":"Delete any row on the 'documents' collection using the 'uuid' key","arguments":{"key_uuid":{"type":{"type":"named","name":"uuid"}},"pre_check":{"description":"Delete permission predicate over the 'documents' collection","type":{"type":"predicate","object_type_name":"documents"}}},"result_type":{"type":"named","name":"v2_delete_documents_by_uuid_response"}},{"name":"v2_insert_document_embeddings","description":"Insert into the document_embeddings table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_document_embeddings_object"}}},"post_check":{"description":"Insert permission predicate over the 'document_embeddings' collection","type":{"type":"predicate","object_type_name":"document_embeddings"}}},"result_type":{"type":"named","name":"v2_insert_document_embeddings_response"}},{"name":"v2_insert_documents","description":"Insert into the documents table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_documents_object"}}},"post_check":{"description":"Insert permission predicate over the 'documents' collection","type":{"type":"predicate","object_type_name":"documents"}}},"result_type":{"type":"named","name":"v2_insert_documents_response"}},{"name":"v2_update_document_embeddings_by_document_uuid","description":"Update any row on the 'document_embeddings' collection using the 'document_uuid' key","arguments":{"key_document_uuid":{"type":{"type":"named","name":"uuid"}},"post_check":{"description":"Update permission post-condition predicate over the 'document_embeddings' collection","type":{"type":"predicate","object_type_name":"document_embeddings"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'document_embeddings' collection","type":{"type":"predicate","object_type_name":"document_embeddings"}},"update_columns":{"type":{"type":"named","name":"v2_update_document_embeddings_by_document_uuid_update_columns"}}},"result_type":{"type":"named","name":"v2_update_document_embeddings_by_document_uuid_response"}},{"name":"v2_update_documents_by_uuid","description":"Update any row on the 'documents' collection using the 'uuid' key","arguments":{"key_uuid":{"type":{"type":"named","name":"uuid"}},"post_check":{"description":"Update permission post-condition predicate over the 'documents' collection","type":{"type":"predicate","object_type_name":"documents"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'documents' collection","type":{"type":"predicate","object_type_name":"documents"}},"update_columns":{"type":{"type":"named","name":"v2_update_documents_by_uuid_update_columns"}}},"result_type":{"type":"named","name":"v2_update_documents_by_uuid_response"}}]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"exists":{}},"mutation":{"transactional":{},"explain":{}},"relationships":{"relation_comparisons":{},"order_by_aggregate":{}}}}},"argumentPresets":[],"responseHeaders":null}}]},{"name":"auth","objects":[{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteUsersByIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Users!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteUsersByIdResponse","inputTypeName":"V2DeleteUsersByIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_users_by_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_delete_users_by_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteUsersByIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteUsersById","outputType":"V2DeleteUsersByIdResponse!","arguments":[{"name":"keyId","type":"Int4!","description":null},{"name":"preCheck","type":"UsersBoolExp!","description":"Delete permission predicate over the 'users' collection"}],"source":{"dataConnectorName":"auth","dataConnectorCommand":{"procedure":"v2_delete_users_by_id"},"argumentMapping":{"keyId":"key_id","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteUsersById","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'users' collection using the 'id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteUsersById","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertUsersObject","fields":[{"name":"createdAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]},{"name":"email","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"id","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"password","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"roles","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertUsersObject","inputTypeName":"V2InsertUsersObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_insert_users_object","fieldMapping":{"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}},"password":{"column":{"name":"password","argumentMapping":null}},"roles":{"column":{"name":"roles","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertUsersObject","permissions":[{"role":"admin","output":{"allowedFields":["createdAt","email","id","password","roles","updatedAt"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertUsersResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Users!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertUsersResponse","inputTypeName":"V2InsertUsersResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_users' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_insert_users_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertUsersResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertUsers","outputType":"V2InsertUsersResponse!","arguments":[{"name":"objects","type":"[V2InsertUsersObject!]!","description":null},{"name":"postCheck","type":"UsersBoolExp!","description":"Insert permission predicate over the 'users' collection"}],"source":{"dataConnectorName":"auth","dataConnectorCommand":{"procedure":"v2_insert_users"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertUsers","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the users table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertUsers","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnUsersCreatedAt","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnUsersCreatedAt","inputTypeName":"UpdateColumnUsersCreatedAtInput","apolloFederation":null},"description":"Update the 'created_at' column in the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_created_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnUsersCreatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnUsersEmail","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnUsersEmail","inputTypeName":"UpdateColumnUsersEmailInput","apolloFederation":null},"description":"Update the 'email' column in the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_email","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnUsersEmail","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnUsersId","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnUsersId","inputTypeName":"UpdateColumnUsersIdInput","apolloFederation":null},"description":"Update the 'id' column in the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_id","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnUsersId","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnUsersPassword","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnUsersPassword","inputTypeName":"UpdateColumnUsersPasswordInput","apolloFederation":null},"description":"Update the 'password' column in the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_password","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnUsersPassword","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnUsersRoles","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnUsersRoles","inputTypeName":"UpdateColumnUsersRolesInput","apolloFederation":null},"description":"Update the 'roles' column in the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_roles","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnUsersRoles","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnUsersUpdatedAt","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnUsersUpdatedAt","inputTypeName":"UpdateColumnUsersUpdatedAtInput","apolloFederation":null},"description":"Update the 'updated_at' column in the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"update_column_users_updated_at","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnUsersUpdatedAt","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateUsersByIdUpdateColumns","fields":[{"name":"createdAt","type":"UpdateColumnUsersCreatedAt","description":"Update the 'created_at' column in the 'users' collection.","deprecated":null,"arguments":[]},{"name":"email","type":"UpdateColumnUsersEmail","description":"Update the 'email' column in the 'users' collection.","deprecated":null,"arguments":[]},{"name":"id","type":"UpdateColumnUsersId","description":"Update the 'id' column in the 'users' collection.","deprecated":null,"arguments":[]},{"name":"password","type":"UpdateColumnUsersPassword","description":"Update the 'password' column in the 'users' collection.","deprecated":null,"arguments":[]},{"name":"roles","type":"UpdateColumnUsersRoles","description":"Update the 'roles' column in the 'users' collection.","deprecated":null,"arguments":[]},{"name":"updatedAt","type":"UpdateColumnUsersUpdatedAt","description":"Update the 'updated_at' column in the 'users' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateUsersByIdUpdateColumns","inputTypeName":"V2UpdateUsersByIdUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'users' collection","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_update_users_by_id_update_columns","fieldMapping":{"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}},"password":{"column":{"name":"password","argumentMapping":null}},"roles":{"column":{"name":"roles","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateUsersByIdUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["createdAt","email","id","password","roles","updatedAt"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateUsersByIdResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Users!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateUsersByIdResponse","inputTypeName":"V2UpdateUsersByIdResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_users_by_id' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"v2_update_users_by_id_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateUsersByIdResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateUsersById","outputType":"V2UpdateUsersByIdResponse!","arguments":[{"name":"keyId","type":"Int4!","description":null},{"name":"postCheck","type":"UsersBoolExp!","description":"Update permission post-condition predicate over the 'users' collection"},{"name":"preCheck","type":"UsersBoolExp!","description":"Update permission pre-condition predicate over the 'users' collection"},{"name":"updateColumns","type":"V2UpdateUsersByIdUpdateColumns!","description":null}],"source":{"dataConnectorName":"auth","dataConnectorCommand":{"procedure":"v2_update_users_by_id"},"argumentMapping":{"keyId":"key_id","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateUsersById","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'users' collection using the 'id' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateUsersById","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"Users","fields":[{"name":"createdAt","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]},{"name":"email","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"id","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"password","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"roles","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"updatedAt","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Users","inputTypeName":"Auth_UsersInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"auth","dataConnectorObjectType":"users","fieldMapping":{"createdAt":{"column":{"name":"created_at","argumentMapping":null}},"email":{"column":{"name":"email","argumentMapping":null}},"id":{"column":{"name":"id","argumentMapping":null}},"password":{"column":{"name":"password","argumentMapping":null}},"roles":{"column":{"name":"roles","argumentMapping":null}},"updatedAt":{"column":{"name":"updated_at","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Users","permissions":[{"role":"admin","output":{"allowedFields":["createdAt","email","id","password","roles","updatedAt"]},"input":null},{"role":"customer","output":{"allowedFields":["email","id","password","roles"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Users","objectType":"Users","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"auth","collection":"users","argumentMapping":{}},"filterExpressionType":"UsersBoolExp","orderableFields":[{"fieldName":"createdAt","orderByDirections":{"enableAll":true}},{"fieldName":"email","orderByDirections":{"enableAll":true}},{"fieldName":"id","orderByDirections":{"enableAll":true}},{"fieldName":"password","orderByDirections":{"enableAll":true}},{"fieldName":"roles","orderByDirections":{"enableAll":true}},{"fieldName":"updatedAt","orderByDirections":{"enableAll":true}}],"aggregateExpression":"UsersAggExp","graphql":{"selectUniques":[{"queryRootField":"usersById","uniqueIdentifier":["id"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"users","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Auth_UsersOrderBy","apolloFederation":null,"filterInputTypeName":"UsersFilterInput","aggregate":{"queryRootField":"usersAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Users","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}},{"role":"customer","select":{"filter":{"fieldComparison":{"field":"id","operator":"_eq","value":{"sessionVariable":"x-hasura-user-id"}}},"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"formatCreatedAtTimestamp","sourceType":"Users","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"createdAt"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatUpdatedAtTimestamp","sourceType":"Users","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"updatedAt"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"UsersBoolExp","operand":{"object":{"type":"Users","comparableFields":[{"fieldName":"createdAt","booleanExpressionType":"TimestamptzBoolExp"},{"fieldName":"email","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"id","booleanExpressionType":"Int4BoolExp"},{"fieldName":"password","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"roles","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"updatedAt","booleanExpressionType":"TimestamptzBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Auth_UsersBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"UsersAggExp","operand":{"object":{"aggregatedType":"Users","aggregatableFields":[{"fieldName":"createdAt","description":null,"aggregateExpression":"TimestamptzAggExp"},{"fieldName":"email","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"id","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"password","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"roles","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"updatedAt","description":null,"aggregateExpression":"TimestamptzAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"UsersAggExp","deprecated":null},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Timestamptz","graphql":{"typeName":"Auth_Timestamptz"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Varchar","graphql":{"typeName":"Auth_Varchar"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int4","graphql":{"typeName":"Auth_Int4"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"auth","dataConnectorScalarType":"timestamptz","representation":"Timestamptz","graphql":{"comparisonExpressionTypeName":"Auth_TimestamptzComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"auth","dataConnectorScalarType":"varchar","representation":"Varchar","graphql":{"comparisonExpressionTypeName":"Auth_VarcharComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"auth","dataConnectorScalarType":"int4","representation":"Int4","graphql":{"comparisonExpressionTypeName":"Auth_Int4ComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TimestamptzBoolExp","operand":{"scalar":{"type":"Timestamptz","comparisonOperators":[{"name":"_eq","argumentType":"Timestamptz!"},{"name":"_gt","argumentType":"Timestamptz!"},{"name":"_gte","argumentType":"Timestamptz!"},{"name":"_in","argumentType":"[Timestamptz!]!"},{"name":"_lt","argumentType":"Timestamptz!"},{"name":"_lte","argumentType":"Timestamptz!"},{"name":"_neq","argumentType":"Timestamptz!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"timestamptz","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TimestamptzBoolExp_2"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"VarcharBoolExp","operand":{"scalar":{"type":"Varchar","comparisonOperators":[{"name":"_eq","argumentType":"Varchar!"},{"name":"_gt","argumentType":"Varchar!"},{"name":"_gte","argumentType":"Varchar!"},{"name":"_ilike","argumentType":"Varchar!"},{"name":"_in","argumentType":"[Varchar!]!"},{"name":"_iregex","argumentType":"Varchar!"},{"name":"_like","argumentType":"Varchar!"},{"name":"_lt","argumentType":"Varchar!"},{"name":"_lte","argumentType":"Varchar!"},{"name":"_neq","argumentType":"Varchar!"},{"name":"_nilike","argumentType":"Varchar!"},{"name":"_niregex","argumentType":"Varchar!"},{"name":"_nlike","argumentType":"Varchar!"},{"name":"_nregex","argumentType":"Varchar!"},{"name":"_regex","argumentType":"Varchar!"},{"name":"starts_with","argumentType":"Varchar!"},{"name":"ts_match_tt","argumentType":"Varchar!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"varchar","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"VarcharBoolExp_1"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int4BoolExp","operand":{"scalar":{"type":"Int4","comparisonOperators":[{"name":"_eq","argumentType":"Int4!"},{"name":"_gt","argumentType":"Int4!"},{"name":"_gte","argumentType":"Int4!"},{"name":"_in","argumentType":"[Int4!]!"},{"name":"_lt","argumentType":"Int4!"},{"name":"_lte","argumentType":"Int4!"},{"name":"_neq","argumentType":"Int4!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"int4","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int4BoolExp_2"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"name":"max","description":null,"returnType":"Timestamptz"},{"name":"min","description":null,"returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"TimestamptzAggExp_2","deprecated":null},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Text","graphql":{"typeName":"Text"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"auth","dataConnectorScalarType":"text","representation":"Text","graphql":{"comparisonExpressionTypeName":"TextComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TextBoolExp","operand":{"scalar":{"type":"Text","comparisonOperators":[{"name":"_eq","argumentType":"Text!"},{"name":"_gt","argumentType":"Text!"},{"name":"_gte","argumentType":"Text!"},{"name":"_ilike","argumentType":"Text!"},{"name":"_in","argumentType":"[Text!]!"},{"name":"_iregex","argumentType":"Text!"},{"name":"_like","argumentType":"Text!"},{"name":"_lt","argumentType":"Text!"},{"name":"_lte","argumentType":"Text!"},{"name":"_neq","argumentType":"Text!"},{"name":"_nilike","argumentType":"Text!"},{"name":"_niregex","argumentType":"Text!"},{"name":"_nlike","argumentType":"Text!"},{"name":"_nregex","argumentType":"Text!"},{"name":"_regex","argumentType":"Text!"},{"name":"starts_with","argumentType":"Text!"},{"name":"ts_match_tt","argumentType":"Text!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"text","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TextBoolExp_2"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"VarcharAggExp","operand":{"scalar":{"aggregatedType":"Varchar","aggregationFunctions":[{"name":"max","description":null,"returnType":"Text"},{"name":"min","description":null,"returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"varchar","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"VarcharAggExp_1","deprecated":null},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Numeric","graphql":{"typeName":"Numeric_1"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"auth","dataConnectorScalarType":"numeric","representation":"Numeric","graphql":{"comparisonExpressionTypeName":"NumericComparisonExp_1"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"NumericBoolExp","operand":{"scalar":{"type":"Numeric","comparisonOperators":[{"name":"_eq","argumentType":"Numeric!"},{"name":"_gt","argumentType":"Numeric!"},{"name":"_gte","argumentType":"Numeric!"},{"name":"_in","argumentType":"[Numeric!]!"},{"name":"_lt","argumentType":"Numeric!"},{"name":"_lte","argumentType":"Numeric!"},{"name":"_neq","argumentType":"Numeric!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"numeric","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"NumericBoolExp_2"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int8","graphql":{"typeName":"Int8_2"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"auth","dataConnectorScalarType":"int8","representation":"Int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp_2"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int8BoolExp","operand":{"scalar":{"type":"Int8","comparisonOperators":[{"name":"_eq","argumentType":"Int8!"},{"name":"_gt","argumentType":"Int8!"},{"name":"_gte","argumentType":"Int8!"},{"name":"_in","argumentType":"[Int8!]!"},{"name":"_lt","argumentType":"Int8!"},{"name":"_lte","argumentType":"Int8!"},{"name":"_neq","argumentType":"Int8!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"int8","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int8BoolExp_2"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Numeric"},{"name":"bit_and","description":null,"returnType":"Int4"},{"name":"bit_or","description":null,"returnType":"Int4"},{"name":"bit_xor","description":null,"returnType":"Int4"},{"name":"max","description":null,"returnType":"Int4"},{"name":"min","description":null,"returnType":"Int4"},{"name":"stddev","description":null,"returnType":"Numeric"},{"name":"stddev_pop","description":null,"returnType":"Numeric"},{"name":"stddev_samp","description":null,"returnType":"Numeric"},{"name":"sum","description":null,"returnType":"Int8"},{"name":"var_pop","description":null,"returnType":"Numeric"},{"name":"var_samp","description":null,"returnType":"Numeric"},{"name":"variance","description":null,"returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"auth","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Int4AggExp_2","deprecated":null},"description":null}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"auth","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:6460"},"write":{"value":"http://local.hasura.dev:6460"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"int4":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int4"}}}},"int8":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int8"}}}},"numeric":{"representation":{"type":"bigdecimal"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"numeric"}}}},"text":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"text"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"text"}}}},"timestamptz":{"representation":{"type":"timestamptz"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}}}},"varchar":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}}}}},"object_types":{"update_column_users_created_at":{"description":"Update the 'created_at' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"update_column_users_email":{"description":"Update the 'email' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_users_id":{"description":"Update the 'id' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_users_password":{"description":"Update the 'password' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_users_roles":{"description":"Update the 'roles' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_users_updated_at":{"description":"Update the 'updated_at' column in the 'users' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"users":{"fields":{"created_at":{"type":{"type":"named","name":"timestamptz"}},"email":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"id":{"type":{"type":"named","name":"int4"}},"password":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"roles":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"updated_at":{"type":{"type":"named","name":"timestamptz"}}}},"v2_delete_users_by_id_response":{"description":"Responses from the 'v2_delete_users_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"users"}}}}},"v2_insert_users_object":{"fields":{"created_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"email":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"id":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"password":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"roles":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"updated_at":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}}},"v2_insert_users_response":{"description":"Responses from the 'v2_insert_users' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"users"}}}}},"v2_update_users_by_id_response":{"description":"Responses from the 'v2_update_users_by_id' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"users"}}}}},"v2_update_users_by_id_update_columns":{"description":"Update the columns of the 'users' collection","fields":{"created_at":{"description":"Update the 'created_at' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_users_created_at"}}},"email":{"description":"Update the 'email' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_users_email"}}},"id":{"description":"Update the 'id' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_users_id"}}},"password":{"description":"Update the 'password' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_users_password"}}},"roles":{"description":"Update the 'roles' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_users_roles"}}},"updated_at":{"description":"Update the 'updated_at' column in the 'users' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_users_updated_at"}}}}}},"collections":[{"name":"users","arguments":{},"type":"users","uniqueness_constraints":{"users_pkey":{"unique_columns":["id"]}},"foreign_keys":{}}],"functions":[],"procedures":[{"name":"v2_delete_users_by_id","description":"Delete any row on the 'users' collection using the 'id' key","arguments":{"key_id":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'users' collection","type":{"type":"predicate","object_type_name":"users"}}},"result_type":{"type":"named","name":"v2_delete_users_by_id_response"}},{"name":"v2_insert_users","description":"Insert into the users table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_users_object"}}},"post_check":{"description":"Insert permission predicate over the 'users' collection","type":{"type":"predicate","object_type_name":"users"}}},"result_type":{"type":"named","name":"v2_insert_users_response"}},{"name":"v2_update_users_by_id","description":"Update any row on the 'users' collection using the 'id' key","arguments":{"key_id":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'users' collection","type":{"type":"predicate","object_type_name":"users"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'users' collection","type":{"type":"predicate","object_type_name":"users"}},"update_columns":{"type":{"type":"named","name":"v2_update_users_by_id_update_columns"}}},"result_type":{"type":"named","name":"v2_update_users_by_id_response"}}]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"exists":{}},"mutation":{"transactional":{},"explain":{}},"relationships":{"relation_comparisons":{},"order_by_aggregate":{}}}}},"argumentPresets":[],"responseHeaders":null}}]},{"name":"network","objects":[{"kind":"ObjectType","version":"v1","definition":{"name":"Calls","fields":[{"name":"callid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"calltype","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"customerid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"duration","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"nodeid","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"receivernumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Network_Calls","inputTypeName":"Network_CallsInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"calls","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Calls","permissions":[{"role":"admin","output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"input":null},{"role":"customer","output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Calls","objectType":"Calls","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"kafka_sink","collection":"calls","argumentMapping":{}},"filterExpressionType":"CallsBoolExp","orderableFields":[{"fieldName":"callid","orderByDirections":{"enableAll":true}},{"fieldName":"calltype","orderByDirections":{"enableAll":true}},{"fieldName":"customerid","orderByDirections":{"enableAll":true}},{"fieldName":"deviceid","orderByDirections":{"enableAll":true}},{"fieldName":"duration","orderByDirections":{"enableAll":true}},{"fieldName":"nodeid","orderByDirections":{"enableAll":true}},{"fieldName":"receivernumber","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CallsAggExp","graphql":{"selectUniques":[{"queryRootField":"callsByCallid","uniqueIdentifier":["callid"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"calls","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Network_CallsOrderBy","apolloFederation":null,"filterInputTypeName":"CallsFilterInput","aggregate":{"queryRootField":"callsAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Calls","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"formatTimestamp","sourceType":"Calls","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CallsBoolExp","operand":{"object":{"type":"Calls","comparableFields":[{"fieldName":"callid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"calltype","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"customerid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"deviceid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"duration","booleanExpressionType":"Int4BoolExp"},{"fieldName":"nodeid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"receivernumber","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"timestamp","booleanExpressionType":"TimestamptzBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Network_CallsBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CallsAggExp","operand":{"object":{"aggregatedType":"Calls","aggregatableFields":[{"fieldName":"callid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"calltype","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"customerid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"deviceid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"duration","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"nodeid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"receivernumber","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"timestamp","description":null,"aggregateExpression":"TimestamptzAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CallsAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"Cdr","fields":[{"name":"callDuration","type":"Int32!","description":null,"deprecated":null,"arguments":[]},{"name":"callType","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"guid","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"DateTime!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Network_Cdr","inputTypeName":"Network_CdrInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"cdr","fieldMapping":{"callDuration":{"column":{"name":"Call_Duration","argumentMapping":null}},"callType":{"column":{"name":"Call_Type","argumentMapping":null}},"guid":{"column":{"name":"GUID","argumentMapping":null}},"timestamp":{"column":{"name":"Timestamp","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Cdr","permissions":[{"role":"admin","output":{"allowedFields":["callDuration","callType","guid","timestamp"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Cdr","objectType":"Cdr","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"clickhouse","collection":"cdr","argumentMapping":{}},"filterExpressionType":"CdrBoolExp","orderableFields":[{"fieldName":"callDuration","orderByDirections":{"enableAll":true}},{"fieldName":"callType","orderByDirections":{"enableAll":true}},{"fieldName":"guid","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"aggregateExpression":"CdrAggExp","graphql":{"selectUniques":[{"queryRootField":"cdrByTimestampGuid","uniqueIdentifier":["guid","timestamp"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"cdr","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Network_CdrOrderBy","apolloFederation":null,"filterInputTypeName":"CdrFilterInput","aggregate":{"queryRootField":"cdrAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Cdr","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"Cdr","target":{"model":{"name":"CustomerLink","subgraph":"customer","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"guid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatTimestamp","sourceType":"Cdr","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"CdrAggExp","operand":{"object":{"aggregatedType":"Cdr","aggregatableFields":[{"fieldName":"callDuration","description":null,"aggregateExpression":"Int32AggExp"},{"fieldName":"callType","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"guid","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"timestamp","description":null,"aggregateExpression":"DateTimeAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"CdrAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"CdrBoolExp","operand":{"object":{"type":"Cdr","comparableFields":[{"fieldName":"callDuration","booleanExpressionType":"Int32BoolExp"},{"fieldName":"callType","booleanExpressionType":"StringBoolExp"},{"fieldName":"guid","booleanExpressionType":"StringBoolExp"},{"fieldName":"timestamp","booleanExpressionType":"DateTimeBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Network_CdrBoolExp"}}},{"kind":"ObjectType","version":"v1","definition":{"name":"DataUsage","fields":[{"name":"dataUsage","type":"Float32!","description":null,"deprecated":null,"arguments":[]},{"name":"guid","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"DateTime!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Network_DataUsage","inputTypeName":"Network_DataUsageInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"data_usage","fieldMapping":{"dataUsage":{"column":{"name":"Data_Usage","argumentMapping":null}},"guid":{"column":{"name":"GUID","argumentMapping":null}},"timestamp":{"column":{"name":"Timestamp","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"DataUsage","permissions":[{"role":"admin","output":{"allowedFields":["dataUsage","guid","timestamp"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"DataUsage","objectType":"DataUsage","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"clickhouse","collection":"data_usage","argumentMapping":{}},"filterExpressionType":"DataUsageBoolExp","orderableFields":[{"fieldName":"dataUsage","orderByDirections":{"enableAll":true}},{"fieldName":"guid","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"aggregateExpression":"DataUsageAggExp","graphql":{"selectUniques":[{"queryRootField":"dataUsageByTimestampGuid","uniqueIdentifier":["guid","timestamp"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"dataUsage","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Network_DataUsageOrderBy","apolloFederation":null,"filterInputTypeName":"DataUsageFilterInput","aggregate":{"queryRootField":"dataUsageAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"DataUsage","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"DataUsage","target":{"model":{"name":"CustomerLink","subgraph":"customer","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"guid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatTimestamp","sourceType":"DataUsage","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DataUsageAggExp","operand":{"object":{"aggregatedType":"DataUsage","aggregatableFields":[{"fieldName":"dataUsage","description":null,"aggregateExpression":"Float32AggExp"},{"fieldName":"guid","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"timestamp","description":null,"aggregateExpression":"DateTimeAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"DataUsageAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DataUsageBoolExp","operand":{"object":{"type":"DataUsage","comparableFields":[{"fieldName":"dataUsage","booleanExpressionType":"Float32BoolExp"},{"fieldName":"guid","booleanExpressionType":"StringBoolExp"},{"fieldName":"timestamp","booleanExpressionType":"DateTimeBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Network_DataUsageBoolExp"}}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteCallsByCallidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Calls!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteCallsByCallidResponse","inputTypeName":"V2DeleteCallsByCallidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_calls_by_callid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_delete_calls_by_callid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteCallsByCallidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteCallsByCallid","outputType":"V2DeleteCallsByCallidResponse!","arguments":[{"name":"keyCallid","type":"Int4!","description":null},{"name":"preCheck","type":"CallsBoolExp!","description":"Delete permission predicate over the 'calls' collection"}],"source":{"dataConnectorName":"kafka_sink","dataConnectorCommand":{"procedure":"v2_delete_calls_by_callid"},"argumentMapping":{"keyCallid":"key_callid","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteCallsByCallid","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'calls' collection using the 'callid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteCallsByCallid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2DeleteTextsByTextidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Texts!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2DeleteTextsByTextidResponse","inputTypeName":"V2DeleteTextsByTextidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_delete_texts_by_textid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_delete_texts_by_textid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2DeleteTextsByTextidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"DeleteTextsByTextid","outputType":"V2DeleteTextsByTextidResponse!","arguments":[{"name":"keyTextid","type":"Int4!","description":null},{"name":"preCheck","type":"TextsBoolExp!","description":"Delete permission predicate over the 'texts' collection"}],"source":{"dataConnectorName":"kafka_sink","dataConnectorCommand":{"procedure":"v2_delete_texts_by_textid"},"argumentMapping":{"keyTextid":"key_textid","preCheck":"pre_check"}},"graphql":{"rootFieldName":"DeleteTextsByTextid","rootFieldKind":"Mutation","deprecated":null},"description":"Delete any row on the 'texts' collection using the 'textid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"DeleteTextsByTextid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"DetailedUserActivityMv","fields":[{"name":"cdrGuid","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"cdrTimestamp","type":"DateTime!","description":null,"deprecated":null,"arguments":[]},{"name":"callDuration","type":"Int32!","description":null,"deprecated":null,"arguments":[]},{"name":"callType","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"duGuid","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"duTimestamp","type":"DateTime!","description":null,"deprecated":null,"arguments":[]},{"name":"dataUsage","type":"Float32!","description":null,"deprecated":null,"arguments":[]},{"name":"downloadSpeed","type":"Float32!","description":null,"deprecated":null,"arguments":[]},{"name":"latency","type":"Int32!","description":null,"deprecated":null,"arguments":[]},{"name":"npGuid","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"npTimestamp","type":"DateTime!","description":null,"deprecated":null,"arguments":[]},{"name":"uploadSpeed","type":"Float32!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Network_DetailedUserActivityMv","inputTypeName":"Network_DetailedUserActivityMvInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"detailed_user_activity_mv","fieldMapping":{"callDuration":{"column":{"name":"Call_Duration","argumentMapping":null}},"callType":{"column":{"name":"Call_Type","argumentMapping":null}},"cdrGuid":{"column":{"name":"CDR_GUID","argumentMapping":null}},"cdrTimestamp":{"column":{"name":"CDR_Timestamp","argumentMapping":null}},"dataUsage":{"column":{"name":"Data_Usage","argumentMapping":null}},"downloadSpeed":{"column":{"name":"Download_Speed","argumentMapping":null}},"duGuid":{"column":{"name":"DU_GUID","argumentMapping":null}},"duTimestamp":{"column":{"name":"DU_Timestamp","argumentMapping":null}},"latency":{"column":{"name":"Latency","argumentMapping":null}},"npGuid":{"column":{"name":"NP_GUID","argumentMapping":null}},"npTimestamp":{"column":{"name":"NP_Timestamp","argumentMapping":null}},"uploadSpeed":{"column":{"name":"Upload_Speed","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"DetailedUserActivityMv","permissions":[{"role":"admin","output":{"allowedFields":["cdrGuid","cdrTimestamp","callDuration","callType","duGuid","duTimestamp","dataUsage","downloadSpeed","latency","npGuid","npTimestamp","uploadSpeed"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"DetailedUserActivityMv","objectType":"DetailedUserActivityMv","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"clickhouse","collection":"detailed_user_activity_mv","argumentMapping":{}},"filterExpressionType":"DetailedUserActivityMvBoolExp","orderableFields":[{"fieldName":"cdrGuid","orderByDirections":{"enableAll":true}},{"fieldName":"cdrTimestamp","orderByDirections":{"enableAll":true}},{"fieldName":"callDuration","orderByDirections":{"enableAll":true}},{"fieldName":"callType","orderByDirections":{"enableAll":true}},{"fieldName":"duGuid","orderByDirections":{"enableAll":true}},{"fieldName":"duTimestamp","orderByDirections":{"enableAll":true}},{"fieldName":"dataUsage","orderByDirections":{"enableAll":true}},{"fieldName":"downloadSpeed","orderByDirections":{"enableAll":true}},{"fieldName":"latency","orderByDirections":{"enableAll":true}},{"fieldName":"npGuid","orderByDirections":{"enableAll":true}},{"fieldName":"npTimestamp","orderByDirections":{"enableAll":true}},{"fieldName":"uploadSpeed","orderByDirections":{"enableAll":true}}],"aggregateExpression":"DetailedUserActivityMvAggExp","graphql":{"selectUniques":[],"selectMany":{"queryRootField":"detailedUserActivityMv","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Network_DetailedUserActivityMvOrderBy","apolloFederation":null,"filterInputTypeName":"DetailedUserActivityMvFilterInput","aggregate":{"queryRootField":"detailedUserActivityMvAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"DetailedUserActivityMv","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"DetailedUserActivityMv","target":{"model":{"name":"CustomerLink","subgraph":"customer","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"cdrGuid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DetailedUserActivityMvAggExp","operand":{"object":{"aggregatedType":"DetailedUserActivityMv","aggregatableFields":[{"fieldName":"cdrGuid","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"cdrTimestamp","description":null,"aggregateExpression":"DateTimeAggExp"},{"fieldName":"callDuration","description":null,"aggregateExpression":"Int32AggExp"},{"fieldName":"callType","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"duGuid","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"duTimestamp","description":null,"aggregateExpression":"DateTimeAggExp"},{"fieldName":"dataUsage","description":null,"aggregateExpression":"Float32AggExp"},{"fieldName":"downloadSpeed","description":null,"aggregateExpression":"Float32AggExp"},{"fieldName":"latency","description":null,"aggregateExpression":"Int32AggExp"},{"fieldName":"npGuid","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"npTimestamp","description":null,"aggregateExpression":"DateTimeAggExp"},{"fieldName":"uploadSpeed","description":null,"aggregateExpression":"Float32AggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"DetailedUserActivityMvAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DetailedUserActivityMvBoolExp","operand":{"object":{"type":"DetailedUserActivityMv","comparableFields":[{"fieldName":"cdrGuid","booleanExpressionType":"StringBoolExp"},{"fieldName":"cdrTimestamp","booleanExpressionType":"DateTimeBoolExp"},{"fieldName":"callDuration","booleanExpressionType":"Int32BoolExp"},{"fieldName":"callType","booleanExpressionType":"StringBoolExp"},{"fieldName":"duGuid","booleanExpressionType":"StringBoolExp"},{"fieldName":"duTimestamp","booleanExpressionType":"DateTimeBoolExp"},{"fieldName":"dataUsage","booleanExpressionType":"Float32BoolExp"},{"fieldName":"downloadSpeed","booleanExpressionType":"Float32BoolExp"},{"fieldName":"latency","booleanExpressionType":"Int32BoolExp"},{"fieldName":"npGuid","booleanExpressionType":"StringBoolExp"},{"fieldName":"npTimestamp","booleanExpressionType":"DateTimeBoolExp"},{"fieldName":"uploadSpeed","booleanExpressionType":"Float32BoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Network_DetailedUserActivityMvBoolExp"}}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCallsObject","fields":[{"name":"callid","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"calltype","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"customerid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"duration","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"nodeid","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"receivernumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCallsObject","inputTypeName":"V2InsertCallsObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_calls_object","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCallsObject","permissions":[{"role":"admin","output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertCallsResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Calls!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertCallsResponse","inputTypeName":"V2InsertCallsResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_calls' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_calls_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertCallsResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertCalls","outputType":"V2InsertCallsResponse!","arguments":[{"name":"objects","type":"[V2InsertCallsObject!]!","description":null},{"name":"postCheck","type":"CallsBoolExp!","description":"Insert permission predicate over the 'calls' collection"}],"source":{"dataConnectorName":"kafka_sink","dataConnectorCommand":{"procedure":"v2_insert_calls"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertCalls","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the calls table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertCalls","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertTextsObject","fields":[{"name":"customerid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"messagetype","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"nodeid","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"receivernumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"textid","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertTextsObject","inputTypeName":"V2InsertTextsObjectInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_texts_object","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertTextsObject","permissions":[{"role":"admin","output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2InsertTextsResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Texts!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2InsertTextsResponse","inputTypeName":"V2InsertTextsResponseInput","apolloFederation":null},"description":"Responses from the 'v2_insert_texts' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_insert_texts_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2InsertTextsResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"InsertTexts","outputType":"V2InsertTextsResponse!","arguments":[{"name":"objects","type":"[V2InsertTextsObject!]!","description":null},{"name":"postCheck","type":"TextsBoolExp!","description":"Insert permission predicate over the 'texts' collection"}],"source":{"dataConnectorName":"kafka_sink","dataConnectorCommand":{"procedure":"v2_insert_texts"},"argumentMapping":{"objects":"objects","postCheck":"post_check"}},"graphql":{"rootFieldName":"InsertTexts","rootFieldKind":"Mutation","deprecated":null},"description":"Insert into the texts table"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"InsertTexts","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"NetworkPerformance","fields":[{"name":"downloadSpeed","type":"Float32!","description":null,"deprecated":null,"arguments":[]},{"name":"guid","type":"String!","description":null,"deprecated":null,"arguments":[]},{"name":"latency","type":"Int32!","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"DateTime!","description":null,"deprecated":null,"arguments":[]},{"name":"uploadSpeed","type":"Float32!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Network_NetworkPerformance","inputTypeName":"Network_NetworkPerformanceInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"clickhouse","dataConnectorObjectType":"network_performance","fieldMapping":{"downloadSpeed":{"column":{"name":"Download_Speed","argumentMapping":null}},"guid":{"column":{"name":"GUID","argumentMapping":null}},"latency":{"column":{"name":"Latency","argumentMapping":null}},"timestamp":{"column":{"name":"Timestamp","argumentMapping":null}},"uploadSpeed":{"column":{"name":"Upload_Speed","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"NetworkPerformance","permissions":[{"role":"admin","output":{"allowedFields":["downloadSpeed","guid","latency","timestamp","uploadSpeed"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"NetworkPerformance","objectType":"NetworkPerformance","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"clickhouse","collection":"network_performance","argumentMapping":{}},"filterExpressionType":"NetworkPerformanceBoolExp","orderableFields":[{"fieldName":"downloadSpeed","orderByDirections":{"enableAll":true}},{"fieldName":"guid","orderByDirections":{"enableAll":true}},{"fieldName":"latency","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}},{"fieldName":"uploadSpeed","orderByDirections":{"enableAll":true}}],"aggregateExpression":"NetworkPerformanceAggExp","graphql":{"selectUniques":[{"queryRootField":"networkPerformanceByTimestampGuid","uniqueIdentifier":["guid","timestamp"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"networkPerformance","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Network_NetworkPerformanceOrderBy","apolloFederation":null,"filterInputTypeName":"NetworkPerformanceFilterInput","aggregate":{"queryRootField":"networkPerformanceAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"NetworkPerformance","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"customer","sourceType":"NetworkPerformance","target":{"model":{"name":"CustomerLink","subgraph":"customer","relationshipType":"Object"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"guid"}]},"target":{"modelField":[{"fieldName":"customerGuid"}]}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"Relationship","version":"v1","definition":{"name":"formatTimestamp","sourceType":"NetworkPerformance","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"NetworkPerformanceAggExp","operand":{"object":{"aggregatedType":"NetworkPerformance","aggregatableFields":[{"fieldName":"downloadSpeed","description":null,"aggregateExpression":"Float32AggExp"},{"fieldName":"guid","description":null,"aggregateExpression":"StringAggExp"},{"fieldName":"latency","description":null,"aggregateExpression":"Int32AggExp"},{"fieldName":"timestamp","description":null,"aggregateExpression":"DateTimeAggExp"},{"fieldName":"uploadSpeed","description":null,"aggregateExpression":"Float32AggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"NetworkPerformanceAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"NetworkPerformanceBoolExp","operand":{"object":{"type":"NetworkPerformance","comparableFields":[{"fieldName":"downloadSpeed","booleanExpressionType":"Float32BoolExp"},{"fieldName":"guid","booleanExpressionType":"StringBoolExp"},{"fieldName":"latency","booleanExpressionType":"Int32BoolExp"},{"fieldName":"timestamp","booleanExpressionType":"DateTimeBoolExp"},{"fieldName":"uploadSpeed","booleanExpressionType":"Float32BoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Network_NetworkPerformanceBoolExp"}}},{"kind":"ObjectType","version":"v1","definition":{"name":"Texts","fields":[{"name":"customerid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"deviceid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"messagetype","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"nodeid","type":"Int4","description":null,"deprecated":null,"arguments":[]},{"name":"receivernumber","type":"Varchar","description":null,"deprecated":null,"arguments":[]},{"name":"textid","type":"Int4!","description":null,"deprecated":null,"arguments":[]},{"name":"timestamp","type":"Timestamptz!","description":null,"deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"Network_Texts","inputTypeName":"Network_TextsInput","apolloFederation":null},"description":null,"dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"texts","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"Texts","permissions":[{"role":"admin","output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"input":null},{"role":"customer","output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"input":null}]}},{"kind":"Model","version":"v1","definition":{"name":"Texts","objectType":"Texts","globalIdSource":false,"arguments":[],"source":{"dataConnectorName":"kafka_sink","collection":"texts","argumentMapping":{}},"filterExpressionType":"TextsBoolExp","orderableFields":[{"fieldName":"customerid","orderByDirections":{"enableAll":true}},{"fieldName":"deviceid","orderByDirections":{"enableAll":true}},{"fieldName":"messagetype","orderByDirections":{"enableAll":true}},{"fieldName":"nodeid","orderByDirections":{"enableAll":true}},{"fieldName":"receivernumber","orderByDirections":{"enableAll":true}},{"fieldName":"textid","orderByDirections":{"enableAll":true}},{"fieldName":"timestamp","orderByDirections":{"enableAll":true}}],"aggregateExpression":"TextsAggExp","graphql":{"selectUniques":[{"queryRootField":"textsByTextid","uniqueIdentifier":["textid"],"description":null,"deprecated":null,"subscription":null}],"selectMany":{"queryRootField":"texts","description":null,"deprecated":null,"subscription":null},"argumentsInputType":null,"orderByExpressionType":"Network_TextsOrderBy","apolloFederation":null,"filterInputTypeName":"TextsFilterInput","aggregate":{"queryRootField":"textsAggregate","description":null,"deprecated":null,"subscription":null}},"description":null}},{"kind":"ModelPermissions","version":"v1","definition":{"modelName":"Texts","permissions":[{"role":"admin","select":{"filter":null,"argumentPresets":[],"allowSubscriptions":false}}]}},{"kind":"Relationship","version":"v1","definition":{"name":"formatTimestamp","sourceType":"Texts","target":{"command":{"name":"ToDateString","subgraph":"globals"}},"mapping":[{"source":{"fieldPath":[{"fieldName":"timestamp"}]},"target":{"argument":{"argumentName":"date"}}}],"description":null,"deprecated":null,"graphql":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TextsBoolExp","operand":{"object":{"type":"Texts","comparableFields":[{"fieldName":"customerid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"deviceid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"messagetype","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"nodeid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"receivernumber","booleanExpressionType":"VarcharBoolExp"},{"fieldName":"textid","booleanExpressionType":"Int4BoolExp"},{"fieldName":"timestamp","booleanExpressionType":"TimestamptzBoolExp"}],"comparableRelationships":[]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Network_TextsBoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TextsAggExp","operand":{"object":{"aggregatedType":"Texts","aggregatableFields":[{"fieldName":"customerid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"deviceid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"messagetype","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"nodeid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"receivernumber","description":null,"aggregateExpression":"VarcharAggExp"},{"fieldName":"textid","description":null,"aggregateExpression":"Int4AggExp"},{"fieldName":"timestamp","description":null,"aggregateExpression":"TimestamptzAggExp"}]}},"count":{"enable":true,"description":null},"countDistinct":null,"graphql":{"selectTypeName":"TextsAggExp","deprecated":null},"description":null}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsCallid","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsCallid","inputTypeName":"UpdateColumnCallsCallidInput","apolloFederation":null},"description":"Update the 'callid' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_callid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsCallid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsCalltype","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsCalltype","inputTypeName":"UpdateColumnCallsCalltypeInput","apolloFederation":null},"description":"Update the 'calltype' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_calltype","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsCalltype","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsCustomerid","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsCustomerid","inputTypeName":"UpdateColumnCallsCustomeridInput","apolloFederation":null},"description":"Update the 'customerid' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_customerid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsCustomerid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsDeviceid","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsDeviceid","inputTypeName":"UpdateColumnCallsDeviceidInput","apolloFederation":null},"description":"Update the 'deviceid' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_deviceid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsDeviceid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsDuration","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsDuration","inputTypeName":"UpdateColumnCallsDurationInput","apolloFederation":null},"description":"Update the 'duration' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_duration","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsDuration","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsNodeid","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsNodeid","inputTypeName":"UpdateColumnCallsNodeidInput","apolloFederation":null},"description":"Update the 'nodeid' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_nodeid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsNodeid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsReceivernumber","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsReceivernumber","inputTypeName":"UpdateColumnCallsReceivernumberInput","apolloFederation":null},"description":"Update the 'receivernumber' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_receivernumber","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsReceivernumber","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnCallsTimestamp","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnCallsTimestamp","inputTypeName":"UpdateColumnCallsTimestampInput","apolloFederation":null},"description":"Update the 'timestamp' column in the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_calls_timestamp","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnCallsTimestamp","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCallsByCallidUpdateColumns","fields":[{"name":"callid","type":"UpdateColumnCallsCallid","description":"Update the 'callid' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"calltype","type":"UpdateColumnCallsCalltype","description":"Update the 'calltype' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"customerid","type":"UpdateColumnCallsCustomerid","description":"Update the 'customerid' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"deviceid","type":"UpdateColumnCallsDeviceid","description":"Update the 'deviceid' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"duration","type":"UpdateColumnCallsDuration","description":"Update the 'duration' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"nodeid","type":"UpdateColumnCallsNodeid","description":"Update the 'nodeid' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"receivernumber","type":"UpdateColumnCallsReceivernumber","description":"Update the 'receivernumber' column in the 'calls' collection.","deprecated":null,"arguments":[]},{"name":"timestamp","type":"UpdateColumnCallsTimestamp","description":"Update the 'timestamp' column in the 'calls' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCallsByCallidUpdateColumns","inputTypeName":"V2UpdateCallsByCallidUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'calls' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_calls_by_callid_update_columns","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCallsByCallidUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["callid","calltype","customerid","deviceid","duration","nodeid","receivernumber","timestamp"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateCallsByCallidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Calls!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateCallsByCallidResponse","inputTypeName":"V2UpdateCallsByCallidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_calls_by_callid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_calls_by_callid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateCallsByCallidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateCallsByCallid","outputType":"V2UpdateCallsByCallidResponse!","arguments":[{"name":"keyCallid","type":"Int4!","description":null},{"name":"postCheck","type":"CallsBoolExp!","description":"Update permission post-condition predicate over the 'calls' collection"},{"name":"preCheck","type":"CallsBoolExp!","description":"Update permission pre-condition predicate over the 'calls' collection"},{"name":"updateColumns","type":"V2UpdateCallsByCallidUpdateColumns!","description":null}],"source":{"dataConnectorName":"kafka_sink","dataConnectorCommand":{"procedure":"v2_update_calls_by_callid"},"argumentMapping":{"keyCallid":"key_callid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateCallsByCallid","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'calls' collection using the 'callid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateCallsByCallid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsCustomerid","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsCustomerid","inputTypeName":"UpdateColumnTextsCustomeridInput","apolloFederation":null},"description":"Update the 'customerid' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_customerid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsCustomerid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsDeviceid","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsDeviceid","inputTypeName":"UpdateColumnTextsDeviceidInput","apolloFederation":null},"description":"Update the 'deviceid' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_deviceid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsDeviceid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsMessagetype","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsMessagetype","inputTypeName":"UpdateColumnTextsMessagetypeInput","apolloFederation":null},"description":"Update the 'messagetype' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_messagetype","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsMessagetype","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsNodeid","fields":[{"name":"set","type":"Int4","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsNodeid","inputTypeName":"UpdateColumnTextsNodeidInput","apolloFederation":null},"description":"Update the 'nodeid' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_nodeid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsNodeid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsReceivernumber","fields":[{"name":"set","type":"Varchar","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsReceivernumber","inputTypeName":"UpdateColumnTextsReceivernumberInput","apolloFederation":null},"description":"Update the 'receivernumber' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_receivernumber","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsReceivernumber","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsTextid","fields":[{"name":"set","type":"Int4!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsTextid","inputTypeName":"UpdateColumnTextsTextidInput","apolloFederation":null},"description":"Update the 'textid' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_textid","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsTextid","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"UpdateColumnTextsTimestamp","fields":[{"name":"set","type":"Timestamptz!","description":"Set the column to this value","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"UpdateColumnTextsTimestamp","inputTypeName":"UpdateColumnTextsTimestampInput","apolloFederation":null},"description":"Update the 'timestamp' column in the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"update_column_texts_timestamp","fieldMapping":{"set":{"column":{"name":"_set","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"UpdateColumnTextsTimestamp","permissions":[{"role":"admin","output":{"allowedFields":["set"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateTextsByTextidUpdateColumns","fields":[{"name":"customerid","type":"UpdateColumnTextsCustomerid","description":"Update the 'customerid' column in the 'texts' collection.","deprecated":null,"arguments":[]},{"name":"deviceid","type":"UpdateColumnTextsDeviceid","description":"Update the 'deviceid' column in the 'texts' collection.","deprecated":null,"arguments":[]},{"name":"messagetype","type":"UpdateColumnTextsMessagetype","description":"Update the 'messagetype' column in the 'texts' collection.","deprecated":null,"arguments":[]},{"name":"nodeid","type":"UpdateColumnTextsNodeid","description":"Update the 'nodeid' column in the 'texts' collection.","deprecated":null,"arguments":[]},{"name":"receivernumber","type":"UpdateColumnTextsReceivernumber","description":"Update the 'receivernumber' column in the 'texts' collection.","deprecated":null,"arguments":[]},{"name":"textid","type":"UpdateColumnTextsTextid","description":"Update the 'textid' column in the 'texts' collection.","deprecated":null,"arguments":[]},{"name":"timestamp","type":"UpdateColumnTextsTimestamp","description":"Update the 'timestamp' column in the 'texts' collection.","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateTextsByTextidUpdateColumns","inputTypeName":"V2UpdateTextsByTextidUpdateColumnsInput","apolloFederation":null},"description":"Update the columns of the 'texts' collection","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_texts_by_textid_update_columns","fieldMapping":{}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateTextsByTextidUpdateColumns","permissions":[{"role":"admin","output":{"allowedFields":["customerid","deviceid","messagetype","nodeid","receivernumber","textid","timestamp"]},"input":null}]}},{"kind":"ObjectType","version":"v1","definition":{"name":"V2UpdateTextsByTextidResponse","fields":[{"name":"affectedRows","type":"Int4!","description":"The number of rows affected by the mutation","deprecated":null,"arguments":[]},{"name":"returning","type":"[Texts!]!","description":"Data from rows affected by the mutation","deprecated":null,"arguments":[]}],"globalIdFields":null,"graphql":{"typeName":"V2UpdateTextsByTextidResponse","inputTypeName":"V2UpdateTextsByTextidResponseInput","apolloFederation":null},"description":"Responses from the 'v2_update_texts_by_textid' procedure","dataConnectorTypeMapping":[{"dataConnectorName":"kafka_sink","dataConnectorObjectType":"v2_update_texts_by_textid_response","fieldMapping":{"affectedRows":{"column":{"name":"affected_rows","argumentMapping":null}},"returning":{"column":{"name":"returning","argumentMapping":null}}}}]}},{"kind":"TypePermissions","version":"v1","definition":{"typeName":"V2UpdateTextsByTextidResponse","permissions":[{"role":"admin","output":{"allowedFields":["affectedRows","returning"]},"input":null}]}},{"kind":"Command","version":"v1","definition":{"name":"UpdateTextsByTextid","outputType":"V2UpdateTextsByTextidResponse!","arguments":[{"name":"keyTextid","type":"Int4!","description":null},{"name":"postCheck","type":"TextsBoolExp!","description":"Update permission post-condition predicate over the 'texts' collection"},{"name":"preCheck","type":"TextsBoolExp!","description":"Update permission pre-condition predicate over the 'texts' collection"},{"name":"updateColumns","type":"V2UpdateTextsByTextidUpdateColumns!","description":null}],"source":{"dataConnectorName":"kafka_sink","dataConnectorCommand":{"procedure":"v2_update_texts_by_textid"},"argumentMapping":{"keyTextid":"key_textid","postCheck":"post_check","preCheck":"pre_check","updateColumns":"update_columns"}},"graphql":{"rootFieldName":"UpdateTextsByTextid","rootFieldKind":"Mutation","deprecated":null},"description":"Update any row on the 'texts' collection using the 'textid' key"}},{"kind":"CommandPermissions","version":"v1","definition":{"commandName":"UpdateTextsByTextid","permissions":[{"role":"admin","allowExecution":true,"argumentPresets":[]}]}},{"kind":"ScalarType","version":"v1","definition":{"name":"DateTime","graphql":{"typeName":"Network_DateTime"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int32","graphql":{"typeName":"Network_Int32"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Float32","graphql":{"typeName":"Network_Float32"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"String","representation":"String","graphql":{"comparisonExpressionTypeName":"Network_StringComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"DateTime","representation":"DateTime","graphql":{"comparisonExpressionTypeName":"Network_DateTimeComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int32","representation":"Int32","graphql":{"comparisonExpressionTypeName":"Network_Int32ComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float32","representation":"Float32","graphql":{"comparisonExpressionTypeName":"Network_Float32ComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int32BoolExp","operand":{"scalar":{"type":"Int32","comparisonOperators":[{"name":"_eq","argumentType":"Int32!"},{"name":"_gt","argumentType":"Int32!"},{"name":"_gte","argumentType":"Int32!"},{"name":"_in","argumentType":"[Int32!]!"},{"name":"_lt","argumentType":"Int32!"},{"name":"_lte","argumentType":"Int32!"},{"name":"_neq","argumentType":"Int32!"},{"name":"_nin","argumentType":"[Int32!]!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int32","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int32BoolExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"DateTimeBoolExp","operand":{"scalar":{"type":"DateTime","comparisonOperators":[{"name":"_eq","argumentType":"DateTime!"},{"name":"_gt","argumentType":"DateTime!"},{"name":"_gte","argumentType":"DateTime!"},{"name":"_in","argumentType":"[DateTime!]!"},{"name":"_lt","argumentType":"DateTime!"},{"name":"_lte","argumentType":"DateTime!"},{"name":"_neq","argumentType":"DateTime!"},{"name":"_nin","argumentType":"[DateTime!]!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"DateTime","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"DateTimeBoolExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Float64","graphql":{"typeName":"Float64"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float64","representation":"Float64","graphql":{"comparisonExpressionTypeName":"Float64ComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Float64BoolExp","operand":{"scalar":{"type":"Float64","comparisonOperators":[{"name":"_eq","argumentType":"Float64!"},{"name":"_gt","argumentType":"Float64!"},{"name":"_gte","argumentType":"Float64!"},{"name":"_in","argumentType":"[Float64!]!"},{"name":"_lt","argumentType":"Float64!"},{"name":"_lte","argumentType":"Float64!"},{"name":"_neq","argumentType":"Float64!"},{"name":"_nin","argumentType":"[Float64!]!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float64","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Float64BoolExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int64","graphql":{"typeName":"Int64"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int64","representation":"Int64","graphql":{"comparisonExpressionTypeName":"Int64ComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int64BoolExp","operand":{"scalar":{"type":"Int64","comparisonOperators":[{"name":"_eq","argumentType":"Int64!"},{"name":"_gt","argumentType":"Int64!"},{"name":"_gte","argumentType":"Int64!"},{"name":"_in","argumentType":"[Int64!]!"},{"name":"_lt","argumentType":"Int64!"},{"name":"_lte","argumentType":"Int64!"},{"name":"_neq","argumentType":"Int64!"},{"name":"_nin","argumentType":"[Int64!]!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int64","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int64BoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Int32AggExp","operand":{"scalar":{"aggregatedType":"Int32","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Float64!"},{"name":"max","description":null,"returnType":"Int32!"},{"name":"min","description":null,"returnType":"Int32!"},{"name":"stddev_pop","description":null,"returnType":"Float64!"},{"name":"stddev_samp","description":null,"returnType":"Float64!"},{"name":"sum","description":null,"returnType":"Int64!"},{"name":"var_pop","description":null,"returnType":"Float64!"},{"name":"var_samp","description":null,"returnType":"Float64!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Int32","functionMapping":{"avg":{"name":"avg"},"max":{"name":"max"},"min":{"name":"min"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Int32AggExp","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"StringAggExp","operand":{"scalar":{"aggregatedType":"String","aggregationFunctions":[],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"String","functionMapping":{}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"StringAggExp","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"DateTimeAggExp","operand":{"scalar":{"aggregatedType":"DateTime","aggregationFunctions":[{"name":"max","description":null,"returnType":"DateTime!"},{"name":"min","description":null,"returnType":"DateTime!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"DateTime","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"DateTimeAggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Float32BoolExp","operand":{"scalar":{"type":"Float32","comparisonOperators":[{"name":"_eq","argumentType":"Float32!"},{"name":"_gt","argumentType":"Float32!"},{"name":"_gte","argumentType":"Float32!"},{"name":"_in","argumentType":"[Float32!]!"},{"name":"_lt","argumentType":"Float32!"},{"name":"_lte","argumentType":"Float32!"},{"name":"_neq","argumentType":"Float32!"},{"name":"_nin","argumentType":"[Float32!]!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float32","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Float32BoolExp"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Float32AggExp","operand":{"scalar":{"aggregatedType":"Float32","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Float64!"},{"name":"max","description":null,"returnType":"Float64!"},{"name":"min","description":null,"returnType":"Float32!"},{"name":"stddev_pop","description":null,"returnType":"Float32!"},{"name":"stddev_samp","description":null,"returnType":"Float32!"},{"name":"sum","description":null,"returnType":"Float32!"},{"name":"var_pop","description":null,"returnType":"Float32!"},{"name":"var_samp","description":null,"returnType":"Float32!"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"Float32","functionMapping":{"avg":{"name":"avg"},"max":{"name":"max"},"min":{"name":"min"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Float32AggExp","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"StringBoolExp","operand":{"scalar":{"type":"String","comparisonOperators":[{"name":"_eq","argumentType":"String!"},{"name":"_gt","argumentType":"String!"},{"name":"_gte","argumentType":"String!"},{"name":"_ilike","argumentType":"String!"},{"name":"_in","argumentType":"[String!]!"},{"name":"_like","argumentType":"String!"},{"name":"_lt","argumentType":"String!"},{"name":"_lte","argumentType":"String!"},{"name":"_match","argumentType":"String!"},{"name":"_neq","argumentType":"String!"},{"name":"_nilike","argumentType":"String!"},{"name":"_nin","argumentType":"[String!]!"},{"name":"_nlike","argumentType":"String!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"clickhouse","dataConnectorScalarType":"String","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"StringBoolExp_1"}}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"clickhouse","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:5052"},"write":{"value":"http://local.hasura.dev:5052"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"DateTime":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"named","name":"DateTime"}},"min":{"result_type":{"type":"named","name":"DateTime"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"DateTime"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"DateTime"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"DateTime"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"DateTime"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"DateTime"}},"_nin":{"type":"custom","argument_type":{"type":"array","element_type":{"type":"named","name":"DateTime"}}}}},"Float32":{"representation":{"type":"float32"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Float64"}},"max":{"result_type":{"type":"named","name":"Float64"}},"min":{"result_type":{"type":"named","name":"Float32"}},"stddev_pop":{"result_type":{"type":"named","name":"Float32"}},"stddev_samp":{"result_type":{"type":"named","name":"Float32"}},"sum":{"result_type":{"type":"named","name":"Float32"}},"var_pop":{"result_type":{"type":"named","name":"Float32"}},"var_samp":{"result_type":{"type":"named","name":"Float32"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Float32"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Float32"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Float32"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Float32"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Float32"}},"_nin":{"type":"custom","argument_type":{"type":"array","element_type":{"type":"named","name":"Float32"}}}}},"Float64":{"representation":{"type":"float64"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Float64"}},"max":{"result_type":{"type":"named","name":"Float64"}},"min":{"result_type":{"type":"named","name":"Float64"}},"stddev_pop":{"result_type":{"type":"named","name":"Float64"}},"stddev_samp":{"result_type":{"type":"named","name":"Float64"}},"sum":{"result_type":{"type":"named","name":"Float64"}},"var_pop":{"result_type":{"type":"named","name":"Float64"}},"var_samp":{"result_type":{"type":"named","name":"Float64"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Float64"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Float64"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Float64"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Float64"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Float64"}},"_nin":{"type":"custom","argument_type":{"type":"array","element_type":{"type":"named","name":"Float64"}}}}},"Int32":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Float64"}},"max":{"result_type":{"type":"named","name":"Int32"}},"min":{"result_type":{"type":"named","name":"Int32"}},"stddev_pop":{"result_type":{"type":"named","name":"Float64"}},"stddev_samp":{"result_type":{"type":"named","name":"Float64"}},"sum":{"result_type":{"type":"named","name":"Int64"}},"var_pop":{"result_type":{"type":"named","name":"Float64"}},"var_samp":{"result_type":{"type":"named","name":"Float64"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Int32"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Int32"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Int32"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Int32"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Int32"}},"_nin":{"type":"custom","argument_type":{"type":"array","element_type":{"type":"named","name":"Int32"}}}}},"Int64":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"named","name":"Float64"}},"max":{"result_type":{"type":"named","name":"Int64"}},"min":{"result_type":{"type":"named","name":"Int64"}},"stddev_pop":{"result_type":{"type":"named","name":"Float64"}},"stddev_samp":{"result_type":{"type":"named","name":"Float64"}},"sum":{"result_type":{"type":"named","name":"Int64"}},"var_pop":{"result_type":{"type":"named","name":"Float64"}},"var_samp":{"result_type":{"type":"named","name":"Float64"}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"Int64"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"Int64"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"Int64"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"Int64"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"Int64"}},"_nin":{"type":"custom","argument_type":{"type":"array","element_type":{"type":"named","name":"Int64"}}}}},"String":{"representation":{"type":"string"},"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_in":{"type":"in"},"_like":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_match":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"String"}},"_nin":{"type":"custom","argument_type":{"type":"array","element_type":{"type":"named","name":"String"}}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"String"}}}}},"object_types":{".inner_id.ebe5f199-643d-44a5-9775-d2babedc4a8f":{"description":"","fields":{"CDR_GUID":{"type":{"type":"named","name":"String"}},"CDR_Timestamp":{"type":{"type":"named","name":"DateTime"}},"Call_Duration":{"type":{"type":"named","name":"Int32"}},"Call_Type":{"type":{"type":"named","name":"String"}},"DU_GUID":{"type":{"type":"named","name":"String"}},"DU_Timestamp":{"type":{"type":"named","name":"DateTime"}},"Data_Usage":{"type":{"type":"named","name":"Float32"}},"Download_Speed":{"type":{"type":"named","name":"Float32"}},"Latency":{"type":{"type":"named","name":"Int32"}},"NP_GUID":{"type":{"type":"named","name":"String"}},"NP_Timestamp":{"type":{"type":"named","name":"DateTime"}},"Upload_Speed":{"type":{"type":"named","name":"Float32"}}}},"cdr":{"description":"","fields":{"Call_Duration":{"type":{"type":"named","name":"Int32"}},"Call_Type":{"type":{"type":"named","name":"String"}},"GUID":{"type":{"type":"named","name":"String"}},"Timestamp":{"type":{"type":"named","name":"DateTime"}}}},"data_usage":{"description":"","fields":{"Data_Usage":{"type":{"type":"named","name":"Float32"}},"GUID":{"type":{"type":"named","name":"String"}},"Timestamp":{"type":{"type":"named","name":"DateTime"}}}},"detailed_user_activity_mv":{"description":"","fields":{"CDR_GUID":{"type":{"type":"named","name":"String"}},"CDR_Timestamp":{"type":{"type":"named","name":"DateTime"}},"Call_Duration":{"type":{"type":"named","name":"Int32"}},"Call_Type":{"type":{"type":"named","name":"String"}},"DU_GUID":{"type":{"type":"named","name":"String"}},"DU_Timestamp":{"type":{"type":"named","name":"DateTime"}},"Data_Usage":{"type":{"type":"named","name":"Float32"}},"Download_Speed":{"type":{"type":"named","name":"Float32"}},"Latency":{"type":{"type":"named","name":"Int32"}},"NP_GUID":{"type":{"type":"named","name":"String"}},"NP_Timestamp":{"type":{"type":"named","name":"DateTime"}},"Upload_Speed":{"type":{"type":"named","name":"Float32"}}}},"network_performance":{"description":"","fields":{"Download_Speed":{"type":{"type":"named","name":"Float32"}},"GUID":{"type":{"type":"named","name":"String"}},"Latency":{"type":{"type":"named","name":"Int32"}},"Timestamp":{"type":{"type":"named","name":"DateTime"}},"Upload_Speed":{"type":{"type":"named","name":"Float32"}}}}},"collections":[{"name":"cdr","description":"","arguments":{},"type":"cdr","uniqueness_constraints":{"Timestamp, GUID":{"unique_columns":["GUID","Timestamp"]}},"foreign_keys":{}},{"name":"data_usage","description":"","arguments":{},"type":"data_usage","uniqueness_constraints":{"Timestamp, GUID":{"unique_columns":["GUID","Timestamp"]}},"foreign_keys":{}},{"name":"detailed_user_activity_mv","description":"","arguments":{},"type":"detailed_user_activity_mv","uniqueness_constraints":{},"foreign_keys":{}},{"name":"network_performance","description":"","arguments":{},"type":"network_performance","uniqueness_constraints":{"Timestamp, GUID":{"unique_columns":["GUID","Timestamp"]}},"foreign_keys":{}}],"functions":[],"procedures":[]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{},"exists":{}},"mutation":{},"relationships":{"relation_comparisons":{},"order_by_aggregate":{}}}}},"argumentPresets":[],"responseHeaders":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int4","graphql":{"typeName":"Network_Int4"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Varchar","graphql":{"typeName":"Network_Varchar"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Timestamptz","graphql":{"typeName":"Network_Timestamptz"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int4","representation":"Int4","graphql":{"comparisonExpressionTypeName":"Network_Int4ComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"varchar","representation":"Varchar","graphql":{"comparisonExpressionTypeName":"Network_VarcharComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamptz","representation":"Timestamptz","graphql":{"comparisonExpressionTypeName":"Network_TimestamptzComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Timestamp","graphql":{"typeName":"Network_Timestamp"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Text","graphql":{"typeName":"Network_Text"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Json","graphql":{"typeName":"Network_Json"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamp","representation":"Timestamp","graphql":{"comparisonExpressionTypeName":"Network_TimestampComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"text","representation":"Text","graphql":{"comparisonExpressionTypeName":"Network_TextComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"json","representation":"Json","graphql":{"comparisonExpressionTypeName":"Network_JsonComparisonExp"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Bool","graphql":{"typeName":"Network_Bool"},"description":null}},{"kind":"ScalarType","version":"v1","definition":{"name":"Jsonb","graphql":{"typeName":"Network_Jsonb"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"bool","representation":"Bool","graphql":{"comparisonExpressionTypeName":"Network_BoolComparisonExp"}}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"jsonb","representation":"Jsonb","graphql":{"comparisonExpressionTypeName":"Network_JsonbComparisonExp"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int4BoolExp","operand":{"scalar":{"type":"Int4","comparisonOperators":[{"name":"_eq","argumentType":"Int4!"},{"name":"_gt","argumentType":"Int4!"},{"name":"_gte","argumentType":"Int4!"},{"name":"_in","argumentType":"[Int4!]!"},{"name":"_lt","argumentType":"Int4!"},{"name":"_lte","argumentType":"Int4!"},{"name":"_neq","argumentType":"Int4!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int4","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int4BoolExp_3"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"VarcharBoolExp","operand":{"scalar":{"type":"Varchar","comparisonOperators":[{"name":"_eq","argumentType":"Varchar!"},{"name":"_gt","argumentType":"Varchar!"},{"name":"_gte","argumentType":"Varchar!"},{"name":"_ilike","argumentType":"Varchar!"},{"name":"_in","argumentType":"[Varchar!]!"},{"name":"_iregex","argumentType":"Varchar!"},{"name":"_like","argumentType":"Varchar!"},{"name":"_lt","argumentType":"Varchar!"},{"name":"_lte","argumentType":"Varchar!"},{"name":"_neq","argumentType":"Varchar!"},{"name":"_nilike","argumentType":"Varchar!"},{"name":"_niregex","argumentType":"Varchar!"},{"name":"_nlike","argumentType":"Varchar!"},{"name":"_nregex","argumentType":"Varchar!"},{"name":"_regex","argumentType":"Varchar!"},{"name":"starts_with","argumentType":"Varchar!"},{"name":"ts_match_tt","argumentType":"Varchar!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"varchar","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"VarcharBoolExp_2"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TimestamptzBoolExp","operand":{"scalar":{"type":"Timestamptz","comparisonOperators":[{"name":"_eq","argumentType":"Timestamptz!"},{"name":"_gt","argumentType":"Timestamptz!"},{"name":"_gte","argumentType":"Timestamptz!"},{"name":"_in","argumentType":"[Timestamptz!]!"},{"name":"_lt","argumentType":"Timestamptz!"},{"name":"_lte","argumentType":"Timestamptz!"},{"name":"_neq","argumentType":"Timestamptz!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamptz","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TimestamptzBoolExp_3"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Numeric","graphql":{"typeName":"Numeric_2"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"numeric","representation":"Numeric","graphql":{"comparisonExpressionTypeName":"NumericComparisonExp_2"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"NumericBoolExp","operand":{"scalar":{"type":"Numeric","comparisonOperators":[{"name":"_eq","argumentType":"Numeric!"},{"name":"_gt","argumentType":"Numeric!"},{"name":"_gte","argumentType":"Numeric!"},{"name":"_in","argumentType":"[Numeric!]!"},{"name":"_lt","argumentType":"Numeric!"},{"name":"_lte","argumentType":"Numeric!"},{"name":"_neq","argumentType":"Numeric!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"numeric","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"NumericBoolExp_3"}}},{"kind":"ScalarType","version":"v1","definition":{"name":"Int8","graphql":{"typeName":"Int8_3"},"description":null}},{"kind":"DataConnectorScalarRepresentation","version":"v1","definition":{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int8","representation":"Int8","graphql":{"comparisonExpressionTypeName":"Int8ComparisonExp_3"}}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"Int8BoolExp","operand":{"scalar":{"type":"Int8","comparisonOperators":[{"name":"_eq","argumentType":"Int8!"},{"name":"_gt","argumentType":"Int8!"},{"name":"_gte","argumentType":"Int8!"},{"name":"_in","argumentType":"[Int8!]!"},{"name":"_lt","argumentType":"Int8!"},{"name":"_lte","argumentType":"Int8!"},{"name":"_neq","argumentType":"Int8!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int8","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"Int8BoolExp_3"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"Int4AggExp","operand":{"scalar":{"aggregatedType":"Int4","aggregationFunctions":[{"name":"avg","description":null,"returnType":"Numeric"},{"name":"bit_and","description":null,"returnType":"Int4"},{"name":"bit_or","description":null,"returnType":"Int4"},{"name":"bit_xor","description":null,"returnType":"Int4"},{"name":"max","description":null,"returnType":"Int4"},{"name":"min","description":null,"returnType":"Int4"},{"name":"stddev","description":null,"returnType":"Numeric"},{"name":"stddev_pop","description":null,"returnType":"Numeric"},{"name":"stddev_samp","description":null,"returnType":"Numeric"},{"name":"sum","description":null,"returnType":"Int8"},{"name":"var_pop","description":null,"returnType":"Numeric"},{"name":"var_samp","description":null,"returnType":"Numeric"},{"name":"variance","description":null,"returnType":"Numeric"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"int4","functionMapping":{"avg":{"name":"avg"},"bit_and":{"name":"bit_and"},"bit_or":{"name":"bit_or"},"bit_xor":{"name":"bit_xor"},"max":{"name":"max"},"min":{"name":"min"},"stddev":{"name":"stddev"},"stddev_pop":{"name":"stddev_pop"},"stddev_samp":{"name":"stddev_samp"},"sum":{"name":"sum"},"var_pop":{"name":"var_pop"},"var_samp":{"name":"var_samp"},"variance":{"name":"variance"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"Int4AggExp_3","deprecated":null},"description":null}},{"kind":"BooleanExpressionType","version":"v1","definition":{"name":"TextBoolExp","operand":{"scalar":{"type":"Text","comparisonOperators":[{"name":"_eq","argumentType":"Text!"},{"name":"_gt","argumentType":"Text!"},{"name":"_gte","argumentType":"Text!"},{"name":"_ilike","argumentType":"Text!"},{"name":"_in","argumentType":"[Text!]!"},{"name":"_iregex","argumentType":"Text!"},{"name":"_like","argumentType":"Text!"},{"name":"_lt","argumentType":"Text!"},{"name":"_lte","argumentType":"Text!"},{"name":"_neq","argumentType":"Text!"},{"name":"_nilike","argumentType":"Text!"},{"name":"_niregex","argumentType":"Text!"},{"name":"_nlike","argumentType":"Text!"},{"name":"_nregex","argumentType":"Text!"},{"name":"_regex","argumentType":"Text!"},{"name":"starts_with","argumentType":"Text!"},{"name":"ts_match_tt","argumentType":"Text!"}],"dataConnectorOperatorMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"text","operatorMapping":{}}]}},"logicalOperators":{"enable":true},"isNull":{"enable":true},"graphql":{"typeName":"TextBoolExp_3"}}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"VarcharAggExp","operand":{"scalar":{"aggregatedType":"Varchar","aggregationFunctions":[{"name":"max","description":null,"returnType":"Text"},{"name":"min","description":null,"returnType":"Text"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"varchar","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"VarcharAggExp_2","deprecated":null},"description":null}},{"kind":"AggregateExpression","version":"v1","definition":{"name":"TimestamptzAggExp","operand":{"scalar":{"aggregatedType":"Timestamptz","aggregationFunctions":[{"name":"max","description":null,"returnType":"Timestamptz"},{"name":"min","description":null,"returnType":"Timestamptz"}],"dataConnectorAggregationFunctionMapping":[{"dataConnectorName":"kafka_sink","dataConnectorScalarType":"timestamptz","functionMapping":{"max":{"name":"max"},"min":{"name":"min"}}}]}},"count":{"enable":true,"description":null},"countDistinct":{"enable":true,"description":null},"graphql":{"selectTypeName":"TimestamptzAggExp_3","deprecated":null},"description":null}},{"kind":"DataConnectorLink","version":"v1","definition":{"name":"kafka_sink","url":{"readWriteUrls":{"read":{"value":"http://local.hasura.dev:8034"},"write":{"value":"http://local.hasura.dev:8034"}}},"headers":{"Authorization":{"value":"Bearer YQ=="}},"schema":{"version":"v0.1","schema":{"scalar_types":{"bool":{"representation":{"type":"boolean"},"aggregate_functions":{"bool_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"bool"}}},"bool_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"bool"}}},"every":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"bool"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"bool"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"bool"}}}},"int4":{"representation":{"type":"int32"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int4"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int4"}}}},"int8":{"representation":{"type":"int64"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"bit_and":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_or":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"bit_xor":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"int8"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"int8"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"int8"}}}},"json":{"aggregate_functions":{},"comparison_operators":{"_in":{"type":"in"}}},"jsonb":{"aggregate_functions":{},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"jsonb_contained":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"jsonb_contains":{"type":"custom","argument_type":{"type":"named","name":"jsonb"}},"jsonb_exists":{"type":"custom","argument_type":{"type":"named","name":"text"}}}},"numeric":{"representation":{"type":"bigdecimal"},"aggregate_functions":{"avg":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"stddev_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"sum":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_pop":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"var_samp":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}},"variance":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"numeric"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"numeric"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"numeric"}}}},"text":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"text"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"text"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"text"}}}},"timestamp":{"representation":{"type":"timestamp"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamp"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamp"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"timestamp"}}}},"timestamptz":{"representation":{"type":"timestamptz"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"timestamptz"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_in":{"type":"in"},"_lt":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"timestamptz"}}}},"varchar":{"representation":{"type":"string"},"aggregate_functions":{"max":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}},"min":{"result_type":{"type":"nullable","underlying_type":{"type":"named","name":"text"}}}},"comparison_operators":{"_eq":{"type":"equal"},"_gt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_gte":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_ilike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_in":{"type":"in"},"_iregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_like":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_lt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_lte":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_neq":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nilike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_niregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nlike":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_nregex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"_regex":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"starts_with":{"type":"custom","argument_type":{"type":"named","name":"varchar"}},"ts_match_tt":{"type":"custom","argument_type":{"type":"named","name":"varchar"}}}}},"object_types":{"calls":{"fields":{"callid":{"type":{"type":"named","name":"int4"}},"calltype":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"customerid":{"type":{"type":"named","name":"int4"}},"deviceid":{"type":{"type":"named","name":"int4"}},"duration":{"type":{"type":"named","name":"int4"}},"nodeid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"timestamp":{"type":{"type":"named","name":"timestamptz"}}}},"texts":{"fields":{"customerid":{"type":{"type":"named","name":"int4"}},"deviceid":{"type":{"type":"named","name":"int4"}},"messagetype":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"nodeid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"textid":{"type":{"type":"named","name":"int4"}},"timestamp":{"type":{"type":"named","name":"timestamptz"}}}},"update_column_calls_callid":{"description":"Update the 'callid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_calls_calltype":{"description":"Update the 'calltype' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_calls_customerid":{"description":"Update the 'customerid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_calls_deviceid":{"description":"Update the 'deviceid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_calls_duration":{"description":"Update the 'duration' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_calls_nodeid":{"description":"Update the 'nodeid' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_calls_receivernumber":{"description":"Update the 'receivernumber' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_calls_timestamp":{"description":"Update the 'timestamp' column in the 'calls' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"update_column_texts_customerid":{"description":"Update the 'customerid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_texts_deviceid":{"description":"Update the 'deviceid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_texts_messagetype":{"description":"Update the 'messagetype' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_texts_nodeid":{"description":"Update the 'nodeid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}}}},"update_column_texts_receivernumber":{"description":"Update the 'receivernumber' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}}}},"update_column_texts_textid":{"description":"Update the 'textid' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"int4"}}}},"update_column_texts_timestamp":{"description":"Update the 'timestamp' column in the 'texts' collection","fields":{"_set":{"description":"Set the column to this value","type":{"type":"named","name":"timestamptz"}}}},"v2_delete_calls_by_callid_response":{"description":"Responses from the 'v2_delete_calls_by_callid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"calls"}}}}},"v2_delete_texts_by_textid_response":{"description":"Responses from the 'v2_delete_texts_by_textid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"texts"}}}}},"v2_insert_calls_object":{"fields":{"callid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"calltype":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"customerid":{"type":{"type":"named","name":"int4"}},"deviceid":{"type":{"type":"named","name":"int4"}},"duration":{"type":{"type":"named","name":"int4"}},"nodeid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"timestamp":{"type":{"type":"named","name":"timestamptz"}}}},"v2_insert_calls_response":{"description":"Responses from the 'v2_insert_calls' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"calls"}}}}},"v2_insert_texts_object":{"fields":{"customerid":{"type":{"type":"named","name":"int4"}},"deviceid":{"type":{"type":"named","name":"int4"}},"messagetype":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"nodeid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"receivernumber":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"varchar"}}},"textid":{"type":{"type":"nullable","underlying_type":{"type":"named","name":"int4"}}},"timestamp":{"type":{"type":"named","name":"timestamptz"}}}},"v2_insert_texts_response":{"description":"Responses from the 'v2_insert_texts' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"texts"}}}}},"v2_update_calls_by_callid_response":{"description":"Responses from the 'v2_update_calls_by_callid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"calls"}}}}},"v2_update_calls_by_callid_update_columns":{"description":"Update the columns of the 'calls' collection","fields":{"callid":{"description":"Update the 'callid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_callid"}}},"calltype":{"description":"Update the 'calltype' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_calltype"}}},"customerid":{"description":"Update the 'customerid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_customerid"}}},"deviceid":{"description":"Update the 'deviceid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_deviceid"}}},"duration":{"description":"Update the 'duration' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_duration"}}},"nodeid":{"description":"Update the 'nodeid' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_nodeid"}}},"receivernumber":{"description":"Update the 'receivernumber' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_receivernumber"}}},"timestamp":{"description":"Update the 'timestamp' column in the 'calls' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_calls_timestamp"}}}}},"v2_update_texts_by_textid_response":{"description":"Responses from the 'v2_update_texts_by_textid' procedure","fields":{"affected_rows":{"description":"The number of rows affected by the mutation","type":{"type":"named","name":"int4"}},"returning":{"description":"Data from rows affected by the mutation","type":{"type":"array","element_type":{"type":"named","name":"texts"}}}}},"v2_update_texts_by_textid_update_columns":{"description":"Update the columns of the 'texts' collection","fields":{"customerid":{"description":"Update the 'customerid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_customerid"}}},"deviceid":{"description":"Update the 'deviceid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_deviceid"}}},"messagetype":{"description":"Update the 'messagetype' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_messagetype"}}},"nodeid":{"description":"Update the 'nodeid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_nodeid"}}},"receivernumber":{"description":"Update the 'receivernumber' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_receivernumber"}}},"textid":{"description":"Update the 'textid' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_textid"}}},"timestamp":{"description":"Update the 'timestamp' column in the 'texts' collection.","type":{"type":"nullable","underlying_type":{"type":"named","name":"update_column_texts_timestamp"}}}}}},"collections":[{"name":"calls","arguments":{},"type":"calls","uniqueness_constraints":{"calls_pkey":{"unique_columns":["callid"]}},"foreign_keys":{}},{"name":"texts","arguments":{},"type":"texts","uniqueness_constraints":{"texts_pkey":{"unique_columns":["textid"]}},"foreign_keys":{}}],"functions":[],"procedures":[{"name":"v2_delete_calls_by_callid","description":"Delete any row on the 'calls' collection using the 'callid' key","arguments":{"key_callid":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'calls' collection","type":{"type":"predicate","object_type_name":"calls"}}},"result_type":{"type":"named","name":"v2_delete_calls_by_callid_response"}},{"name":"v2_delete_texts_by_textid","description":"Delete any row on the 'texts' collection using the 'textid' key","arguments":{"key_textid":{"type":{"type":"named","name":"int4"}},"pre_check":{"description":"Delete permission predicate over the 'texts' collection","type":{"type":"predicate","object_type_name":"texts"}}},"result_type":{"type":"named","name":"v2_delete_texts_by_textid_response"}},{"name":"v2_insert_calls","description":"Insert into the calls table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_calls_object"}}},"post_check":{"description":"Insert permission predicate over the 'calls' collection","type":{"type":"predicate","object_type_name":"calls"}}},"result_type":{"type":"named","name":"v2_insert_calls_response"}},{"name":"v2_insert_texts","description":"Insert into the texts table","arguments":{"objects":{"type":{"type":"array","element_type":{"type":"named","name":"v2_insert_texts_object"}}},"post_check":{"description":"Insert permission predicate over the 'texts' collection","type":{"type":"predicate","object_type_name":"texts"}}},"result_type":{"type":"named","name":"v2_insert_texts_response"}},{"name":"v2_update_calls_by_callid","description":"Update any row on the 'calls' collection using the 'callid' key","arguments":{"key_callid":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'calls' collection","type":{"type":"predicate","object_type_name":"calls"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'calls' collection","type":{"type":"predicate","object_type_name":"calls"}},"update_columns":{"type":{"type":"named","name":"v2_update_calls_by_callid_update_columns"}}},"result_type":{"type":"named","name":"v2_update_calls_by_callid_response"}},{"name":"v2_update_texts_by_textid","description":"Update any row on the 'texts' collection using the 'textid' key","arguments":{"key_textid":{"type":{"type":"named","name":"int4"}},"post_check":{"description":"Update permission post-condition predicate over the 'texts' collection","type":{"type":"predicate","object_type_name":"texts"}},"pre_check":{"description":"Update permission pre-condition predicate over the 'texts' collection","type":{"type":"predicate","object_type_name":"texts"}},"update_columns":{"type":{"type":"named","name":"v2_update_texts_by_textid_update_columns"}}},"result_type":{"type":"named","name":"v2_update_texts_by_textid_response"}}]},"capabilities":{"version":"0.1.6","capabilities":{"query":{"aggregates":{},"variables":{},"explain":{},"nested_fields":{"filter_by":{},"order_by":{}},"exists":{}},"mutation":{"transactional":{},"explain":{}},"relationships":{"relation_comparisons":{},"order_by_aggregate":{}}}}},"argumentPresets":[],"responseHeaders":null}}]}],"flags":{"require_graphql_config":true,"require_valid_ndc_v01_version":false,"bypass_relation_comparisons_ndc_capability":false,"require_nested_array_filtering_capability":false,"disallow_scalar_type_names_conflicting_with_inbuilt_types":false,"propagate_boolean_expression_deprecation_status":false,"require_unique_command_graphql_names":false,"allow_partial_supergraph":true,"json_session_variables":false,"disallow_array_field_compared_with_scalar_boolean_type":false,"allow_boolean_expression_fields_without_graphql":false,"require_unique_model_graphql_names":false,"disallow_object_boolean_expression_type":false}} \ No newline at end of file diff --git a/hasura/supergraph-config/telco/supergraph-project-queries.yaml b/hasura/supergraph-config/telco/1-supergraph-project-queries.yaml similarity index 100% rename from hasura/supergraph-config/telco/supergraph-project-queries.yaml rename to hasura/supergraph-config/telco/1-supergraph-project-queries.yaml diff --git a/hasura/supergraph-config/telco/supergraph-domain.yaml b/hasura/supergraph-config/telco/2-supergraph-domain.yaml similarity index 100% rename from hasura/supergraph-config/telco/supergraph-domain.yaml rename to hasura/supergraph-config/telco/2-supergraph-domain.yaml diff --git a/hasura/supergraph-config/telco/supergraph.yaml b/hasura/supergraph-config/telco/3-supergraph.yaml similarity index 100% rename from hasura/supergraph-config/telco/supergraph.yaml rename to hasura/supergraph-config/telco/3-supergraph.yaml diff --git a/hasura/supergraph-config/telco/supergraph-with-mutations.yaml b/hasura/supergraph-config/telco/4-supergraph-with-mutations.yaml similarity index 100% rename from hasura/supergraph-config/telco/supergraph-with-mutations.yaml rename to hasura/supergraph-config/telco/4-supergraph-with-mutations.yaml diff --git a/hasura/telco-customer/metadata-domain/MaskCardNumber.hml b/hasura/telco-customer/metadata-domain/MaskCardNumber.hml index 53da3c8..91b28ae 100644 --- a/hasura/telco-customer/metadata-domain/MaskCardNumber.hml +++ b/hasura/telco-customer/metadata-domain/MaskCardNumber.hml @@ -17,29 +17,6 @@ definition: rootFieldKind: Query description: Masks a credit card number to hide all but the last four digits. -# kind: Command -# version: v1 -# definition: -# name: V2DeleteBillingByBillingId -# outputType: V2DeleteBillingByBillingIdResponse! -# arguments: -# - name: keyBillingId -# type: Int4! -# - name: preCheck -# type: BillingBoolExp! -# description: Delete permission predicate over the 'billing' collection -# source: -# dataConnectorName: aurora -# dataConnectorCommand: -# procedure: v2_delete_billing_by_billing_id -# argumentMapping: -# keyBillingId: key_billing_id -# preCheck: pre_check -# graphql: -# rootFieldName: DeleteBillingByBillingId -# rootFieldKind: Mutation -# description: Delete any row on the 'billing' collection using the 'billing_id' key - --- kind: CommandPermissions version: v1 @@ -50,21 +27,3 @@ definition: allowExecution: true - role: customer allowExecution: true - ---- -kind: Relationship -version: v1 -definition: - name: relationship_name - sourceType: CreditCards - target: - command: - name: MaskCardNumber - subgraph: customer - mapping: - - source: - fieldPath: - - fieldName: customerId - target: - argument: - argumentName: cardNumber diff --git a/scripts/deploy/deploy.mjs b/scripts/deploy/deploy.mjs index 79c1c6b..df44838 100755 --- a/scripts/deploy/deploy.mjs +++ b/scripts/deploy/deploy.mjs @@ -43,6 +43,10 @@ program 'Deploy specific context from .hasura/context.yaml', 'default' ) + .requiredOption( + '-p --profile ', + 'Deploy from demo config in supergraph-config/', + ) .option( '-r, --rebuild-connectors', 'Rebuild all connectors as a result of changing connector configuration (warning: slow)', @@ -55,6 +59,7 @@ program ) .parse(process.argv); +// Load command options const options = program.opts(); const logLevel = options.logLevel.toUpperCase(); const override = options.override; @@ -62,8 +67,55 @@ const dryRun = options.dryRun; const noInteraction = !options.interaction; const rebuildConnectors = options.rebuildConnectors; const context = options.context; +const profile = options.profile; const fullMetadataBuild = options.fullMetadataBuild; +// Locate the script to allow it to be used from anywhere +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); +const script_dir = __dirname; +const jwtFile = join(script_dir, 'jwtauth.hml'); +const noauthFile = join(script_dir, 'noauth.hml'); +const root = resolve(__dirname, '../../hasura/'); + +console.log(chalk.magentaBright('Resolved repository root:', root)); + +if (!fs.existsSync(root)) { + console.error( + chalk.whiteBright.bgRed(`Error: Directory ${root} does not exist.`) + ); + process.exit(1); +} + +// Change the working directory to hasura subdirectory so ddn can find .hasura/context.yaml +const workingDir = join(root); +process.chdir(workingDir); + +console.log(chalk.magentaBright('Changed working directory to:', process.cwd())); + +if (!fs.existsSync('.hasura/context.yaml')) { + console.error( + chalk.whiteBright.bgRed( + 'Error: .hasura/context.yaml not found in the current working directory.' + ) + ); + process.exit(1); +} + +// Validate profile +const profilePath = resolve(root, 'supergraph-config', profile); +if (!fs.existsSync(profilePath)) { + console.error( + chalk.whiteBright.bgRed( + `Invalid profile: ${profile}. Profile directory does not exist within ${root}/supergraph-config` + ) + ); + process.exit(1); +} + +const supergraphConfig = resolve(root, 'supergraph-config', profile); +console.log(chalk.magentaBright('Resolved supergraph config:', supergraphConfig)); + // Validate log level const allowedLogLevels = ['FATAL', 'ERROR', 'WARN', 'INFO', 'DEBUG']; if (!allowedLogLevels.includes(logLevel)) { @@ -111,24 +163,6 @@ const regionMapping = { default: 'gcp-us-west2', // Default axiom-test to us-west }; -// Locate the script to allow it to be used from anywhere -const __filename = fileURLToPath(import.meta.url); -const __dirname = dirname(__filename); -const script_dir = __dirname; -const jwtFile = join(script_dir, 'jwtauth.hml'); -const noauthFile = join(script_dir, 'noauth.hml'); - -const root = resolve(__dirname, '../../hasura/'); -const supergraphConfig = resolve(root, 'supergraph-config/telco'); -console.log(chalk.magentaBright('Resolved repository root:', root)); - -if (!fs.existsSync(root)) { - console.error( - chalk.whiteBright.bgRed(`Error: Directory ${root} does not exist.`) - ); - process.exit(1); -} - // Update the region in connector files function updateRegionInFile(filePath, region) { try { @@ -347,7 +381,7 @@ async function runCommandWithTag( } // Pushes incremental release of metadata -async function pushMetadataRelease(contextRegion, rebuildConnectors) { +async function pushMetadataRelease(supergraph, contextRegion, rebuildConnectors) { console.log( chalk.magentaBright( `[${contextRegion}] => Starting an incremental release of metadata.` @@ -359,7 +393,7 @@ async function pushMetadataRelease(contextRegion, rebuildConnectors) { contextRegion, jwtFile, 'JWT', - `${supergraphConfig}/supergraph-with-mutations.yaml`, + supergraph, rebuildConnectors ); @@ -368,7 +402,7 @@ async function pushMetadataRelease(contextRegion, rebuildConnectors) { contextRegion, noauthFile, 'NoAuth', - `${supergraphConfig}/supergraph-with-mutations.yaml`, + supergraph, rebuildConnectors ); @@ -380,25 +414,15 @@ async function pushMetadataRelease(contextRegion, rebuildConnectors) { } // Rebuild function that does not use --no-build-connectors -async function rebuildSupergraph(contextRegion, rebuildConnectors) { +async function rebuildSupergraph(supergraphs, contextRegion, rebuildConnectors) { console.log( chalk.magentaBright( - `[${contextRegion}] => Starting a complete rebuild of all supergraphs and connectors.` + `[${contextRegion}] => Starting a complete rebuild of all supergraphs.` ) ); let index = 1; - const supergraphs = [ - `${supergraphConfig}/supergraph-project-queries.yaml`, - `${supergraphConfig}/supergraph-domain.yaml`, - `${supergraphConfig}/supergraph.yaml`, - // @TODO do we want to include mutations in automated builds? - // Alternatively we can include it but not have it as the final/published build. - // Maybe we leave it as part of the JWT/NoAuth build - // `${root}/supergraph-with-mutations.yaml`, - ]; - for (const supergraph of supergraphs) { await runCommandWithTag( contextRegion, @@ -415,6 +439,20 @@ async function rebuildSupergraph(contextRegion, rebuildConnectors) { ); } +// Load all supergraphs from the relevant industry profile in supergraph-config +// Order them numerically and return them so they can be built +function getSupergraphs() { + let files = fs.readdirSync(supergraphConfig); + files = files + .filter(file => file.endsWith('.yaml')) + .sort((a, b) => a.localeCompare(b, undefined, { numeric: true })); + + const supergraphs = files.map(file => join(supergraphConfig, file)); + + return supergraphs; + +} + async function main() { if (!override) { // Check if on the main branch @@ -497,11 +535,24 @@ async function main() { // switch connectors to the right region convertConnectorRegion(connectorRegion); - if (fullMetadataBuild) { - await rebuildSupergraph(contextRegion, rebuildConnectors); + // Split up all intermediate supergraphs from the final one and + // build each intermediate supergraph with rebuildSupergraph if + // --full-metadata-build is selected + // If --full-metadata-build is not selected or if there is only a single + // supergraph, only build that with pushMetadataRelease + const supergraphs = getSupergraphs(); + + if (supergraphs.length === 0) { + throw new Error("No supergraphs found!"); + } + const intermediarySupergraphs = supergraphs.slice(0, -1); + const fullyBuiltSupergraph = supergraphs[supergraphs.length - 1]; + + if (fullMetadataBuild && intermediarySupergraphs.length > 0) { + await rebuildSupergraph(intermediarySupergraphs, contextRegion, rebuildConnectors); } - await pushMetadataRelease(contextRegion, rebuildConnectors); + await pushMetadataRelease(fullyBuiltSupergraph, contextRegion, rebuildConnectors); // Revert connectors to the default convertConnectorRegion(regionMapping['default']);