quickbase-js 1.1.0-beta.2 → 1.1.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -22
- package/README.md +61 -5
- package/dist/quickbase.d.ts +1711 -613
- package/dist/quickbase.js +1469 -468
- package/dist/quickbase.js.map +1 -1
- package/examples/react.js +12 -12
- package/examples/vanillajs.html +12 -12
- package/log-gen.yaml +3558 -528
- package/package.json +12 -14
- package/playwright-results.txt/.last-run.json +4 -0
- package/playwright.config.ts +1 -1
- package/src/code-generation/definitions/apps.ts +274 -0
- package/src/code-generation/definitions/auth.ts +10 -0
- package/src/code-generation/definitions/fields.ts +751 -0
- package/src/code-generation/definitions/index.ts +18 -0
- package/src/code-generation/definitions/records.ts +269 -0
- package/src/code-generation/definitions/relationships.ts +90 -0
- package/src/code-generation/definitions/reports.ts +10 -0
- package/src/code-generation/definitions/tables.ts +112 -0
- package/src/code-generation/fix-spec-main.ts +2 -2
- package/src/code-generation/output/quickbase-fixed.json +1724 -3044
- package/src/code-generation/paths/apps.ts +100 -0
- package/src/code-generation/paths/auth.ts +25 -0
- package/src/code-generation/paths/fields.ts +207 -0
- package/src/code-generation/paths/index.ts +17 -0
- package/src/code-generation/paths/records.ts +68 -0
- package/src/code-generation/paths/relationships.ts +32 -0
- package/src/code-generation/paths/reports.ts +34 -0
- package/src/code-generation/paths/tables.ts +162 -0
- package/src/generated-unified/QuickbaseClient.ts +10 -8
- package/src/log-gen.ts +6 -2
- package/src/quickbaseClient.ts +35 -41
- package/tests/setup.ts +5 -1
- package/tests/vitest/qb/apps/copyApp.test.ts +76 -0
- package/tests/vitest/qb/apps/createApp.test.ts +64 -0
- package/tests/vitest/qb/apps/deleteApp.test.ts +76 -0
- package/tests/vitest/qb/fields/createField.test.ts +78 -0
- package/tests/vitest/qb/fields/deleteFields.test.ts +89 -0
- package/tests/vitest/qb/fields/getField.test.ts +85 -0
- package/tests/vitest/qb/fields/getFieldUsage.test.ts +174 -0
- package/tests/vitest/qb/fields/getFieldsUsage.test.ts +77 -0
- package/tests/vitest/qb/index.ts +25 -1
- package/tests/vitest/qb/records/deleteRecords.test.ts +42 -10
- package/tests/vitest/qb/records/runQuery.test.ts +81 -17
- package/tests/vitest/qb/records/upsert.test.ts +33 -3
- package/tests/vitest/qb/tables/getRelationships.test.ts +80 -0
- package/tests/vitest/unit/apps/copyApp.test.ts +282 -0
- package/tests/vitest/unit/apps/createApp.test.ts +125 -0
- package/tests/vitest/unit/apps/deleteApp.test.ts +215 -0
- package/tests/vitest/unit/fields/createField.test.ts +391 -0
- package/tests/vitest/unit/fields/deleteFields.test.ts +141 -0
- package/tests/vitest/unit/fields/getField.test.ts +189 -0
- package/tests/vitest/unit/fields/getFieldUsage.test.ts +147 -0
- package/tests/vitest/unit/fields/getFieldsUsage.test.ts +160 -0
- package/tests/vitest/unit/index.ts +30 -1
- package/tests/vitest/unit/tables/getRelationships.test.ts +259 -0
- package/src/code-generation/fix-spec-definitions.ts +0 -543
- package/src/code-generation/fix-spec-paths.ts +0 -355
- package/test-artifacts/test-results.json +0 -829
package/dist/quickbase.js
CHANGED
|
@@ -783,6 +783,54 @@ function CloneUserTokenRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
783
783
|
};
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
/* tslint:disable */
|
|
787
|
+
/* eslint-disable */
|
|
788
|
+
/**
|
|
789
|
+
* Quick Base API
|
|
790
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
791
|
+
*
|
|
792
|
+
* The version of the OpenAPI document: 1.0.0
|
|
793
|
+
*
|
|
794
|
+
*
|
|
795
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
796
|
+
* https://openapi-generator.tech
|
|
797
|
+
* Do not edit the class manually.
|
|
798
|
+
*/
|
|
799
|
+
/**
|
|
800
|
+
* Check if a given object implements the CreateAppRequestVariablesInner interface.
|
|
801
|
+
*/
|
|
802
|
+
function instanceOfCreateAppRequestVariablesInner(value) {
|
|
803
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
804
|
+
return false;
|
|
805
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
806
|
+
return false;
|
|
807
|
+
return true;
|
|
808
|
+
}
|
|
809
|
+
function CreateAppRequestVariablesInnerFromJSON(json) {
|
|
810
|
+
return CreateAppRequestVariablesInnerFromJSONTyped(json);
|
|
811
|
+
}
|
|
812
|
+
function CreateAppRequestVariablesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
813
|
+
if (json == null) {
|
|
814
|
+
return json;
|
|
815
|
+
}
|
|
816
|
+
return {
|
|
817
|
+
'name': json['name'],
|
|
818
|
+
'value': json['value'],
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
function CreateAppRequestVariablesInnerToJSON(json) {
|
|
822
|
+
return CreateAppRequestVariablesInnerToJSONTyped(json, false);
|
|
823
|
+
}
|
|
824
|
+
function CreateAppRequestVariablesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
825
|
+
if (value == null) {
|
|
826
|
+
return value;
|
|
827
|
+
}
|
|
828
|
+
return {
|
|
829
|
+
'name': value['name'],
|
|
830
|
+
'value': value['value'],
|
|
831
|
+
};
|
|
832
|
+
}
|
|
833
|
+
|
|
786
834
|
/* tslint:disable */
|
|
787
835
|
/* eslint-disable */
|
|
788
836
|
/**
|
|
@@ -800,6 +848,8 @@ function CloneUserTokenRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
800
848
|
* Check if a given object implements the CopyApp200Response interface.
|
|
801
849
|
*/
|
|
802
850
|
function instanceOfCopyApp200Response(value) {
|
|
851
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
852
|
+
return false;
|
|
803
853
|
if (!('name' in value) || value['name'] === undefined)
|
|
804
854
|
return false;
|
|
805
855
|
return true;
|
|
@@ -812,16 +862,15 @@ function CopyApp200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
812
862
|
return json;
|
|
813
863
|
}
|
|
814
864
|
return {
|
|
815
|
-
|
|
865
|
+
'id': json['id'],
|
|
816
866
|
'name': json['name'],
|
|
817
867
|
'description': json['description'] == null ? undefined : json['description'],
|
|
818
|
-
'created': json['created'] == null ? undefined : json['created'],
|
|
819
|
-
'updated': json['updated'] == null ? undefined : json['updated'],
|
|
868
|
+
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
|
869
|
+
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
|
820
870
|
'dateFormat': json['dateFormat'] == null ? undefined : json['dateFormat'],
|
|
821
871
|
'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
|
|
822
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
823
872
|
'hasEveryoneOnTheInternet': json['hasEveryoneOnTheInternet'] == null ? undefined : json['hasEveryoneOnTheInternet'],
|
|
824
|
-
'variables': json['variables'] == null ? undefined : json['variables'],
|
|
873
|
+
'variables': json['variables'] == null ? undefined : (json['variables'].map(CreateAppRequestVariablesInnerFromJSON)),
|
|
825
874
|
'ancestorId': json['ancestorId'] == null ? undefined : json['ancestorId'],
|
|
826
875
|
'dataClassification': json['dataClassification'] == null ? undefined : json['dataClassification'],
|
|
827
876
|
};
|
|
@@ -834,16 +883,15 @@ function CopyApp200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
834
883
|
return value;
|
|
835
884
|
}
|
|
836
885
|
return {
|
|
837
|
-
|
|
886
|
+
'id': value['id'],
|
|
838
887
|
'name': value['name'],
|
|
839
888
|
'description': value['description'],
|
|
840
|
-
'created': value['created'],
|
|
841
|
-
'updated': value['updated'],
|
|
889
|
+
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
|
890
|
+
'updated': value['updated'] == null ? undefined : ((value['updated']).toISOString()),
|
|
842
891
|
'dateFormat': value['dateFormat'],
|
|
843
892
|
'timeZone': value['timeZone'],
|
|
844
|
-
'id': value['id'],
|
|
845
893
|
'hasEveryoneOnTheInternet': value['hasEveryoneOnTheInternet'],
|
|
846
|
-
'variables': value['variables'],
|
|
894
|
+
'variables': value['variables'] == null ? undefined : (value['variables'].map(CreateAppRequestVariablesInnerToJSON)),
|
|
847
895
|
'ancestorId': value['ancestorId'],
|
|
848
896
|
'dataClassification': value['dataClassification'],
|
|
849
897
|
};
|
|
@@ -863,37 +911,37 @@ function CopyApp200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
863
911
|
* Do not edit the class manually.
|
|
864
912
|
*/
|
|
865
913
|
/**
|
|
866
|
-
* Check if a given object implements the
|
|
914
|
+
* Check if a given object implements the CopyAppRequestProperties interface.
|
|
867
915
|
*/
|
|
868
|
-
function
|
|
869
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
870
|
-
return false;
|
|
916
|
+
function instanceOfCopyAppRequestProperties(value) {
|
|
871
917
|
return true;
|
|
872
918
|
}
|
|
873
|
-
function
|
|
874
|
-
return
|
|
919
|
+
function CopyAppRequestPropertiesFromJSON(json) {
|
|
920
|
+
return CopyAppRequestPropertiesFromJSONTyped(json);
|
|
875
921
|
}
|
|
876
|
-
function
|
|
922
|
+
function CopyAppRequestPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
877
923
|
if (json == null) {
|
|
878
924
|
return json;
|
|
879
925
|
}
|
|
880
926
|
return {
|
|
881
|
-
'
|
|
882
|
-
'
|
|
883
|
-
'
|
|
927
|
+
'keepData': json['keepData'] == null ? undefined : json['keepData'],
|
|
928
|
+
'excludeFiles': json['excludeFiles'] == null ? undefined : json['excludeFiles'],
|
|
929
|
+
'usersAndRoles': json['usersAndRoles'] == null ? undefined : json['usersAndRoles'],
|
|
930
|
+
'assignUserToken': json['assignUserToken'] == null ? undefined : json['assignUserToken'],
|
|
884
931
|
};
|
|
885
932
|
}
|
|
886
|
-
function
|
|
887
|
-
return
|
|
933
|
+
function CopyAppRequestPropertiesToJSON(json) {
|
|
934
|
+
return CopyAppRequestPropertiesToJSONTyped(json, false);
|
|
888
935
|
}
|
|
889
|
-
function
|
|
936
|
+
function CopyAppRequestPropertiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
890
937
|
if (value == null) {
|
|
891
938
|
return value;
|
|
892
939
|
}
|
|
893
940
|
return {
|
|
894
|
-
'
|
|
895
|
-
'
|
|
896
|
-
'
|
|
941
|
+
'keepData': value['keepData'],
|
|
942
|
+
'excludeFiles': value['excludeFiles'],
|
|
943
|
+
'usersAndRoles': value['usersAndRoles'],
|
|
944
|
+
'assignUserToken': value['assignUserToken'],
|
|
897
945
|
};
|
|
898
946
|
}
|
|
899
947
|
|
|
@@ -911,37 +959,37 @@ function CopyAppRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
911
959
|
* Do not edit the class manually.
|
|
912
960
|
*/
|
|
913
961
|
/**
|
|
914
|
-
* Check if a given object implements the
|
|
962
|
+
* Check if a given object implements the CopyAppRequest interface.
|
|
915
963
|
*/
|
|
916
|
-
function
|
|
964
|
+
function instanceOfCopyAppRequest(value) {
|
|
917
965
|
if (!('name' in value) || value['name'] === undefined)
|
|
918
966
|
return false;
|
|
919
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
920
|
-
return false;
|
|
921
967
|
return true;
|
|
922
968
|
}
|
|
923
|
-
function
|
|
924
|
-
return
|
|
969
|
+
function CopyAppRequestFromJSON(json) {
|
|
970
|
+
return CopyAppRequestFromJSONTyped(json);
|
|
925
971
|
}
|
|
926
|
-
function
|
|
972
|
+
function CopyAppRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
927
973
|
if (json == null) {
|
|
928
974
|
return json;
|
|
929
975
|
}
|
|
930
976
|
return {
|
|
931
977
|
'name': json['name'],
|
|
932
|
-
'
|
|
978
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
979
|
+
'properties': json['properties'] == null ? undefined : CopyAppRequestPropertiesFromJSON(json['properties']),
|
|
933
980
|
};
|
|
934
981
|
}
|
|
935
|
-
function
|
|
936
|
-
return
|
|
982
|
+
function CopyAppRequestToJSON(json) {
|
|
983
|
+
return CopyAppRequestToJSONTyped(json, false);
|
|
937
984
|
}
|
|
938
|
-
function
|
|
985
|
+
function CopyAppRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
939
986
|
if (value == null) {
|
|
940
987
|
return value;
|
|
941
988
|
}
|
|
942
989
|
return {
|
|
943
990
|
'name': value['name'],
|
|
944
|
-
'
|
|
991
|
+
'description': value['description'],
|
|
992
|
+
'properties': CopyAppRequestPropertiesToJSON(value['properties']),
|
|
945
993
|
};
|
|
946
994
|
}
|
|
947
995
|
|
|
@@ -1079,53 +1127,214 @@ function CreateAppRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1079
1127
|
* Do not edit the class manually.
|
|
1080
1128
|
*/
|
|
1081
1129
|
/**
|
|
1082
|
-
*
|
|
1130
|
+
* @export
|
|
1083
1131
|
*/
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1132
|
+
const FieldPropertiesOpenTargetInEnum = {
|
|
1133
|
+
SameWindow: 'sameWindow',
|
|
1134
|
+
NewWindow: 'newWindow',
|
|
1135
|
+
Popup: 'popup'
|
|
1136
|
+
};
|
|
1137
|
+
/**
|
|
1138
|
+
* @export
|
|
1139
|
+
*/
|
|
1140
|
+
const FieldPropertiesCurrencyFormatEnum = {
|
|
1141
|
+
Left: 'left',
|
|
1142
|
+
Right: 'right',
|
|
1143
|
+
Middle: 'middle'
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* @export
|
|
1147
|
+
*/
|
|
1148
|
+
const FieldPropertiesVersionModeEnum = {
|
|
1149
|
+
Keepallversions: 'keepallversions',
|
|
1150
|
+
Keeplastversions: 'keeplastversions'
|
|
1151
|
+
};
|
|
1152
|
+
/**
|
|
1153
|
+
* @export
|
|
1154
|
+
*/
|
|
1155
|
+
const FieldPropertiesSummaryFunctionEnum = {
|
|
1156
|
+
Avg: 'AVG',
|
|
1157
|
+
Sum: 'SUM',
|
|
1158
|
+
Max: 'MAX',
|
|
1159
|
+
Min: 'MIN',
|
|
1160
|
+
StdDev: 'STD-DEV',
|
|
1161
|
+
Count: 'COUNT',
|
|
1162
|
+
CombinedText: 'COMBINED-TEXT',
|
|
1163
|
+
CombinedUser: 'COMBINED-USER',
|
|
1164
|
+
DistinctCount: 'DISTINCT-COUNT'
|
|
1165
|
+
};
|
|
1166
|
+
/**
|
|
1167
|
+
* Check if a given object implements the FieldProperties interface.
|
|
1168
|
+
*/
|
|
1169
|
+
function instanceOfFieldProperties(value) {
|
|
1093
1170
|
return true;
|
|
1094
1171
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return
|
|
1172
|
+
function FieldPropertiesFromJSON(json) {
|
|
1173
|
+
return FieldPropertiesFromJSONTyped(json);
|
|
1097
1174
|
}
|
|
1098
|
-
function
|
|
1175
|
+
function FieldPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
1099
1176
|
if (json == null) {
|
|
1100
1177
|
return json;
|
|
1101
1178
|
}
|
|
1102
1179
|
return {
|
|
1103
|
-
|
|
1104
|
-
'
|
|
1105
|
-
'
|
|
1106
|
-
'
|
|
1107
|
-
'
|
|
1108
|
-
'
|
|
1109
|
-
'
|
|
1110
|
-
'
|
|
1180
|
+
'primaryKey': json['primaryKey'] == null ? undefined : json['primaryKey'],
|
|
1181
|
+
'foreignKey': json['foreignKey'] == null ? undefined : json['foreignKey'],
|
|
1182
|
+
'numLines': json['numLines'] == null ? undefined : json['numLines'],
|
|
1183
|
+
'maxLength': json['maxLength'] == null ? undefined : json['maxLength'],
|
|
1184
|
+
'appendOnly': json['appendOnly'] == null ? undefined : json['appendOnly'],
|
|
1185
|
+
'allowHTML': json['allowHTML'] == null ? undefined : json['allowHTML'],
|
|
1186
|
+
'allowMentions': json['allowMentions'] == null ? undefined : json['allowMentions'],
|
|
1187
|
+
'sortAsGiven': json['sortAsGiven'] == null ? undefined : json['sortAsGiven'],
|
|
1188
|
+
'carryChoices': json['carryChoices'] == null ? undefined : json['carryChoices'],
|
|
1189
|
+
'allowNewChoices': json['allowNewChoices'] == null ? undefined : json['allowNewChoices'],
|
|
1190
|
+
'formula': json['formula'] == null ? undefined : json['formula'],
|
|
1191
|
+
'defaultValue': json['defaultValue'] == null ? undefined : json['defaultValue'],
|
|
1192
|
+
'doesTotal': json['doesTotal'] == null ? undefined : json['doesTotal'],
|
|
1193
|
+
'autoSave': json['autoSave'] == null ? undefined : json['autoSave'],
|
|
1194
|
+
'defaultValueLuid': json['defaultValueLuid'] == null ? undefined : json['defaultValueLuid'],
|
|
1195
|
+
'useI18NFormat': json['useI18NFormat'] == null ? undefined : json['useI18NFormat'],
|
|
1196
|
+
'maxVersions': json['maxVersions'] == null ? undefined : json['maxVersions'],
|
|
1197
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
1198
|
+
'linkText': json['linkText'] == null ? undefined : json['linkText'],
|
|
1199
|
+
'parentFieldId': json['parentFieldId'] == null ? undefined : json['parentFieldId'],
|
|
1200
|
+
'displayTimezone': json['displayTimezone'] == null ? undefined : json['displayTimezone'],
|
|
1201
|
+
'defaultToday': json['defaultToday'] == null ? undefined : json['defaultToday'],
|
|
1202
|
+
'units': json['units'] == null ? undefined : json['units'],
|
|
1203
|
+
'openTargetIn': json['openTargetIn'] == null ? undefined : json['openTargetIn'],
|
|
1204
|
+
'doesAverage': json['doesAverage'] == null ? undefined : json['doesAverage'],
|
|
1205
|
+
'decimalPlaces': json['decimalPlaces'] == null ? undefined : json['decimalPlaces'],
|
|
1206
|
+
'defaultCountryCode': json['defaultCountryCode'] == null ? undefined : json['defaultCountryCode'],
|
|
1207
|
+
'seeVersions': json['seeVersions'] == null ? undefined : json['seeVersions'],
|
|
1208
|
+
'displayMonth': json['displayMonth'] == null ? undefined : json['displayMonth'],
|
|
1209
|
+
'displayEmail': json['displayEmail'] == null ? undefined : json['displayEmail'],
|
|
1210
|
+
'defaultKind': json['defaultKind'] == null ? undefined : json['defaultKind'],
|
|
1211
|
+
'coverText': json['coverText'] == null ? undefined : json['coverText'],
|
|
1212
|
+
'currencySymbol': json['currencySymbol'] == null ? undefined : json['currencySymbol'],
|
|
1213
|
+
'targetFieldId': json['targetFieldId'] == null ? undefined : json['targetFieldId'],
|
|
1214
|
+
'displayUser': json['displayUser'] == null ? undefined : json['displayUser'],
|
|
1215
|
+
'blankIsZero': json['blankIsZero'] == null ? undefined : json['blankIsZero'],
|
|
1216
|
+
'exact': json['exact'] == null ? undefined : json['exact'],
|
|
1217
|
+
'defaultDomain': json['defaultDomain'] == null ? undefined : json['defaultDomain'],
|
|
1218
|
+
'abbreviate': json['abbreviate'] == null ? undefined : json['abbreviate'],
|
|
1219
|
+
'numberFormat': json['numberFormat'] == null ? undefined : json['numberFormat'],
|
|
1220
|
+
'targetTableName': json['targetTableName'] == null ? undefined : json['targetTableName'],
|
|
1221
|
+
'appearsAs': json['appearsAs'] == null ? undefined : json['appearsAs'],
|
|
1222
|
+
'width': json['width'] == null ? undefined : json['width'],
|
|
1223
|
+
'currencyFormat': json['currencyFormat'] == null ? undefined : json['currencyFormat'],
|
|
1224
|
+
'displayDayOfWeek': json['displayDayOfWeek'] == null ? undefined : json['displayDayOfWeek'],
|
|
1225
|
+
'commaStart': json['commaStart'] == null ? undefined : json['commaStart'],
|
|
1226
|
+
'choices': json['choices'] == null ? undefined : json['choices'],
|
|
1227
|
+
'targetTableId': json['targetTableId'] == null ? undefined : json['targetTableId'],
|
|
1228
|
+
'displayRelative': json['displayRelative'] == null ? undefined : json['displayRelative'],
|
|
1229
|
+
'compositeFields': json['compositeFields'] == null ? undefined : json['compositeFields'],
|
|
1230
|
+
'displayCheckboxAsText': json['displayCheckboxAsText'] == null ? undefined : json['displayCheckboxAsText'],
|
|
1231
|
+
'displayTime': json['displayTime'] == null ? undefined : json['displayTime'],
|
|
1232
|
+
'versionMode': json['versionMode'] == null ? undefined : json['versionMode'],
|
|
1233
|
+
'snapFieldId': json['snapFieldId'] == null ? undefined : json['snapFieldId'],
|
|
1234
|
+
'hours24': json['hours24'] == null ? undefined : json['hours24'],
|
|
1235
|
+
'sortAlpha': json['sortAlpha'] == null ? undefined : json['sortAlpha'],
|
|
1236
|
+
'hasExtension': json['hasExtension'] == null ? undefined : json['hasExtension'],
|
|
1237
|
+
'useNewWindow': json['useNewWindow'] == null ? undefined : json['useNewWindow'],
|
|
1238
|
+
'displayAsLink': json['displayAsLink'] == null ? undefined : json['displayAsLink'],
|
|
1239
|
+
'lookupReferenceFieldId': json['lookupReferenceFieldId'] == null ? undefined : json['lookupReferenceFieldId'],
|
|
1240
|
+
'summaryTargetFieldId': json['summaryTargetFieldId'] == null ? undefined : json['summaryTargetFieldId'],
|
|
1241
|
+
'masterChoiceFieldId': json['masterChoiceFieldId'] == null ? undefined : json['masterChoiceFieldId'],
|
|
1242
|
+
'lookupTargetFieldId': json['lookupTargetFieldId'] == null ? undefined : json['lookupTargetFieldId'],
|
|
1243
|
+
'masterChoiceTableId': json['masterChoiceTableId'] == null ? undefined : json['masterChoiceTableId'],
|
|
1244
|
+
'summaryReferenceFieldId': json['summaryReferenceFieldId'] == null ? undefined : json['summaryReferenceFieldId'],
|
|
1245
|
+
'summaryFunction': json['summaryFunction'] == null ? undefined : json['summaryFunction'],
|
|
1246
|
+
'masterTableTag': json['masterTableTag'] == null ? undefined : json['masterTableTag'],
|
|
1247
|
+
'choicesLuid': json['choicesLuid'] == null ? undefined : json['choicesLuid'],
|
|
1248
|
+
'xmlTag': json['xmlTag'] == null ? undefined : json['xmlTag'],
|
|
1249
|
+
'startField': json['startField'] == null ? undefined : json['startField'],
|
|
1250
|
+
'durationField': json['durationField'] == null ? undefined : json['durationField'],
|
|
1251
|
+
'workWeek': json['workWeek'] == null ? undefined : json['workWeek'],
|
|
1252
|
+
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
1253
|
+
'sourceFieldId': json['sourceFieldId'] == null ? undefined : json['sourceFieldId'],
|
|
1111
1254
|
};
|
|
1112
1255
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return
|
|
1256
|
+
function FieldPropertiesToJSON(json) {
|
|
1257
|
+
return FieldPropertiesToJSONTyped(json, false);
|
|
1115
1258
|
}
|
|
1116
|
-
function
|
|
1259
|
+
function FieldPropertiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1117
1260
|
if (value == null) {
|
|
1118
1261
|
return value;
|
|
1119
1262
|
}
|
|
1120
1263
|
return {
|
|
1121
|
-
|
|
1122
|
-
'
|
|
1123
|
-
'
|
|
1124
|
-
'
|
|
1125
|
-
'
|
|
1126
|
-
'
|
|
1127
|
-
'
|
|
1128
|
-
'
|
|
1264
|
+
'primaryKey': value['primaryKey'],
|
|
1265
|
+
'foreignKey': value['foreignKey'],
|
|
1266
|
+
'numLines': value['numLines'],
|
|
1267
|
+
'maxLength': value['maxLength'],
|
|
1268
|
+
'appendOnly': value['appendOnly'],
|
|
1269
|
+
'allowHTML': value['allowHTML'],
|
|
1270
|
+
'allowMentions': value['allowMentions'],
|
|
1271
|
+
'sortAsGiven': value['sortAsGiven'],
|
|
1272
|
+
'carryChoices': value['carryChoices'],
|
|
1273
|
+
'allowNewChoices': value['allowNewChoices'],
|
|
1274
|
+
'formula': value['formula'],
|
|
1275
|
+
'defaultValue': value['defaultValue'],
|
|
1276
|
+
'doesTotal': value['doesTotal'],
|
|
1277
|
+
'autoSave': value['autoSave'],
|
|
1278
|
+
'defaultValueLuid': value['defaultValueLuid'],
|
|
1279
|
+
'useI18NFormat': value['useI18NFormat'],
|
|
1280
|
+
'maxVersions': value['maxVersions'],
|
|
1281
|
+
'format': value['format'],
|
|
1282
|
+
'linkText': value['linkText'],
|
|
1283
|
+
'parentFieldId': value['parentFieldId'],
|
|
1284
|
+
'displayTimezone': value['displayTimezone'],
|
|
1285
|
+
'defaultToday': value['defaultToday'],
|
|
1286
|
+
'units': value['units'],
|
|
1287
|
+
'openTargetIn': value['openTargetIn'],
|
|
1288
|
+
'doesAverage': value['doesAverage'],
|
|
1289
|
+
'decimalPlaces': value['decimalPlaces'],
|
|
1290
|
+
'defaultCountryCode': value['defaultCountryCode'],
|
|
1291
|
+
'seeVersions': value['seeVersions'],
|
|
1292
|
+
'displayMonth': value['displayMonth'],
|
|
1293
|
+
'displayEmail': value['displayEmail'],
|
|
1294
|
+
'defaultKind': value['defaultKind'],
|
|
1295
|
+
'coverText': value['coverText'],
|
|
1296
|
+
'currencySymbol': value['currencySymbol'],
|
|
1297
|
+
'targetFieldId': value['targetFieldId'],
|
|
1298
|
+
'displayUser': value['displayUser'],
|
|
1299
|
+
'blankIsZero': value['blankIsZero'],
|
|
1300
|
+
'exact': value['exact'],
|
|
1301
|
+
'defaultDomain': value['defaultDomain'],
|
|
1302
|
+
'abbreviate': value['abbreviate'],
|
|
1303
|
+
'numberFormat': value['numberFormat'],
|
|
1304
|
+
'targetTableName': value['targetTableName'],
|
|
1305
|
+
'appearsAs': value['appearsAs'],
|
|
1306
|
+
'width': value['width'],
|
|
1307
|
+
'currencyFormat': value['currencyFormat'],
|
|
1308
|
+
'displayDayOfWeek': value['displayDayOfWeek'],
|
|
1309
|
+
'commaStart': value['commaStart'],
|
|
1310
|
+
'choices': value['choices'],
|
|
1311
|
+
'targetTableId': value['targetTableId'],
|
|
1312
|
+
'displayRelative': value['displayRelative'],
|
|
1313
|
+
'compositeFields': value['compositeFields'],
|
|
1314
|
+
'displayCheckboxAsText': value['displayCheckboxAsText'],
|
|
1315
|
+
'displayTime': value['displayTime'],
|
|
1316
|
+
'versionMode': value['versionMode'],
|
|
1317
|
+
'snapFieldId': value['snapFieldId'],
|
|
1318
|
+
'hours24': value['hours24'],
|
|
1319
|
+
'sortAlpha': value['sortAlpha'],
|
|
1320
|
+
'hasExtension': value['hasExtension'],
|
|
1321
|
+
'useNewWindow': value['useNewWindow'],
|
|
1322
|
+
'displayAsLink': value['displayAsLink'],
|
|
1323
|
+
'lookupReferenceFieldId': value['lookupReferenceFieldId'],
|
|
1324
|
+
'summaryTargetFieldId': value['summaryTargetFieldId'],
|
|
1325
|
+
'masterChoiceFieldId': value['masterChoiceFieldId'],
|
|
1326
|
+
'lookupTargetFieldId': value['lookupTargetFieldId'],
|
|
1327
|
+
'masterChoiceTableId': value['masterChoiceTableId'],
|
|
1328
|
+
'summaryReferenceFieldId': value['summaryReferenceFieldId'],
|
|
1329
|
+
'summaryFunction': value['summaryFunction'],
|
|
1330
|
+
'masterTableTag': value['masterTableTag'],
|
|
1331
|
+
'choicesLuid': value['choicesLuid'],
|
|
1332
|
+
'xmlTag': value['xmlTag'],
|
|
1333
|
+
'startField': value['startField'],
|
|
1334
|
+
'durationField': value['durationField'],
|
|
1335
|
+
'workWeek': value['workWeek'],
|
|
1336
|
+
'comments': value['comments'],
|
|
1337
|
+
'sourceFieldId': value['sourceFieldId'],
|
|
1129
1338
|
};
|
|
1130
1339
|
}
|
|
1131
1340
|
|
|
@@ -1143,39 +1352,500 @@ function CreateRelationship200ResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
1143
1352
|
* Do not edit the class manually.
|
|
1144
1353
|
*/
|
|
1145
1354
|
/**
|
|
1146
|
-
* Check if a given object implements the
|
|
1355
|
+
* Check if a given object implements the FieldPermissionsInner interface.
|
|
1147
1356
|
*/
|
|
1148
|
-
function
|
|
1149
|
-
|
|
1357
|
+
function instanceOfFieldPermissionsInner(value) {
|
|
1358
|
+
return true;
|
|
1359
|
+
}
|
|
1360
|
+
function FieldPermissionsInnerFromJSON(json) {
|
|
1361
|
+
return FieldPermissionsInnerFromJSONTyped(json);
|
|
1362
|
+
}
|
|
1363
|
+
function FieldPermissionsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
1364
|
+
if (json == null) {
|
|
1365
|
+
return json;
|
|
1366
|
+
}
|
|
1367
|
+
return {
|
|
1368
|
+
'permissionType': json['permissionType'] == null ? undefined : json['permissionType'],
|
|
1369
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
1370
|
+
'roleId': json['roleId'] == null ? undefined : json['roleId'],
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
function FieldPermissionsInnerToJSON(json) {
|
|
1374
|
+
return FieldPermissionsInnerToJSONTyped(json, false);
|
|
1375
|
+
}
|
|
1376
|
+
function FieldPermissionsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1377
|
+
if (value == null) {
|
|
1378
|
+
return value;
|
|
1379
|
+
}
|
|
1380
|
+
return {
|
|
1381
|
+
'permissionType': value['permissionType'],
|
|
1382
|
+
'role': value['role'],
|
|
1383
|
+
'roleId': value['roleId'],
|
|
1384
|
+
};
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/* tslint:disable */
|
|
1388
|
+
/* eslint-disable */
|
|
1389
|
+
/**
|
|
1390
|
+
* Quick Base API
|
|
1391
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1392
|
+
*
|
|
1393
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1394
|
+
*
|
|
1395
|
+
*
|
|
1396
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1397
|
+
* https://openapi-generator.tech
|
|
1398
|
+
* Do not edit the class manually.
|
|
1399
|
+
*/
|
|
1400
|
+
/**
|
|
1401
|
+
* Check if a given object implements the CreateField200Response interface.
|
|
1402
|
+
*/
|
|
1403
|
+
function instanceOfCreateField200Response(value) {
|
|
1404
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
1405
|
+
return false;
|
|
1406
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
1407
|
+
return false;
|
|
1408
|
+
if (!('fieldType' in value) || value['fieldType'] === undefined)
|
|
1409
|
+
return false;
|
|
1410
|
+
return true;
|
|
1411
|
+
}
|
|
1412
|
+
function CreateField200ResponseFromJSON(json) {
|
|
1413
|
+
return CreateField200ResponseFromJSONTyped(json);
|
|
1414
|
+
}
|
|
1415
|
+
function CreateField200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1416
|
+
if (json == null) {
|
|
1417
|
+
return json;
|
|
1418
|
+
}
|
|
1419
|
+
return {
|
|
1420
|
+
'id': json['id'],
|
|
1421
|
+
'label': json['label'],
|
|
1422
|
+
'fieldType': json['fieldType'],
|
|
1423
|
+
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
1424
|
+
'noWrap': json['noWrap'] == null ? undefined : json['noWrap'],
|
|
1425
|
+
'bold': json['bold'] == null ? undefined : json['bold'],
|
|
1426
|
+
'required': json['required'] == null ? undefined : json['required'],
|
|
1427
|
+
'appearsByDefault': json['appearsByDefault'] == null ? undefined : json['appearsByDefault'],
|
|
1428
|
+
'findEnabled': json['findEnabled'] == null ? undefined : json['findEnabled'],
|
|
1429
|
+
'unique': json['unique'] == null ? undefined : json['unique'],
|
|
1430
|
+
'doesDataCopy': json['doesDataCopy'] == null ? undefined : json['doesDataCopy'],
|
|
1431
|
+
'fieldHelp': json['fieldHelp'] == null ? undefined : json['fieldHelp'],
|
|
1432
|
+
'audited': json['audited'] == null ? undefined : json['audited'],
|
|
1433
|
+
'properties': json['properties'] == null ? undefined : FieldPropertiesFromJSON(json['properties']),
|
|
1434
|
+
'permissions': json['permissions'] == null ? undefined : (json['permissions'].map(FieldPermissionsInnerFromJSON)),
|
|
1435
|
+
};
|
|
1436
|
+
}
|
|
1437
|
+
function CreateField200ResponseToJSON(json) {
|
|
1438
|
+
return CreateField200ResponseToJSONTyped(json, false);
|
|
1439
|
+
}
|
|
1440
|
+
function CreateField200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1441
|
+
if (value == null) {
|
|
1442
|
+
return value;
|
|
1443
|
+
}
|
|
1444
|
+
return {
|
|
1445
|
+
'id': value['id'],
|
|
1446
|
+
'label': value['label'],
|
|
1447
|
+
'fieldType': value['fieldType'],
|
|
1448
|
+
'mode': value['mode'],
|
|
1449
|
+
'noWrap': value['noWrap'],
|
|
1450
|
+
'bold': value['bold'],
|
|
1451
|
+
'required': value['required'],
|
|
1452
|
+
'appearsByDefault': value['appearsByDefault'],
|
|
1453
|
+
'findEnabled': value['findEnabled'],
|
|
1454
|
+
'unique': value['unique'],
|
|
1455
|
+
'doesDataCopy': value['doesDataCopy'],
|
|
1456
|
+
'fieldHelp': value['fieldHelp'],
|
|
1457
|
+
'audited': value['audited'],
|
|
1458
|
+
'properties': FieldPropertiesToJSON(value['properties']),
|
|
1459
|
+
'permissions': value['permissions'] == null ? undefined : (value['permissions'].map(FieldPermissionsInnerToJSON)),
|
|
1460
|
+
};
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/* tslint:disable */
|
|
1464
|
+
/* eslint-disable */
|
|
1465
|
+
/**
|
|
1466
|
+
* Quick Base API
|
|
1467
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1468
|
+
*
|
|
1469
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1470
|
+
*
|
|
1471
|
+
*
|
|
1472
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1473
|
+
* https://openapi-generator.tech
|
|
1474
|
+
* Do not edit the class manually.
|
|
1475
|
+
*/
|
|
1476
|
+
/**
|
|
1477
|
+
* @export
|
|
1478
|
+
*/
|
|
1479
|
+
const CreateFieldRequestFieldTypeEnum = {
|
|
1480
|
+
Text: 'text',
|
|
1481
|
+
TextMultipleChoice: 'text-multiple-choice',
|
|
1482
|
+
TextMultiLine: 'text-multi-line',
|
|
1483
|
+
RichText: 'rich-text',
|
|
1484
|
+
Numeric: 'numeric',
|
|
1485
|
+
Currency: 'currency',
|
|
1486
|
+
Rating: 'rating',
|
|
1487
|
+
Percent: 'percent',
|
|
1488
|
+
Multitext: 'multitext',
|
|
1489
|
+
Email: 'email',
|
|
1490
|
+
Url: 'url',
|
|
1491
|
+
Duration: 'duration',
|
|
1492
|
+
Date: 'date',
|
|
1493
|
+
Datetime: 'datetime',
|
|
1494
|
+
Timestamp: 'timestamp',
|
|
1495
|
+
Timeofday: 'timeofday',
|
|
1496
|
+
Checkbox: 'checkbox',
|
|
1497
|
+
User: 'user',
|
|
1498
|
+
Multiuser: 'multiuser',
|
|
1499
|
+
Address: 'address',
|
|
1500
|
+
Phone: 'phone',
|
|
1501
|
+
File: 'file'
|
|
1502
|
+
};
|
|
1503
|
+
/**
|
|
1504
|
+
* Check if a given object implements the CreateFieldRequest interface.
|
|
1505
|
+
*/
|
|
1506
|
+
function instanceOfCreateFieldRequest(value) {
|
|
1507
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
1508
|
+
return false;
|
|
1509
|
+
if (!('fieldType' in value) || value['fieldType'] === undefined)
|
|
1510
|
+
return false;
|
|
1511
|
+
return true;
|
|
1512
|
+
}
|
|
1513
|
+
function CreateFieldRequestFromJSON(json) {
|
|
1514
|
+
return CreateFieldRequestFromJSONTyped(json);
|
|
1515
|
+
}
|
|
1516
|
+
function CreateFieldRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1517
|
+
if (json == null) {
|
|
1518
|
+
return json;
|
|
1519
|
+
}
|
|
1520
|
+
return {
|
|
1521
|
+
'label': json['label'],
|
|
1522
|
+
'fieldType': json['fieldType'],
|
|
1523
|
+
'noWrap': json['noWrap'] == null ? undefined : json['noWrap'],
|
|
1524
|
+
'bold': json['bold'] == null ? undefined : json['bold'],
|
|
1525
|
+
'appearsByDefault': json['appearsByDefault'] == null ? undefined : json['appearsByDefault'],
|
|
1526
|
+
'findEnabled': json['findEnabled'] == null ? undefined : json['findEnabled'],
|
|
1527
|
+
'fieldHelp': json['fieldHelp'] == null ? undefined : json['fieldHelp'],
|
|
1528
|
+
'addToForms': json['addToForms'] == null ? undefined : json['addToForms'],
|
|
1529
|
+
'audited': json['audited'] == null ? undefined : json['audited'],
|
|
1530
|
+
'properties': json['properties'] == null ? undefined : FieldPropertiesFromJSON(json['properties']),
|
|
1531
|
+
'permissions': json['permissions'] == null ? undefined : (json['permissions'].map(FieldPermissionsInnerFromJSON)),
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
function CreateFieldRequestToJSON(json) {
|
|
1535
|
+
return CreateFieldRequestToJSONTyped(json, false);
|
|
1536
|
+
}
|
|
1537
|
+
function CreateFieldRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1538
|
+
if (value == null) {
|
|
1539
|
+
return value;
|
|
1540
|
+
}
|
|
1541
|
+
return {
|
|
1542
|
+
'label': value['label'],
|
|
1543
|
+
'fieldType': value['fieldType'],
|
|
1544
|
+
'noWrap': value['noWrap'],
|
|
1545
|
+
'bold': value['bold'],
|
|
1546
|
+
'appearsByDefault': value['appearsByDefault'],
|
|
1547
|
+
'findEnabled': value['findEnabled'],
|
|
1548
|
+
'fieldHelp': value['fieldHelp'],
|
|
1549
|
+
'addToForms': value['addToForms'],
|
|
1550
|
+
'audited': value['audited'],
|
|
1551
|
+
'properties': FieldPropertiesToJSON(value['properties']),
|
|
1552
|
+
'permissions': value['permissions'] == null ? undefined : (value['permissions'].map(FieldPermissionsInnerToJSON)),
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
/* tslint:disable */
|
|
1557
|
+
/* eslint-disable */
|
|
1558
|
+
/**
|
|
1559
|
+
* Quick Base API
|
|
1560
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1561
|
+
*
|
|
1562
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1563
|
+
*
|
|
1564
|
+
*
|
|
1565
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1566
|
+
* https://openapi-generator.tech
|
|
1567
|
+
* Do not edit the class manually.
|
|
1568
|
+
*/
|
|
1569
|
+
/**
|
|
1570
|
+
* Check if a given object implements the CreateRelationship200Response interface.
|
|
1571
|
+
*/
|
|
1572
|
+
function instanceOfCreateRelationship200Response(value) {
|
|
1573
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
1574
|
+
return false;
|
|
1575
|
+
if (!('parentTableId' in value) || value['parentTableId'] === undefined)
|
|
1576
|
+
return false;
|
|
1577
|
+
if (!('childTableId' in value) || value['childTableId'] === undefined)
|
|
1578
|
+
return false;
|
|
1579
|
+
if (!('isCrossApp' in value) || value['isCrossApp'] === undefined)
|
|
1580
|
+
return false;
|
|
1581
|
+
return true;
|
|
1582
|
+
}
|
|
1583
|
+
function CreateRelationship200ResponseFromJSON(json) {
|
|
1584
|
+
return CreateRelationship200ResponseFromJSONTyped(json);
|
|
1585
|
+
}
|
|
1586
|
+
function CreateRelationship200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1587
|
+
if (json == null) {
|
|
1588
|
+
return json;
|
|
1589
|
+
}
|
|
1590
|
+
return {
|
|
1591
|
+
...json,
|
|
1592
|
+
'id': json['id'],
|
|
1593
|
+
'parentTableId': json['parentTableId'],
|
|
1594
|
+
'childTableId': json['childTableId'],
|
|
1595
|
+
'foreignKeyField': json['foreignKeyField'] == null ? undefined : json['foreignKeyField'],
|
|
1596
|
+
'isCrossApp': json['isCrossApp'],
|
|
1597
|
+
'lookupFields': json['lookupFields'] == null ? undefined : json['lookupFields'],
|
|
1598
|
+
'summaryFields': json['summaryFields'] == null ? undefined : json['summaryFields'],
|
|
1599
|
+
};
|
|
1600
|
+
}
|
|
1601
|
+
function CreateRelationship200ResponseToJSON(json) {
|
|
1602
|
+
return CreateRelationship200ResponseToJSONTyped(json, false);
|
|
1603
|
+
}
|
|
1604
|
+
function CreateRelationship200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1605
|
+
if (value == null) {
|
|
1606
|
+
return value;
|
|
1607
|
+
}
|
|
1608
|
+
return {
|
|
1609
|
+
...value,
|
|
1610
|
+
'id': value['id'],
|
|
1611
|
+
'parentTableId': value['parentTableId'],
|
|
1612
|
+
'childTableId': value['childTableId'],
|
|
1613
|
+
'foreignKeyField': value['foreignKeyField'],
|
|
1614
|
+
'isCrossApp': value['isCrossApp'],
|
|
1615
|
+
'lookupFields': value['lookupFields'],
|
|
1616
|
+
'summaryFields': value['summaryFields'],
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/* tslint:disable */
|
|
1621
|
+
/* eslint-disable */
|
|
1622
|
+
/**
|
|
1623
|
+
* Quick Base API
|
|
1624
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1625
|
+
*
|
|
1626
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1627
|
+
*
|
|
1628
|
+
*
|
|
1629
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1630
|
+
* https://openapi-generator.tech
|
|
1631
|
+
* Do not edit the class manually.
|
|
1632
|
+
*/
|
|
1633
|
+
/**
|
|
1634
|
+
* Check if a given object implements the CreateRelationshipRequest interface.
|
|
1635
|
+
*/
|
|
1636
|
+
function instanceOfCreateRelationshipRequest(value) {
|
|
1637
|
+
if (!('parentTableId' in value) || value['parentTableId'] === undefined)
|
|
1638
|
+
return false;
|
|
1639
|
+
return true;
|
|
1640
|
+
}
|
|
1641
|
+
function CreateRelationshipRequestFromJSON(json) {
|
|
1642
|
+
return CreateRelationshipRequestFromJSONTyped(json);
|
|
1643
|
+
}
|
|
1644
|
+
function CreateRelationshipRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1645
|
+
if (json == null) {
|
|
1646
|
+
return json;
|
|
1647
|
+
}
|
|
1648
|
+
return {
|
|
1649
|
+
'summaryFields': json['summaryFields'] == null ? undefined : json['summaryFields'],
|
|
1650
|
+
'lookupFieldIds': json['lookupFieldIds'] == null ? undefined : json['lookupFieldIds'],
|
|
1651
|
+
'parentTableId': json['parentTableId'],
|
|
1652
|
+
'foreignKeyField': json['foreignKeyField'] == null ? undefined : json['foreignKeyField'],
|
|
1653
|
+
};
|
|
1654
|
+
}
|
|
1655
|
+
function CreateRelationshipRequestToJSON(json) {
|
|
1656
|
+
return CreateRelationshipRequestToJSONTyped(json, false);
|
|
1657
|
+
}
|
|
1658
|
+
function CreateRelationshipRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1659
|
+
if (value == null) {
|
|
1660
|
+
return value;
|
|
1661
|
+
}
|
|
1662
|
+
return {
|
|
1663
|
+
'summaryFields': value['summaryFields'],
|
|
1664
|
+
'lookupFieldIds': value['lookupFieldIds'],
|
|
1665
|
+
'parentTableId': value['parentTableId'],
|
|
1666
|
+
'foreignKeyField': value['foreignKeyField'],
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
/* tslint:disable */
|
|
1671
|
+
/* eslint-disable */
|
|
1672
|
+
/**
|
|
1673
|
+
* Quick Base API
|
|
1674
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1675
|
+
*
|
|
1676
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1677
|
+
*
|
|
1678
|
+
*
|
|
1679
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1680
|
+
* https://openapi-generator.tech
|
|
1681
|
+
* Do not edit the class manually.
|
|
1682
|
+
*/
|
|
1683
|
+
/**
|
|
1684
|
+
* Check if a given object implements the CreateTableRequest interface.
|
|
1685
|
+
*/
|
|
1686
|
+
function instanceOfCreateTableRequest(value) {
|
|
1687
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
1688
|
+
return false;
|
|
1689
|
+
return true;
|
|
1690
|
+
}
|
|
1691
|
+
function CreateTableRequestFromJSON(json) {
|
|
1692
|
+
return CreateTableRequestFromJSONTyped(json);
|
|
1693
|
+
}
|
|
1694
|
+
function CreateTableRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1695
|
+
if (json == null) {
|
|
1696
|
+
return json;
|
|
1697
|
+
}
|
|
1698
|
+
return {
|
|
1699
|
+
'name': json['name'],
|
|
1700
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
1701
|
+
'singleRecordName': json['singleRecordName'] == null ? undefined : json['singleRecordName'],
|
|
1702
|
+
'pluralRecordName': json['pluralRecordName'] == null ? undefined : json['pluralRecordName'],
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
function CreateTableRequestToJSON(json) {
|
|
1706
|
+
return CreateTableRequestToJSONTyped(json, false);
|
|
1707
|
+
}
|
|
1708
|
+
function CreateTableRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1709
|
+
if (value == null) {
|
|
1710
|
+
return value;
|
|
1711
|
+
}
|
|
1712
|
+
return {
|
|
1713
|
+
'name': value['name'],
|
|
1714
|
+
'description': value['description'],
|
|
1715
|
+
'singleRecordName': value['singleRecordName'],
|
|
1716
|
+
'pluralRecordName': value['pluralRecordName'],
|
|
1717
|
+
};
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
/* tslint:disable */
|
|
1721
|
+
/* eslint-disable */
|
|
1722
|
+
/**
|
|
1723
|
+
* Quick Base API
|
|
1724
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1725
|
+
*
|
|
1726
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1727
|
+
*
|
|
1728
|
+
*
|
|
1729
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1730
|
+
* https://openapi-generator.tech
|
|
1731
|
+
* Do not edit the class manually.
|
|
1732
|
+
*/
|
|
1733
|
+
/**
|
|
1734
|
+
* Check if a given object implements the DeactivateUserToken200Response interface.
|
|
1735
|
+
*/
|
|
1736
|
+
function instanceOfDeactivateUserToken200Response(value) {
|
|
1737
|
+
return true;
|
|
1738
|
+
}
|
|
1739
|
+
function DeactivateUserToken200ResponseFromJSON(json) {
|
|
1740
|
+
return DeactivateUserToken200ResponseFromJSONTyped(json);
|
|
1741
|
+
}
|
|
1742
|
+
function DeactivateUserToken200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1743
|
+
if (json == null) {
|
|
1744
|
+
return json;
|
|
1745
|
+
}
|
|
1746
|
+
return {
|
|
1747
|
+
...json,
|
|
1748
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
1749
|
+
};
|
|
1750
|
+
}
|
|
1751
|
+
function DeactivateUserToken200ResponseToJSON(json) {
|
|
1752
|
+
return DeactivateUserToken200ResponseToJSONTyped(json, false);
|
|
1753
|
+
}
|
|
1754
|
+
function DeactivateUserToken200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1755
|
+
if (value == null) {
|
|
1756
|
+
return value;
|
|
1757
|
+
}
|
|
1758
|
+
return {
|
|
1759
|
+
...value,
|
|
1760
|
+
'id': value['id'],
|
|
1761
|
+
};
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
/* tslint:disable */
|
|
1765
|
+
/* eslint-disable */
|
|
1766
|
+
/**
|
|
1767
|
+
* Quick Base API
|
|
1768
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1769
|
+
*
|
|
1770
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1771
|
+
*
|
|
1772
|
+
*
|
|
1773
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1774
|
+
* https://openapi-generator.tech
|
|
1775
|
+
* Do not edit the class manually.
|
|
1776
|
+
*/
|
|
1777
|
+
/**
|
|
1778
|
+
* Check if a given object implements the DeleteApp200Response interface.
|
|
1779
|
+
*/
|
|
1780
|
+
function instanceOfDeleteApp200Response(value) {
|
|
1781
|
+
if (!('deletedAppId' in value) || value['deletedAppId'] === undefined)
|
|
1782
|
+
return false;
|
|
1783
|
+
return true;
|
|
1784
|
+
}
|
|
1785
|
+
function DeleteApp200ResponseFromJSON(json) {
|
|
1786
|
+
return DeleteApp200ResponseFromJSONTyped(json);
|
|
1787
|
+
}
|
|
1788
|
+
function DeleteApp200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1789
|
+
if (json == null) {
|
|
1790
|
+
return json;
|
|
1791
|
+
}
|
|
1792
|
+
return {
|
|
1793
|
+
'deletedAppId': json['deletedAppId'],
|
|
1794
|
+
};
|
|
1795
|
+
}
|
|
1796
|
+
function DeleteApp200ResponseToJSON(json) {
|
|
1797
|
+
return DeleteApp200ResponseToJSONTyped(json, false);
|
|
1798
|
+
}
|
|
1799
|
+
function DeleteApp200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1800
|
+
if (value == null) {
|
|
1801
|
+
return value;
|
|
1802
|
+
}
|
|
1803
|
+
return {
|
|
1804
|
+
'deletedAppId': value['deletedAppId'],
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
/* tslint:disable */
|
|
1809
|
+
/* eslint-disable */
|
|
1810
|
+
/**
|
|
1811
|
+
* Quick Base API
|
|
1812
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
1813
|
+
*
|
|
1814
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1815
|
+
*
|
|
1816
|
+
*
|
|
1817
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1818
|
+
* https://openapi-generator.tech
|
|
1819
|
+
* Do not edit the class manually.
|
|
1820
|
+
*/
|
|
1821
|
+
/**
|
|
1822
|
+
* Check if a given object implements the DeleteAppRequest interface.
|
|
1823
|
+
*/
|
|
1824
|
+
function instanceOfDeleteAppRequest(value) {
|
|
1825
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
1150
1826
|
return false;
|
|
1151
1827
|
return true;
|
|
1152
1828
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1829
|
+
function DeleteAppRequestFromJSON(json) {
|
|
1830
|
+
return DeleteAppRequestFromJSONTyped(json);
|
|
1155
1831
|
}
|
|
1156
|
-
function
|
|
1832
|
+
function DeleteAppRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1157
1833
|
if (json == null) {
|
|
1158
1834
|
return json;
|
|
1159
1835
|
}
|
|
1160
1836
|
return {
|
|
1161
|
-
'
|
|
1162
|
-
'lookupFieldIds': json['lookupFieldIds'] == null ? undefined : json['lookupFieldIds'],
|
|
1163
|
-
'parentTableId': json['parentTableId'],
|
|
1164
|
-
'foreignKeyField': json['foreignKeyField'] == null ? undefined : json['foreignKeyField'],
|
|
1837
|
+
'name': json['name'],
|
|
1165
1838
|
};
|
|
1166
1839
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return
|
|
1840
|
+
function DeleteAppRequestToJSON(json) {
|
|
1841
|
+
return DeleteAppRequestToJSONTyped(json, false);
|
|
1169
1842
|
}
|
|
1170
|
-
function
|
|
1843
|
+
function DeleteAppRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1171
1844
|
if (value == null) {
|
|
1172
1845
|
return value;
|
|
1173
1846
|
}
|
|
1174
1847
|
return {
|
|
1175
|
-
'
|
|
1176
|
-
'lookupFieldIds': value['lookupFieldIds'],
|
|
1177
|
-
'parentTableId': value['parentTableId'],
|
|
1178
|
-
'foreignKeyField': value['foreignKeyField'],
|
|
1848
|
+
'name': value['name'],
|
|
1179
1849
|
};
|
|
1180
1850
|
}
|
|
1181
1851
|
|
|
@@ -1193,39 +1863,37 @@ function CreateRelationshipRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
1193
1863
|
* Do not edit the class manually.
|
|
1194
1864
|
*/
|
|
1195
1865
|
/**
|
|
1196
|
-
* Check if a given object implements the
|
|
1866
|
+
* Check if a given object implements the DeleteFields200Response interface.
|
|
1197
1867
|
*/
|
|
1198
|
-
function
|
|
1199
|
-
if (!('
|
|
1868
|
+
function instanceOfDeleteFields200Response(value) {
|
|
1869
|
+
if (!('deletedFieldIds' in value) || value['deletedFieldIds'] === undefined)
|
|
1870
|
+
return false;
|
|
1871
|
+
if (!('errors' in value) || value['errors'] === undefined)
|
|
1200
1872
|
return false;
|
|
1201
1873
|
return true;
|
|
1202
1874
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return
|
|
1875
|
+
function DeleteFields200ResponseFromJSON(json) {
|
|
1876
|
+
return DeleteFields200ResponseFromJSONTyped(json);
|
|
1205
1877
|
}
|
|
1206
|
-
function
|
|
1878
|
+
function DeleteFields200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1207
1879
|
if (json == null) {
|
|
1208
1880
|
return json;
|
|
1209
1881
|
}
|
|
1210
1882
|
return {
|
|
1211
|
-
'
|
|
1212
|
-
'
|
|
1213
|
-
'singleRecordName': json['singleRecordName'] == null ? undefined : json['singleRecordName'],
|
|
1214
|
-
'pluralRecordName': json['pluralRecordName'] == null ? undefined : json['pluralRecordName'],
|
|
1883
|
+
'deletedFieldIds': json['deletedFieldIds'],
|
|
1884
|
+
'errors': json['errors'],
|
|
1215
1885
|
};
|
|
1216
1886
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return
|
|
1887
|
+
function DeleteFields200ResponseToJSON(json) {
|
|
1888
|
+
return DeleteFields200ResponseToJSONTyped(json, false);
|
|
1219
1889
|
}
|
|
1220
|
-
function
|
|
1890
|
+
function DeleteFields200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1221
1891
|
if (value == null) {
|
|
1222
1892
|
return value;
|
|
1223
1893
|
}
|
|
1224
1894
|
return {
|
|
1225
|
-
'
|
|
1226
|
-
'
|
|
1227
|
-
'singleRecordName': value['singleRecordName'],
|
|
1228
|
-
'pluralRecordName': value['pluralRecordName'],
|
|
1895
|
+
'deletedFieldIds': value['deletedFieldIds'],
|
|
1896
|
+
'errors': value['errors'],
|
|
1229
1897
|
};
|
|
1230
1898
|
}
|
|
1231
1899
|
|
|
@@ -1243,33 +1911,33 @@ function CreateTableRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1243
1911
|
* Do not edit the class manually.
|
|
1244
1912
|
*/
|
|
1245
1913
|
/**
|
|
1246
|
-
* Check if a given object implements the
|
|
1914
|
+
* Check if a given object implements the DeleteFieldsRequest interface.
|
|
1247
1915
|
*/
|
|
1248
|
-
function
|
|
1916
|
+
function instanceOfDeleteFieldsRequest(value) {
|
|
1917
|
+
if (!('fieldIds' in value) || value['fieldIds'] === undefined)
|
|
1918
|
+
return false;
|
|
1249
1919
|
return true;
|
|
1250
1920
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return
|
|
1921
|
+
function DeleteFieldsRequestFromJSON(json) {
|
|
1922
|
+
return DeleteFieldsRequestFromJSONTyped(json);
|
|
1253
1923
|
}
|
|
1254
|
-
function
|
|
1924
|
+
function DeleteFieldsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1255
1925
|
if (json == null) {
|
|
1256
1926
|
return json;
|
|
1257
1927
|
}
|
|
1258
1928
|
return {
|
|
1259
|
-
|
|
1260
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
1929
|
+
'fieldIds': json['fieldIds'],
|
|
1261
1930
|
};
|
|
1262
1931
|
}
|
|
1263
|
-
function
|
|
1264
|
-
return
|
|
1932
|
+
function DeleteFieldsRequestToJSON(json) {
|
|
1933
|
+
return DeleteFieldsRequestToJSONTyped(json, false);
|
|
1265
1934
|
}
|
|
1266
|
-
function
|
|
1935
|
+
function DeleteFieldsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1267
1936
|
if (value == null) {
|
|
1268
1937
|
return value;
|
|
1269
1938
|
}
|
|
1270
1939
|
return {
|
|
1271
|
-
|
|
1272
|
-
'id': value['id'],
|
|
1940
|
+
'fieldIds': value['fieldIds'],
|
|
1273
1941
|
};
|
|
1274
1942
|
}
|
|
1275
1943
|
|
|
@@ -1703,53 +2371,315 @@ function ExchangeSsoTokenRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
1703
2371
|
* Do not edit the class manually.
|
|
1704
2372
|
*/
|
|
1705
2373
|
/**
|
|
1706
|
-
* Check if a given object implements the
|
|
2374
|
+
* Check if a given object implements the Field interface.
|
|
1707
2375
|
*/
|
|
1708
|
-
function
|
|
2376
|
+
function instanceOfField(value) {
|
|
2377
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
2378
|
+
return false;
|
|
2379
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
2380
|
+
return false;
|
|
2381
|
+
if (!('fieldType' in value) || value['fieldType'] === undefined)
|
|
2382
|
+
return false;
|
|
1709
2383
|
return true;
|
|
1710
2384
|
}
|
|
1711
|
-
function
|
|
1712
|
-
return
|
|
2385
|
+
function FieldFromJSON(json) {
|
|
2386
|
+
return FieldFromJSONTyped(json);
|
|
2387
|
+
}
|
|
2388
|
+
function FieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
2389
|
+
if (json == null) {
|
|
2390
|
+
return json;
|
|
2391
|
+
}
|
|
2392
|
+
return {
|
|
2393
|
+
'id': json['id'],
|
|
2394
|
+
'label': json['label'],
|
|
2395
|
+
'fieldType': json['fieldType'],
|
|
2396
|
+
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
2397
|
+
'noWrap': json['noWrap'] == null ? undefined : json['noWrap'],
|
|
2398
|
+
'bold': json['bold'] == null ? undefined : json['bold'],
|
|
2399
|
+
'required': json['required'] == null ? undefined : json['required'],
|
|
2400
|
+
'appearsByDefault': json['appearsByDefault'] == null ? undefined : json['appearsByDefault'],
|
|
2401
|
+
'findEnabled': json['findEnabled'] == null ? undefined : json['findEnabled'],
|
|
2402
|
+
'unique': json['unique'] == null ? undefined : json['unique'],
|
|
2403
|
+
'doesDataCopy': json['doesDataCopy'] == null ? undefined : json['doesDataCopy'],
|
|
2404
|
+
'fieldHelp': json['fieldHelp'] == null ? undefined : json['fieldHelp'],
|
|
2405
|
+
'audited': json['audited'] == null ? undefined : json['audited'],
|
|
2406
|
+
'properties': json['properties'] == null ? undefined : FieldPropertiesFromJSON(json['properties']),
|
|
2407
|
+
'permissions': json['permissions'] == null ? undefined : (json['permissions'].map(FieldPermissionsInnerFromJSON)),
|
|
2408
|
+
};
|
|
2409
|
+
}
|
|
2410
|
+
function FieldToJSON(json) {
|
|
2411
|
+
return FieldToJSONTyped(json, false);
|
|
2412
|
+
}
|
|
2413
|
+
function FieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2414
|
+
if (value == null) {
|
|
2415
|
+
return value;
|
|
2416
|
+
}
|
|
2417
|
+
return {
|
|
2418
|
+
'id': value['id'],
|
|
2419
|
+
'label': value['label'],
|
|
2420
|
+
'fieldType': value['fieldType'],
|
|
2421
|
+
'mode': value['mode'],
|
|
2422
|
+
'noWrap': value['noWrap'],
|
|
2423
|
+
'bold': value['bold'],
|
|
2424
|
+
'required': value['required'],
|
|
2425
|
+
'appearsByDefault': value['appearsByDefault'],
|
|
2426
|
+
'findEnabled': value['findEnabled'],
|
|
2427
|
+
'unique': value['unique'],
|
|
2428
|
+
'doesDataCopy': value['doesDataCopy'],
|
|
2429
|
+
'fieldHelp': value['fieldHelp'],
|
|
2430
|
+
'audited': value['audited'],
|
|
2431
|
+
'properties': FieldPropertiesToJSON(value['properties']),
|
|
2432
|
+
'permissions': value['permissions'] == null ? undefined : (value['permissions'].map(FieldPermissionsInnerToJSON)),
|
|
2433
|
+
};
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
/* tslint:disable */
|
|
2437
|
+
/* eslint-disable */
|
|
2438
|
+
/**
|
|
2439
|
+
* Quick Base API
|
|
2440
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2441
|
+
*
|
|
2442
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2443
|
+
*
|
|
2444
|
+
*
|
|
2445
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2446
|
+
* https://openapi-generator.tech
|
|
2447
|
+
* Do not edit the class manually.
|
|
2448
|
+
*/
|
|
2449
|
+
/**
|
|
2450
|
+
* Check if a given object implements the FieldUsageField interface.
|
|
2451
|
+
*/
|
|
2452
|
+
function instanceOfFieldUsageField(value) {
|
|
2453
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
2454
|
+
return false;
|
|
2455
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
2456
|
+
return false;
|
|
2457
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
2458
|
+
return false;
|
|
2459
|
+
return true;
|
|
2460
|
+
}
|
|
2461
|
+
function FieldUsageFieldFromJSON(json) {
|
|
2462
|
+
return FieldUsageFieldFromJSONTyped(json);
|
|
2463
|
+
}
|
|
2464
|
+
function FieldUsageFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
2465
|
+
if (json == null) {
|
|
2466
|
+
return json;
|
|
2467
|
+
}
|
|
2468
|
+
return {
|
|
2469
|
+
'id': json['id'],
|
|
2470
|
+
'name': json['name'],
|
|
2471
|
+
'type': json['type'],
|
|
2472
|
+
};
|
|
2473
|
+
}
|
|
2474
|
+
function FieldUsageFieldToJSON(json) {
|
|
2475
|
+
return FieldUsageFieldToJSONTyped(json, false);
|
|
2476
|
+
}
|
|
2477
|
+
function FieldUsageFieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2478
|
+
if (value == null) {
|
|
2479
|
+
return value;
|
|
2480
|
+
}
|
|
2481
|
+
return {
|
|
2482
|
+
'id': value['id'],
|
|
2483
|
+
'name': value['name'],
|
|
2484
|
+
'type': value['type'],
|
|
2485
|
+
};
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/* tslint:disable */
|
|
2489
|
+
/* eslint-disable */
|
|
2490
|
+
/**
|
|
2491
|
+
* Quick Base API
|
|
2492
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2493
|
+
*
|
|
2494
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2495
|
+
*
|
|
2496
|
+
*
|
|
2497
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2498
|
+
* https://openapi-generator.tech
|
|
2499
|
+
* Do not edit the class manually.
|
|
2500
|
+
*/
|
|
2501
|
+
/**
|
|
2502
|
+
* Check if a given object implements the UsageCount interface.
|
|
2503
|
+
*/
|
|
2504
|
+
function instanceOfUsageCount(value) {
|
|
2505
|
+
return true;
|
|
2506
|
+
}
|
|
2507
|
+
function UsageCountFromJSON(json) {
|
|
2508
|
+
return UsageCountFromJSONTyped(json);
|
|
2509
|
+
}
|
|
2510
|
+
function UsageCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
2511
|
+
if (json == null) {
|
|
2512
|
+
return json;
|
|
2513
|
+
}
|
|
2514
|
+
return {
|
|
2515
|
+
'count': json['count'] == null ? undefined : json['count'],
|
|
2516
|
+
};
|
|
2517
|
+
}
|
|
2518
|
+
function UsageCountToJSON(json) {
|
|
2519
|
+
return UsageCountToJSONTyped(json, false);
|
|
2520
|
+
}
|
|
2521
|
+
function UsageCountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2522
|
+
if (value == null) {
|
|
2523
|
+
return value;
|
|
2524
|
+
}
|
|
2525
|
+
return {
|
|
2526
|
+
'count': value['count'],
|
|
2527
|
+
};
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2530
|
+
/* tslint:disable */
|
|
2531
|
+
/* eslint-disable */
|
|
2532
|
+
/**
|
|
2533
|
+
* Quick Base API
|
|
2534
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2535
|
+
*
|
|
2536
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2537
|
+
*
|
|
2538
|
+
*
|
|
2539
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2540
|
+
* https://openapi-generator.tech
|
|
2541
|
+
* Do not edit the class manually.
|
|
2542
|
+
*/
|
|
2543
|
+
/**
|
|
2544
|
+
* Check if a given object implements the FieldUsageUsage interface.
|
|
2545
|
+
*/
|
|
2546
|
+
function instanceOfFieldUsageUsage(value) {
|
|
2547
|
+
if (!('actions' in value) || value['actions'] === undefined)
|
|
2548
|
+
return false;
|
|
2549
|
+
if (!('appHomePages' in value) || value['appHomePages'] === undefined)
|
|
2550
|
+
return false;
|
|
2551
|
+
if (!('dashboards' in value) || value['dashboards'] === undefined)
|
|
2552
|
+
return false;
|
|
2553
|
+
if (!('defaultReports' in value) || value['defaultReports'] === undefined)
|
|
2554
|
+
return false;
|
|
2555
|
+
if (!('exactForms' in value) || value['exactForms'] === undefined)
|
|
2556
|
+
return false;
|
|
2557
|
+
if (!('fields' in value) || value['fields'] === undefined)
|
|
2558
|
+
return false;
|
|
2559
|
+
if (!('forms' in value) || value['forms'] === undefined)
|
|
2560
|
+
return false;
|
|
2561
|
+
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
2562
|
+
return false;
|
|
2563
|
+
if (!('personalReports' in value) || value['personalReports'] === undefined)
|
|
2564
|
+
return false;
|
|
2565
|
+
if (!('pipelines' in value) || value['pipelines'] === undefined)
|
|
2566
|
+
return false;
|
|
2567
|
+
if (!('relationships' in value) || value['relationships'] === undefined)
|
|
2568
|
+
return false;
|
|
2569
|
+
if (!('reminders' in value) || value['reminders'] === undefined)
|
|
2570
|
+
return false;
|
|
2571
|
+
if (!('reports' in value) || value['reports'] === undefined)
|
|
2572
|
+
return false;
|
|
2573
|
+
if (!('roles' in value) || value['roles'] === undefined)
|
|
2574
|
+
return false;
|
|
2575
|
+
if (!('tableImports' in value) || value['tableImports'] === undefined)
|
|
2576
|
+
return false;
|
|
2577
|
+
if (!('tableRules' in value) || value['tableRules'] === undefined)
|
|
2578
|
+
return false;
|
|
2579
|
+
if (!('webhooks' in value) || value['webhooks'] === undefined)
|
|
2580
|
+
return false;
|
|
2581
|
+
return true;
|
|
2582
|
+
}
|
|
2583
|
+
function FieldUsageUsageFromJSON(json) {
|
|
2584
|
+
return FieldUsageUsageFromJSONTyped(json);
|
|
2585
|
+
}
|
|
2586
|
+
function FieldUsageUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
2587
|
+
if (json == null) {
|
|
2588
|
+
return json;
|
|
2589
|
+
}
|
|
2590
|
+
return {
|
|
2591
|
+
'actions': UsageCountFromJSON(json['actions']),
|
|
2592
|
+
'appHomePages': UsageCountFromJSON(json['appHomePages']),
|
|
2593
|
+
'dashboards': UsageCountFromJSON(json['dashboards']),
|
|
2594
|
+
'defaultReports': UsageCountFromJSON(json['defaultReports']),
|
|
2595
|
+
'exactForms': UsageCountFromJSON(json['exactForms']),
|
|
2596
|
+
'fields': UsageCountFromJSON(json['fields']),
|
|
2597
|
+
'forms': UsageCountFromJSON(json['forms']),
|
|
2598
|
+
'notifications': UsageCountFromJSON(json['notifications']),
|
|
2599
|
+
'personalReports': UsageCountFromJSON(json['personalReports']),
|
|
2600
|
+
'pipelines': UsageCountFromJSON(json['pipelines']),
|
|
2601
|
+
'relationships': UsageCountFromJSON(json['relationships']),
|
|
2602
|
+
'reminders': UsageCountFromJSON(json['reminders']),
|
|
2603
|
+
'reports': UsageCountFromJSON(json['reports']),
|
|
2604
|
+
'roles': UsageCountFromJSON(json['roles']),
|
|
2605
|
+
'tableImports': UsageCountFromJSON(json['tableImports']),
|
|
2606
|
+
'tableRules': UsageCountFromJSON(json['tableRules']),
|
|
2607
|
+
'webhooks': UsageCountFromJSON(json['webhooks']),
|
|
2608
|
+
};
|
|
2609
|
+
}
|
|
2610
|
+
function FieldUsageUsageToJSON(json) {
|
|
2611
|
+
return FieldUsageUsageToJSONTyped(json, false);
|
|
2612
|
+
}
|
|
2613
|
+
function FieldUsageUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2614
|
+
if (value == null) {
|
|
2615
|
+
return value;
|
|
2616
|
+
}
|
|
2617
|
+
return {
|
|
2618
|
+
'actions': UsageCountToJSON(value['actions']),
|
|
2619
|
+
'appHomePages': UsageCountToJSON(value['appHomePages']),
|
|
2620
|
+
'dashboards': UsageCountToJSON(value['dashboards']),
|
|
2621
|
+
'defaultReports': UsageCountToJSON(value['defaultReports']),
|
|
2622
|
+
'exactForms': UsageCountToJSON(value['exactForms']),
|
|
2623
|
+
'fields': UsageCountToJSON(value['fields']),
|
|
2624
|
+
'forms': UsageCountToJSON(value['forms']),
|
|
2625
|
+
'notifications': UsageCountToJSON(value['notifications']),
|
|
2626
|
+
'personalReports': UsageCountToJSON(value['personalReports']),
|
|
2627
|
+
'pipelines': UsageCountToJSON(value['pipelines']),
|
|
2628
|
+
'relationships': UsageCountToJSON(value['relationships']),
|
|
2629
|
+
'reminders': UsageCountToJSON(value['reminders']),
|
|
2630
|
+
'reports': UsageCountToJSON(value['reports']),
|
|
2631
|
+
'roles': UsageCountToJSON(value['roles']),
|
|
2632
|
+
'tableImports': UsageCountToJSON(value['tableImports']),
|
|
2633
|
+
'tableRules': UsageCountToJSON(value['tableRules']),
|
|
2634
|
+
'webhooks': UsageCountToJSON(value['webhooks']),
|
|
2635
|
+
};
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2638
|
+
/* tslint:disable */
|
|
2639
|
+
/* eslint-disable */
|
|
2640
|
+
/**
|
|
2641
|
+
* Quick Base API
|
|
2642
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2643
|
+
*
|
|
2644
|
+
* The version of the OpenAPI document: 1.0.0
|
|
2645
|
+
*
|
|
2646
|
+
*
|
|
2647
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2648
|
+
* https://openapi-generator.tech
|
|
2649
|
+
* Do not edit the class manually.
|
|
2650
|
+
*/
|
|
2651
|
+
/**
|
|
2652
|
+
* Check if a given object implements the FieldUsage interface.
|
|
2653
|
+
*/
|
|
2654
|
+
function instanceOfFieldUsage(value) {
|
|
2655
|
+
if (!('field' in value) || value['field'] === undefined)
|
|
2656
|
+
return false;
|
|
2657
|
+
if (!('usage' in value) || value['usage'] === undefined)
|
|
2658
|
+
return false;
|
|
2659
|
+
return true;
|
|
2660
|
+
}
|
|
2661
|
+
function FieldUsageFromJSON(json) {
|
|
2662
|
+
return FieldUsageFromJSONTyped(json);
|
|
1713
2663
|
}
|
|
1714
|
-
function
|
|
2664
|
+
function FieldUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
1715
2665
|
if (json == null) {
|
|
1716
2666
|
return json;
|
|
1717
2667
|
}
|
|
1718
2668
|
return {
|
|
1719
|
-
'
|
|
1720
|
-
'
|
|
1721
|
-
'numLines': json['numLines'] == null ? undefined : json['numLines'],
|
|
1722
|
-
'maxLength': json['maxLength'] == null ? undefined : json['maxLength'],
|
|
1723
|
-
'appendOnly': json['appendOnly'] == null ? undefined : json['appendOnly'],
|
|
1724
|
-
'allowHTML': json['allowHTML'] == null ? undefined : json['allowHTML'],
|
|
1725
|
-
'allowMentions': json['allowMentions'] == null ? undefined : json['allowMentions'],
|
|
1726
|
-
'sortAsGiven': json['sortAsGiven'] == null ? undefined : json['sortAsGiven'],
|
|
1727
|
-
'carryChoices': json['carryChoices'] == null ? undefined : json['carryChoices'],
|
|
1728
|
-
'allowNewChoices': json['allowNewChoices'] == null ? undefined : json['allowNewChoices'],
|
|
1729
|
-
'formula': json['formula'] == null ? undefined : json['formula'],
|
|
1730
|
-
'defaultValue': json['defaultValue'] == null ? undefined : json['defaultValue'],
|
|
2669
|
+
'field': FieldUsageFieldFromJSON(json['field']),
|
|
2670
|
+
'usage': FieldUsageUsageFromJSON(json['usage']),
|
|
1731
2671
|
};
|
|
1732
2672
|
}
|
|
1733
|
-
function
|
|
1734
|
-
return
|
|
2673
|
+
function FieldUsageToJSON(json) {
|
|
2674
|
+
return FieldUsageToJSONTyped(json, false);
|
|
1735
2675
|
}
|
|
1736
|
-
function
|
|
2676
|
+
function FieldUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1737
2677
|
if (value == null) {
|
|
1738
2678
|
return value;
|
|
1739
2679
|
}
|
|
1740
2680
|
return {
|
|
1741
|
-
'
|
|
1742
|
-
'
|
|
1743
|
-
'numLines': value['numLines'],
|
|
1744
|
-
'maxLength': value['maxLength'],
|
|
1745
|
-
'appendOnly': value['appendOnly'],
|
|
1746
|
-
'allowHTML': value['allowHTML'],
|
|
1747
|
-
'allowMentions': value['allowMentions'],
|
|
1748
|
-
'sortAsGiven': value['sortAsGiven'],
|
|
1749
|
-
'carryChoices': value['carryChoices'],
|
|
1750
|
-
'allowNewChoices': value['allowNewChoices'],
|
|
1751
|
-
'formula': value['formula'],
|
|
1752
|
-
'defaultValue': value['defaultValue'],
|
|
2681
|
+
'field': FieldUsageFieldToJSON(value['field']),
|
|
2682
|
+
'usage': FieldUsageUsageToJSON(value['usage']),
|
|
1753
2683
|
};
|
|
1754
2684
|
}
|
|
1755
2685
|
|
|
@@ -1767,35 +2697,37 @@ function FieldPropertiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1767
2697
|
* Do not edit the class manually.
|
|
1768
2698
|
*/
|
|
1769
2699
|
/**
|
|
1770
|
-
* Check if a given object implements the
|
|
2700
|
+
* Check if a given object implements the GenerateDocument200Response interface.
|
|
1771
2701
|
*/
|
|
1772
|
-
function
|
|
2702
|
+
function instanceOfGenerateDocument200Response(value) {
|
|
1773
2703
|
return true;
|
|
1774
2704
|
}
|
|
1775
|
-
function
|
|
1776
|
-
return
|
|
2705
|
+
function GenerateDocument200ResponseFromJSON(json) {
|
|
2706
|
+
return GenerateDocument200ResponseFromJSONTyped(json);
|
|
1777
2707
|
}
|
|
1778
|
-
function
|
|
2708
|
+
function GenerateDocument200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1779
2709
|
if (json == null) {
|
|
1780
2710
|
return json;
|
|
1781
2711
|
}
|
|
1782
2712
|
return {
|
|
1783
|
-
|
|
1784
|
-
'
|
|
1785
|
-
'
|
|
2713
|
+
...json,
|
|
2714
|
+
'fileName': json['fileName'] == null ? undefined : json['fileName'],
|
|
2715
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
2716
|
+
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
1786
2717
|
};
|
|
1787
2718
|
}
|
|
1788
|
-
function
|
|
1789
|
-
return
|
|
2719
|
+
function GenerateDocument200ResponseToJSON(json) {
|
|
2720
|
+
return GenerateDocument200ResponseToJSONTyped(json, false);
|
|
1790
2721
|
}
|
|
1791
|
-
function
|
|
2722
|
+
function GenerateDocument200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1792
2723
|
if (value == null) {
|
|
1793
2724
|
return value;
|
|
1794
2725
|
}
|
|
1795
2726
|
return {
|
|
1796
|
-
|
|
1797
|
-
'
|
|
1798
|
-
'
|
|
2727
|
+
...value,
|
|
2728
|
+
'fileName': value['fileName'],
|
|
2729
|
+
'data': value['data'],
|
|
2730
|
+
'contentType': value['contentType'],
|
|
1799
2731
|
};
|
|
1800
2732
|
}
|
|
1801
2733
|
|
|
@@ -1813,63 +2745,41 @@ function FieldPermissionsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1813
2745
|
* Do not edit the class manually.
|
|
1814
2746
|
*/
|
|
1815
2747
|
/**
|
|
1816
|
-
* Check if a given object implements the
|
|
2748
|
+
* Check if a given object implements the GetRelationships200ResponseMetadata interface.
|
|
1817
2749
|
*/
|
|
1818
|
-
function
|
|
1819
|
-
if (!('
|
|
2750
|
+
function instanceOfGetRelationships200ResponseMetadata(value) {
|
|
2751
|
+
if (!('numRelationships' in value) || value['numRelationships'] === undefined)
|
|
1820
2752
|
return false;
|
|
1821
|
-
if (!('
|
|
2753
|
+
if (!('skip' in value) || value['skip'] === undefined)
|
|
1822
2754
|
return false;
|
|
1823
|
-
if (!('
|
|
2755
|
+
if (!('totalRelationships' in value) || value['totalRelationships'] === undefined)
|
|
1824
2756
|
return false;
|
|
1825
2757
|
return true;
|
|
1826
2758
|
}
|
|
1827
|
-
function
|
|
1828
|
-
return
|
|
2759
|
+
function GetRelationships200ResponseMetadataFromJSON(json) {
|
|
2760
|
+
return GetRelationships200ResponseMetadataFromJSONTyped(json);
|
|
1829
2761
|
}
|
|
1830
|
-
function
|
|
2762
|
+
function GetRelationships200ResponseMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1831
2763
|
if (json == null) {
|
|
1832
2764
|
return json;
|
|
1833
2765
|
}
|
|
1834
2766
|
return {
|
|
1835
|
-
'
|
|
1836
|
-
'
|
|
1837
|
-
'
|
|
1838
|
-
'noWrap': json['noWrap'] == null ? undefined : json['noWrap'],
|
|
1839
|
-
'bold': json['bold'] == null ? undefined : json['bold'],
|
|
1840
|
-
'required': json['required'] == null ? undefined : json['required'],
|
|
1841
|
-
'appearsByDefault': json['appearsByDefault'] == null ? undefined : json['appearsByDefault'],
|
|
1842
|
-
'findEnabled': json['findEnabled'] == null ? undefined : json['findEnabled'],
|
|
1843
|
-
'unique': json['unique'] == null ? undefined : json['unique'],
|
|
1844
|
-
'doesDataCopy': json['doesDataCopy'] == null ? undefined : json['doesDataCopy'],
|
|
1845
|
-
'fieldHelp': json['fieldHelp'] == null ? undefined : json['fieldHelp'],
|
|
1846
|
-
'audited': json['audited'] == null ? undefined : json['audited'],
|
|
1847
|
-
'properties': json['properties'] == null ? undefined : FieldPropertiesFromJSON(json['properties']),
|
|
1848
|
-
'permissions': json['permissions'] == null ? undefined : (json['permissions'].map(FieldPermissionsInnerFromJSON)),
|
|
2767
|
+
'numRelationships': json['numRelationships'],
|
|
2768
|
+
'skip': json['skip'],
|
|
2769
|
+
'totalRelationships': json['totalRelationships'],
|
|
1849
2770
|
};
|
|
1850
2771
|
}
|
|
1851
|
-
function
|
|
1852
|
-
return
|
|
2772
|
+
function GetRelationships200ResponseMetadataToJSON(json) {
|
|
2773
|
+
return GetRelationships200ResponseMetadataToJSONTyped(json, false);
|
|
1853
2774
|
}
|
|
1854
|
-
function
|
|
2775
|
+
function GetRelationships200ResponseMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1855
2776
|
if (value == null) {
|
|
1856
2777
|
return value;
|
|
1857
2778
|
}
|
|
1858
2779
|
return {
|
|
1859
|
-
'
|
|
1860
|
-
'
|
|
1861
|
-
'
|
|
1862
|
-
'noWrap': value['noWrap'],
|
|
1863
|
-
'bold': value['bold'],
|
|
1864
|
-
'required': value['required'],
|
|
1865
|
-
'appearsByDefault': value['appearsByDefault'],
|
|
1866
|
-
'findEnabled': value['findEnabled'],
|
|
1867
|
-
'unique': value['unique'],
|
|
1868
|
-
'doesDataCopy': value['doesDataCopy'],
|
|
1869
|
-
'fieldHelp': value['fieldHelp'],
|
|
1870
|
-
'audited': value['audited'],
|
|
1871
|
-
'properties': FieldPropertiesToJSON(value['properties']),
|
|
1872
|
-
'permissions': value['permissions'] == null ? undefined : (value['permissions'].map(FieldPermissionsInnerToJSON)),
|
|
2780
|
+
'numRelationships': value['numRelationships'],
|
|
2781
|
+
'skip': value['skip'],
|
|
2782
|
+
'totalRelationships': value['totalRelationships'],
|
|
1873
2783
|
};
|
|
1874
2784
|
}
|
|
1875
2785
|
|
|
@@ -1887,37 +2797,41 @@ function FieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1887
2797
|
* Do not edit the class manually.
|
|
1888
2798
|
*/
|
|
1889
2799
|
/**
|
|
1890
|
-
* Check if a given object implements the
|
|
2800
|
+
* Check if a given object implements the RelationshipField interface.
|
|
1891
2801
|
*/
|
|
1892
|
-
function
|
|
2802
|
+
function instanceOfRelationshipField(value) {
|
|
2803
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
2804
|
+
return false;
|
|
2805
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
2806
|
+
return false;
|
|
2807
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
2808
|
+
return false;
|
|
1893
2809
|
return true;
|
|
1894
2810
|
}
|
|
1895
|
-
function
|
|
1896
|
-
return
|
|
2811
|
+
function RelationshipFieldFromJSON(json) {
|
|
2812
|
+
return RelationshipFieldFromJSONTyped(json);
|
|
1897
2813
|
}
|
|
1898
|
-
function
|
|
2814
|
+
function RelationshipFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
1899
2815
|
if (json == null) {
|
|
1900
2816
|
return json;
|
|
1901
2817
|
}
|
|
1902
2818
|
return {
|
|
1903
|
-
|
|
1904
|
-
'
|
|
1905
|
-
'
|
|
1906
|
-
'contentType': json['contentType'] == null ? undefined : json['contentType'],
|
|
2819
|
+
'id': json['id'],
|
|
2820
|
+
'label': json['label'],
|
|
2821
|
+
'type': json['type'],
|
|
1907
2822
|
};
|
|
1908
2823
|
}
|
|
1909
|
-
function
|
|
1910
|
-
return
|
|
2824
|
+
function RelationshipFieldToJSON(json) {
|
|
2825
|
+
return RelationshipFieldToJSONTyped(json, false);
|
|
1911
2826
|
}
|
|
1912
|
-
function
|
|
2827
|
+
function RelationshipFieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1913
2828
|
if (value == null) {
|
|
1914
2829
|
return value;
|
|
1915
2830
|
}
|
|
1916
2831
|
return {
|
|
1917
|
-
|
|
1918
|
-
'
|
|
1919
|
-
'
|
|
1920
|
-
'contentType': value['contentType'],
|
|
2832
|
+
'id': value['id'],
|
|
2833
|
+
'label': value['label'],
|
|
2834
|
+
'type': value['type'],
|
|
1921
2835
|
};
|
|
1922
2836
|
}
|
|
1923
2837
|
|
|
@@ -1935,63 +2849,53 @@ function GenerateDocument200ResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
1935
2849
|
* Do not edit the class manually.
|
|
1936
2850
|
*/
|
|
1937
2851
|
/**
|
|
1938
|
-
* Check if a given object implements the
|
|
2852
|
+
* Check if a given object implements the Relationship interface.
|
|
1939
2853
|
*/
|
|
1940
|
-
function
|
|
2854
|
+
function instanceOfRelationship(value) {
|
|
1941
2855
|
if (!('id' in value) || value['id'] === undefined)
|
|
1942
2856
|
return false;
|
|
2857
|
+
if (!('parentTableId' in value) || value['parentTableId'] === undefined)
|
|
2858
|
+
return false;
|
|
2859
|
+
if (!('childTableId' in value) || value['childTableId'] === undefined)
|
|
2860
|
+
return false;
|
|
2861
|
+
if (!('foreignKeyField' in value) || value['foreignKeyField'] === undefined)
|
|
2862
|
+
return false;
|
|
2863
|
+
if (!('isCrossApp' in value) || value['isCrossApp'] === undefined)
|
|
2864
|
+
return false;
|
|
1943
2865
|
return true;
|
|
1944
2866
|
}
|
|
1945
|
-
function
|
|
1946
|
-
return
|
|
2867
|
+
function RelationshipFromJSON(json) {
|
|
2868
|
+
return RelationshipFromJSONTyped(json);
|
|
1947
2869
|
}
|
|
1948
|
-
function
|
|
2870
|
+
function RelationshipFromJSONTyped(json, ignoreDiscriminator) {
|
|
1949
2871
|
if (json == null) {
|
|
1950
2872
|
return json;
|
|
1951
2873
|
}
|
|
1952
2874
|
return {
|
|
1953
|
-
...json,
|
|
1954
2875
|
'id': json['id'],
|
|
1955
|
-
'
|
|
1956
|
-
'
|
|
1957
|
-
'
|
|
1958
|
-
'
|
|
1959
|
-
'
|
|
1960
|
-
'
|
|
1961
|
-
'appearsByDefault': json['appearsByDefault'] == null ? undefined : json['appearsByDefault'],
|
|
1962
|
-
'findEnabled': json['findEnabled'] == null ? undefined : json['findEnabled'],
|
|
1963
|
-
'unique': json['unique'] == null ? undefined : json['unique'],
|
|
1964
|
-
'doesDataCopy': json['doesDataCopy'] == null ? undefined : json['doesDataCopy'],
|
|
1965
|
-
'fieldHelp': json['fieldHelp'] == null ? undefined : json['fieldHelp'],
|
|
1966
|
-
'audited': json['audited'] == null ? undefined : json['audited'],
|
|
1967
|
-
'properties': json['properties'] == null ? undefined : json['properties'],
|
|
1968
|
-
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
2876
|
+
'parentTableId': json['parentTableId'],
|
|
2877
|
+
'childTableId': json['childTableId'],
|
|
2878
|
+
'foreignKeyField': RelationshipFieldFromJSON(json['foreignKeyField']),
|
|
2879
|
+
'isCrossApp': json['isCrossApp'],
|
|
2880
|
+
'lookupFields': json['lookupFields'] == null ? undefined : (json['lookupFields'].map(RelationshipFieldFromJSON)),
|
|
2881
|
+
'summaryFields': json['summaryFields'] == null ? undefined : (json['summaryFields'].map(RelationshipFieldFromJSON)),
|
|
1969
2882
|
};
|
|
1970
2883
|
}
|
|
1971
|
-
function
|
|
1972
|
-
return
|
|
2884
|
+
function RelationshipToJSON(json) {
|
|
2885
|
+
return RelationshipToJSONTyped(json, false);
|
|
1973
2886
|
}
|
|
1974
|
-
function
|
|
2887
|
+
function RelationshipToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1975
2888
|
if (value == null) {
|
|
1976
2889
|
return value;
|
|
1977
2890
|
}
|
|
1978
2891
|
return {
|
|
1979
|
-
...value,
|
|
1980
2892
|
'id': value['id'],
|
|
1981
|
-
'
|
|
1982
|
-
'
|
|
1983
|
-
'
|
|
1984
|
-
'
|
|
1985
|
-
'
|
|
1986
|
-
'
|
|
1987
|
-
'appearsByDefault': value['appearsByDefault'],
|
|
1988
|
-
'findEnabled': value['findEnabled'],
|
|
1989
|
-
'unique': value['unique'],
|
|
1990
|
-
'doesDataCopy': value['doesDataCopy'],
|
|
1991
|
-
'fieldHelp': value['fieldHelp'],
|
|
1992
|
-
'audited': value['audited'],
|
|
1993
|
-
'properties': value['properties'],
|
|
1994
|
-
'permissions': value['permissions'],
|
|
2893
|
+
'parentTableId': value['parentTableId'],
|
|
2894
|
+
'childTableId': value['childTableId'],
|
|
2895
|
+
'foreignKeyField': RelationshipFieldToJSON(value['foreignKeyField']),
|
|
2896
|
+
'isCrossApp': value['isCrossApp'],
|
|
2897
|
+
'lookupFields': value['lookupFields'] == null ? undefined : (value['lookupFields'].map(RelationshipFieldToJSON)),
|
|
2898
|
+
'summaryFields': value['summaryFields'] == null ? undefined : (value['summaryFields'].map(RelationshipFieldToJSON)),
|
|
1995
2899
|
};
|
|
1996
2900
|
}
|
|
1997
2901
|
|
|
@@ -2012,6 +2916,8 @@ function GetField200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2012
2916
|
* Check if a given object implements the GetRelationships200Response interface.
|
|
2013
2917
|
*/
|
|
2014
2918
|
function instanceOfGetRelationships200Response(value) {
|
|
2919
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
2920
|
+
return false;
|
|
2015
2921
|
if (!('relationships' in value) || value['relationships'] === undefined)
|
|
2016
2922
|
return false;
|
|
2017
2923
|
return true;
|
|
@@ -2024,9 +2930,8 @@ function GetRelationships200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2024
2930
|
return json;
|
|
2025
2931
|
}
|
|
2026
2932
|
return {
|
|
2027
|
-
|
|
2028
|
-
'relationships': json['relationships'],
|
|
2029
|
-
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
2933
|
+
'metadata': GetRelationships200ResponseMetadataFromJSON(json['metadata']),
|
|
2934
|
+
'relationships': (json['relationships'].map(RelationshipFromJSON)),
|
|
2030
2935
|
};
|
|
2031
2936
|
}
|
|
2032
2937
|
function GetRelationships200ResponseToJSON(json) {
|
|
@@ -2037,9 +2942,8 @@ function GetRelationships200ResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
2037
2942
|
return value;
|
|
2038
2943
|
}
|
|
2039
2944
|
return {
|
|
2040
|
-
|
|
2041
|
-
'relationships': value['relationships'],
|
|
2042
|
-
'metadata': value['metadata'],
|
|
2945
|
+
'metadata': GetRelationships200ResponseMetadataToJSON(value['metadata']),
|
|
2946
|
+
'relationships': (value['relationships'].map(RelationshipToJSON)),
|
|
2043
2947
|
};
|
|
2044
2948
|
}
|
|
2045
2949
|
|
|
@@ -2832,6 +3736,50 @@ function RecordToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2832
3736
|
};
|
|
2833
3737
|
}
|
|
2834
3738
|
|
|
3739
|
+
/* tslint:disable */
|
|
3740
|
+
/* eslint-disable */
|
|
3741
|
+
/**
|
|
3742
|
+
* Quick Base API
|
|
3743
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3744
|
+
*
|
|
3745
|
+
* The version of the OpenAPI document: 1.0.0
|
|
3746
|
+
*
|
|
3747
|
+
*
|
|
3748
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3749
|
+
* https://openapi-generator.tech
|
|
3750
|
+
* Do not edit the class manually.
|
|
3751
|
+
*/
|
|
3752
|
+
/**
|
|
3753
|
+
* Check if a given object implements the RecordValue interface.
|
|
3754
|
+
*/
|
|
3755
|
+
function instanceOfRecordValue(value) {
|
|
3756
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
3757
|
+
return false;
|
|
3758
|
+
return true;
|
|
3759
|
+
}
|
|
3760
|
+
function RecordValueFromJSON(json) {
|
|
3761
|
+
return RecordValueFromJSONTyped(json);
|
|
3762
|
+
}
|
|
3763
|
+
function RecordValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
3764
|
+
if (json == null) {
|
|
3765
|
+
return json;
|
|
3766
|
+
}
|
|
3767
|
+
return {
|
|
3768
|
+
'value': json['value'],
|
|
3769
|
+
};
|
|
3770
|
+
}
|
|
3771
|
+
function RecordValueToJSON(json) {
|
|
3772
|
+
return RecordValueToJSONTyped(json, false);
|
|
3773
|
+
}
|
|
3774
|
+
function RecordValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3775
|
+
if (value == null) {
|
|
3776
|
+
return value;
|
|
3777
|
+
}
|
|
3778
|
+
return {
|
|
3779
|
+
'value': value['value'],
|
|
3780
|
+
};
|
|
3781
|
+
}
|
|
3782
|
+
|
|
2835
3783
|
/* tslint:disable */
|
|
2836
3784
|
/* eslint-disable */
|
|
2837
3785
|
/**
|
|
@@ -3612,101 +4560,37 @@ function TransferUserTokenRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
3612
4560
|
/**
|
|
3613
4561
|
* Check if a given object implements the UndenyUsers200Response interface.
|
|
3614
4562
|
*/
|
|
3615
|
-
function instanceOfUndenyUsers200Response(value) {
|
|
3616
|
-
if (!('failure' in value) || value['failure'] === undefined)
|
|
3617
|
-
return false;
|
|
3618
|
-
if (!('success' in value) || value['success'] === undefined)
|
|
3619
|
-
return false;
|
|
3620
|
-
return true;
|
|
3621
|
-
}
|
|
3622
|
-
function UndenyUsers200ResponseFromJSON(json) {
|
|
3623
|
-
return UndenyUsers200ResponseFromJSONTyped(json);
|
|
3624
|
-
}
|
|
3625
|
-
function UndenyUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3626
|
-
if (json == null) {
|
|
3627
|
-
return json;
|
|
3628
|
-
}
|
|
3629
|
-
return {
|
|
3630
|
-
...json,
|
|
3631
|
-
'failure': json['failure'],
|
|
3632
|
-
'success': json['success'],
|
|
3633
|
-
};
|
|
3634
|
-
}
|
|
3635
|
-
function UndenyUsers200ResponseToJSON(json) {
|
|
3636
|
-
return UndenyUsers200ResponseToJSONTyped(json, false);
|
|
3637
|
-
}
|
|
3638
|
-
function UndenyUsers200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3639
|
-
if (value == null) {
|
|
3640
|
-
return value;
|
|
3641
|
-
}
|
|
3642
|
-
return {
|
|
3643
|
-
...value,
|
|
3644
|
-
'failure': value['failure'],
|
|
3645
|
-
'success': value['success'],
|
|
3646
|
-
};
|
|
3647
|
-
}
|
|
3648
|
-
|
|
3649
|
-
/* tslint:disable */
|
|
3650
|
-
/* eslint-disable */
|
|
3651
|
-
/**
|
|
3652
|
-
* Quick Base API
|
|
3653
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
3654
|
-
*
|
|
3655
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3656
|
-
*
|
|
3657
|
-
*
|
|
3658
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3659
|
-
* https://openapi-generator.tech
|
|
3660
|
-
* Do not edit the class manually.
|
|
3661
|
-
*/
|
|
3662
|
-
/**
|
|
3663
|
-
* Check if a given object implements the UpdateFieldRequest interface.
|
|
3664
|
-
*/
|
|
3665
|
-
function instanceOfUpdateFieldRequest(value) {
|
|
4563
|
+
function instanceOfUndenyUsers200Response(value) {
|
|
4564
|
+
if (!('failure' in value) || value['failure'] === undefined)
|
|
4565
|
+
return false;
|
|
4566
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
4567
|
+
return false;
|
|
3666
4568
|
return true;
|
|
3667
4569
|
}
|
|
3668
|
-
function
|
|
3669
|
-
return
|
|
4570
|
+
function UndenyUsers200ResponseFromJSON(json) {
|
|
4571
|
+
return UndenyUsers200ResponseFromJSONTyped(json);
|
|
3670
4572
|
}
|
|
3671
|
-
function
|
|
4573
|
+
function UndenyUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
3672
4574
|
if (json == null) {
|
|
3673
4575
|
return json;
|
|
3674
4576
|
}
|
|
3675
4577
|
return {
|
|
3676
|
-
|
|
3677
|
-
'
|
|
3678
|
-
'
|
|
3679
|
-
'required': json['required'] == null ? undefined : json['required'],
|
|
3680
|
-
'properties': json['properties'] == null ? undefined : json['properties'],
|
|
3681
|
-
'appearsByDefault': json['appearsByDefault'] == null ? undefined : json['appearsByDefault'],
|
|
3682
|
-
'unique': json['unique'] == null ? undefined : json['unique'],
|
|
3683
|
-
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
3684
|
-
'addToForms': json['addToForms'] == null ? undefined : json['addToForms'],
|
|
3685
|
-
'label': json['label'] == null ? undefined : json['label'],
|
|
3686
|
-
'findEnabled': json['findEnabled'] == null ? undefined : json['findEnabled'],
|
|
3687
|
-
'noWrap': json['noWrap'] == null ? undefined : json['noWrap'],
|
|
4578
|
+
...json,
|
|
4579
|
+
'failure': json['failure'],
|
|
4580
|
+
'success': json['success'],
|
|
3688
4581
|
};
|
|
3689
4582
|
}
|
|
3690
|
-
function
|
|
3691
|
-
return
|
|
4583
|
+
function UndenyUsers200ResponseToJSON(json) {
|
|
4584
|
+
return UndenyUsers200ResponseToJSONTyped(json, false);
|
|
3692
4585
|
}
|
|
3693
|
-
function
|
|
4586
|
+
function UndenyUsers200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3694
4587
|
if (value == null) {
|
|
3695
4588
|
return value;
|
|
3696
4589
|
}
|
|
3697
4590
|
return {
|
|
3698
|
-
|
|
3699
|
-
'
|
|
3700
|
-
'
|
|
3701
|
-
'required': value['required'],
|
|
3702
|
-
'properties': value['properties'],
|
|
3703
|
-
'appearsByDefault': value['appearsByDefault'],
|
|
3704
|
-
'unique': value['unique'],
|
|
3705
|
-
'permissions': value['permissions'],
|
|
3706
|
-
'addToForms': value['addToForms'],
|
|
3707
|
-
'label': value['label'],
|
|
3708
|
-
'findEnabled': value['findEnabled'],
|
|
3709
|
-
'noWrap': value['noWrap'],
|
|
4591
|
+
...value,
|
|
4592
|
+
'failure': value['failure'],
|
|
4593
|
+
'success': value['success'],
|
|
3710
4594
|
};
|
|
3711
4595
|
}
|
|
3712
4596
|
|
|
@@ -3896,6 +4780,50 @@ function Upsert200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3896
4780
|
};
|
|
3897
4781
|
}
|
|
3898
4782
|
|
|
4783
|
+
/* tslint:disable */
|
|
4784
|
+
/* eslint-disable */
|
|
4785
|
+
/**
|
|
4786
|
+
* Quick Base API
|
|
4787
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4788
|
+
*
|
|
4789
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4790
|
+
*
|
|
4791
|
+
*
|
|
4792
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4793
|
+
* https://openapi-generator.tech
|
|
4794
|
+
* Do not edit the class manually.
|
|
4795
|
+
*/
|
|
4796
|
+
/**
|
|
4797
|
+
* Check if a given object implements the Upsert200ResponseDataInnerValue interface.
|
|
4798
|
+
*/
|
|
4799
|
+
function instanceOfUpsert200ResponseDataInnerValue(value) {
|
|
4800
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
4801
|
+
return false;
|
|
4802
|
+
return true;
|
|
4803
|
+
}
|
|
4804
|
+
function Upsert200ResponseDataInnerValueFromJSON(json) {
|
|
4805
|
+
return Upsert200ResponseDataInnerValueFromJSONTyped(json);
|
|
4806
|
+
}
|
|
4807
|
+
function Upsert200ResponseDataInnerValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
4808
|
+
if (json == null) {
|
|
4809
|
+
return json;
|
|
4810
|
+
}
|
|
4811
|
+
return {
|
|
4812
|
+
'value': json['value'],
|
|
4813
|
+
};
|
|
4814
|
+
}
|
|
4815
|
+
function Upsert200ResponseDataInnerValueToJSON(json) {
|
|
4816
|
+
return Upsert200ResponseDataInnerValueToJSONTyped(json, false);
|
|
4817
|
+
}
|
|
4818
|
+
function Upsert200ResponseDataInnerValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4819
|
+
if (value == null) {
|
|
4820
|
+
return value;
|
|
4821
|
+
}
|
|
4822
|
+
return {
|
|
4823
|
+
'value': value['value'],
|
|
4824
|
+
};
|
|
4825
|
+
}
|
|
4826
|
+
|
|
3899
4827
|
/* tslint:disable */
|
|
3900
4828
|
/* eslint-disable */
|
|
3901
4829
|
/**
|
|
@@ -4060,13 +4988,15 @@ function UpsertRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4060
4988
|
*/
|
|
4061
4989
|
class AppsApi extends BaseAPI {
|
|
4062
4990
|
/**
|
|
4063
|
-
*
|
|
4064
|
-
* Copy an app
|
|
4991
|
+
* Copy an existing application
|
|
4065
4992
|
*/
|
|
4066
4993
|
async copyAppRaw(requestParameters, initOverrides) {
|
|
4067
4994
|
if (requestParameters['appId'] == null) {
|
|
4068
4995
|
throw new RequiredError('appId', 'Required parameter "appId" was null or undefined when calling copyApp().');
|
|
4069
4996
|
}
|
|
4997
|
+
if (requestParameters['body'] == null) {
|
|
4998
|
+
throw new RequiredError('body', 'Required parameter "body" was null or undefined when calling copyApp().');
|
|
4999
|
+
}
|
|
4070
5000
|
const queryParameters = {};
|
|
4071
5001
|
const headerParameters = {};
|
|
4072
5002
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -4075,13 +5005,12 @@ class AppsApi extends BaseAPI {
|
|
|
4075
5005
|
method: 'POST',
|
|
4076
5006
|
headers: headerParameters,
|
|
4077
5007
|
query: queryParameters,
|
|
4078
|
-
body: CopyAppRequestToJSON(requestParameters['
|
|
5008
|
+
body: CopyAppRequestToJSON(requestParameters['body']),
|
|
4079
5009
|
}, initOverrides);
|
|
4080
5010
|
return new JSONApiResponse(response, (jsonValue) => CopyApp200ResponseFromJSON(jsonValue));
|
|
4081
5011
|
}
|
|
4082
5012
|
/**
|
|
4083
|
-
*
|
|
4084
|
-
* Copy an app
|
|
5013
|
+
* Copy an existing application
|
|
4085
5014
|
*/
|
|
4086
5015
|
async copyApp(requestParameters, initOverrides) {
|
|
4087
5016
|
const response = await this.copyAppRaw(requestParameters, initOverrides);
|
|
@@ -4113,6 +5042,35 @@ class AppsApi extends BaseAPI {
|
|
|
4113
5042
|
const response = await this.createAppRaw(requestParameters, initOverrides);
|
|
4114
5043
|
return await response.value();
|
|
4115
5044
|
}
|
|
5045
|
+
/**
|
|
5046
|
+
* Delete an application by ID
|
|
5047
|
+
*/
|
|
5048
|
+
async deleteAppRaw(requestParameters, initOverrides) {
|
|
5049
|
+
if (requestParameters['appId'] == null) {
|
|
5050
|
+
throw new RequiredError('appId', 'Required parameter "appId" was null or undefined when calling deleteApp().');
|
|
5051
|
+
}
|
|
5052
|
+
if (requestParameters['body'] == null) {
|
|
5053
|
+
throw new RequiredError('body', 'Required parameter "body" was null or undefined when calling deleteApp().');
|
|
5054
|
+
}
|
|
5055
|
+
const queryParameters = {};
|
|
5056
|
+
const headerParameters = {};
|
|
5057
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5058
|
+
const response = await this.request({
|
|
5059
|
+
path: `/apps/{appId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters['appId']))),
|
|
5060
|
+
method: 'DELETE',
|
|
5061
|
+
headers: headerParameters,
|
|
5062
|
+
query: queryParameters,
|
|
5063
|
+
body: DeleteAppRequestToJSON(requestParameters['body']),
|
|
5064
|
+
}, initOverrides);
|
|
5065
|
+
return new JSONApiResponse(response, (jsonValue) => DeleteApp200ResponseFromJSON(jsonValue));
|
|
5066
|
+
}
|
|
5067
|
+
/**
|
|
5068
|
+
* Delete an application by ID
|
|
5069
|
+
*/
|
|
5070
|
+
async deleteApp(requestParameters, initOverrides) {
|
|
5071
|
+
const response = await this.deleteAppRaw(requestParameters, initOverrides);
|
|
5072
|
+
return await response.value();
|
|
5073
|
+
}
|
|
4116
5074
|
/**
|
|
4117
5075
|
* Get an app by ID
|
|
4118
5076
|
*/
|
|
@@ -4376,16 +5334,79 @@ class DocumentTemplatesApi extends BaseAPI {
|
|
|
4376
5334
|
*/
|
|
4377
5335
|
class FieldsApi extends BaseAPI {
|
|
4378
5336
|
/**
|
|
4379
|
-
*
|
|
4380
|
-
* Get field
|
|
5337
|
+
* Create a new field in a table
|
|
4381
5338
|
*/
|
|
4382
|
-
async
|
|
5339
|
+
async createFieldRaw(requestParameters, initOverrides) {
|
|
4383
5340
|
if (requestParameters['tableId'] == null) {
|
|
4384
|
-
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling
|
|
5341
|
+
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling createField().');
|
|
5342
|
+
}
|
|
5343
|
+
if (requestParameters['body'] == null) {
|
|
5344
|
+
throw new RequiredError('body', 'Required parameter "body" was null or undefined when calling createField().');
|
|
5345
|
+
}
|
|
5346
|
+
const queryParameters = {};
|
|
5347
|
+
if (requestParameters['tableId'] != null) {
|
|
5348
|
+
queryParameters['tableId'] = requestParameters['tableId'];
|
|
5349
|
+
}
|
|
5350
|
+
const headerParameters = {};
|
|
5351
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5352
|
+
const response = await this.request({
|
|
5353
|
+
path: `/fields`,
|
|
5354
|
+
method: 'POST',
|
|
5355
|
+
headers: headerParameters,
|
|
5356
|
+
query: queryParameters,
|
|
5357
|
+
body: CreateFieldRequestToJSON(requestParameters['body']),
|
|
5358
|
+
}, initOverrides);
|
|
5359
|
+
return new JSONApiResponse(response, (jsonValue) => CreateField200ResponseFromJSON(jsonValue));
|
|
5360
|
+
}
|
|
5361
|
+
/**
|
|
5362
|
+
* Create a new field in a table
|
|
5363
|
+
*/
|
|
5364
|
+
async createField(requestParameters, initOverrides) {
|
|
5365
|
+
const response = await this.createFieldRaw(requestParameters, initOverrides);
|
|
5366
|
+
return await response.value();
|
|
5367
|
+
}
|
|
5368
|
+
/**
|
|
5369
|
+
* Delete fields from a table
|
|
5370
|
+
*/
|
|
5371
|
+
async deleteFieldsRaw(requestParameters, initOverrides) {
|
|
5372
|
+
if (requestParameters['tableId'] == null) {
|
|
5373
|
+
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling deleteFields().');
|
|
5374
|
+
}
|
|
5375
|
+
if (requestParameters['body'] == null) {
|
|
5376
|
+
throw new RequiredError('body', 'Required parameter "body" was null or undefined when calling deleteFields().');
|
|
5377
|
+
}
|
|
5378
|
+
const queryParameters = {};
|
|
5379
|
+
if (requestParameters['tableId'] != null) {
|
|
5380
|
+
queryParameters['tableId'] = requestParameters['tableId'];
|
|
4385
5381
|
}
|
|
5382
|
+
const headerParameters = {};
|
|
5383
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5384
|
+
const response = await this.request({
|
|
5385
|
+
path: `/fields`,
|
|
5386
|
+
method: 'DELETE',
|
|
5387
|
+
headers: headerParameters,
|
|
5388
|
+
query: queryParameters,
|
|
5389
|
+
body: DeleteFieldsRequestToJSON(requestParameters['body']),
|
|
5390
|
+
}, initOverrides);
|
|
5391
|
+
return new JSONApiResponse(response, (jsonValue) => DeleteFields200ResponseFromJSON(jsonValue));
|
|
5392
|
+
}
|
|
5393
|
+
/**
|
|
5394
|
+
* Delete fields from a table
|
|
5395
|
+
*/
|
|
5396
|
+
async deleteFields(requestParameters, initOverrides) {
|
|
5397
|
+
const response = await this.deleteFieldsRaw(requestParameters, initOverrides);
|
|
5398
|
+
return await response.value();
|
|
5399
|
+
}
|
|
5400
|
+
/**
|
|
5401
|
+
* Get the properties of an individual field by ID
|
|
5402
|
+
*/
|
|
5403
|
+
async getFieldRaw(requestParameters, initOverrides) {
|
|
4386
5404
|
if (requestParameters['fieldId'] == null) {
|
|
4387
5405
|
throw new RequiredError('fieldId', 'Required parameter "fieldId" was null or undefined when calling getField().');
|
|
4388
5406
|
}
|
|
5407
|
+
if (requestParameters['tableId'] == null) {
|
|
5408
|
+
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling getField().');
|
|
5409
|
+
}
|
|
4389
5410
|
const queryParameters = {};
|
|
4390
5411
|
if (requestParameters['tableId'] != null) {
|
|
4391
5412
|
queryParameters['tableId'] = requestParameters['tableId'];
|
|
@@ -4400,43 +5421,45 @@ class FieldsApi extends BaseAPI {
|
|
|
4400
5421
|
headers: headerParameters,
|
|
4401
5422
|
query: queryParameters,
|
|
4402
5423
|
}, initOverrides);
|
|
4403
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
5424
|
+
return new JSONApiResponse(response, (jsonValue) => FieldFromJSON(jsonValue));
|
|
4404
5425
|
}
|
|
4405
5426
|
/**
|
|
4406
|
-
*
|
|
4407
|
-
* Get field
|
|
5427
|
+
* Get the properties of an individual field by ID
|
|
4408
5428
|
*/
|
|
4409
5429
|
async getField(requestParameters, initOverrides) {
|
|
4410
5430
|
const response = await this.getFieldRaw(requestParameters, initOverrides);
|
|
4411
5431
|
return await response.value();
|
|
4412
5432
|
}
|
|
4413
5433
|
/**
|
|
4414
|
-
*
|
|
4415
|
-
* Get usage for a field
|
|
5434
|
+
* Retrieve usage statistics for a specific field, summarizing where it is referenced across QuickBase features such as reports, forms, and pipelines.
|
|
5435
|
+
* Get usage statistics for a single field
|
|
4416
5436
|
*/
|
|
4417
5437
|
async getFieldUsageRaw(requestParameters, initOverrides) {
|
|
4418
|
-
if (requestParameters['tableId'] == null) {
|
|
4419
|
-
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling getFieldUsage().');
|
|
4420
|
-
}
|
|
4421
5438
|
if (requestParameters['fieldId'] == null) {
|
|
4422
5439
|
throw new RequiredError('fieldId', 'Required parameter "fieldId" was null or undefined when calling getFieldUsage().');
|
|
4423
5440
|
}
|
|
5441
|
+
if (requestParameters['tableId'] == null) {
|
|
5442
|
+
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling getFieldUsage().');
|
|
5443
|
+
}
|
|
4424
5444
|
const queryParameters = {};
|
|
4425
5445
|
if (requestParameters['tableId'] != null) {
|
|
4426
5446
|
queryParameters['tableId'] = requestParameters['tableId'];
|
|
4427
5447
|
}
|
|
4428
5448
|
const headerParameters = {};
|
|
5449
|
+
if (requestParameters['userAgent'] != null) {
|
|
5450
|
+
headerParameters['User-Agent'] = String(requestParameters['userAgent']);
|
|
5451
|
+
}
|
|
4429
5452
|
const response = await this.request({
|
|
4430
5453
|
path: `/fields/usage/{fieldId}`.replace(`{${"fieldId"}}`, encodeURIComponent(String(requestParameters['fieldId']))),
|
|
4431
5454
|
method: 'GET',
|
|
4432
5455
|
headers: headerParameters,
|
|
4433
5456
|
query: queryParameters,
|
|
4434
5457
|
}, initOverrides);
|
|
4435
|
-
return new JSONApiResponse(response);
|
|
5458
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(FieldUsageFromJSON));
|
|
4436
5459
|
}
|
|
4437
5460
|
/**
|
|
4438
|
-
*
|
|
4439
|
-
* Get usage for a field
|
|
5461
|
+
* Retrieve usage statistics for a specific field, summarizing where it is referenced across QuickBase features such as reports, forms, and pipelines.
|
|
5462
|
+
* Get usage statistics for a single field
|
|
4440
5463
|
*/
|
|
4441
5464
|
async getFieldUsage(requestParameters, initOverrides) {
|
|
4442
5465
|
const response = await this.getFieldUsageRaw(requestParameters, initOverrides);
|
|
@@ -4473,8 +5496,7 @@ class FieldsApi extends BaseAPI {
|
|
|
4473
5496
|
return await response.value();
|
|
4474
5497
|
}
|
|
4475
5498
|
/**
|
|
4476
|
-
* Get
|
|
4477
|
-
* Get usage for all fields
|
|
5499
|
+
* Get usage statistics for all fields in a table
|
|
4478
5500
|
*/
|
|
4479
5501
|
async getFieldsUsageRaw(requestParameters, initOverrides) {
|
|
4480
5502
|
if (requestParameters['tableId'] == null) {
|
|
@@ -4497,50 +5519,15 @@ class FieldsApi extends BaseAPI {
|
|
|
4497
5519
|
headers: headerParameters,
|
|
4498
5520
|
query: queryParameters,
|
|
4499
5521
|
}, initOverrides);
|
|
4500
|
-
return new JSONApiResponse(response);
|
|
5522
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(FieldUsageFromJSON));
|
|
4501
5523
|
}
|
|
4502
5524
|
/**
|
|
4503
|
-
* Get
|
|
4504
|
-
* Get usage for all fields
|
|
5525
|
+
* Get usage statistics for all fields in a table
|
|
4505
5526
|
*/
|
|
4506
5527
|
async getFieldsUsage(requestParameters, initOverrides) {
|
|
4507
5528
|
const response = await this.getFieldsUsageRaw(requestParameters, initOverrides);
|
|
4508
5529
|
return await response.value();
|
|
4509
5530
|
}
|
|
4510
|
-
/**
|
|
4511
|
-
* Updates the properties and custom permissions of a field. The attempt to update certain properties might cause existing data to no longer obey the field’s new properties and may be rejected. See the descriptions of required, unique, and choices, below, for specific situations. Any properties of the field that you do not specify in the request body will remain unchanged.
|
|
4512
|
-
* Update a field
|
|
4513
|
-
*/
|
|
4514
|
-
async updateFieldRaw(requestParameters, initOverrides) {
|
|
4515
|
-
if (requestParameters['tableId'] == null) {
|
|
4516
|
-
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling updateField().');
|
|
4517
|
-
}
|
|
4518
|
-
if (requestParameters['fieldId'] == null) {
|
|
4519
|
-
throw new RequiredError('fieldId', 'Required parameter "fieldId" was null or undefined when calling updateField().');
|
|
4520
|
-
}
|
|
4521
|
-
const queryParameters = {};
|
|
4522
|
-
if (requestParameters['tableId'] != null) {
|
|
4523
|
-
queryParameters['tableId'] = requestParameters['tableId'];
|
|
4524
|
-
}
|
|
4525
|
-
const headerParameters = {};
|
|
4526
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
4527
|
-
const response = await this.request({
|
|
4528
|
-
path: `/fields/{fieldId}`.replace(`{${"fieldId"}}`, encodeURIComponent(String(requestParameters['fieldId']))),
|
|
4529
|
-
method: 'POST',
|
|
4530
|
-
headers: headerParameters,
|
|
4531
|
-
query: queryParameters,
|
|
4532
|
-
body: UpdateFieldRequestToJSON(requestParameters['generated']),
|
|
4533
|
-
}, initOverrides);
|
|
4534
|
-
return new JSONApiResponse(response, (jsonValue) => GetField200ResponseFromJSON(jsonValue));
|
|
4535
|
-
}
|
|
4536
|
-
/**
|
|
4537
|
-
* Updates the properties and custom permissions of a field. The attempt to update certain properties might cause existing data to no longer obey the field’s new properties and may be rejected. See the descriptions of required, unique, and choices, below, for specific situations. Any properties of the field that you do not specify in the request body will remain unchanged.
|
|
4538
|
-
* Update a field
|
|
4539
|
-
*/
|
|
4540
|
-
async updateField(requestParameters, initOverrides) {
|
|
4541
|
-
const response = await this.updateFieldRaw(requestParameters, initOverrides);
|
|
4542
|
-
return await response.value();
|
|
4543
|
-
}
|
|
4544
5531
|
}
|
|
4545
5532
|
|
|
4546
5533
|
/* tslint:disable */
|
|
@@ -4846,6 +5833,52 @@ class RecordsApi extends BaseAPI {
|
|
|
4846
5833
|
}
|
|
4847
5834
|
}
|
|
4848
5835
|
|
|
5836
|
+
/* tslint:disable */
|
|
5837
|
+
/* eslint-disable */
|
|
5838
|
+
/**
|
|
5839
|
+
* Quick Base API
|
|
5840
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5841
|
+
*
|
|
5842
|
+
* The version of the OpenAPI document: 1.0.0
|
|
5843
|
+
*
|
|
5844
|
+
*
|
|
5845
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5846
|
+
* https://openapi-generator.tech
|
|
5847
|
+
* Do not edit the class manually.
|
|
5848
|
+
*/
|
|
5849
|
+
/**
|
|
5850
|
+
*
|
|
5851
|
+
*/
|
|
5852
|
+
class RelationshipsApi extends BaseAPI {
|
|
5853
|
+
/**
|
|
5854
|
+
* Get relationships for a table
|
|
5855
|
+
*/
|
|
5856
|
+
async getRelationshipsRaw(requestParameters, initOverrides) {
|
|
5857
|
+
if (requestParameters['tableId'] == null) {
|
|
5858
|
+
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling getRelationships().');
|
|
5859
|
+
}
|
|
5860
|
+
const queryParameters = {};
|
|
5861
|
+
if (requestParameters['skip'] != null) {
|
|
5862
|
+
queryParameters['skip'] = requestParameters['skip'];
|
|
5863
|
+
}
|
|
5864
|
+
const headerParameters = {};
|
|
5865
|
+
const response = await this.request({
|
|
5866
|
+
path: `/tables/{tableId}/relationships`.replace(`{${"tableId"}}`, encodeURIComponent(String(requestParameters['tableId']))),
|
|
5867
|
+
method: 'GET',
|
|
5868
|
+
headers: headerParameters,
|
|
5869
|
+
query: queryParameters,
|
|
5870
|
+
}, initOverrides);
|
|
5871
|
+
return new JSONApiResponse(response, (jsonValue) => GetRelationships200ResponseFromJSON(jsonValue));
|
|
5872
|
+
}
|
|
5873
|
+
/**
|
|
5874
|
+
* Get relationships for a table
|
|
5875
|
+
*/
|
|
5876
|
+
async getRelationships(requestParameters, initOverrides) {
|
|
5877
|
+
const response = await this.getRelationshipsRaw(requestParameters, initOverrides);
|
|
5878
|
+
return await response.value();
|
|
5879
|
+
}
|
|
5880
|
+
}
|
|
5881
|
+
|
|
4849
5882
|
/* tslint:disable */
|
|
4850
5883
|
/* eslint-disable */
|
|
4851
5884
|
/**
|
|
@@ -5438,35 +6471,6 @@ class TablesApi extends BaseAPI {
|
|
|
5438
6471
|
const response = await this.getAppTablesRaw(requestParameters, initOverrides);
|
|
5439
6472
|
return await response.value();
|
|
5440
6473
|
}
|
|
5441
|
-
/**
|
|
5442
|
-
* Get a list of all relationships, and their definitions, for a specific table. Details are provided for the child side of relationships within a given application. Limited details are returned for cross-application relationships.
|
|
5443
|
-
* Get all relationships
|
|
5444
|
-
*/
|
|
5445
|
-
async getRelationshipsRaw(requestParameters, initOverrides) {
|
|
5446
|
-
if (requestParameters['tableId'] == null) {
|
|
5447
|
-
throw new RequiredError('tableId', 'Required parameter "tableId" was null or undefined when calling getRelationships().');
|
|
5448
|
-
}
|
|
5449
|
-
const queryParameters = {};
|
|
5450
|
-
if (requestParameters['skip'] != null) {
|
|
5451
|
-
queryParameters['skip'] = requestParameters['skip'];
|
|
5452
|
-
}
|
|
5453
|
-
const headerParameters = {};
|
|
5454
|
-
const response = await this.request({
|
|
5455
|
-
path: `/tables/{tableId}/relationships`.replace(`{${"tableId"}}`, encodeURIComponent(String(requestParameters['tableId']))),
|
|
5456
|
-
method: 'GET',
|
|
5457
|
-
headers: headerParameters,
|
|
5458
|
-
query: queryParameters,
|
|
5459
|
-
}, initOverrides);
|
|
5460
|
-
return new JSONApiResponse(response, (jsonValue) => GetRelationships200ResponseFromJSON(jsonValue));
|
|
5461
|
-
}
|
|
5462
|
-
/**
|
|
5463
|
-
* Get a list of all relationships, and their definitions, for a specific table. Details are provided for the child side of relationships within a given application. Limited details are returned for cross-application relationships.
|
|
5464
|
-
* Get all relationships
|
|
5465
|
-
*/
|
|
5466
|
-
async getRelationships(requestParameters, initOverrides) {
|
|
5467
|
-
const response = await this.getRelationshipsRaw(requestParameters, initOverrides);
|
|
5468
|
-
return await response.value();
|
|
5469
|
-
}
|
|
5470
6474
|
/**
|
|
5471
6475
|
* Get a table by ID
|
|
5472
6476
|
*/
|
|
@@ -5996,6 +7000,7 @@ var apis = /*#__PURE__*/Object.freeze({
|
|
|
5996
7000
|
FormulasApi: FormulasApi,
|
|
5997
7001
|
PlatformAnalyticsApi: PlatformAnalyticsApi,
|
|
5998
7002
|
RecordsApi: RecordsApi,
|
|
7003
|
+
RelationshipsApi: RelationshipsApi,
|
|
5999
7004
|
ReportsApi: ReportsApi,
|
|
6000
7005
|
SolutionsApi: SolutionsApi,
|
|
6001
7006
|
TablesApi: TablesApi,
|
|
@@ -6065,22 +7070,22 @@ function quickbase(config) {
|
|
|
6065
7070
|
const { realm, userToken, tempToken: initialTempToken, useTempTokens, fetchApi, debug, } = config;
|
|
6066
7071
|
const baseUrl = `https://api.quickbase.com/v1`;
|
|
6067
7072
|
const tokenCache = new TokenCache();
|
|
6068
|
-
const
|
|
7073
|
+
const baseHeaders = {
|
|
6069
7074
|
"QB-Realm-Hostname": `${realm}.quickbase.com`,
|
|
6070
7075
|
"Content-Type": "application/json",
|
|
6071
7076
|
};
|
|
6072
7077
|
if (initialTempToken) {
|
|
6073
|
-
|
|
7078
|
+
baseHeaders["Authorization"] = `QB-TEMP-TOKEN ${initialTempToken}`;
|
|
6074
7079
|
}
|
|
6075
7080
|
else if (userToken && !useTempTokens) {
|
|
6076
|
-
|
|
7081
|
+
baseHeaders["Authorization"] = `QB-USER-TOKEN ${userToken}`;
|
|
6077
7082
|
}
|
|
6078
7083
|
const defaultFetch = typeof globalThis.window !== "undefined"
|
|
6079
7084
|
? globalThis.window.fetch.bind(globalThis.window)
|
|
6080
7085
|
: undefined;
|
|
6081
7086
|
const configuration = new Configuration({
|
|
6082
7087
|
basePath: baseUrl,
|
|
6083
|
-
headers: { ...
|
|
7088
|
+
headers: { ...baseHeaders },
|
|
6084
7089
|
fetchApi: fetchApi || defaultFetch,
|
|
6085
7090
|
credentials: useTempTokens ? "include" : "omit",
|
|
6086
7091
|
});
|
|
@@ -6125,7 +7130,7 @@ function quickbase(config) {
|
|
|
6125
7130
|
}
|
|
6126
7131
|
const response = await effectiveFetch(`https://api.quickbase.com/v1/auth/temporary/${dbid}`, {
|
|
6127
7132
|
method: "GET",
|
|
6128
|
-
headers: { ...
|
|
7133
|
+
headers: { ...baseHeaders },
|
|
6129
7134
|
credentials: "include",
|
|
6130
7135
|
});
|
|
6131
7136
|
if (!response.ok) {
|
|
@@ -6143,16 +7148,17 @@ function quickbase(config) {
|
|
|
6143
7148
|
}
|
|
6144
7149
|
return token;
|
|
6145
7150
|
};
|
|
6146
|
-
|
|
7151
|
+
async function invokeMethod(methodName, params, retryCount = 0) {
|
|
6147
7152
|
const methodInfo = methodMap[methodName];
|
|
6148
7153
|
if (!methodInfo) {
|
|
6149
7154
|
throw new Error(`Method ${methodName} not found`);
|
|
6150
7155
|
}
|
|
6151
|
-
const
|
|
7156
|
+
const requestParameters = methodInfo.paramMap.length === 1 &&
|
|
6152
7157
|
methodInfo.paramMap[0] === "requestParameters"
|
|
6153
|
-
?
|
|
6154
|
-
:
|
|
6155
|
-
let
|
|
7158
|
+
? { requestParameters: params }
|
|
7159
|
+
: params;
|
|
7160
|
+
let requestOptions = {};
|
|
7161
|
+
const selectedToken = initialTempToken || (userToken && !useTempTokens ? userToken : undefined);
|
|
6156
7162
|
if (methodName === "getTempTokenDBID" && useTempTokens) {
|
|
6157
7163
|
const dbid = extractDbid(params, "No dbid provided for getTempTokenDBID");
|
|
6158
7164
|
const cachedToken = tokenCache.get(dbid);
|
|
@@ -6160,46 +7166,41 @@ function quickbase(config) {
|
|
|
6160
7166
|
return { temporaryAuthorization: cachedToken };
|
|
6161
7167
|
}
|
|
6162
7168
|
}
|
|
6163
|
-
|
|
7169
|
+
let authorizationToken = selectedToken;
|
|
7170
|
+
if (useTempTokens && !authorizationToken) {
|
|
6164
7171
|
const dbid = extractDbid(params, `No dbid found in params for ${methodName} to fetch temp token`);
|
|
6165
7172
|
const cachedToken = tokenCache.get(dbid);
|
|
6166
|
-
|
|
6167
|
-
|
|
7173
|
+
authorizationToken = cachedToken || (await fetchTempToken(dbid));
|
|
7174
|
+
if (methodName === "getTempTokenDBID") {
|
|
7175
|
+
return { temporaryAuthorization: authorizationToken };
|
|
6168
7176
|
}
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
args[1] = {
|
|
6179
|
-
headers: {
|
|
6180
|
-
...headers,
|
|
6181
|
-
Authorization: `QB-TEMP-TOKEN ${token}`,
|
|
6182
|
-
},
|
|
7177
|
+
requestOptions.headers = {
|
|
7178
|
+
...baseHeaders,
|
|
7179
|
+
Authorization: `QB-TEMP-TOKEN ${authorizationToken}`,
|
|
7180
|
+
};
|
|
7181
|
+
}
|
|
7182
|
+
else if (authorizationToken) {
|
|
7183
|
+
requestOptions.headers = {
|
|
7184
|
+
...baseHeaders,
|
|
7185
|
+
Authorization: `QB-USER-TOKEN ${authorizationToken}`,
|
|
6183
7186
|
};
|
|
6184
7187
|
}
|
|
6185
7188
|
try {
|
|
6186
|
-
|
|
6187
|
-
return response;
|
|
7189
|
+
return await methodInfo.method(requestParameters, requestOptions);
|
|
6188
7190
|
}
|
|
6189
7191
|
catch (error) {
|
|
6190
7192
|
if (error instanceof ResponseError &&
|
|
6191
7193
|
error.response.status === 401 &&
|
|
6192
|
-
retryCount < 1
|
|
7194
|
+
retryCount < 1 &&
|
|
7195
|
+
useTempTokens) {
|
|
6193
7196
|
if (debug) {
|
|
6194
7197
|
console.log(`Authorization error for ${methodName}, refreshing token:`, error.message);
|
|
6195
7198
|
}
|
|
6196
7199
|
const dbid = extractDbid(params, `No dbid to refresh token after authorization error`);
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
Authorization: `QB-TEMP-TOKEN ${token}`,
|
|
6202
|
-
},
|
|
7200
|
+
authorizationToken = await fetchTempToken(dbid);
|
|
7201
|
+
requestOptions.headers = {
|
|
7202
|
+
...baseHeaders,
|
|
7203
|
+
Authorization: `QB-TEMP-TOKEN ${authorizationToken}`,
|
|
6203
7204
|
};
|
|
6204
7205
|
if (debug) {
|
|
6205
7206
|
console.log(`Retrying ${methodName} with new token`);
|
|
@@ -6222,7 +7223,7 @@ function quickbase(config) {
|
|
|
6222
7223
|
}
|
|
6223
7224
|
throw error;
|
|
6224
7225
|
}
|
|
6225
|
-
}
|
|
7226
|
+
}
|
|
6226
7227
|
const proxy = new Proxy({}, {
|
|
6227
7228
|
get: (_, prop) => {
|
|
6228
7229
|
if (prop in methodMap) {
|
|
@@ -6235,5 +7236,5 @@ function quickbase(config) {
|
|
|
6235
7236
|
return proxy;
|
|
6236
7237
|
}
|
|
6237
7238
|
|
|
6238
|
-
export { AddMembersToGroup200ResponseFromJSON, AddMembersToGroup200ResponseFromJSONTyped, AddMembersToGroup200ResponseToJSON, AddMembersToGroup200ResponseToJSONTyped, AddSubgroupsToGroup200ResponseFromJSON, AddSubgroupsToGroup200ResponseFromJSONTyped, AddSubgroupsToGroup200ResponseToJSON, AddSubgroupsToGroup200ResponseToJSONTyped, AppFromJSON, AppFromJSONTyped, AppMemoryInfoFromJSON, AppMemoryInfoFromJSONTyped, AppMemoryInfoToJSON, AppMemoryInfoToJSONTyped, AppSecurityPropertiesFromJSON, AppSecurityPropertiesFromJSONTyped, AppSecurityPropertiesToJSON, AppSecurityPropertiesToJSONTyped, AppToJSON, AppToJSONTyped, Audit200ResponseFromJSON, Audit200ResponseFromJSONTyped, Audit200ResponseToJSON, Audit200ResponseToJSONTyped, Audit202ResponseFromJSON, Audit202ResponseFromJSONTyped, Audit202ResponseToJSON, Audit202ResponseToJSONTyped, AuditRequestFromJSON, AuditRequestFromJSONTyped, AuditRequestToJSON, AuditRequestToJSONTyped, CloneUserToken200ResponseFromJSON, CloneUserToken200ResponseFromJSONTyped, CloneUserToken200ResponseToJSON, CloneUserToken200ResponseToJSONTyped, CloneUserTokenRequestFromJSON, CloneUserTokenRequestFromJSONTyped, CloneUserTokenRequestToJSON, CloneUserTokenRequestToJSONTyped, CopyApp200ResponseFromJSON, CopyApp200ResponseFromJSONTyped, CopyApp200ResponseToJSON, CopyApp200ResponseToJSONTyped, CopyAppRequestFromJSON, CopyAppRequestFromJSONTyped, CopyAppRequestToJSON, CopyAppRequestToJSONTyped, CreateApp200ResponseFromJSON, CreateApp200ResponseFromJSONTyped, CreateApp200ResponseToJSON, CreateApp200ResponseToJSONTyped, CreateAppRequestFromJSON, CreateAppRequestFromJSONTyped, CreateAppRequestToJSON, CreateAppRequestToJSONTyped, CreateAppRequestVariablesInnerFromJSON, CreateAppRequestVariablesInnerFromJSONTyped, CreateAppRequestVariablesInnerToJSON, CreateAppRequestVariablesInnerToJSONTyped, CreateRelationship200ResponseFromJSON, CreateRelationship200ResponseFromJSONTyped, CreateRelationship200ResponseToJSON, CreateRelationship200ResponseToJSONTyped, CreateRelationshipRequestFromJSON, CreateRelationshipRequestFromJSONTyped, CreateRelationshipRequestToJSON, CreateRelationshipRequestToJSONTyped, CreateTableRequestFromJSON, CreateTableRequestFromJSONTyped, CreateTableRequestToJSON, CreateTableRequestToJSONTyped, DeactivateUserToken200ResponseFromJSON, DeactivateUserToken200ResponseFromJSONTyped, DeactivateUserToken200ResponseToJSON, DeactivateUserToken200ResponseToJSONTyped, DeleteFile200ResponseFromJSON, DeleteFile200ResponseFromJSONTyped, DeleteFile200ResponseToJSON, DeleteFile200ResponseToJSONTyped, DeleteRecords200ResponseFromJSON, DeleteRecords200ResponseFromJSONTyped, DeleteRecords200ResponseToJSON, DeleteRecords200ResponseToJSONTyped, DeleteRecordsRequestFromJSON, DeleteRecordsRequestFromJSONTyped, DeleteRecordsRequestToJSON, DeleteRecordsRequestToJSONTyped, DeleteRelationship200ResponseFromJSON, DeleteRelationship200ResponseFromJSONTyped, DeleteRelationship200ResponseToJSON, DeleteRelationship200ResponseToJSONTyped, DeleteTableResponseFromJSON, DeleteTableResponseFromJSONTyped, DeleteTableResponseToJSON, DeleteTableResponseToJSONTyped, DenyUsers200ResponseFromJSON, DenyUsers200ResponseFromJSONTyped, DenyUsers200ResponseToJSON, DenyUsers200ResponseToJSONTyped, ExchangeSsoToken200ResponseFromJSON, ExchangeSsoToken200ResponseFromJSONTyped, ExchangeSsoToken200ResponseIssuedTokenTypeEnum, ExchangeSsoToken200ResponseToJSON, ExchangeSsoToken200ResponseToJSONTyped, ExchangeSsoToken200ResponseTokenTypeEnum, ExchangeSsoTokenRequestFromJSON, ExchangeSsoTokenRequestFromJSONTyped, ExchangeSsoTokenRequestGrantTypeEnum, ExchangeSsoTokenRequestRequestedTokenTypeEnum, ExchangeSsoTokenRequestSubjectTokenTypeEnum, ExchangeSsoTokenRequestToJSON, ExchangeSsoTokenRequestToJSONTyped, FieldFromJSON, FieldFromJSONTyped, FieldPermissionsInnerFromJSON, FieldPermissionsInnerFromJSONTyped, FieldPermissionsInnerToJSON, FieldPermissionsInnerToJSONTyped, FieldPropertiesFromJSON, FieldPropertiesFromJSONTyped, FieldPropertiesToJSON, FieldPropertiesToJSONTyped, FieldToJSON, FieldToJSONTyped, GenerateDocument200ResponseFromJSON, GenerateDocument200ResponseFromJSONTyped, GenerateDocument200ResponseToJSON, GenerateDocument200ResponseToJSONTyped, GetField200ResponseFromJSON, GetField200ResponseFromJSONTyped, GetField200ResponseToJSON, GetField200ResponseToJSONTyped, GetRelationships200ResponseFromJSON, GetRelationships200ResponseFromJSONTyped, GetRelationships200ResponseToJSON, GetRelationships200ResponseToJSONTyped, GetReport200ResponseFromJSON, GetReport200ResponseFromJSONTyped, GetReport200ResponseToJSON, GetReport200ResponseToJSONTyped, GetTempTokenDBID200ResponseFromJSON, GetTempTokenDBID200ResponseFromJSONTyped, GetTempTokenDBID200ResponseToJSON, GetTempTokenDBID200ResponseToJSONTyped, GetUsers200ResponseFromJSON, GetUsers200ResponseFromJSONTyped, GetUsers200ResponseToJSON, GetUsers200ResponseToJSONTyped, GetUsersRequestFromJSON, GetUsersRequestFromJSONTyped, GetUsersRequestToJSON, GetUsersRequestToJSONTyped, PlatformAnalyticEventSummaries200ResponseFromJSON, PlatformAnalyticEventSummaries200ResponseFromJSONTyped, PlatformAnalyticEventSummaries200ResponseGroupByEnum, PlatformAnalyticEventSummaries200ResponseMetadataFromJSON, PlatformAnalyticEventSummaries200ResponseMetadataFromJSONTyped, PlatformAnalyticEventSummaries200ResponseMetadataToJSON, PlatformAnalyticEventSummaries200ResponseMetadataToJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerBillingCategoryEnum, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerFromJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerFromJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerToJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerToJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerFromJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerFromJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerToJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerToJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsFromJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsFromJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsToJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsToJSONTyped, PlatformAnalyticEventSummaries200ResponseToJSON, PlatformAnalyticEventSummaries200ResponseToJSONTyped, PlatformAnalyticEventSummaries200ResponseTotalsFromJSON, PlatformAnalyticEventSummaries200ResponseTotalsFromJSONTyped, PlatformAnalyticEventSummaries200ResponseTotalsToJSON, PlatformAnalyticEventSummaries200ResponseTotalsToJSONTyped, PlatformAnalyticEventSummaries200ResponseWhereInnerFromJSON, PlatformAnalyticEventSummaries200ResponseWhereInnerFromJSONTyped, PlatformAnalyticEventSummaries200ResponseWhereInnerToJSON, PlatformAnalyticEventSummaries200ResponseWhereInnerToJSONTyped, PlatformAnalyticEventSummaries200ResponseWhereInnerTypeEnum, PlatformAnalyticEventSummariesRequestFromJSON, PlatformAnalyticEventSummariesRequestFromJSONTyped, PlatformAnalyticEventSummariesRequestGroupByEnum, PlatformAnalyticEventSummariesRequestToJSON, PlatformAnalyticEventSummariesRequestToJSONTyped, PlatformAnalyticEventSummariesRequestWhereInnerFromJSON, PlatformAnalyticEventSummariesRequestWhereInnerFromJSONTyped, PlatformAnalyticEventSummariesRequestWhereInnerToJSON, PlatformAnalyticEventSummariesRequestWhereInnerToJSONTyped, PlatformAnalyticEventSummariesRequestWhereInnerTypeEnum, PlatformAnalyticReads200ResponseFromJSON, PlatformAnalyticReads200ResponseFromJSONTyped, PlatformAnalyticReads200ResponseToJSON, PlatformAnalyticReads200ResponseToJSONTyped, RecordFromJSON, RecordFromJSONTyped, RecordToJSON, RecordToJSONTyped, RemoveMembersFromGroup200ResponseFromJSON, RemoveMembersFromGroup200ResponseFromJSONTyped, RemoveMembersFromGroup200ResponseToJSON, RemoveMembersFromGroup200ResponseToJSONTyped, RemoveSubgroupsFromGroup200ResponseFromJSON, RemoveSubgroupsFromGroup200ResponseFromJSONTyped, RemoveSubgroupsFromGroup200ResponseToJSON, RemoveSubgroupsFromGroup200ResponseToJSONTyped, ReportRunResponseFromJSON, ReportRunResponseFromJSONTyped, ReportRunResponseToJSON, ReportRunResponseToJSONTyped, RunFormula200ResponseFromJSON, RunFormula200ResponseFromJSONTyped, RunFormula200ResponseToJSON, RunFormula200ResponseToJSONTyped, RunFormulaRequestFromJSON, RunFormulaRequestFromJSONTyped, RunFormulaRequestToJSON, RunFormulaRequestToJSONTyped, RunQueryRequestFromJSON, RunQueryRequestFromJSONTyped, RunQueryRequestGroupByInnerFromJSON, RunQueryRequestGroupByInnerFromJSONTyped, RunQueryRequestGroupByInnerGroupingEnum, RunQueryRequestGroupByInnerToJSON, RunQueryRequestGroupByInnerToJSONTyped, RunQueryRequestOptionsFromJSON, RunQueryRequestOptionsFromJSONTyped, RunQueryRequestOptionsToJSON, RunQueryRequestOptionsToJSONTyped, RunQueryRequestSortByInnerFromJSON, RunQueryRequestSortByInnerFromJSONTyped, RunQueryRequestSortByInnerOrderEnum, RunQueryRequestSortByInnerToJSON, RunQueryRequestSortByInnerToJSONTyped, RunQueryRequestToJSON, RunQueryRequestToJSONTyped, RunQueryResponseFieldsInnerFromJSON, RunQueryResponseFieldsInnerFromJSONTyped, RunQueryResponseFieldsInnerToJSON, RunQueryResponseFieldsInnerToJSONTyped, RunQueryResponseFromJSON, RunQueryResponseFromJSONTyped, RunQueryResponseMetadataFromJSON, RunQueryResponseMetadataFromJSONTyped, RunQueryResponseMetadataToJSON, RunQueryResponseMetadataToJSONTyped, RunQueryResponseToJSON, RunQueryResponseToJSONTyped, TableDefaultSortOrderEnum, TableFromJSON, TableFromJSONTyped, TableToJSON, TableToJSONTyped, TransferUserToken200ResponseFromJSON, TransferUserToken200ResponseFromJSONTyped, TransferUserToken200ResponseToJSON, TransferUserToken200ResponseToJSONTyped, TransferUserTokenRequestFromJSON, TransferUserTokenRequestFromJSONTyped, TransferUserTokenRequestToJSON, TransferUserTokenRequestToJSONTyped, UndenyUsers200ResponseFromJSON, UndenyUsers200ResponseFromJSONTyped, UndenyUsers200ResponseToJSON, UndenyUsers200ResponseToJSONTyped, UpdateFieldRequestFromJSON, UpdateFieldRequestFromJSONTyped, UpdateFieldRequestToJSON, UpdateFieldRequestToJSONTyped, UpdateRelationshipRequestFromJSON, UpdateRelationshipRequestFromJSONTyped, UpdateRelationshipRequestToJSON, UpdateRelationshipRequestToJSONTyped, UpdateTableRequestFromJSON, UpdateTableRequestFromJSONTyped, UpdateTableRequestToJSON, UpdateTableRequestToJSONTyped, Upsert200ResponseFromJSON, Upsert200ResponseFromJSONTyped, Upsert200ResponseMetadataFromJSON, Upsert200ResponseMetadataFromJSONTyped, Upsert200ResponseMetadataToJSON, Upsert200ResponseMetadataToJSONTyped, Upsert200ResponseToJSON, Upsert200ResponseToJSONTyped, Upsert207ResponseFromJSON, Upsert207ResponseFromJSONTyped, Upsert207ResponseMetadataFromJSON, Upsert207ResponseMetadataFromJSONTyped, Upsert207ResponseMetadataToJSON, Upsert207ResponseMetadataToJSONTyped, Upsert207ResponseToJSON, Upsert207ResponseToJSONTyped, UpsertRequestFromJSON, UpsertRequestFromJSONTyped, UpsertRequestToJSON, UpsertRequestToJSONTyped, instanceOfAddMembersToGroup200Response, instanceOfAddSubgroupsToGroup200Response, instanceOfApp, instanceOfAppMemoryInfo, instanceOfAppSecurityProperties, instanceOfAudit200Response, instanceOfAudit202Response, instanceOfAuditRequest, instanceOfCloneUserToken200Response, instanceOfCloneUserTokenRequest, instanceOfCopyApp200Response, instanceOfCopyAppRequest, instanceOfCreateApp200Response, instanceOfCreateAppRequest, instanceOfCreateAppRequestVariablesInner, instanceOfCreateRelationship200Response, instanceOfCreateRelationshipRequest, instanceOfCreateTableRequest, instanceOfDeactivateUserToken200Response, instanceOfDeleteFile200Response, instanceOfDeleteRecords200Response, instanceOfDeleteRecordsRequest, instanceOfDeleteRelationship200Response, instanceOfDeleteTableResponse, instanceOfDenyUsers200Response, instanceOfExchangeSsoToken200Response, instanceOfExchangeSsoTokenRequest, instanceOfField, instanceOfFieldPermissionsInner, instanceOfFieldProperties, instanceOfGenerateDocument200Response, instanceOfGetField200Response, instanceOfGetRelationships200Response, instanceOfGetReport200Response, instanceOfGetTempTokenDBID200Response, instanceOfGetUsers200Response, instanceOfGetUsersRequest, instanceOfPlatformAnalyticEventSummaries200Response, instanceOfPlatformAnalyticEventSummaries200ResponseMetadata, instanceOfPlatformAnalyticEventSummaries200ResponseResultsInner, instanceOfPlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInner, instanceOfPlatformAnalyticEventSummaries200ResponseResultsInnerTotals, instanceOfPlatformAnalyticEventSummaries200ResponseTotals, instanceOfPlatformAnalyticEventSummaries200ResponseWhereInner, instanceOfPlatformAnalyticEventSummariesRequest, instanceOfPlatformAnalyticEventSummariesRequestWhereInner, instanceOfPlatformAnalyticReads200Response, instanceOfRecord, instanceOfRemoveMembersFromGroup200Response, instanceOfRemoveSubgroupsFromGroup200Response, instanceOfReportRunResponse, instanceOfRunFormula200Response, instanceOfRunFormulaRequest, instanceOfRunQueryRequest, instanceOfRunQueryRequestGroupByInner, instanceOfRunQueryRequestOptions, instanceOfRunQueryRequestSortByInner, instanceOfRunQueryResponse, instanceOfRunQueryResponseFieldsInner, instanceOfRunQueryResponseMetadata, instanceOfTable, instanceOfTransferUserToken200Response, instanceOfTransferUserTokenRequest, instanceOfUndenyUsers200Response, instanceOfUpdateFieldRequest, instanceOfUpdateRelationshipRequest, instanceOfUpdateTableRequest, instanceOfUpsert200Response, instanceOfUpsert200ResponseMetadata, instanceOfUpsert207Response, instanceOfUpsert207ResponseMetadata, instanceOfUpsertRequest, quickbase };
|
|
7239
|
+
export { AddMembersToGroup200ResponseFromJSON, AddMembersToGroup200ResponseFromJSONTyped, AddMembersToGroup200ResponseToJSON, AddMembersToGroup200ResponseToJSONTyped, AddSubgroupsToGroup200ResponseFromJSON, AddSubgroupsToGroup200ResponseFromJSONTyped, AddSubgroupsToGroup200ResponseToJSON, AddSubgroupsToGroup200ResponseToJSONTyped, AppFromJSON, AppFromJSONTyped, AppMemoryInfoFromJSON, AppMemoryInfoFromJSONTyped, AppMemoryInfoToJSON, AppMemoryInfoToJSONTyped, AppSecurityPropertiesFromJSON, AppSecurityPropertiesFromJSONTyped, AppSecurityPropertiesToJSON, AppSecurityPropertiesToJSONTyped, AppToJSON, AppToJSONTyped, Audit200ResponseFromJSON, Audit200ResponseFromJSONTyped, Audit200ResponseToJSON, Audit200ResponseToJSONTyped, Audit202ResponseFromJSON, Audit202ResponseFromJSONTyped, Audit202ResponseToJSON, Audit202ResponseToJSONTyped, AuditRequestFromJSON, AuditRequestFromJSONTyped, AuditRequestToJSON, AuditRequestToJSONTyped, CloneUserToken200ResponseFromJSON, CloneUserToken200ResponseFromJSONTyped, CloneUserToken200ResponseToJSON, CloneUserToken200ResponseToJSONTyped, CloneUserTokenRequestFromJSON, CloneUserTokenRequestFromJSONTyped, CloneUserTokenRequestToJSON, CloneUserTokenRequestToJSONTyped, CopyApp200ResponseFromJSON, CopyApp200ResponseFromJSONTyped, CopyApp200ResponseToJSON, CopyApp200ResponseToJSONTyped, CopyAppRequestFromJSON, CopyAppRequestFromJSONTyped, CopyAppRequestPropertiesFromJSON, CopyAppRequestPropertiesFromJSONTyped, CopyAppRequestPropertiesToJSON, CopyAppRequestPropertiesToJSONTyped, CopyAppRequestToJSON, CopyAppRequestToJSONTyped, CreateApp200ResponseFromJSON, CreateApp200ResponseFromJSONTyped, CreateApp200ResponseToJSON, CreateApp200ResponseToJSONTyped, CreateAppRequestFromJSON, CreateAppRequestFromJSONTyped, CreateAppRequestToJSON, CreateAppRequestToJSONTyped, CreateAppRequestVariablesInnerFromJSON, CreateAppRequestVariablesInnerFromJSONTyped, CreateAppRequestVariablesInnerToJSON, CreateAppRequestVariablesInnerToJSONTyped, CreateField200ResponseFromJSON, CreateField200ResponseFromJSONTyped, CreateField200ResponseToJSON, CreateField200ResponseToJSONTyped, CreateFieldRequestFieldTypeEnum, CreateFieldRequestFromJSON, CreateFieldRequestFromJSONTyped, CreateFieldRequestToJSON, CreateFieldRequestToJSONTyped, CreateRelationship200ResponseFromJSON, CreateRelationship200ResponseFromJSONTyped, CreateRelationship200ResponseToJSON, CreateRelationship200ResponseToJSONTyped, CreateRelationshipRequestFromJSON, CreateRelationshipRequestFromJSONTyped, CreateRelationshipRequestToJSON, CreateRelationshipRequestToJSONTyped, CreateTableRequestFromJSON, CreateTableRequestFromJSONTyped, CreateTableRequestToJSON, CreateTableRequestToJSONTyped, DeactivateUserToken200ResponseFromJSON, DeactivateUserToken200ResponseFromJSONTyped, DeactivateUserToken200ResponseToJSON, DeactivateUserToken200ResponseToJSONTyped, DeleteApp200ResponseFromJSON, DeleteApp200ResponseFromJSONTyped, DeleteApp200ResponseToJSON, DeleteApp200ResponseToJSONTyped, DeleteAppRequestFromJSON, DeleteAppRequestFromJSONTyped, DeleteAppRequestToJSON, DeleteAppRequestToJSONTyped, DeleteFields200ResponseFromJSON, DeleteFields200ResponseFromJSONTyped, DeleteFields200ResponseToJSON, DeleteFields200ResponseToJSONTyped, DeleteFieldsRequestFromJSON, DeleteFieldsRequestFromJSONTyped, DeleteFieldsRequestToJSON, DeleteFieldsRequestToJSONTyped, DeleteFile200ResponseFromJSON, DeleteFile200ResponseFromJSONTyped, DeleteFile200ResponseToJSON, DeleteFile200ResponseToJSONTyped, DeleteRecords200ResponseFromJSON, DeleteRecords200ResponseFromJSONTyped, DeleteRecords200ResponseToJSON, DeleteRecords200ResponseToJSONTyped, DeleteRecordsRequestFromJSON, DeleteRecordsRequestFromJSONTyped, DeleteRecordsRequestToJSON, DeleteRecordsRequestToJSONTyped, DeleteRelationship200ResponseFromJSON, DeleteRelationship200ResponseFromJSONTyped, DeleteRelationship200ResponseToJSON, DeleteRelationship200ResponseToJSONTyped, DeleteTableResponseFromJSON, DeleteTableResponseFromJSONTyped, DeleteTableResponseToJSON, DeleteTableResponseToJSONTyped, DenyUsers200ResponseFromJSON, DenyUsers200ResponseFromJSONTyped, DenyUsers200ResponseToJSON, DenyUsers200ResponseToJSONTyped, ExchangeSsoToken200ResponseFromJSON, ExchangeSsoToken200ResponseFromJSONTyped, ExchangeSsoToken200ResponseIssuedTokenTypeEnum, ExchangeSsoToken200ResponseToJSON, ExchangeSsoToken200ResponseToJSONTyped, ExchangeSsoToken200ResponseTokenTypeEnum, ExchangeSsoTokenRequestFromJSON, ExchangeSsoTokenRequestFromJSONTyped, ExchangeSsoTokenRequestGrantTypeEnum, ExchangeSsoTokenRequestRequestedTokenTypeEnum, ExchangeSsoTokenRequestSubjectTokenTypeEnum, ExchangeSsoTokenRequestToJSON, ExchangeSsoTokenRequestToJSONTyped, FieldFromJSON, FieldFromJSONTyped, FieldPermissionsInnerFromJSON, FieldPermissionsInnerFromJSONTyped, FieldPermissionsInnerToJSON, FieldPermissionsInnerToJSONTyped, FieldPropertiesCurrencyFormatEnum, FieldPropertiesFromJSON, FieldPropertiesFromJSONTyped, FieldPropertiesOpenTargetInEnum, FieldPropertiesSummaryFunctionEnum, FieldPropertiesToJSON, FieldPropertiesToJSONTyped, FieldPropertiesVersionModeEnum, FieldToJSON, FieldToJSONTyped, FieldUsageFieldFromJSON, FieldUsageFieldFromJSONTyped, FieldUsageFieldToJSON, FieldUsageFieldToJSONTyped, FieldUsageFromJSON, FieldUsageFromJSONTyped, FieldUsageToJSON, FieldUsageToJSONTyped, FieldUsageUsageFromJSON, FieldUsageUsageFromJSONTyped, FieldUsageUsageToJSON, FieldUsageUsageToJSONTyped, GenerateDocument200ResponseFromJSON, GenerateDocument200ResponseFromJSONTyped, GenerateDocument200ResponseToJSON, GenerateDocument200ResponseToJSONTyped, GetRelationships200ResponseFromJSON, GetRelationships200ResponseFromJSONTyped, GetRelationships200ResponseMetadataFromJSON, GetRelationships200ResponseMetadataFromJSONTyped, GetRelationships200ResponseMetadataToJSON, GetRelationships200ResponseMetadataToJSONTyped, GetRelationships200ResponseToJSON, GetRelationships200ResponseToJSONTyped, GetReport200ResponseFromJSON, GetReport200ResponseFromJSONTyped, GetReport200ResponseToJSON, GetReport200ResponseToJSONTyped, GetTempTokenDBID200ResponseFromJSON, GetTempTokenDBID200ResponseFromJSONTyped, GetTempTokenDBID200ResponseToJSON, GetTempTokenDBID200ResponseToJSONTyped, GetUsers200ResponseFromJSON, GetUsers200ResponseFromJSONTyped, GetUsers200ResponseToJSON, GetUsers200ResponseToJSONTyped, GetUsersRequestFromJSON, GetUsersRequestFromJSONTyped, GetUsersRequestToJSON, GetUsersRequestToJSONTyped, PlatformAnalyticEventSummaries200ResponseFromJSON, PlatformAnalyticEventSummaries200ResponseFromJSONTyped, PlatformAnalyticEventSummaries200ResponseGroupByEnum, PlatformAnalyticEventSummaries200ResponseMetadataFromJSON, PlatformAnalyticEventSummaries200ResponseMetadataFromJSONTyped, PlatformAnalyticEventSummaries200ResponseMetadataToJSON, PlatformAnalyticEventSummaries200ResponseMetadataToJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerBillingCategoryEnum, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerFromJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerFromJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerToJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInnerToJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerFromJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerFromJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerToJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerToJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsFromJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsFromJSONTyped, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsToJSON, PlatformAnalyticEventSummaries200ResponseResultsInnerTotalsToJSONTyped, PlatformAnalyticEventSummaries200ResponseToJSON, PlatformAnalyticEventSummaries200ResponseToJSONTyped, PlatformAnalyticEventSummaries200ResponseTotalsFromJSON, PlatformAnalyticEventSummaries200ResponseTotalsFromJSONTyped, PlatformAnalyticEventSummaries200ResponseTotalsToJSON, PlatformAnalyticEventSummaries200ResponseTotalsToJSONTyped, PlatformAnalyticEventSummaries200ResponseWhereInnerFromJSON, PlatformAnalyticEventSummaries200ResponseWhereInnerFromJSONTyped, PlatformAnalyticEventSummaries200ResponseWhereInnerToJSON, PlatformAnalyticEventSummaries200ResponseWhereInnerToJSONTyped, PlatformAnalyticEventSummaries200ResponseWhereInnerTypeEnum, PlatformAnalyticEventSummariesRequestFromJSON, PlatformAnalyticEventSummariesRequestFromJSONTyped, PlatformAnalyticEventSummariesRequestGroupByEnum, PlatformAnalyticEventSummariesRequestToJSON, PlatformAnalyticEventSummariesRequestToJSONTyped, PlatformAnalyticEventSummariesRequestWhereInnerFromJSON, PlatformAnalyticEventSummariesRequestWhereInnerFromJSONTyped, PlatformAnalyticEventSummariesRequestWhereInnerToJSON, PlatformAnalyticEventSummariesRequestWhereInnerToJSONTyped, PlatformAnalyticEventSummariesRequestWhereInnerTypeEnum, PlatformAnalyticReads200ResponseFromJSON, PlatformAnalyticReads200ResponseFromJSONTyped, PlatformAnalyticReads200ResponseToJSON, PlatformAnalyticReads200ResponseToJSONTyped, RecordFromJSON, RecordFromJSONTyped, RecordToJSON, RecordToJSONTyped, RecordValueFromJSON, RecordValueFromJSONTyped, RecordValueToJSON, RecordValueToJSONTyped, RelationshipFieldFromJSON, RelationshipFieldFromJSONTyped, RelationshipFieldToJSON, RelationshipFieldToJSONTyped, RelationshipFromJSON, RelationshipFromJSONTyped, RelationshipToJSON, RelationshipToJSONTyped, RemoveMembersFromGroup200ResponseFromJSON, RemoveMembersFromGroup200ResponseFromJSONTyped, RemoveMembersFromGroup200ResponseToJSON, RemoveMembersFromGroup200ResponseToJSONTyped, RemoveSubgroupsFromGroup200ResponseFromJSON, RemoveSubgroupsFromGroup200ResponseFromJSONTyped, RemoveSubgroupsFromGroup200ResponseToJSON, RemoveSubgroupsFromGroup200ResponseToJSONTyped, ReportRunResponseFromJSON, ReportRunResponseFromJSONTyped, ReportRunResponseToJSON, ReportRunResponseToJSONTyped, RunFormula200ResponseFromJSON, RunFormula200ResponseFromJSONTyped, RunFormula200ResponseToJSON, RunFormula200ResponseToJSONTyped, RunFormulaRequestFromJSON, RunFormulaRequestFromJSONTyped, RunFormulaRequestToJSON, RunFormulaRequestToJSONTyped, RunQueryRequestFromJSON, RunQueryRequestFromJSONTyped, RunQueryRequestGroupByInnerFromJSON, RunQueryRequestGroupByInnerFromJSONTyped, RunQueryRequestGroupByInnerGroupingEnum, RunQueryRequestGroupByInnerToJSON, RunQueryRequestGroupByInnerToJSONTyped, RunQueryRequestOptionsFromJSON, RunQueryRequestOptionsFromJSONTyped, RunQueryRequestOptionsToJSON, RunQueryRequestOptionsToJSONTyped, RunQueryRequestSortByInnerFromJSON, RunQueryRequestSortByInnerFromJSONTyped, RunQueryRequestSortByInnerOrderEnum, RunQueryRequestSortByInnerToJSON, RunQueryRequestSortByInnerToJSONTyped, RunQueryRequestToJSON, RunQueryRequestToJSONTyped, RunQueryResponseFieldsInnerFromJSON, RunQueryResponseFieldsInnerFromJSONTyped, RunQueryResponseFieldsInnerToJSON, RunQueryResponseFieldsInnerToJSONTyped, RunQueryResponseFromJSON, RunQueryResponseFromJSONTyped, RunQueryResponseMetadataFromJSON, RunQueryResponseMetadataFromJSONTyped, RunQueryResponseMetadataToJSON, RunQueryResponseMetadataToJSONTyped, RunQueryResponseToJSON, RunQueryResponseToJSONTyped, TableDefaultSortOrderEnum, TableFromJSON, TableFromJSONTyped, TableToJSON, TableToJSONTyped, TransferUserToken200ResponseFromJSON, TransferUserToken200ResponseFromJSONTyped, TransferUserToken200ResponseToJSON, TransferUserToken200ResponseToJSONTyped, TransferUserTokenRequestFromJSON, TransferUserTokenRequestFromJSONTyped, TransferUserTokenRequestToJSON, TransferUserTokenRequestToJSONTyped, UndenyUsers200ResponseFromJSON, UndenyUsers200ResponseFromJSONTyped, UndenyUsers200ResponseToJSON, UndenyUsers200ResponseToJSONTyped, UpdateRelationshipRequestFromJSON, UpdateRelationshipRequestFromJSONTyped, UpdateRelationshipRequestToJSON, UpdateRelationshipRequestToJSONTyped, UpdateTableRequestFromJSON, UpdateTableRequestFromJSONTyped, UpdateTableRequestToJSON, UpdateTableRequestToJSONTyped, Upsert200ResponseDataInnerValueFromJSON, Upsert200ResponseDataInnerValueFromJSONTyped, Upsert200ResponseDataInnerValueToJSON, Upsert200ResponseDataInnerValueToJSONTyped, Upsert200ResponseFromJSON, Upsert200ResponseFromJSONTyped, Upsert200ResponseMetadataFromJSON, Upsert200ResponseMetadataFromJSONTyped, Upsert200ResponseMetadataToJSON, Upsert200ResponseMetadataToJSONTyped, Upsert200ResponseToJSON, Upsert200ResponseToJSONTyped, Upsert207ResponseFromJSON, Upsert207ResponseFromJSONTyped, Upsert207ResponseMetadataFromJSON, Upsert207ResponseMetadataFromJSONTyped, Upsert207ResponseMetadataToJSON, Upsert207ResponseMetadataToJSONTyped, Upsert207ResponseToJSON, Upsert207ResponseToJSONTyped, UpsertRequestFromJSON, UpsertRequestFromJSONTyped, UpsertRequestToJSON, UpsertRequestToJSONTyped, UsageCountFromJSON, UsageCountFromJSONTyped, UsageCountToJSON, UsageCountToJSONTyped, instanceOfAddMembersToGroup200Response, instanceOfAddSubgroupsToGroup200Response, instanceOfApp, instanceOfAppMemoryInfo, instanceOfAppSecurityProperties, instanceOfAudit200Response, instanceOfAudit202Response, instanceOfAuditRequest, instanceOfCloneUserToken200Response, instanceOfCloneUserTokenRequest, instanceOfCopyApp200Response, instanceOfCopyAppRequest, instanceOfCopyAppRequestProperties, instanceOfCreateApp200Response, instanceOfCreateAppRequest, instanceOfCreateAppRequestVariablesInner, instanceOfCreateField200Response, instanceOfCreateFieldRequest, instanceOfCreateRelationship200Response, instanceOfCreateRelationshipRequest, instanceOfCreateTableRequest, instanceOfDeactivateUserToken200Response, instanceOfDeleteApp200Response, instanceOfDeleteAppRequest, instanceOfDeleteFields200Response, instanceOfDeleteFieldsRequest, instanceOfDeleteFile200Response, instanceOfDeleteRecords200Response, instanceOfDeleteRecordsRequest, instanceOfDeleteRelationship200Response, instanceOfDeleteTableResponse, instanceOfDenyUsers200Response, instanceOfExchangeSsoToken200Response, instanceOfExchangeSsoTokenRequest, instanceOfField, instanceOfFieldPermissionsInner, instanceOfFieldProperties, instanceOfFieldUsage, instanceOfFieldUsageField, instanceOfFieldUsageUsage, instanceOfGenerateDocument200Response, instanceOfGetRelationships200Response, instanceOfGetRelationships200ResponseMetadata, instanceOfGetReport200Response, instanceOfGetTempTokenDBID200Response, instanceOfGetUsers200Response, instanceOfGetUsersRequest, instanceOfPlatformAnalyticEventSummaries200Response, instanceOfPlatformAnalyticEventSummaries200ResponseMetadata, instanceOfPlatformAnalyticEventSummaries200ResponseResultsInner, instanceOfPlatformAnalyticEventSummaries200ResponseResultsInnerEventTypesInner, instanceOfPlatformAnalyticEventSummaries200ResponseResultsInnerTotals, instanceOfPlatformAnalyticEventSummaries200ResponseTotals, instanceOfPlatformAnalyticEventSummaries200ResponseWhereInner, instanceOfPlatformAnalyticEventSummariesRequest, instanceOfPlatformAnalyticEventSummariesRequestWhereInner, instanceOfPlatformAnalyticReads200Response, instanceOfRecord, instanceOfRecordValue, instanceOfRelationship, instanceOfRelationshipField, instanceOfRemoveMembersFromGroup200Response, instanceOfRemoveSubgroupsFromGroup200Response, instanceOfReportRunResponse, instanceOfRunFormula200Response, instanceOfRunFormulaRequest, instanceOfRunQueryRequest, instanceOfRunQueryRequestGroupByInner, instanceOfRunQueryRequestOptions, instanceOfRunQueryRequestSortByInner, instanceOfRunQueryResponse, instanceOfRunQueryResponseFieldsInner, instanceOfRunQueryResponseMetadata, instanceOfTable, instanceOfTransferUserToken200Response, instanceOfTransferUserTokenRequest, instanceOfUndenyUsers200Response, instanceOfUpdateRelationshipRequest, instanceOfUpdateTableRequest, instanceOfUpsert200Response, instanceOfUpsert200ResponseDataInnerValue, instanceOfUpsert200ResponseMetadata, instanceOfUpsert207Response, instanceOfUpsert207ResponseMetadata, instanceOfUpsertRequest, instanceOfUsageCount, quickbase };
|
|
6239
7240
|
//# sourceMappingURL=quickbase.js.map
|