@handsondigital/idplugger-admin 2.7.1 → 2.7.3
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 +3 -1
- package/README.md +5 -3
- package/api.ts +90 -16
- package/dist/api.d.ts +94 -16
- package/dist/api.js +2 -2
- package/docs/AdminPromotionConfigsIndex200Response.md +3 -1
- package/docs/AdminPromotionConfigsIndex200ResponseCategoriesInnerValue.md +20 -0
- 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,9 @@ docs/AdminPromotionCacheClear200Response.md
|
|
|
31
31
|
docs/AdminPromotionCacheClear200ResponseContent.md
|
|
32
32
|
docs/AdminPromotionCacheClear500Response.md
|
|
33
33
|
docs/AdminPromotionConfigsIndex200Response.md
|
|
34
|
-
docs/
|
|
34
|
+
docs/AdminPromotionConfigsIndex200ResponseCategoriesInnerValue.md
|
|
35
|
+
docs/AdminPromotionConfigsIndex200ResponseConfigsValue.md
|
|
36
|
+
docs/AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md
|
|
35
37
|
docs/AdminPromotionConfigsIndex500Response.md
|
|
36
38
|
docs/AdminPromotionConfigsShow200Response.md
|
|
37
39
|
docs/AdminPromotionConfigsShow200ResponseConfig.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-admin@2.7.
|
|
1
|
+
## @handsondigital/idplugger-admin@2.7.3
|
|
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.3 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -133,7 +133,9 @@ 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
|
+
- [AdminPromotionConfigsIndex200ResponseCategoriesInnerValue](docs/AdminPromotionConfigsIndex200ResponseCategoriesInnerValue.md)
|
|
137
|
+
- [AdminPromotionConfigsIndex200ResponseConfigsValue](docs/AdminPromotionConfigsIndex200ResponseConfigsValue.md)
|
|
138
|
+
- [AdminPromotionConfigsIndex200ResponseConfigsValueMetadata](docs/AdminPromotionConfigsIndex200ResponseConfigsValueMetadata.md)
|
|
137
139
|
- [AdminPromotionConfigsIndex500Response](docs/AdminPromotionConfigsIndex500Response.md)
|
|
138
140
|
- [AdminPromotionConfigsShow200Response](docs/AdminPromotionConfigsShow200Response.md)
|
|
139
141
|
- [AdminPromotionConfigsShow200ResponseConfig](docs/AdminPromotionConfigsShow200ResponseConfig.md)
|
package/api.ts
CHANGED
|
@@ -812,10 +812,16 @@ 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
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @type {Array<{ [key: string]: AdminPromotionConfigsIndex200ResponseCategoriesInnerValue; }>}
|
|
822
|
+
* @memberof AdminPromotionConfigsIndex200Response
|
|
823
|
+
*/
|
|
824
|
+
'categories'?: Array<{ [key: string]: AdminPromotionConfigsIndex200ResponseCategoriesInnerValue; }>;
|
|
819
825
|
/**
|
|
820
826
|
*
|
|
821
827
|
* @type {object}
|
|
@@ -826,42 +832,67 @@ export interface AdminPromotionConfigsIndex200Response {
|
|
|
826
832
|
/**
|
|
827
833
|
*
|
|
828
834
|
* @export
|
|
829
|
-
* @interface
|
|
835
|
+
* @interface AdminPromotionConfigsIndex200ResponseCategoriesInnerValue
|
|
836
|
+
*/
|
|
837
|
+
export interface AdminPromotionConfigsIndex200ResponseCategoriesInnerValue {
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @type {string}
|
|
841
|
+
* @memberof AdminPromotionConfigsIndex200ResponseCategoriesInnerValue
|
|
842
|
+
*/
|
|
843
|
+
'title'?: string;
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @export
|
|
848
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
830
849
|
*/
|
|
831
|
-
export interface
|
|
850
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValue {
|
|
832
851
|
/**
|
|
833
852
|
*
|
|
834
853
|
* @type {number}
|
|
835
|
-
* @memberof
|
|
854
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
836
855
|
*/
|
|
837
856
|
'id'?: number;
|
|
838
857
|
/**
|
|
839
858
|
*
|
|
840
859
|
* @type {string}
|
|
841
|
-
* @memberof
|
|
860
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
842
861
|
*/
|
|
843
862
|
'key'?: string;
|
|
844
863
|
/**
|
|
845
864
|
*
|
|
846
865
|
* @type {string}
|
|
847
|
-
* @memberof
|
|
866
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
848
867
|
*/
|
|
849
868
|
'value'?: string | null;
|
|
850
869
|
/**
|
|
851
870
|
*
|
|
852
871
|
* @type {string}
|
|
853
|
-
* @memberof
|
|
872
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
854
873
|
*/
|
|
855
|
-
'type'?:
|
|
874
|
+
'type'?: AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum;
|
|
856
875
|
/**
|
|
857
876
|
*
|
|
858
877
|
* @type {string}
|
|
859
|
-
* @memberof
|
|
878
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
860
879
|
*/
|
|
861
880
|
'grupo'?: string | null;
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
884
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
885
|
+
*/
|
|
886
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
887
|
+
/**
|
|
888
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
889
|
+
* @type {object}
|
|
890
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
891
|
+
*/
|
|
892
|
+
'dto'?: object | null;
|
|
862
893
|
}
|
|
863
894
|
|
|
864
|
-
export const
|
|
895
|
+
export const AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = {
|
|
865
896
|
Text: 'text',
|
|
866
897
|
Uuid: 'uuid',
|
|
867
898
|
Html: 'html',
|
|
@@ -875,8 +906,39 @@ export const AdminPromotionConfigsIndex200ResponseConfigsInnerTypeEnum = {
|
|
|
875
906
|
Datetime: 'datetime'
|
|
876
907
|
} as const;
|
|
877
908
|
|
|
878
|
-
export type
|
|
909
|
+
export type AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum[keyof typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum];
|
|
879
910
|
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @export
|
|
914
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
915
|
+
*/
|
|
916
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata {
|
|
917
|
+
/**
|
|
918
|
+
*
|
|
919
|
+
* @type {string}
|
|
920
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
921
|
+
*/
|
|
922
|
+
'name'?: string;
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @type {string}
|
|
926
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
927
|
+
*/
|
|
928
|
+
'description'?: string;
|
|
929
|
+
/**
|
|
930
|
+
*
|
|
931
|
+
* @type {string}
|
|
932
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
933
|
+
*/
|
|
934
|
+
'category'?: string;
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @type {boolean}
|
|
938
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
939
|
+
*/
|
|
940
|
+
'visible'?: boolean;
|
|
941
|
+
}
|
|
880
942
|
/**
|
|
881
943
|
*
|
|
882
944
|
* @export
|
|
@@ -969,6 +1031,18 @@ export interface AdminPromotionConfigsShow200ResponseConfig {
|
|
|
969
1031
|
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
970
1032
|
*/
|
|
971
1033
|
'grupo'?: string | null;
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
1037
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1038
|
+
*/
|
|
1039
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
1040
|
+
/**
|
|
1041
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
1042
|
+
* @type {object}
|
|
1043
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1044
|
+
*/
|
|
1045
|
+
'dto'?: object | null;
|
|
972
1046
|
}
|
|
973
1047
|
/**
|
|
974
1048
|
*
|
|
@@ -1100,10 +1174,10 @@ export interface AdminPromotionConfigsUpdate200Response {
|
|
|
1100
1174
|
'message'?: string;
|
|
1101
1175
|
/**
|
|
1102
1176
|
*
|
|
1103
|
-
* @type {
|
|
1177
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1104
1178
|
* @memberof AdminPromotionConfigsUpdate200Response
|
|
1105
1179
|
*/
|
|
1106
|
-
'config'?:
|
|
1180
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1107
1181
|
}
|
|
1108
1182
|
/**
|
|
1109
1183
|
*
|
|
@@ -1173,10 +1247,10 @@ export interface AdminPromotionConfigsUpsert200Response {
|
|
|
1173
1247
|
'message'?: string;
|
|
1174
1248
|
/**
|
|
1175
1249
|
*
|
|
1176
|
-
* @type {
|
|
1250
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1177
1251
|
* @memberof AdminPromotionConfigsUpsert200Response
|
|
1178
1252
|
*/
|
|
1179
|
-
'config'?:
|
|
1253
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1180
1254
|
}
|
|
1181
1255
|
/**
|
|
1182
1256
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -804,10 +804,20 @@ 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
|
+
};
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type {Array<{ [key: string]: AdminPromotionConfigsIndex200ResponseCategoriesInnerValue; }>}
|
|
816
|
+
* @memberof AdminPromotionConfigsIndex200Response
|
|
817
|
+
*/
|
|
818
|
+
'categories'?: Array<{
|
|
819
|
+
[key: string]: AdminPromotionConfigsIndex200ResponseCategoriesInnerValue;
|
|
820
|
+
}>;
|
|
811
821
|
/**
|
|
812
822
|
*
|
|
813
823
|
* @type {object}
|
|
@@ -818,41 +828,66 @@ export interface AdminPromotionConfigsIndex200Response {
|
|
|
818
828
|
/**
|
|
819
829
|
*
|
|
820
830
|
* @export
|
|
821
|
-
* @interface
|
|
831
|
+
* @interface AdminPromotionConfigsIndex200ResponseCategoriesInnerValue
|
|
832
|
+
*/
|
|
833
|
+
export interface AdminPromotionConfigsIndex200ResponseCategoriesInnerValue {
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @type {string}
|
|
837
|
+
* @memberof AdminPromotionConfigsIndex200ResponseCategoriesInnerValue
|
|
838
|
+
*/
|
|
839
|
+
'title'?: string;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
*
|
|
843
|
+
* @export
|
|
844
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
822
845
|
*/
|
|
823
|
-
export interface
|
|
846
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValue {
|
|
824
847
|
/**
|
|
825
848
|
*
|
|
826
849
|
* @type {number}
|
|
827
|
-
* @memberof
|
|
850
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
828
851
|
*/
|
|
829
852
|
'id'?: number;
|
|
830
853
|
/**
|
|
831
854
|
*
|
|
832
855
|
* @type {string}
|
|
833
|
-
* @memberof
|
|
856
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
834
857
|
*/
|
|
835
858
|
'key'?: string;
|
|
836
859
|
/**
|
|
837
860
|
*
|
|
838
861
|
* @type {string}
|
|
839
|
-
* @memberof
|
|
862
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
840
863
|
*/
|
|
841
864
|
'value'?: string | null;
|
|
842
865
|
/**
|
|
843
866
|
*
|
|
844
867
|
* @type {string}
|
|
845
|
-
* @memberof
|
|
868
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
846
869
|
*/
|
|
847
|
-
'type'?:
|
|
870
|
+
'type'?: AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum;
|
|
848
871
|
/**
|
|
849
872
|
*
|
|
850
873
|
* @type {string}
|
|
851
|
-
* @memberof
|
|
874
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
852
875
|
*/
|
|
853
876
|
'grupo'?: string | null;
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
880
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
881
|
+
*/
|
|
882
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
883
|
+
/**
|
|
884
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
885
|
+
* @type {object}
|
|
886
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValue
|
|
887
|
+
*/
|
|
888
|
+
'dto'?: object | null;
|
|
854
889
|
}
|
|
855
|
-
export declare const
|
|
890
|
+
export declare const AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum: {
|
|
856
891
|
readonly Text: "text";
|
|
857
892
|
readonly Uuid: "uuid";
|
|
858
893
|
readonly Html: "html";
|
|
@@ -865,7 +900,38 @@ export declare const AdminPromotionConfigsIndex200ResponseConfigsInnerTypeEnum:
|
|
|
865
900
|
readonly Date: "date";
|
|
866
901
|
readonly Datetime: "datetime";
|
|
867
902
|
};
|
|
868
|
-
export type
|
|
903
|
+
export type AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum = typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum[keyof typeof AdminPromotionConfigsIndex200ResponseConfigsValueTypeEnum];
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @export
|
|
907
|
+
* @interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
908
|
+
*/
|
|
909
|
+
export interface AdminPromotionConfigsIndex200ResponseConfigsValueMetadata {
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @type {string}
|
|
913
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
914
|
+
*/
|
|
915
|
+
'name'?: string;
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @type {string}
|
|
919
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
920
|
+
*/
|
|
921
|
+
'description'?: string;
|
|
922
|
+
/**
|
|
923
|
+
*
|
|
924
|
+
* @type {string}
|
|
925
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
926
|
+
*/
|
|
927
|
+
'category'?: string;
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @type {boolean}
|
|
931
|
+
* @memberof AdminPromotionConfigsIndex200ResponseConfigsValueMetadata
|
|
932
|
+
*/
|
|
933
|
+
'visible'?: boolean;
|
|
934
|
+
}
|
|
869
935
|
/**
|
|
870
936
|
*
|
|
871
937
|
* @export
|
|
@@ -958,6 +1024,18 @@ export interface AdminPromotionConfigsShow200ResponseConfig {
|
|
|
958
1024
|
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
959
1025
|
*/
|
|
960
1026
|
'grupo'?: string | null;
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValueMetadata}
|
|
1030
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1031
|
+
*/
|
|
1032
|
+
'metadata'?: AdminPromotionConfigsIndex200ResponseConfigsValueMetadata;
|
|
1033
|
+
/**
|
|
1034
|
+
* Estrutura DTO tipada da configuração (se disponível)
|
|
1035
|
+
* @type {object}
|
|
1036
|
+
* @memberof AdminPromotionConfigsShow200ResponseConfig
|
|
1037
|
+
*/
|
|
1038
|
+
'dto'?: object | null;
|
|
961
1039
|
}
|
|
962
1040
|
/**
|
|
963
1041
|
*
|
|
@@ -1086,10 +1164,10 @@ export interface AdminPromotionConfigsUpdate200Response {
|
|
|
1086
1164
|
'message'?: string;
|
|
1087
1165
|
/**
|
|
1088
1166
|
*
|
|
1089
|
-
* @type {
|
|
1167
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1090
1168
|
* @memberof AdminPromotionConfigsUpdate200Response
|
|
1091
1169
|
*/
|
|
1092
|
-
'config'?:
|
|
1170
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1093
1171
|
}
|
|
1094
1172
|
/**
|
|
1095
1173
|
*
|
|
@@ -1156,10 +1234,10 @@ export interface AdminPromotionConfigsUpsert200Response {
|
|
|
1156
1234
|
'message'?: string;
|
|
1157
1235
|
/**
|
|
1158
1236
|
*
|
|
1159
|
-
* @type {
|
|
1237
|
+
* @type {AdminPromotionConfigsIndex200ResponseConfigsValue}
|
|
1160
1238
|
* @memberof AdminPromotionConfigsUpsert200Response
|
|
1161
1239
|
*/
|
|
1162
|
-
'config'?:
|
|
1240
|
+
'config'?: AdminPromotionConfigsIndex200ResponseConfigsValue;
|
|
1163
1241
|
}
|
|
1164
1242
|
/**
|
|
1165
1243
|
*
|
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,8 @@ 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
|
+
**categories** | **Array<{ [key: string]: AdminPromotionConfigsIndex200ResponseCategoriesInnerValue; }>** | | [optional] [default to undefined]
|
|
11
12
|
**pagination** | **object** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -19,6 +20,7 @@ const instance: AdminPromotionConfigsIndex200Response = {
|
|
|
19
20
|
action,
|
|
20
21
|
result,
|
|
21
22
|
configs,
|
|
23
|
+
categories,
|
|
22
24
|
pagination,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AdminPromotionConfigsIndex200ResponseCategoriesInnerValue
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AdminPromotionConfigsIndex200ResponseCategoriesInnerValue } from '@handsondigital/idplugger-admin';
|
|
14
|
+
|
|
15
|
+
const instance: AdminPromotionConfigsIndex200ResponseCategoriesInnerValue = {
|
|
16
|
+
title,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,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
|
|