@dazl/api-client 1.0.11 → 1.0.12
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/internal/index.d.ts +1 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/sdk.gen.d.ts +17 -1
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +38 -0
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +231 -0
- package/dist/internal/types.gen.d.ts.map +1 -1
- package/dist/public/index.d.ts +2 -2
- package/dist/public/index.d.ts.map +1 -1
- package/dist/public/index.js +1 -1
- package/dist/public/index.js.map +1 -1
- package/dist/public/sdk.gen.d.ts +7 -1
- package/dist/public/sdk.gen.d.ts.map +1 -1
- package/dist/public/sdk.gen.js +28 -0
- package/dist/public/sdk.gen.js.map +1 -1
- package/dist/public/types.gen.d.ts +231 -0
- package/dist/public/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/internal/index.ts +1 -1
- package/src/internal/sdk.gen.ts +43 -1
- package/src/internal/types.gen.ts +251 -0
- package/src/public/index.ts +2 -2
- package/src/public/sdk.gen.ts +33 -1
- package/src/public/types.gen.ts +251 -0
|
@@ -6806,6 +6806,237 @@ export type GetAllWorkspacesResponses = {
|
|
|
6806
6806
|
};
|
|
6807
6807
|
};
|
|
6808
6808
|
export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
|
|
6809
|
+
export type GetMyValuesData = {
|
|
6810
|
+
body?: never;
|
|
6811
|
+
path?: never;
|
|
6812
|
+
query?: {
|
|
6813
|
+
/**
|
|
6814
|
+
* Filter results to this category
|
|
6815
|
+
*/
|
|
6816
|
+
categ?: string;
|
|
6817
|
+
};
|
|
6818
|
+
url: '/my-user-key-value/values';
|
|
6819
|
+
};
|
|
6820
|
+
export type GetMyValuesErrors = {
|
|
6821
|
+
/**
|
|
6822
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6823
|
+
*/
|
|
6824
|
+
400: {
|
|
6825
|
+
message: string;
|
|
6826
|
+
issues?: string;
|
|
6827
|
+
};
|
|
6828
|
+
/**
|
|
6829
|
+
* Unauthorized
|
|
6830
|
+
*/
|
|
6831
|
+
401: ErrorResponse;
|
|
6832
|
+
/**
|
|
6833
|
+
* Forbidden
|
|
6834
|
+
*/
|
|
6835
|
+
403: ErrorResponse;
|
|
6836
|
+
/**
|
|
6837
|
+
* Not Found
|
|
6838
|
+
*/
|
|
6839
|
+
404: ErrorResponse;
|
|
6840
|
+
/**
|
|
6841
|
+
* Conflict
|
|
6842
|
+
*/
|
|
6843
|
+
409: ErrorResponse;
|
|
6844
|
+
/**
|
|
6845
|
+
* Internal server error
|
|
6846
|
+
*/
|
|
6847
|
+
500: ErrorResponse;
|
|
6848
|
+
/**
|
|
6849
|
+
* Service Unavailable
|
|
6850
|
+
*/
|
|
6851
|
+
503: ErrorResponse;
|
|
6852
|
+
};
|
|
6853
|
+
export type GetMyValuesError = GetMyValuesErrors[keyof GetMyValuesErrors];
|
|
6854
|
+
export type GetMyValuesResponses = {
|
|
6855
|
+
/**
|
|
6856
|
+
* Returns key values for the current user
|
|
6857
|
+
*/
|
|
6858
|
+
200: {
|
|
6859
|
+
values: Array<{
|
|
6860
|
+
id: string;
|
|
6861
|
+
dazlUserId: string;
|
|
6862
|
+
category: string;
|
|
6863
|
+
name: string;
|
|
6864
|
+
strVal: string | null;
|
|
6865
|
+
encryptedValId: string | null;
|
|
6866
|
+
createdAt: string;
|
|
6867
|
+
updatedAt: string;
|
|
6868
|
+
encryptedValue: string | null;
|
|
6869
|
+
}>;
|
|
6870
|
+
};
|
|
6871
|
+
};
|
|
6872
|
+
export type GetMyValuesResponse = GetMyValuesResponses[keyof GetMyValuesResponses];
|
|
6873
|
+
export type SetMyValueData = {
|
|
6874
|
+
body: {
|
|
6875
|
+
value: string;
|
|
6876
|
+
isSecret?: boolean;
|
|
6877
|
+
};
|
|
6878
|
+
path: {
|
|
6879
|
+
categ: string;
|
|
6880
|
+
name: string;
|
|
6881
|
+
};
|
|
6882
|
+
query?: never;
|
|
6883
|
+
url: '/my-user-key-value/values/{categ}/{name}';
|
|
6884
|
+
};
|
|
6885
|
+
export type SetMyValueErrors = {
|
|
6886
|
+
/**
|
|
6887
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6888
|
+
*/
|
|
6889
|
+
400: {
|
|
6890
|
+
message: string;
|
|
6891
|
+
issues?: string;
|
|
6892
|
+
};
|
|
6893
|
+
/**
|
|
6894
|
+
* Unauthorized
|
|
6895
|
+
*/
|
|
6896
|
+
401: ErrorResponse;
|
|
6897
|
+
/**
|
|
6898
|
+
* Forbidden
|
|
6899
|
+
*/
|
|
6900
|
+
403: ErrorResponse;
|
|
6901
|
+
/**
|
|
6902
|
+
* Not Found
|
|
6903
|
+
*/
|
|
6904
|
+
404: ErrorResponse;
|
|
6905
|
+
/**
|
|
6906
|
+
* Conflict
|
|
6907
|
+
*/
|
|
6908
|
+
409: ErrorResponse;
|
|
6909
|
+
/**
|
|
6910
|
+
* Internal server error
|
|
6911
|
+
*/
|
|
6912
|
+
500: ErrorResponse;
|
|
6913
|
+
/**
|
|
6914
|
+
* Service Unavailable
|
|
6915
|
+
*/
|
|
6916
|
+
503: ErrorResponse;
|
|
6917
|
+
};
|
|
6918
|
+
export type SetMyValueError = SetMyValueErrors[keyof SetMyValueErrors];
|
|
6919
|
+
export type SetMyValueResponses = {
|
|
6920
|
+
/**
|
|
6921
|
+
* Sets a single key value and returns its id
|
|
6922
|
+
*/
|
|
6923
|
+
200: {
|
|
6924
|
+
id: string;
|
|
6925
|
+
};
|
|
6926
|
+
};
|
|
6927
|
+
export type SetMyValueResponse = SetMyValueResponses[keyof SetMyValueResponses];
|
|
6928
|
+
export type DeleteMyCategValuesData = {
|
|
6929
|
+
body?: never;
|
|
6930
|
+
path: {
|
|
6931
|
+
categ: string;
|
|
6932
|
+
};
|
|
6933
|
+
query?: never;
|
|
6934
|
+
url: '/my-user-key-value/values/{categ}';
|
|
6935
|
+
};
|
|
6936
|
+
export type DeleteMyCategValuesErrors = {
|
|
6937
|
+
/**
|
|
6938
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6939
|
+
*/
|
|
6940
|
+
400: {
|
|
6941
|
+
message: string;
|
|
6942
|
+
issues?: string;
|
|
6943
|
+
};
|
|
6944
|
+
/**
|
|
6945
|
+
* Unauthorized
|
|
6946
|
+
*/
|
|
6947
|
+
401: ErrorResponse;
|
|
6948
|
+
/**
|
|
6949
|
+
* Forbidden
|
|
6950
|
+
*/
|
|
6951
|
+
403: ErrorResponse;
|
|
6952
|
+
/**
|
|
6953
|
+
* Not Found
|
|
6954
|
+
*/
|
|
6955
|
+
404: ErrorResponse;
|
|
6956
|
+
/**
|
|
6957
|
+
* Conflict
|
|
6958
|
+
*/
|
|
6959
|
+
409: ErrorResponse;
|
|
6960
|
+
/**
|
|
6961
|
+
* Internal server error
|
|
6962
|
+
*/
|
|
6963
|
+
500: ErrorResponse;
|
|
6964
|
+
/**
|
|
6965
|
+
* Service Unavailable
|
|
6966
|
+
*/
|
|
6967
|
+
503: ErrorResponse;
|
|
6968
|
+
};
|
|
6969
|
+
export type DeleteMyCategValuesError = DeleteMyCategValuesErrors[keyof DeleteMyCategValuesErrors];
|
|
6970
|
+
export type DeleteMyCategValuesResponses = {
|
|
6971
|
+
/**
|
|
6972
|
+
* Deletes all values for the category
|
|
6973
|
+
*/
|
|
6974
|
+
200: {
|
|
6975
|
+
categ: string;
|
|
6976
|
+
};
|
|
6977
|
+
};
|
|
6978
|
+
export type DeleteMyCategValuesResponse = DeleteMyCategValuesResponses[keyof DeleteMyCategValuesResponses];
|
|
6979
|
+
export type ReplaceMyCategValuesData = {
|
|
6980
|
+
body: {
|
|
6981
|
+
values: Array<{
|
|
6982
|
+
name: string;
|
|
6983
|
+
value: string;
|
|
6984
|
+
isSecret?: boolean;
|
|
6985
|
+
}>;
|
|
6986
|
+
};
|
|
6987
|
+
path: {
|
|
6988
|
+
categ: string;
|
|
6989
|
+
};
|
|
6990
|
+
query?: never;
|
|
6991
|
+
url: '/my-user-key-value/values/{categ}';
|
|
6992
|
+
};
|
|
6993
|
+
export type ReplaceMyCategValuesErrors = {
|
|
6994
|
+
/**
|
|
6995
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6996
|
+
*/
|
|
6997
|
+
400: {
|
|
6998
|
+
message: string;
|
|
6999
|
+
issues?: string;
|
|
7000
|
+
};
|
|
7001
|
+
/**
|
|
7002
|
+
* Unauthorized
|
|
7003
|
+
*/
|
|
7004
|
+
401: ErrorResponse;
|
|
7005
|
+
/**
|
|
7006
|
+
* Forbidden
|
|
7007
|
+
*/
|
|
7008
|
+
403: ErrorResponse;
|
|
7009
|
+
/**
|
|
7010
|
+
* Not Found
|
|
7011
|
+
*/
|
|
7012
|
+
404: ErrorResponse;
|
|
7013
|
+
/**
|
|
7014
|
+
* Conflict
|
|
7015
|
+
*/
|
|
7016
|
+
409: ErrorResponse;
|
|
7017
|
+
/**
|
|
7018
|
+
* Internal server error
|
|
7019
|
+
*/
|
|
7020
|
+
500: ErrorResponse;
|
|
7021
|
+
/**
|
|
7022
|
+
* Service Unavailable
|
|
7023
|
+
*/
|
|
7024
|
+
503: ErrorResponse;
|
|
7025
|
+
};
|
|
7026
|
+
export type ReplaceMyCategValuesError = ReplaceMyCategValuesErrors[keyof ReplaceMyCategValuesErrors];
|
|
7027
|
+
export type ReplaceMyCategValuesResponses = {
|
|
7028
|
+
/**
|
|
7029
|
+
* Replaces all values for the category and returns the upserted rows
|
|
7030
|
+
*/
|
|
7031
|
+
200: {
|
|
7032
|
+
values: Array<{
|
|
7033
|
+
id: string;
|
|
7034
|
+
name: string;
|
|
7035
|
+
}>;
|
|
7036
|
+
replaced: boolean;
|
|
7037
|
+
};
|
|
7038
|
+
};
|
|
7039
|
+
export type ReplaceMyCategValuesResponse = ReplaceMyCategValuesResponses[keyof ReplaceMyCategValuesResponses];
|
|
6809
7040
|
export type GetAllData = {
|
|
6810
7041
|
body?: never;
|
|
6811
7042
|
path?: never;
|