@dazl/internal-api-client 1.26.7-alpha.0 → 1.26.7
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/client/index.d.ts +1 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/utils.gen.d.ts +1 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts +2 -2
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +7 -0
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +1 -1
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +6 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/db/generated-types.d.ts +11 -0
- package/dist/db/generated-types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk.gen.d.ts +89 -85
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +8 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +104 -0
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client/index.ts +1 -0
- package/src/client/utils.gen.ts +2 -2
- package/src/client.gen.ts +2 -2
- package/src/core/auth.gen.ts +7 -0
- package/src/core/params.gen.ts +10 -8
- package/src/core/pathSerializer.gen.ts +6 -6
- package/src/core/queryKeySerializer.gen.ts +1 -1
- package/src/core/utils.gen.ts +4 -4
- package/src/db/generated-types.ts +12 -0
- package/src/index.ts +2 -2
- package/src/sdk.gen.ts +95 -85
- package/src/types.gen.ts +114 -0
package/src/types.gen.ts
CHANGED
|
@@ -5850,3 +5850,117 @@ export type ReplaceCategValuesResponses = {
|
|
|
5850
5850
|
};
|
|
5851
5851
|
|
|
5852
5852
|
export type ReplaceCategValuesResponse = ReplaceCategValuesResponses[keyof ReplaceCategValuesResponses];
|
|
5853
|
+
|
|
5854
|
+
export type DeactivateUserPromotionData = {
|
|
5855
|
+
body?: never;
|
|
5856
|
+
path: {
|
|
5857
|
+
dazlUserId: string;
|
|
5858
|
+
promotionName: 'GEMINI_CREDITS_6_26';
|
|
5859
|
+
};
|
|
5860
|
+
query?: never;
|
|
5861
|
+
url: '/promotions/{dazlUserId}/{promotionName}';
|
|
5862
|
+
};
|
|
5863
|
+
|
|
5864
|
+
export type DeactivateUserPromotionErrors = {
|
|
5865
|
+
/**
|
|
5866
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5867
|
+
*/
|
|
5868
|
+
400: {
|
|
5869
|
+
message: string;
|
|
5870
|
+
issues?: string;
|
|
5871
|
+
};
|
|
5872
|
+
/**
|
|
5873
|
+
* Unauthorized
|
|
5874
|
+
*/
|
|
5875
|
+
401: ErrorResponse;
|
|
5876
|
+
/**
|
|
5877
|
+
* Forbidden
|
|
5878
|
+
*/
|
|
5879
|
+
403: ErrorResponse;
|
|
5880
|
+
/**
|
|
5881
|
+
* Not Found
|
|
5882
|
+
*/
|
|
5883
|
+
404: ErrorResponse;
|
|
5884
|
+
/**
|
|
5885
|
+
* Conflict
|
|
5886
|
+
*/
|
|
5887
|
+
409: ErrorResponse;
|
|
5888
|
+
/**
|
|
5889
|
+
* Internal server error
|
|
5890
|
+
*/
|
|
5891
|
+
500: ErrorResponse;
|
|
5892
|
+
/**
|
|
5893
|
+
* Service Unavailable
|
|
5894
|
+
*/
|
|
5895
|
+
503: ErrorResponse;
|
|
5896
|
+
};
|
|
5897
|
+
|
|
5898
|
+
export type DeactivateUserPromotionError = DeactivateUserPromotionErrors[keyof DeactivateUserPromotionErrors];
|
|
5899
|
+
|
|
5900
|
+
export type DeactivateUserPromotionResponses = {
|
|
5901
|
+
/**
|
|
5902
|
+
* Deactivates the user promotion
|
|
5903
|
+
*/
|
|
5904
|
+
200: {
|
|
5905
|
+
[key: string]: unknown;
|
|
5906
|
+
};
|
|
5907
|
+
};
|
|
5908
|
+
|
|
5909
|
+
export type DeactivateUserPromotionResponse = DeactivateUserPromotionResponses[keyof DeactivateUserPromotionResponses];
|
|
5910
|
+
|
|
5911
|
+
export type AddUserToPromotionData = {
|
|
5912
|
+
body?: never;
|
|
5913
|
+
path: {
|
|
5914
|
+
dazlUserId: string;
|
|
5915
|
+
promotionName: 'GEMINI_CREDITS_6_26';
|
|
5916
|
+
};
|
|
5917
|
+
query?: never;
|
|
5918
|
+
url: '/promotions/{dazlUserId}/{promotionName}';
|
|
5919
|
+
};
|
|
5920
|
+
|
|
5921
|
+
export type AddUserToPromotionErrors = {
|
|
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 AddUserToPromotionError = AddUserToPromotionErrors[keyof AddUserToPromotionErrors];
|
|
5956
|
+
|
|
5957
|
+
export type AddUserToPromotionResponses = {
|
|
5958
|
+
/**
|
|
5959
|
+
* Adds the user to the promotion and returns whether the promotion was granted
|
|
5960
|
+
*/
|
|
5961
|
+
200: {
|
|
5962
|
+
granted: boolean;
|
|
5963
|
+
};
|
|
5964
|
+
};
|
|
5965
|
+
|
|
5966
|
+
export type AddUserToPromotionResponse = AddUserToPromotionResponses[keyof AddUserToPromotionResponses];
|