@handsondigital/idplugger-admin 2.7.1 → 2.7.2
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/.openapi-generator/FILES +2 -1
- package/README.md +4 -3
- package/api.ts +71 -16
- package/dist/api.d.ts +73 -16
- package/dist/api.js +2 -2
- package/docs/AdminPromotionConfigsIndex200Response.md +1 -1
- package/docs/AdminPromotionConfigsIndex200ResponseConfigsValue.md +32 -0
- package/docs/AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md +26 -0
- package/docs/AdminPromotionConfigsShow200ResponseConfig.md +4 -0
- package/docs/AdminPromotionConfigsUpdate200Response.md +1 -1
- package/docs/AdminPromotionConfigsUpsert200Response.md +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -31,7 +31,8 @@ docs/AdminPromotionCacheClear200Response.md
|
|
|
31
31
|
docs/AdminPromotionCacheClear200ResponseContent.md
|
|
32
32
|
docs/AdminPromotionCacheClear500Response.md
|
|
33
33
|
docs/AdminPromotionConfigsIndex200Response.md
|
|
34
|
-
docs/
|
|
34
|
+
docs/AdminPromotionConfigsIndex200ResponseConfigsValue.md
|
|
35
|
+
docs/AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md
|
|
35
36
|
docs/AdminPromotionConfigsIndex500Response.md
|
|
36
37
|
docs/AdminPromotionConfigsShow200Response.md
|
|
37
38
|
docs/AdminPromotionConfigsShow200ResponseConfig.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-admin@2.7.
|
|
1
|
+
## @handsondigital/idplugger-admin@2.7.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @handsondigital/idplugger-admin@2.7.
|
|
39
|
+
npm install @handsondigital/idplugger-admin@2.7.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -133,7 +133,8 @@ Class | Method | HTTP request | Description
|
|
|
133
133
|
- [AdminPromotionCacheClear200ResponseContent](docs/AdminPromotionCacheClear200ResponseContent.md)
|
|
134
134
|
- [AdminPromotionCacheClear500Response](docs/AdminPromotionCacheClear500Response.md)
|
|
135
135
|
- [AdminPromotionConfigsIndex200Response](docs/AdminPromotionConfigsIndex200Response.md)
|
|
136
|
-
- [
|
|
136
|
+
- [AdminPromotionConfigsIndex200ResponseConfigsValue](docs/AdminPromotionConfigsIndex200ResponseConfigsValue.md)
|
|
137
|
+
- [AdminPromotionConfigsIndex200ResponseConfigsValueMetadata](docs/AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md)
|
|
137
138
|
- [AdminPromotionConfigsIndex500Response](docs/AdminPromotionConfigsIndex500Response.md)
|
|
138
139
|
- [AdminPromotionConfigsShow200Response](docs/AdminPromotionConfigsShow200Response.md)
|
|
139
140
|
- [AdminPromotionConfigsShow200ResponseConfig](docs/AdminPromotionConfigsShow200ResponseConfig.md)
|
package/api.ts
CHANGED
|
@@ -812,10 +812,10 @@ export interface AdminPromotionConfigsIndex200Response {
|
|
|
812
812
|
'result'?: string;
|
|
813
813
|
/**
|
|
814
814
|
*
|
|
815
|
-
* @type {
|
|
815
|
+
* @type {{ [key: string]: AdminPromotionConfigsIndex200ResponseConfigsValue; }}
|
|
816
816
|
* @memberof AdminPromotionConfigsIndex200Response
|
|
817
817
|
*/
|
|
818
|
-
'configs'?:
|
|
818
|
+
'configs'?: { [key: string]: AdminPromotionConfigsIndex200ResponseConfigsValue; };
|
|
819
819
|
/**
|
|
820
820
|
*
|
|
821
821
|
* @type {object}
|
|
@@ -826,42 +826,54 @@ export interface AdminPromotionConfigsIndex200Response {
|
|
|
826
826
|
/**
|
|
827
827
|
*
|
|
828
828
|
* @export
|
|
829
|
-
* @interface
|
|
829
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
830
830
|
*/
|
|
831
|
-
export interface
|
|
831
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValue {
|
|
832
832
|
/**
|
|
833
833
|
*
|
|
834
834
|
* @type {number}
|
|
835
|
-
* @memberof
|
|
835
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
836
836
|
*/
|
|
837
837
|
'id'?: number;
|
|
838
838
|
/**
|
|
839
839
|
*
|
|
840
840
|
* @type {string}
|
|
841
|
-
* @memberof
|
|
841
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
842
842
|
*/
|
|
843
843
|
'key'?: string;
|
|
844
844
|
/**
|
|
845
845
|
*
|
|
846
846
|
* @type {string}
|
|
847
|
-
* @memberof
|
|
847
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
848
848
|
*/
|
|
849
849
|
'value'?: string | null;
|
|
850
850
|
/**
|
|
851
851
|
*
|
|
852
852
|
* @type {string}
|
|
853
|
-
* @memberof
|
|
853
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
854
854
|
*/
|
|
855
|
-
'type'?:
|
|
855
|
+
'type'?: AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum;
|
|
856
856
|
/**
|
|
857
857
|
*
|
|
858
858
|
* @type {string}
|
|
859
|
-
* @memberof
|
|
859
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
860
860
|
*/
|
|
861
861
|
'grupo'?: string | null;
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
865
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
866
|
+
*/
|
|
867
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
868
|
+
/**
|
|
869
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
870
|
+
* @type {object}
|
|
871
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
872
|
+
*/
|
|
873
|
+
'dto'?: object | null;
|
|
862
874
|
}
|
|
863
875
|
|
|
864
|
-
export const
|
|
876
|
+
export const AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = {
|
|
865
877
|
Text: 'text',
|
|
866
878
|
Uuid: 'uuid',
|
|
867
879
|
Html: 'html',
|
|
@@ -875,8 +887,39 @@ export const AdminPromotionConfigsIndex200ResponseConfigsInnerTypeEnum = {
|
|
|
875
887
|
Datetime: 'datetime'
|
|
876
888
|
} as const;
|
|
877
889
|
|
|
878
|
-
export type
|
|
890
|
+
export type AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum[keyof typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum];
|
|
879
891
|
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @export
|
|
895
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
896
|
+
*/
|
|
897
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata {
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @type {string}
|
|
901
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
902
|
+
*/
|
|
903
|
+
'name'?: string;
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @type {string}
|
|
907
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
908
|
+
*/
|
|
909
|
+
'description'?: string;
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @type {string}
|
|
913
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
914
|
+
*/
|
|
915
|
+
'category'?: string;
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @type {boolean}
|
|
919
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
920
|
+
*/
|
|
921
|
+
'visible'?: boolean;
|
|
922
|
+
}
|
|
880
923
|
/**
|
|
881
924
|
*
|
|
882
925
|
* @export
|
|
@@ -969,6 +1012,18 @@ export interface AdminPromotionConfigsShow200ResponseConfig {
|
|
|
969
1012
|
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
970
1013
|
*/
|
|
971
1014
|
'grupo'?: string | null;
|
|
1015
|
+
/**
|
|
1016
|
+
*
|
|
1017
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
1018
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1019
|
+
*/
|
|
1020
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
1021
|
+
/**
|
|
1022
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
1023
|
+
* @type {object}
|
|
1024
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1025
|
+
*/
|
|
1026
|
+
'dto'?: object | null;
|
|
972
1027
|
}
|
|
973
1028
|
/**
|
|
974
1029
|
*
|
|
@@ -1100,10 +1155,10 @@ export interface AdminPromotionConfigsUpdate200Response {
|
|
|
1100
1155
|
'message'?: string;
|
|
1101
1156
|
/**
|
|
1102
1157
|
*
|
|
1103
|
-
* @type {
|
|
1158
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1104
1159
|
* @memberof AdminPromotionConfigsUpdate200Response
|
|
1105
1160
|
*/
|
|
1106
|
-
'config'?:
|
|
1161
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1107
1162
|
}
|
|
1108
1163
|
/**
|
|
1109
1164
|
*
|
|
@@ -1173,10 +1228,10 @@ export interface AdminPromotionConfigsUpsert200Response {
|
|
|
1173
1228
|
'message'?: string;
|
|
1174
1229
|
/**
|
|
1175
1230
|
*
|
|
1176
|
-
* @type {
|
|
1231
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1177
1232
|
* @memberof AdminPromotionConfigsUpsert200Response
|
|
1178
1233
|
*/
|
|
1179
|
-
'config'?:
|
|
1234
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1180
1235
|
}
|
|
1181
1236
|
/**
|
|
1182
1237
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -804,10 +804,12 @@ export interface AdminPromotionConfigsIndex200Response {
|
|
|
804
804
|
'result'?: string;
|
|
805
805
|
/**
|
|
806
806
|
*
|
|
807
|
-
* @type {
|
|
807
|
+
* @type {{ [key: string]: AdminPromotionConfigsIndex200ResponseConfigsValue; }}
|
|
808
808
|
* @memberof AdminPromotionConfigsIndex200Response
|
|
809
809
|
*/
|
|
810
|
-
'configs'?:
|
|
810
|
+
'configs'?: {
|
|
811
|
+
[key: string]: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
812
|
+
};
|
|
811
813
|
/**
|
|
812
814
|
*
|
|
813
815
|
* @type {object}
|
|
@@ -818,41 +820,53 @@ export interface AdminPromotionConfigsIndex200Response {
|
|
|
818
820
|
/**
|
|
819
821
|
*
|
|
820
822
|
* @export
|
|
821
|
-
* @interface
|
|
823
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
822
824
|
*/
|
|
823
|
-
export interface
|
|
825
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValue {
|
|
824
826
|
/**
|
|
825
827
|
*
|
|
826
828
|
* @type {number}
|
|
827
|
-
* @memberof
|
|
829
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
828
830
|
*/
|
|
829
831
|
'id'?: number;
|
|
830
832
|
/**
|
|
831
833
|
*
|
|
832
834
|
* @type {string}
|
|
833
|
-
* @memberof
|
|
835
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
834
836
|
*/
|
|
835
837
|
'key'?: string;
|
|
836
838
|
/**
|
|
837
839
|
*
|
|
838
840
|
* @type {string}
|
|
839
|
-
* @memberof
|
|
841
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
840
842
|
*/
|
|
841
843
|
'value'?: string | null;
|
|
842
844
|
/**
|
|
843
845
|
*
|
|
844
846
|
* @type {string}
|
|
845
|
-
* @memberof
|
|
847
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
846
848
|
*/
|
|
847
|
-
'type'?:
|
|
849
|
+
'type'?: AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum;
|
|
848
850
|
/**
|
|
849
851
|
*
|
|
850
852
|
* @type {string}
|
|
851
|
-
* @memberof
|
|
853
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
852
854
|
*/
|
|
853
855
|
'grupo'?: string | null;
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
859
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
860
|
+
*/
|
|
861
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
862
|
+
/**
|
|
863
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
864
|
+
* @type {object}
|
|
865
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
866
|
+
*/
|
|
867
|
+
'dto'?: object | null;
|
|
854
868
|
}
|
|
855
|
-
export declare const
|
|
869
|
+
export declare const AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum: {
|
|
856
870
|
readonly Text: "text";
|
|
857
871
|
readonly Uuid: "uuid";
|
|
858
872
|
readonly Html: "html";
|
|
@@ -865,7 +879,38 @@ export declare const AdminPromotionConfigsIndex200ResponseConfigsInnerTypeEnum:
|
|
|
865
879
|
readonly Date: "date";
|
|
866
880
|
readonly Datetime: "datetime";
|
|
867
881
|
};
|
|
868
|
-
export type
|
|
882
|
+
export type AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum[keyof typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum];
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @export
|
|
886
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
887
|
+
*/
|
|
888
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata {
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
893
|
+
*/
|
|
894
|
+
'name'?: string;
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @type {string}
|
|
898
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
899
|
+
*/
|
|
900
|
+
'description'?: string;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
905
|
+
*/
|
|
906
|
+
'category'?: string;
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @type {boolean}
|
|
910
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
911
|
+
*/
|
|
912
|
+
'visible'?: boolean;
|
|
913
|
+
}
|
|
869
914
|
/**
|
|
870
915
|
*
|
|
871
916
|
* @export
|
|
@@ -958,6 +1003,18 @@ export interface AdminPromotionConfigsShow200ResponseConfig {
|
|
|
958
1003
|
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
959
1004
|
*/
|
|
960
1005
|
'grupo'?: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
*
|
|
1008
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
1009
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1010
|
+
*/
|
|
1011
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
1012
|
+
/**
|
|
1013
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
1014
|
+
* @type {object}
|
|
1015
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1016
|
+
*/
|
|
1017
|
+
'dto'?: object | null;
|
|
961
1018
|
}
|
|
962
1019
|
/**
|
|
963
1020
|
*
|
|
@@ -1086,10 +1143,10 @@ export interface AdminPromotionConfigsUpdate200Response {
|
|
|
1086
1143
|
'message'?: string;
|
|
1087
1144
|
/**
|
|
1088
1145
|
*
|
|
1089
|
-
* @type {
|
|
1146
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1090
1147
|
* @memberof AdminPromotionConfigsUpdate200Response
|
|
1091
1148
|
*/
|
|
1092
|
-
'config'?:
|
|
1149
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1093
1150
|
}
|
|
1094
1151
|
/**
|
|
1095
1152
|
*
|
|
@@ -1156,10 +1213,10 @@ export interface AdminPromotionConfigsUpsert200Response {
|
|
|
1156
1213
|
'message'?: string;
|
|
1157
1214
|
/**
|
|
1158
1215
|
*
|
|
1159
|
-
* @type {
|
|
1216
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1160
1217
|
* @memberof AdminPromotionConfigsUpsert200Response
|
|
1161
1218
|
*/
|
|
1162
|
-
'config'?:
|
|
1219
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1163
1220
|
}
|
|
1164
1221
|
/**
|
|
1165
1222
|
*
|
package/dist/api.js
CHANGED
|
@@ -84,7 +84,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.MetricsApi = exports.MetricsApiFactory = exports.MetricsApiFp = exports.MetricsApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.ErrorsApi = exports.ErrorsApiFactory = exports.ErrorsApiFp = exports.ErrorsApiAxiosParamCreator = exports.ErrorReportsApi = exports.ErrorReportsApiFactory = exports.ErrorReportsApiFp = exports.ErrorReportsApiAxiosParamCreator = exports.CustomerServiceApi = exports.CustomerServiceApiFactory = exports.CustomerServiceApiFp = exports.CustomerServiceApiAxiosParamCreator = exports.AdminPromotionConfigsIndexTypeEnum = exports.ConfigsApi = exports.ConfigsApiFactory = exports.ConfigsApiFp = exports.ConfigsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ApiLogsApi = exports.ApiLogsApiFactory = exports.ApiLogsApiFp = exports.ApiLogsApiAxiosParamCreator = exports.PromotionStartRequestPermissionsEnum = exports.PromotionStart200ResponseUserPermissionsEnum = exports.AdminPromotionConfigsUpdateRequestTypeEnum = exports.AdminPromotionConfigsStoreRequestTypeEnum = exports.
|
|
87
|
+
exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.MetricsApi = exports.MetricsApiFactory = exports.MetricsApiFp = exports.MetricsApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.ErrorsApi = exports.ErrorsApiFactory = exports.ErrorsApiFp = exports.ErrorsApiAxiosParamCreator = exports.ErrorReportsApi = exports.ErrorReportsApiFactory = exports.ErrorReportsApiFp = exports.ErrorReportsApiAxiosParamCreator = exports.CustomerServiceApi = exports.CustomerServiceApiFactory = exports.CustomerServiceApiFp = exports.CustomerServiceApiAxiosParamCreator = exports.AdminPromotionConfigsIndexTypeEnum = exports.ConfigsApi = exports.ConfigsApiFactory = exports.ConfigsApiFp = exports.ConfigsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ApiLogsApi = exports.ApiLogsApiFactory = exports.ApiLogsApiFp = exports.ApiLogsApiAxiosParamCreator = exports.PromotionStartRequestPermissionsEnum = exports.PromotionStart200ResponseUserPermissionsEnum = exports.AdminPromotionConfigsUpdateRequestTypeEnum = exports.AdminPromotionConfigsStoreRequestTypeEnum = exports.AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = void 0;
|
|
88
88
|
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.StepsApi = exports.StepsApiFactory = exports.StepsApiFp = exports.StepsApiAxiosParamCreator = void 0;
|
|
89
89
|
var axios_1 = require("axios");
|
|
90
90
|
// Some imports not used depending on template conditions
|
|
@@ -92,7 +92,7 @@ var axios_1 = require("axios");
|
|
|
92
92
|
var common_1 = require("./common");
|
|
93
93
|
// @ts-ignore
|
|
94
94
|
var base_1 = require("./base");
|
|
95
|
-
exports.
|
|
95
|
+
exports.AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = {
|
|
96
96
|
Text: 'text',
|
|
97
97
|
Uuid: 'uuid',
|
|
98
98
|
Html: 'html',
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**action** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**result** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**configs** | [**
|
|
10
|
+
**configs** | [**{ [key: string]: AdminPromotionConfigsIndex200ResponseConfigsValue; }**](AdminPromotionConfigsIndex200ResponseConfigsValue.md) | | [optional] [default to undefined]
|
|
11
11
|
**pagination** | **object** | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**key** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**value** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**grupo** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**metadata** | [**AdminPromotionConfigsIndex200ResponseConfigsValueMetadata**](AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md) | | [optional] [default to undefined]
|
|
14
|
+
**dto** | **object** | Estrutura DTO tipada da configuração (se disponível) | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { AdminPromotionConfigsIndex200ResponseConfigsValue } from '@handsondigital/idplugger-admin';
|
|
20
|
+
|
|
21
|
+
const instance: AdminPromotionConfigsIndex200ResponseConfigsValue = {
|
|
22
|
+
id,
|
|
23
|
+
key,
|
|
24
|
+
value,
|
|
25
|
+
type,
|
|
26
|
+
grupo,
|
|
27
|
+
metadata,
|
|
28
|
+
dto,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**visible** | **boolean** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AdminPromotionConfigsIndex200ResponseConfigsValueMetadata } from '@handsondigital/idplugger-admin';
|
|
17
|
+
|
|
18
|
+
const instance: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata = {
|
|
19
|
+
name,
|
|
20
|
+
description,
|
|
21
|
+
category,
|
|
22
|
+
visible,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**value** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**type** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**grupo** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**metadata** | [**AdminPromotionConfigsIndex200ResponseConfigsValueMetadata**](AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md) | | [optional] [default to undefined]
|
|
14
|
+
**dto** | **object** | Estrutura DTO tipada da configuração (se disponível) | [optional] [default to undefined]
|
|
13
15
|
|
|
14
16
|
## Example
|
|
15
17
|
|
|
@@ -22,6 +24,8 @@ const instance: AdminPromotionConfigsShow200ResponseConfig = {
|
|
|
22
24
|
value,
|
|
23
25
|
type,
|
|
24
26
|
grupo,
|
|
27
|
+
metadata,
|
|
28
|
+
dto,
|
|
25
29
|
};
|
|
26
30
|
```
|
|
27
31
|
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**action** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**result** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**config** | **
|
|
11
|
+
**config** | [**AdminPromotionConfigsIndex200ResponseConfigsValue**](AdminPromotionConfigsIndex200ResponseConfigsValue.md) | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**action** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**result** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**config** | **
|
|
11
|
+
**config** | [**AdminPromotionConfigsIndex200ResponseConfigsValue**](AdminPromotionConfigsIndex200ResponseConfigsValue.md) | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|