@dazl/internal-api-client 1.19.2 → 1.20.0-dev.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.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +5 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +26 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +236 -0
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +31 -1
- package/src/types.gen.ts +256 -0
package/src/types.gen.ts
CHANGED
|
@@ -5712,3 +5712,259 @@ export type PurgeUserAccountResponses = {
|
|
|
5712
5712
|
};
|
|
5713
5713
|
|
|
5714
5714
|
export type PurgeUserAccountResponse = PurgeUserAccountResponses[keyof PurgeUserAccountResponses];
|
|
5715
|
+
|
|
5716
|
+
export type GetValuesData = {
|
|
5717
|
+
body?: never;
|
|
5718
|
+
path: {
|
|
5719
|
+
dazlUserId: string;
|
|
5720
|
+
};
|
|
5721
|
+
query?: {
|
|
5722
|
+
/**
|
|
5723
|
+
* Filter results to this category
|
|
5724
|
+
*/
|
|
5725
|
+
categ?: string;
|
|
5726
|
+
};
|
|
5727
|
+
url: '/user-key-value/{dazlUserId}/values';
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5730
|
+
export type GetValuesErrors = {
|
|
5731
|
+
/**
|
|
5732
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5733
|
+
*/
|
|
5734
|
+
400: {
|
|
5735
|
+
message: string;
|
|
5736
|
+
issues?: string;
|
|
5737
|
+
};
|
|
5738
|
+
/**
|
|
5739
|
+
* Unauthorized
|
|
5740
|
+
*/
|
|
5741
|
+
401: ErrorResponse;
|
|
5742
|
+
/**
|
|
5743
|
+
* Forbidden
|
|
5744
|
+
*/
|
|
5745
|
+
403: ErrorResponse;
|
|
5746
|
+
/**
|
|
5747
|
+
* Not Found
|
|
5748
|
+
*/
|
|
5749
|
+
404: ErrorResponse;
|
|
5750
|
+
/**
|
|
5751
|
+
* Conflict
|
|
5752
|
+
*/
|
|
5753
|
+
409: ErrorResponse;
|
|
5754
|
+
/**
|
|
5755
|
+
* Internal server error
|
|
5756
|
+
*/
|
|
5757
|
+
500: ErrorResponse;
|
|
5758
|
+
/**
|
|
5759
|
+
* Service Unavailable
|
|
5760
|
+
*/
|
|
5761
|
+
503: ErrorResponse;
|
|
5762
|
+
};
|
|
5763
|
+
|
|
5764
|
+
export type GetValuesError = GetValuesErrors[keyof GetValuesErrors];
|
|
5765
|
+
|
|
5766
|
+
export type GetValuesResponses = {
|
|
5767
|
+
/**
|
|
5768
|
+
* Returns key values for the user
|
|
5769
|
+
*/
|
|
5770
|
+
200: {
|
|
5771
|
+
values: Array<{
|
|
5772
|
+
id: string;
|
|
5773
|
+
dazlUserId: string;
|
|
5774
|
+
categ: string;
|
|
5775
|
+
name: string;
|
|
5776
|
+
strVal: string | null;
|
|
5777
|
+
encryptedValId: string | null;
|
|
5778
|
+
createdAt: string;
|
|
5779
|
+
updatedAt: string;
|
|
5780
|
+
encryptedValue: string | null;
|
|
5781
|
+
}>;
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5784
|
+
|
|
5785
|
+
export type GetValuesResponse = GetValuesResponses[keyof GetValuesResponses];
|
|
5786
|
+
|
|
5787
|
+
export type SetValueData = {
|
|
5788
|
+
body: {
|
|
5789
|
+
value: string;
|
|
5790
|
+
isSecret?: boolean;
|
|
5791
|
+
};
|
|
5792
|
+
path: {
|
|
5793
|
+
dazlUserId: string;
|
|
5794
|
+
categ: string;
|
|
5795
|
+
name: string;
|
|
5796
|
+
};
|
|
5797
|
+
query?: never;
|
|
5798
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}/{name}';
|
|
5799
|
+
};
|
|
5800
|
+
|
|
5801
|
+
export type SetValueErrors = {
|
|
5802
|
+
/**
|
|
5803
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5804
|
+
*/
|
|
5805
|
+
400: {
|
|
5806
|
+
message: string;
|
|
5807
|
+
issues?: string;
|
|
5808
|
+
};
|
|
5809
|
+
/**
|
|
5810
|
+
* Unauthorized
|
|
5811
|
+
*/
|
|
5812
|
+
401: ErrorResponse;
|
|
5813
|
+
/**
|
|
5814
|
+
* Forbidden
|
|
5815
|
+
*/
|
|
5816
|
+
403: ErrorResponse;
|
|
5817
|
+
/**
|
|
5818
|
+
* Not Found
|
|
5819
|
+
*/
|
|
5820
|
+
404: ErrorResponse;
|
|
5821
|
+
/**
|
|
5822
|
+
* Conflict
|
|
5823
|
+
*/
|
|
5824
|
+
409: ErrorResponse;
|
|
5825
|
+
/**
|
|
5826
|
+
* Internal server error
|
|
5827
|
+
*/
|
|
5828
|
+
500: ErrorResponse;
|
|
5829
|
+
/**
|
|
5830
|
+
* Service Unavailable
|
|
5831
|
+
*/
|
|
5832
|
+
503: ErrorResponse;
|
|
5833
|
+
};
|
|
5834
|
+
|
|
5835
|
+
export type SetValueError = SetValueErrors[keyof SetValueErrors];
|
|
5836
|
+
|
|
5837
|
+
export type SetValueResponses = {
|
|
5838
|
+
/**
|
|
5839
|
+
* Sets a single key value and returns its id
|
|
5840
|
+
*/
|
|
5841
|
+
200: {
|
|
5842
|
+
id: string;
|
|
5843
|
+
};
|
|
5844
|
+
};
|
|
5845
|
+
|
|
5846
|
+
export type SetValueResponse = SetValueResponses[keyof SetValueResponses];
|
|
5847
|
+
|
|
5848
|
+
export type DeleteCategValuesData = {
|
|
5849
|
+
body?: never;
|
|
5850
|
+
path: {
|
|
5851
|
+
dazlUserId: string;
|
|
5852
|
+
categ: string;
|
|
5853
|
+
};
|
|
5854
|
+
query?: never;
|
|
5855
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}';
|
|
5856
|
+
};
|
|
5857
|
+
|
|
5858
|
+
export type DeleteCategValuesErrors = {
|
|
5859
|
+
/**
|
|
5860
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5861
|
+
*/
|
|
5862
|
+
400: {
|
|
5863
|
+
message: string;
|
|
5864
|
+
issues?: string;
|
|
5865
|
+
};
|
|
5866
|
+
/**
|
|
5867
|
+
* Unauthorized
|
|
5868
|
+
*/
|
|
5869
|
+
401: ErrorResponse;
|
|
5870
|
+
/**
|
|
5871
|
+
* Forbidden
|
|
5872
|
+
*/
|
|
5873
|
+
403: ErrorResponse;
|
|
5874
|
+
/**
|
|
5875
|
+
* Not Found
|
|
5876
|
+
*/
|
|
5877
|
+
404: ErrorResponse;
|
|
5878
|
+
/**
|
|
5879
|
+
* Conflict
|
|
5880
|
+
*/
|
|
5881
|
+
409: ErrorResponse;
|
|
5882
|
+
/**
|
|
5883
|
+
* Internal server error
|
|
5884
|
+
*/
|
|
5885
|
+
500: ErrorResponse;
|
|
5886
|
+
/**
|
|
5887
|
+
* Service Unavailable
|
|
5888
|
+
*/
|
|
5889
|
+
503: ErrorResponse;
|
|
5890
|
+
};
|
|
5891
|
+
|
|
5892
|
+
export type DeleteCategValuesError = DeleteCategValuesErrors[keyof DeleteCategValuesErrors];
|
|
5893
|
+
|
|
5894
|
+
export type DeleteCategValuesResponses = {
|
|
5895
|
+
/**
|
|
5896
|
+
* Deletes all values for the category
|
|
5897
|
+
*/
|
|
5898
|
+
200: {
|
|
5899
|
+
categ: string;
|
|
5900
|
+
};
|
|
5901
|
+
};
|
|
5902
|
+
|
|
5903
|
+
export type DeleteCategValuesResponse = DeleteCategValuesResponses[keyof DeleteCategValuesResponses];
|
|
5904
|
+
|
|
5905
|
+
export type ReplaceCategValuesData = {
|
|
5906
|
+
body: {
|
|
5907
|
+
values: Array<{
|
|
5908
|
+
name: string;
|
|
5909
|
+
value: string;
|
|
5910
|
+
isSecret?: boolean;
|
|
5911
|
+
}>;
|
|
5912
|
+
};
|
|
5913
|
+
path: {
|
|
5914
|
+
dazlUserId: string;
|
|
5915
|
+
categ: string;
|
|
5916
|
+
};
|
|
5917
|
+
query?: never;
|
|
5918
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}';
|
|
5919
|
+
};
|
|
5920
|
+
|
|
5921
|
+
export type ReplaceCategValuesErrors = {
|
|
5922
|
+
/**
|
|
5923
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5924
|
+
*/
|
|
5925
|
+
400: {
|
|
5926
|
+
message: string;
|
|
5927
|
+
issues?: string;
|
|
5928
|
+
};
|
|
5929
|
+
/**
|
|
5930
|
+
* Unauthorized
|
|
5931
|
+
*/
|
|
5932
|
+
401: ErrorResponse;
|
|
5933
|
+
/**
|
|
5934
|
+
* Forbidden
|
|
5935
|
+
*/
|
|
5936
|
+
403: ErrorResponse;
|
|
5937
|
+
/**
|
|
5938
|
+
* Not Found
|
|
5939
|
+
*/
|
|
5940
|
+
404: ErrorResponse;
|
|
5941
|
+
/**
|
|
5942
|
+
* Conflict
|
|
5943
|
+
*/
|
|
5944
|
+
409: ErrorResponse;
|
|
5945
|
+
/**
|
|
5946
|
+
* Internal server error
|
|
5947
|
+
*/
|
|
5948
|
+
500: ErrorResponse;
|
|
5949
|
+
/**
|
|
5950
|
+
* Service Unavailable
|
|
5951
|
+
*/
|
|
5952
|
+
503: ErrorResponse;
|
|
5953
|
+
};
|
|
5954
|
+
|
|
5955
|
+
export type ReplaceCategValuesError = ReplaceCategValuesErrors[keyof ReplaceCategValuesErrors];
|
|
5956
|
+
|
|
5957
|
+
export type ReplaceCategValuesResponses = {
|
|
5958
|
+
/**
|
|
5959
|
+
* Replaces all values for the category and returns the upserted rows
|
|
5960
|
+
*/
|
|
5961
|
+
200: {
|
|
5962
|
+
values: Array<{
|
|
5963
|
+
id: string;
|
|
5964
|
+
name: string;
|
|
5965
|
+
}>;
|
|
5966
|
+
replaced: boolean;
|
|
5967
|
+
};
|
|
5968
|
+
};
|
|
5969
|
+
|
|
5970
|
+
export type ReplaceCategValuesResponse = ReplaceCategValuesResponses[keyof ReplaceCategValuesResponses];
|