@keboola/api-fixtures 41.0.0 → 42.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -752,9 +752,7 @@ declare const getDevBranches: () => DevBranch[];
752
752
  /**
753
753
  * Returns a single non-typed, non-alias `TableDetail` (fresh, no imports yet).
754
754
  *
755
- * The explicit return type surfaces any divergence from the hand-written `TableDetail` in
756
- * `@keboola/api-client` as a TypeScript error. That type is not derived from the OpenAPI
757
- * document, so this annotation and the `satisfies` above are the only mechanical check there is.
755
+ * - The explicit return type surfaces a drift from `TableDetail` as a TypeScript error.
758
756
  */
759
757
  declare const getTable: () => TableDetail;
760
758
  /**
@@ -772,13 +770,16 @@ declare const listTables: () => TableDetail[];
772
770
  */
773
771
  declare const tableFixtures: {
774
772
  fresh: {
775
- id: string;
776
- name: string;
777
- displayName: string;
778
- primaryKey: string[];
779
- metadata: never[];
780
- columns: string[];
781
- columnMetadata: {};
773
+ transactional: boolean;
774
+ indexType: null;
775
+ indexKey: never[];
776
+ distributionType: null;
777
+ distributionKey: never[];
778
+ syntheticPrimaryKeyEnabled: boolean;
779
+ isAliasable: boolean;
780
+ isDescriptionSystemManaged: boolean;
781
+ timestampType: 'MANAGED';
782
+ tableType: string;
782
783
  attributes: never[];
783
784
  bucket: {
784
785
  id: string;
@@ -810,32 +811,32 @@ declare const tableFixtures: {
810
811
  };
811
812
  isTyped: false;
812
813
  isAlias: false;
813
- lastImportDate: null;
814
- lastChangeDate: null;
815
- rowsCount: number;
816
- };
817
- recentlyUpdated: {
814
+ uri: string;
818
815
  id: string;
819
816
  name: string;
820
817
  displayName: string;
818
+ path: string;
821
819
  primaryKey: string[];
822
- metadata: {
823
- id: string;
824
- key: string;
825
- value: string;
826
- provider: string;
827
- timestamp: string;
828
- }[];
820
+ metadata: never[];
829
821
  columns: string[];
830
- columnMetadata: {
831
- order_id: {
832
- id: string;
833
- key: string;
834
- value: string;
835
- provider: string;
836
- timestamp: string;
837
- }[];
838
- };
822
+ columnMetadata: {};
823
+ created: string;
824
+ lastImportDate: null;
825
+ lastChangeDate: null;
826
+ rowsCount: number;
827
+ dataSizeBytes: number;
828
+ };
829
+ recentlyUpdated: {
830
+ transactional: boolean;
831
+ indexType: null;
832
+ indexKey: never[];
833
+ distributionType: null;
834
+ distributionKey: never[];
835
+ syntheticPrimaryKeyEnabled: boolean;
836
+ isAliasable: boolean;
837
+ isDescriptionSystemManaged: boolean;
838
+ timestampType: 'MANAGED';
839
+ tableType: string;
839
840
  attributes: never[];
840
841
  bucket: {
841
842
  id: string;
@@ -867,18 +868,46 @@ declare const tableFixtures: {
867
868
  };
868
869
  isTyped: false;
869
870
  isAlias: false;
871
+ uri: string;
872
+ id: string;
873
+ name: string;
874
+ displayName: string;
875
+ path: string;
876
+ primaryKey: string[];
877
+ metadata: {
878
+ id: string;
879
+ key: string;
880
+ value: string;
881
+ provider: string;
882
+ timestamp: string;
883
+ }[];
884
+ columns: string[];
885
+ columnMetadata: {
886
+ order_id: {
887
+ id: string;
888
+ key: string;
889
+ value: string;
890
+ provider: string;
891
+ timestamp: string;
892
+ }[];
893
+ };
894
+ created: string;
870
895
  lastImportDate: string;
871
896
  lastChangeDate: string;
872
897
  rowsCount: number;
898
+ dataSizeBytes: number;
873
899
  };
874
900
  large: {
875
- id: string;
876
- name: string;
877
- displayName: string;
878
- primaryKey: never[];
879
- metadata: never[];
880
- columns: string[];
881
- columnMetadata: {};
901
+ transactional: boolean;
902
+ indexType: null;
903
+ indexKey: never[];
904
+ distributionType: null;
905
+ distributionKey: never[];
906
+ syntheticPrimaryKeyEnabled: boolean;
907
+ isAliasable: boolean;
908
+ isDescriptionSystemManaged: boolean;
909
+ timestampType: 'MANAGED';
910
+ tableType: string;
882
911
  attributes: never[];
883
912
  bucket: {
884
913
  id: string;
@@ -910,9 +939,20 @@ declare const tableFixtures: {
910
939
  };
911
940
  isTyped: false;
912
941
  isAlias: false;
942
+ uri: string;
943
+ id: string;
944
+ name: string;
945
+ displayName: string;
946
+ path: string;
947
+ primaryKey: never[];
948
+ metadata: never[];
949
+ columns: string[];
950
+ columnMetadata: {};
951
+ created: string;
913
952
  lastImportDate: string;
914
953
  lastChangeDate: string;
915
954
  rowsCount: number;
955
+ dataSizeBytes: number;
916
956
  };
917
957
  };
918
958
  //#endregion
@@ -1045,13 +1085,16 @@ declare const fixtures: {
1045
1085
  listTables: typeof listTables;
1046
1086
  fixtures: {
1047
1087
  fresh: {
1048
- id: string;
1049
- name: string;
1050
- displayName: string;
1051
- primaryKey: string[];
1052
- metadata: never[];
1053
- columns: string[];
1054
- columnMetadata: {};
1088
+ transactional: boolean;
1089
+ indexType: null;
1090
+ indexKey: never[];
1091
+ distributionType: null;
1092
+ distributionKey: never[];
1093
+ syntheticPrimaryKeyEnabled: boolean;
1094
+ isAliasable: boolean;
1095
+ isDescriptionSystemManaged: boolean;
1096
+ timestampType: 'MANAGED';
1097
+ tableType: string;
1055
1098
  attributes: never[];
1056
1099
  bucket: {
1057
1100
  id: string;
@@ -1083,32 +1126,32 @@ declare const fixtures: {
1083
1126
  };
1084
1127
  isTyped: false;
1085
1128
  isAlias: false;
1086
- lastImportDate: null;
1087
- lastChangeDate: null;
1088
- rowsCount: number;
1089
- };
1090
- recentlyUpdated: {
1129
+ uri: string;
1091
1130
  id: string;
1092
1131
  name: string;
1093
1132
  displayName: string;
1133
+ path: string;
1094
1134
  primaryKey: string[];
1095
- metadata: {
1096
- id: string;
1097
- key: string;
1098
- value: string;
1099
- provider: string;
1100
- timestamp: string;
1101
- }[];
1135
+ metadata: never[];
1102
1136
  columns: string[];
1103
- columnMetadata: {
1104
- order_id: {
1105
- id: string;
1106
- key: string;
1107
- value: string;
1108
- provider: string;
1109
- timestamp: string;
1110
- }[];
1111
- };
1137
+ columnMetadata: {};
1138
+ created: string;
1139
+ lastImportDate: null;
1140
+ lastChangeDate: null;
1141
+ rowsCount: number;
1142
+ dataSizeBytes: number;
1143
+ };
1144
+ recentlyUpdated: {
1145
+ transactional: boolean;
1146
+ indexType: null;
1147
+ indexKey: never[];
1148
+ distributionType: null;
1149
+ distributionKey: never[];
1150
+ syntheticPrimaryKeyEnabled: boolean;
1151
+ isAliasable: boolean;
1152
+ isDescriptionSystemManaged: boolean;
1153
+ timestampType: 'MANAGED';
1154
+ tableType: string;
1112
1155
  attributes: never[];
1113
1156
  bucket: {
1114
1157
  id: string;
@@ -1140,18 +1183,46 @@ declare const fixtures: {
1140
1183
  };
1141
1184
  isTyped: false;
1142
1185
  isAlias: false;
1186
+ uri: string;
1187
+ id: string;
1188
+ name: string;
1189
+ displayName: string;
1190
+ path: string;
1191
+ primaryKey: string[];
1192
+ metadata: {
1193
+ id: string;
1194
+ key: string;
1195
+ value: string;
1196
+ provider: string;
1197
+ timestamp: string;
1198
+ }[];
1199
+ columns: string[];
1200
+ columnMetadata: {
1201
+ order_id: {
1202
+ id: string;
1203
+ key: string;
1204
+ value: string;
1205
+ provider: string;
1206
+ timestamp: string;
1207
+ }[];
1208
+ };
1209
+ created: string;
1143
1210
  lastImportDate: string;
1144
1211
  lastChangeDate: string;
1145
1212
  rowsCount: number;
1213
+ dataSizeBytes: number;
1146
1214
  };
1147
1215
  large: {
1148
- id: string;
1149
- name: string;
1150
- displayName: string;
1151
- primaryKey: never[];
1152
- metadata: never[];
1153
- columns: string[];
1154
- columnMetadata: {};
1216
+ transactional: boolean;
1217
+ indexType: null;
1218
+ indexKey: never[];
1219
+ distributionType: null;
1220
+ distributionKey: never[];
1221
+ syntheticPrimaryKeyEnabled: boolean;
1222
+ isAliasable: boolean;
1223
+ isDescriptionSystemManaged: boolean;
1224
+ timestampType: 'MANAGED';
1225
+ tableType: string;
1155
1226
  attributes: never[];
1156
1227
  bucket: {
1157
1228
  id: string;
@@ -1183,9 +1254,20 @@ declare const fixtures: {
1183
1254
  };
1184
1255
  isTyped: false;
1185
1256
  isAlias: false;
1257
+ uri: string;
1258
+ id: string;
1259
+ name: string;
1260
+ displayName: string;
1261
+ path: string;
1262
+ primaryKey: never[];
1263
+ metadata: never[];
1264
+ columns: string[];
1265
+ columnMetadata: {};
1266
+ created: string;
1186
1267
  lastImportDate: string;
1187
1268
  lastChangeDate: string;
1188
1269
  rowsCount: number;
1270
+ dataSizeBytes: number;
1189
1271
  };
1190
1272
  };
1191
1273
  };
package/dist/index.d.ts CHANGED
@@ -752,9 +752,7 @@ declare const getDevBranches: () => DevBranch[];
752
752
  /**
753
753
  * Returns a single non-typed, non-alias `TableDetail` (fresh, no imports yet).
754
754
  *
755
- * The explicit return type surfaces any divergence from the hand-written `TableDetail` in
756
- * `@keboola/api-client` as a TypeScript error. That type is not derived from the OpenAPI
757
- * document, so this annotation and the `satisfies` above are the only mechanical check there is.
755
+ * - The explicit return type surfaces a drift from `TableDetail` as a TypeScript error.
758
756
  */
759
757
  declare const getTable: () => TableDetail;
760
758
  /**
@@ -772,13 +770,16 @@ declare const listTables: () => TableDetail[];
772
770
  */
773
771
  declare const tableFixtures: {
774
772
  fresh: {
775
- id: string;
776
- name: string;
777
- displayName: string;
778
- primaryKey: string[];
779
- metadata: never[];
780
- columns: string[];
781
- columnMetadata: {};
773
+ transactional: boolean;
774
+ indexType: null;
775
+ indexKey: never[];
776
+ distributionType: null;
777
+ distributionKey: never[];
778
+ syntheticPrimaryKeyEnabled: boolean;
779
+ isAliasable: boolean;
780
+ isDescriptionSystemManaged: boolean;
781
+ timestampType: 'MANAGED';
782
+ tableType: string;
782
783
  attributes: never[];
783
784
  bucket: {
784
785
  id: string;
@@ -810,32 +811,32 @@ declare const tableFixtures: {
810
811
  };
811
812
  isTyped: false;
812
813
  isAlias: false;
813
- lastImportDate: null;
814
- lastChangeDate: null;
815
- rowsCount: number;
816
- };
817
- recentlyUpdated: {
814
+ uri: string;
818
815
  id: string;
819
816
  name: string;
820
817
  displayName: string;
818
+ path: string;
821
819
  primaryKey: string[];
822
- metadata: {
823
- id: string;
824
- key: string;
825
- value: string;
826
- provider: string;
827
- timestamp: string;
828
- }[];
820
+ metadata: never[];
829
821
  columns: string[];
830
- columnMetadata: {
831
- order_id: {
832
- id: string;
833
- key: string;
834
- value: string;
835
- provider: string;
836
- timestamp: string;
837
- }[];
838
- };
822
+ columnMetadata: {};
823
+ created: string;
824
+ lastImportDate: null;
825
+ lastChangeDate: null;
826
+ rowsCount: number;
827
+ dataSizeBytes: number;
828
+ };
829
+ recentlyUpdated: {
830
+ transactional: boolean;
831
+ indexType: null;
832
+ indexKey: never[];
833
+ distributionType: null;
834
+ distributionKey: never[];
835
+ syntheticPrimaryKeyEnabled: boolean;
836
+ isAliasable: boolean;
837
+ isDescriptionSystemManaged: boolean;
838
+ timestampType: 'MANAGED';
839
+ tableType: string;
839
840
  attributes: never[];
840
841
  bucket: {
841
842
  id: string;
@@ -867,18 +868,46 @@ declare const tableFixtures: {
867
868
  };
868
869
  isTyped: false;
869
870
  isAlias: false;
871
+ uri: string;
872
+ id: string;
873
+ name: string;
874
+ displayName: string;
875
+ path: string;
876
+ primaryKey: string[];
877
+ metadata: {
878
+ id: string;
879
+ key: string;
880
+ value: string;
881
+ provider: string;
882
+ timestamp: string;
883
+ }[];
884
+ columns: string[];
885
+ columnMetadata: {
886
+ order_id: {
887
+ id: string;
888
+ key: string;
889
+ value: string;
890
+ provider: string;
891
+ timestamp: string;
892
+ }[];
893
+ };
894
+ created: string;
870
895
  lastImportDate: string;
871
896
  lastChangeDate: string;
872
897
  rowsCount: number;
898
+ dataSizeBytes: number;
873
899
  };
874
900
  large: {
875
- id: string;
876
- name: string;
877
- displayName: string;
878
- primaryKey: never[];
879
- metadata: never[];
880
- columns: string[];
881
- columnMetadata: {};
901
+ transactional: boolean;
902
+ indexType: null;
903
+ indexKey: never[];
904
+ distributionType: null;
905
+ distributionKey: never[];
906
+ syntheticPrimaryKeyEnabled: boolean;
907
+ isAliasable: boolean;
908
+ isDescriptionSystemManaged: boolean;
909
+ timestampType: 'MANAGED';
910
+ tableType: string;
882
911
  attributes: never[];
883
912
  bucket: {
884
913
  id: string;
@@ -910,9 +939,20 @@ declare const tableFixtures: {
910
939
  };
911
940
  isTyped: false;
912
941
  isAlias: false;
942
+ uri: string;
943
+ id: string;
944
+ name: string;
945
+ displayName: string;
946
+ path: string;
947
+ primaryKey: never[];
948
+ metadata: never[];
949
+ columns: string[];
950
+ columnMetadata: {};
951
+ created: string;
913
952
  lastImportDate: string;
914
953
  lastChangeDate: string;
915
954
  rowsCount: number;
955
+ dataSizeBytes: number;
916
956
  };
917
957
  };
918
958
  //#endregion
@@ -1045,13 +1085,16 @@ declare const fixtures: {
1045
1085
  listTables: typeof listTables;
1046
1086
  fixtures: {
1047
1087
  fresh: {
1048
- id: string;
1049
- name: string;
1050
- displayName: string;
1051
- primaryKey: string[];
1052
- metadata: never[];
1053
- columns: string[];
1054
- columnMetadata: {};
1088
+ transactional: boolean;
1089
+ indexType: null;
1090
+ indexKey: never[];
1091
+ distributionType: null;
1092
+ distributionKey: never[];
1093
+ syntheticPrimaryKeyEnabled: boolean;
1094
+ isAliasable: boolean;
1095
+ isDescriptionSystemManaged: boolean;
1096
+ timestampType: 'MANAGED';
1097
+ tableType: string;
1055
1098
  attributes: never[];
1056
1099
  bucket: {
1057
1100
  id: string;
@@ -1083,32 +1126,32 @@ declare const fixtures: {
1083
1126
  };
1084
1127
  isTyped: false;
1085
1128
  isAlias: false;
1086
- lastImportDate: null;
1087
- lastChangeDate: null;
1088
- rowsCount: number;
1089
- };
1090
- recentlyUpdated: {
1129
+ uri: string;
1091
1130
  id: string;
1092
1131
  name: string;
1093
1132
  displayName: string;
1133
+ path: string;
1094
1134
  primaryKey: string[];
1095
- metadata: {
1096
- id: string;
1097
- key: string;
1098
- value: string;
1099
- provider: string;
1100
- timestamp: string;
1101
- }[];
1135
+ metadata: never[];
1102
1136
  columns: string[];
1103
- columnMetadata: {
1104
- order_id: {
1105
- id: string;
1106
- key: string;
1107
- value: string;
1108
- provider: string;
1109
- timestamp: string;
1110
- }[];
1111
- };
1137
+ columnMetadata: {};
1138
+ created: string;
1139
+ lastImportDate: null;
1140
+ lastChangeDate: null;
1141
+ rowsCount: number;
1142
+ dataSizeBytes: number;
1143
+ };
1144
+ recentlyUpdated: {
1145
+ transactional: boolean;
1146
+ indexType: null;
1147
+ indexKey: never[];
1148
+ distributionType: null;
1149
+ distributionKey: never[];
1150
+ syntheticPrimaryKeyEnabled: boolean;
1151
+ isAliasable: boolean;
1152
+ isDescriptionSystemManaged: boolean;
1153
+ timestampType: 'MANAGED';
1154
+ tableType: string;
1112
1155
  attributes: never[];
1113
1156
  bucket: {
1114
1157
  id: string;
@@ -1140,18 +1183,46 @@ declare const fixtures: {
1140
1183
  };
1141
1184
  isTyped: false;
1142
1185
  isAlias: false;
1186
+ uri: string;
1187
+ id: string;
1188
+ name: string;
1189
+ displayName: string;
1190
+ path: string;
1191
+ primaryKey: string[];
1192
+ metadata: {
1193
+ id: string;
1194
+ key: string;
1195
+ value: string;
1196
+ provider: string;
1197
+ timestamp: string;
1198
+ }[];
1199
+ columns: string[];
1200
+ columnMetadata: {
1201
+ order_id: {
1202
+ id: string;
1203
+ key: string;
1204
+ value: string;
1205
+ provider: string;
1206
+ timestamp: string;
1207
+ }[];
1208
+ };
1209
+ created: string;
1143
1210
  lastImportDate: string;
1144
1211
  lastChangeDate: string;
1145
1212
  rowsCount: number;
1213
+ dataSizeBytes: number;
1146
1214
  };
1147
1215
  large: {
1148
- id: string;
1149
- name: string;
1150
- displayName: string;
1151
- primaryKey: never[];
1152
- metadata: never[];
1153
- columns: string[];
1154
- columnMetadata: {};
1216
+ transactional: boolean;
1217
+ indexType: null;
1218
+ indexKey: never[];
1219
+ distributionType: null;
1220
+ distributionKey: never[];
1221
+ syntheticPrimaryKeyEnabled: boolean;
1222
+ isAliasable: boolean;
1223
+ isDescriptionSystemManaged: boolean;
1224
+ timestampType: 'MANAGED';
1225
+ tableType: string;
1155
1226
  attributes: never[];
1156
1227
  bucket: {
1157
1228
  id: string;
@@ -1183,9 +1254,20 @@ declare const fixtures: {
1183
1254
  };
1184
1255
  isTyped: false;
1185
1256
  isAlias: false;
1257
+ uri: string;
1258
+ id: string;
1259
+ name: string;
1260
+ displayName: string;
1261
+ path: string;
1262
+ primaryKey: never[];
1263
+ metadata: never[];
1264
+ columns: string[];
1265
+ columnMetadata: {};
1266
+ created: string;
1186
1267
  lastImportDate: string;
1187
1268
  lastChangeDate: string;
1188
1269
  rowsCount: number;
1270
+ dataSizeBytes: number;
1189
1271
  };
1190
1272
  };
1191
1273
  };