@handsondigital/idplugger-promotion 2.0.3 → 2.0.4
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 +4 -1
- package/README.md +6 -3
- package/api.ts +324 -45
- package/dist/api.d.ts +328 -49
- package/docs/AwardedsSearch200Response.md +1 -1
- package/docs/AwardedsSearch200ResponseContentInner.md +48 -0
- package/docs/AwardedsSearch200ResponseContentInnerAllOfAwardedState.md +22 -0
- package/docs/AwardedsStates200Response.md +1 -1
- package/docs/Coupon.md +0 -2
- package/docs/CouponsCreateRequest.md +1 -1
- package/docs/CouponsCreateRequestCouponsInner.md +38 -0
- package/docs/Me200Response.md +2 -0
- package/docs/User.md +0 -2
- package/docs/UserWebhookSuccess.md +1 -1
- package/docs/UsersCreateRequest.md +1 -1
- package/docs/UsersIndex200Response.md +1 -1
- package/docs/UsersIndex200ResponseContentInner.md +56 -0
- package/docs/UsersUpdate201Response.md +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -31,10 +31,11 @@ docs/Award.md
|
|
|
31
31
|
docs/Awarded.md
|
|
32
32
|
docs/AwardedsApi.md
|
|
33
33
|
docs/AwardedsSearch200Response.md
|
|
34
|
+
docs/AwardedsSearch200ResponseContentInner.md
|
|
35
|
+
docs/AwardedsSearch200ResponseContentInnerAllOfAwardedState.md
|
|
34
36
|
docs/AwardedsSearch400Response.md
|
|
35
37
|
docs/AwardedsSearch401Response.md
|
|
36
38
|
docs/AwardedsStates200Response.md
|
|
37
|
-
docs/AwardedsStates200ResponseContentInner.md
|
|
38
39
|
docs/AwardedsUpdate200Response.md
|
|
39
40
|
docs/AwardedsUpdate400Response.md
|
|
40
41
|
docs/AwardedsUpdate401Response.md
|
|
@@ -99,6 +100,7 @@ docs/CouponsCreate200Response.md
|
|
|
99
100
|
docs/CouponsCreate401Response.md
|
|
100
101
|
docs/CouponsCreate409Response.md
|
|
101
102
|
docs/CouponsCreateRequest.md
|
|
103
|
+
docs/CouponsCreateRequestCouponsInner.md
|
|
102
104
|
docs/CouponsDelete200Response.md
|
|
103
105
|
docs/CouponsDelete400Response.md
|
|
104
106
|
docs/CouponsDelete401Response.md
|
|
@@ -266,6 +268,7 @@ docs/UsersDelete200Response.md
|
|
|
266
268
|
docs/UsersDelete400Response.md
|
|
267
269
|
docs/UsersDelete401Response.md
|
|
268
270
|
docs/UsersIndex200Response.md
|
|
271
|
+
docs/UsersIndex200ResponseContentInner.md
|
|
269
272
|
docs/UsersUpdate201Response.md
|
|
270
273
|
docs/UsersWebhook200Response.md
|
|
271
274
|
docs/UsersWebhookRequest.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @handsondigital/idplugger-promotion@2.0.
|
|
1
|
+
## @handsondigital/idplugger-promotion@2.0.4
|
|
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-promotion@2.0.
|
|
39
|
+
npm install @handsondigital/idplugger-promotion@2.0.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -148,10 +148,11 @@ Class | Method | HTTP request | Description
|
|
|
148
148
|
- [Award](docs/Award.md)
|
|
149
149
|
- [Awarded](docs/Awarded.md)
|
|
150
150
|
- [AwardedsSearch200Response](docs/AwardedsSearch200Response.md)
|
|
151
|
+
- [AwardedsSearch200ResponseContentInner](docs/AwardedsSearch200ResponseContentInner.md)
|
|
152
|
+
- [AwardedsSearch200ResponseContentInnerAllOfAwardedState](docs/AwardedsSearch200ResponseContentInnerAllOfAwardedState.md)
|
|
151
153
|
- [AwardedsSearch400Response](docs/AwardedsSearch400Response.md)
|
|
152
154
|
- [AwardedsSearch401Response](docs/AwardedsSearch401Response.md)
|
|
153
155
|
- [AwardedsStates200Response](docs/AwardedsStates200Response.md)
|
|
154
|
-
- [AwardedsStates200ResponseContentInner](docs/AwardedsStates200ResponseContentInner.md)
|
|
155
156
|
- [AwardedsUpdate200Response](docs/AwardedsUpdate200Response.md)
|
|
156
157
|
- [AwardedsUpdate400Response](docs/AwardedsUpdate400Response.md)
|
|
157
158
|
- [AwardedsUpdate401Response](docs/AwardedsUpdate401Response.md)
|
|
@@ -211,6 +212,7 @@ Class | Method | HTTP request | Description
|
|
|
211
212
|
- [CouponsCreate401Response](docs/CouponsCreate401Response.md)
|
|
212
213
|
- [CouponsCreate409Response](docs/CouponsCreate409Response.md)
|
|
213
214
|
- [CouponsCreateRequest](docs/CouponsCreateRequest.md)
|
|
215
|
+
- [CouponsCreateRequestCouponsInner](docs/CouponsCreateRequestCouponsInner.md)
|
|
214
216
|
- [CouponsDelete200Response](docs/CouponsDelete200Response.md)
|
|
215
217
|
- [CouponsDelete400Response](docs/CouponsDelete400Response.md)
|
|
216
218
|
- [CouponsDelete401Response](docs/CouponsDelete401Response.md)
|
|
@@ -364,6 +366,7 @@ Class | Method | HTTP request | Description
|
|
|
364
366
|
- [UsersDelete400Response](docs/UsersDelete400Response.md)
|
|
365
367
|
- [UsersDelete401Response](docs/UsersDelete401Response.md)
|
|
366
368
|
- [UsersIndex200Response](docs/UsersIndex200Response.md)
|
|
369
|
+
- [UsersIndex200ResponseContentInner](docs/UsersIndex200ResponseContentInner.md)
|
|
367
370
|
- [UsersUpdate201Response](docs/UsersUpdate201Response.md)
|
|
368
371
|
- [UsersWebhook200Response](docs/UsersWebhook200Response.md)
|
|
369
372
|
- [UsersWebhookRequest](docs/UsersWebhookRequest.md)
|
package/api.ts
CHANGED
|
@@ -826,10 +826,126 @@ export interface AwardedsSearch200Response {
|
|
|
826
826
|
'paging'?: Pagination;
|
|
827
827
|
/**
|
|
828
828
|
*
|
|
829
|
-
* @type {Array<
|
|
829
|
+
* @type {Array<AwardedsSearch200ResponseContentInner>}
|
|
830
830
|
* @memberof AwardedsSearch200Response
|
|
831
831
|
*/
|
|
832
|
-
'content'?: Array<
|
|
832
|
+
'content'?: Array<AwardedsSearch200ResponseContentInner>;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @export
|
|
837
|
+
* @interface AwardedsSearch200ResponseContentInner
|
|
838
|
+
*/
|
|
839
|
+
export interface AwardedsSearch200ResponseContentInner {
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @type {number}
|
|
843
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
844
|
+
*/
|
|
845
|
+
'id'?: number;
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @type {number}
|
|
849
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
850
|
+
*/
|
|
851
|
+
'raffle_id'?: number;
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {number}
|
|
855
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
856
|
+
*/
|
|
857
|
+
'lucky_number_id'?: number;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {number}
|
|
861
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
862
|
+
*/
|
|
863
|
+
'award_id': number;
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @type {number}
|
|
867
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
868
|
+
*/
|
|
869
|
+
'awarded_state_id': number;
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @type {string}
|
|
873
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
874
|
+
*/
|
|
875
|
+
'checklist'?: string;
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @type {string}
|
|
879
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
880
|
+
*/
|
|
881
|
+
'justificativa'?: string;
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
886
|
+
*/
|
|
887
|
+
'observacoes'?: string;
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
892
|
+
*/
|
|
893
|
+
'created_at'?: string;
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @type {string}
|
|
897
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
898
|
+
*/
|
|
899
|
+
'updated_at'?: string;
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @type {User}
|
|
903
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
904
|
+
*/
|
|
905
|
+
'user'?: User;
|
|
906
|
+
/**
|
|
907
|
+
*
|
|
908
|
+
* @type {Raffle}
|
|
909
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
910
|
+
*/
|
|
911
|
+
'raffle'?: Raffle;
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
* @type {LuckyNumber}
|
|
915
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
916
|
+
*/
|
|
917
|
+
'lucky_number'?: LuckyNumber;
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @type {Award}
|
|
921
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
922
|
+
*/
|
|
923
|
+
'award'?: Award;
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {AwardedsSearch200ResponseContentInnerAllOfAwardedState}
|
|
927
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
928
|
+
*/
|
|
929
|
+
'awarded_state'?: AwardedsSearch200ResponseContentInnerAllOfAwardedState;
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @export
|
|
934
|
+
* @interface AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
935
|
+
*/
|
|
936
|
+
export interface AwardedsSearch200ResponseContentInnerAllOfAwardedState {
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @type {number}
|
|
940
|
+
* @memberof AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
941
|
+
*/
|
|
942
|
+
'id'?: number;
|
|
943
|
+
/**
|
|
944
|
+
*
|
|
945
|
+
* @type {string}
|
|
946
|
+
* @memberof AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
947
|
+
*/
|
|
948
|
+
'name'?: string;
|
|
833
949
|
}
|
|
834
950
|
/**
|
|
835
951
|
*
|
|
@@ -919,29 +1035,10 @@ export interface AwardedsStates200Response {
|
|
|
919
1035
|
'result'?: string;
|
|
920
1036
|
/**
|
|
921
1037
|
*
|
|
922
|
-
* @type {Array<
|
|
1038
|
+
* @type {Array<AwardedsSearch200ResponseContentInnerAllOfAwardedState>}
|
|
923
1039
|
* @memberof AwardedsStates200Response
|
|
924
1040
|
*/
|
|
925
|
-
'content'?: Array<
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
*
|
|
929
|
-
* @export
|
|
930
|
-
* @interface AwardedsStates200ResponseContentInner
|
|
931
|
-
*/
|
|
932
|
-
export interface AwardedsStates200ResponseContentInner {
|
|
933
|
-
/**
|
|
934
|
-
*
|
|
935
|
-
* @type {number}
|
|
936
|
-
* @memberof AwardedsStates200ResponseContentInner
|
|
937
|
-
*/
|
|
938
|
-
'id'?: number;
|
|
939
|
-
/**
|
|
940
|
-
*
|
|
941
|
-
* @type {string}
|
|
942
|
-
* @memberof AwardedsStates200ResponseContentInner
|
|
943
|
-
*/
|
|
944
|
-
'name'?: string;
|
|
1041
|
+
'content'?: Array<AwardedsSearch200ResponseContentInnerAllOfAwardedState>;
|
|
945
1042
|
}
|
|
946
1043
|
/**
|
|
947
1044
|
*
|
|
@@ -2613,12 +2710,6 @@ export interface Coupon {
|
|
|
2613
2710
|
* @memberof Coupon
|
|
2614
2711
|
*/
|
|
2615
2712
|
'promotion_codes'?: Array<string>;
|
|
2616
|
-
/**
|
|
2617
|
-
*
|
|
2618
|
-
* @type {{ [key: string]: string; }}
|
|
2619
|
-
* @memberof Coupon
|
|
2620
|
-
*/
|
|
2621
|
-
'custom_data'?: { [key: string]: string; };
|
|
2622
2713
|
}
|
|
2623
2714
|
/**
|
|
2624
2715
|
*
|
|
@@ -2906,10 +2997,77 @@ export interface CouponsCreate409Response {
|
|
|
2906
2997
|
export interface CouponsCreateRequest {
|
|
2907
2998
|
/**
|
|
2908
2999
|
*
|
|
2909
|
-
* @type {Array<
|
|
3000
|
+
* @type {Array<CouponsCreateRequestCouponsInner>}
|
|
2910
3001
|
* @memberof CouponsCreateRequest
|
|
2911
3002
|
*/
|
|
2912
|
-
'coupons'?: Array<
|
|
3003
|
+
'coupons'?: Array<CouponsCreateRequestCouponsInner>;
|
|
3004
|
+
}
|
|
3005
|
+
/**
|
|
3006
|
+
*
|
|
3007
|
+
* @export
|
|
3008
|
+
* @interface CouponsCreateRequestCouponsInner
|
|
3009
|
+
*/
|
|
3010
|
+
export interface CouponsCreateRequestCouponsInner {
|
|
3011
|
+
/**
|
|
3012
|
+
*
|
|
3013
|
+
* @type {number}
|
|
3014
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3015
|
+
*/
|
|
3016
|
+
'id'?: number;
|
|
3017
|
+
/**
|
|
3018
|
+
*
|
|
3019
|
+
* @type {number}
|
|
3020
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3021
|
+
*/
|
|
3022
|
+
'user_id': number;
|
|
3023
|
+
/**
|
|
3024
|
+
*
|
|
3025
|
+
* @type {string}
|
|
3026
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3027
|
+
*/
|
|
3028
|
+
'purchase_date': string;
|
|
3029
|
+
/**
|
|
3030
|
+
*
|
|
3031
|
+
* @type {string}
|
|
3032
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3033
|
+
*/
|
|
3034
|
+
'cnpj': string;
|
|
3035
|
+
/**
|
|
3036
|
+
*
|
|
3037
|
+
* @type {string}
|
|
3038
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3039
|
+
*/
|
|
3040
|
+
'code': string;
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @type {number}
|
|
3044
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3045
|
+
*/
|
|
3046
|
+
'cost': number;
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @type {number}
|
|
3050
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3051
|
+
*/
|
|
3052
|
+
'serie'?: number;
|
|
3053
|
+
/**
|
|
3054
|
+
*
|
|
3055
|
+
* @type {Array<CouponProductsInner>}
|
|
3056
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3057
|
+
*/
|
|
3058
|
+
'products'?: Array<CouponProductsInner>;
|
|
3059
|
+
/**
|
|
3060
|
+
*
|
|
3061
|
+
* @type {Array<string>}
|
|
3062
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3063
|
+
*/
|
|
3064
|
+
'promotion_codes'?: Array<string>;
|
|
3065
|
+
/**
|
|
3066
|
+
*
|
|
3067
|
+
* @type {{ [key: string]: string; }}
|
|
3068
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3069
|
+
*/
|
|
3070
|
+
'custom_data'?: { [key: string]: string; };
|
|
2913
3071
|
}
|
|
2914
3072
|
/**
|
|
2915
3073
|
*
|
|
@@ -4605,6 +4763,12 @@ export interface Me200Response {
|
|
|
4605
4763
|
* @memberof Me200Response
|
|
4606
4764
|
*/
|
|
4607
4765
|
'name'?: string;
|
|
4766
|
+
/**
|
|
4767
|
+
*
|
|
4768
|
+
* @type {string}
|
|
4769
|
+
* @memberof Me200Response
|
|
4770
|
+
*/
|
|
4771
|
+
'role'?: string;
|
|
4608
4772
|
/**
|
|
4609
4773
|
* Promoções que o usuário tem acesso
|
|
4610
4774
|
* @type {Array<Me200ResponsePromotionsInner>}
|
|
@@ -7495,12 +7659,6 @@ export interface User {
|
|
|
7495
7659
|
* @memberof User
|
|
7496
7660
|
*/
|
|
7497
7661
|
'agree_terms'?: boolean;
|
|
7498
|
-
/**
|
|
7499
|
-
*
|
|
7500
|
-
* @type {{ [key: string]: string; }}
|
|
7501
|
-
* @memberof User
|
|
7502
|
-
*/
|
|
7503
|
-
'custom_data'?: { [key: string]: string; };
|
|
7504
7662
|
}
|
|
7505
7663
|
/**
|
|
7506
7664
|
*
|
|
@@ -7705,10 +7863,10 @@ export interface UserWebhookSuccess {
|
|
|
7705
7863
|
'result'?: string;
|
|
7706
7864
|
/**
|
|
7707
7865
|
*
|
|
7708
|
-
* @type {
|
|
7866
|
+
* @type {UsersIndex200ResponseContentInner}
|
|
7709
7867
|
* @memberof UserWebhookSuccess
|
|
7710
7868
|
*/
|
|
7711
|
-
'content'?:
|
|
7869
|
+
'content'?: UsersIndex200ResponseContentInner;
|
|
7712
7870
|
}
|
|
7713
7871
|
/**
|
|
7714
7872
|
*
|
|
@@ -7811,10 +7969,10 @@ export interface UsersCreate409Response {
|
|
|
7811
7969
|
export interface UsersCreateRequest {
|
|
7812
7970
|
/**
|
|
7813
7971
|
*
|
|
7814
|
-
* @type {Array<
|
|
7972
|
+
* @type {Array<UsersIndex200ResponseContentInner>}
|
|
7815
7973
|
* @memberof UsersCreateRequest
|
|
7816
7974
|
*/
|
|
7817
|
-
'users'?: Array<
|
|
7975
|
+
'users'?: Array<UsersIndex200ResponseContentInner>;
|
|
7818
7976
|
}
|
|
7819
7977
|
/**
|
|
7820
7978
|
*
|
|
@@ -7941,10 +8099,131 @@ export interface UsersIndex200Response {
|
|
|
7941
8099
|
'paging'?: Pagination;
|
|
7942
8100
|
/**
|
|
7943
8101
|
*
|
|
7944
|
-
* @type {Array<
|
|
8102
|
+
* @type {Array<UsersIndex200ResponseContentInner>}
|
|
7945
8103
|
* @memberof UsersIndex200Response
|
|
7946
8104
|
*/
|
|
7947
|
-
'content'?: Array<
|
|
8105
|
+
'content'?: Array<UsersIndex200ResponseContentInner>;
|
|
8106
|
+
}
|
|
8107
|
+
/**
|
|
8108
|
+
*
|
|
8109
|
+
* @export
|
|
8110
|
+
* @interface UsersIndex200ResponseContentInner
|
|
8111
|
+
*/
|
|
8112
|
+
export interface UsersIndex200ResponseContentInner {
|
|
8113
|
+
/**
|
|
8114
|
+
*
|
|
8115
|
+
* @type {number}
|
|
8116
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8117
|
+
*/
|
|
8118
|
+
'id'?: number;
|
|
8119
|
+
/**
|
|
8120
|
+
*
|
|
8121
|
+
* @type {string}
|
|
8122
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8123
|
+
*/
|
|
8124
|
+
'name'?: string;
|
|
8125
|
+
/**
|
|
8126
|
+
*
|
|
8127
|
+
* @type {string}
|
|
8128
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8129
|
+
*/
|
|
8130
|
+
'email'?: string;
|
|
8131
|
+
/**
|
|
8132
|
+
*
|
|
8133
|
+
* @type {string}
|
|
8134
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8135
|
+
*/
|
|
8136
|
+
'cpf'?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
*
|
|
8139
|
+
* @type {string}
|
|
8140
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8141
|
+
*/
|
|
8142
|
+
'cnpj'?: string;
|
|
8143
|
+
/**
|
|
8144
|
+
*
|
|
8145
|
+
* @type {string}
|
|
8146
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8147
|
+
*/
|
|
8148
|
+
'phone'?: string;
|
|
8149
|
+
/**
|
|
8150
|
+
*
|
|
8151
|
+
* @type {string}
|
|
8152
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8153
|
+
*/
|
|
8154
|
+
'birth'?: string;
|
|
8155
|
+
/**
|
|
8156
|
+
*
|
|
8157
|
+
* @type {string}
|
|
8158
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8159
|
+
*/
|
|
8160
|
+
'cep'?: string;
|
|
8161
|
+
/**
|
|
8162
|
+
*
|
|
8163
|
+
* @type {string}
|
|
8164
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8165
|
+
*/
|
|
8166
|
+
'address'?: string;
|
|
8167
|
+
/**
|
|
8168
|
+
*
|
|
8169
|
+
* @type {string}
|
|
8170
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8171
|
+
*/
|
|
8172
|
+
'number'?: string;
|
|
8173
|
+
/**
|
|
8174
|
+
*
|
|
8175
|
+
* @type {string}
|
|
8176
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8177
|
+
*/
|
|
8178
|
+
'neighborhood'?: string;
|
|
8179
|
+
/**
|
|
8180
|
+
*
|
|
8181
|
+
* @type {string}
|
|
8182
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8183
|
+
*/
|
|
8184
|
+
'city'?: string;
|
|
8185
|
+
/**
|
|
8186
|
+
*
|
|
8187
|
+
* @type {string}
|
|
8188
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8189
|
+
*/
|
|
8190
|
+
'state'?: string;
|
|
8191
|
+
/**
|
|
8192
|
+
*
|
|
8193
|
+
* @type {string}
|
|
8194
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8195
|
+
*/
|
|
8196
|
+
'cel'?: string;
|
|
8197
|
+
/**
|
|
8198
|
+
*
|
|
8199
|
+
* @type {string}
|
|
8200
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8201
|
+
*/
|
|
8202
|
+
'sex'?: string;
|
|
8203
|
+
/**
|
|
8204
|
+
*
|
|
8205
|
+
* @type {boolean}
|
|
8206
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8207
|
+
*/
|
|
8208
|
+
'newsletter'?: boolean;
|
|
8209
|
+
/**
|
|
8210
|
+
*
|
|
8211
|
+
* @type {boolean}
|
|
8212
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8213
|
+
*/
|
|
8214
|
+
'policy_privacy'?: boolean;
|
|
8215
|
+
/**
|
|
8216
|
+
*
|
|
8217
|
+
* @type {boolean}
|
|
8218
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8219
|
+
*/
|
|
8220
|
+
'agree_terms'?: boolean;
|
|
8221
|
+
/**
|
|
8222
|
+
*
|
|
8223
|
+
* @type {{ [key: string]: string; }}
|
|
8224
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8225
|
+
*/
|
|
8226
|
+
'custom_data'?: { [key: string]: string; };
|
|
7948
8227
|
}
|
|
7949
8228
|
/**
|
|
7950
8229
|
*
|
|
@@ -7972,10 +8251,10 @@ export interface UsersUpdate201Response {
|
|
|
7972
8251
|
'result'?: string;
|
|
7973
8252
|
/**
|
|
7974
8253
|
*
|
|
7975
|
-
* @type {Array<
|
|
8254
|
+
* @type {Array<UsersIndex200ResponseContentInner>}
|
|
7976
8255
|
* @memberof UsersUpdate201Response
|
|
7977
8256
|
*/
|
|
7978
|
-
'content'?: Array<
|
|
8257
|
+
'content'?: Array<UsersIndex200ResponseContentInner>;
|
|
7979
8258
|
}
|
|
7980
8259
|
/**
|
|
7981
8260
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -813,10 +813,126 @@ export interface AwardedsSearch200Response {
|
|
|
813
813
|
'paging'?: Pagination;
|
|
814
814
|
/**
|
|
815
815
|
*
|
|
816
|
-
* @type {Array<
|
|
816
|
+
* @type {Array<AwardedsSearch200ResponseContentInner>}
|
|
817
817
|
* @memberof AwardedsSearch200Response
|
|
818
818
|
*/
|
|
819
|
-
'content'?: Array<
|
|
819
|
+
'content'?: Array<AwardedsSearch200ResponseContentInner>;
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @export
|
|
824
|
+
* @interface AwardedsSearch200ResponseContentInner
|
|
825
|
+
*/
|
|
826
|
+
export interface AwardedsSearch200ResponseContentInner {
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {number}
|
|
830
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
831
|
+
*/
|
|
832
|
+
'id'?: number;
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {number}
|
|
836
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
837
|
+
*/
|
|
838
|
+
'raffle_id'?: number;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {number}
|
|
842
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
843
|
+
*/
|
|
844
|
+
'lucky_number_id'?: number;
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {number}
|
|
848
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
849
|
+
*/
|
|
850
|
+
'award_id': number;
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @type {number}
|
|
854
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
855
|
+
*/
|
|
856
|
+
'awarded_state_id': number;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
861
|
+
*/
|
|
862
|
+
'checklist'?: string;
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @type {string}
|
|
866
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
867
|
+
*/
|
|
868
|
+
'justificativa'?: string;
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @type {string}
|
|
872
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
873
|
+
*/
|
|
874
|
+
'observacoes'?: string;
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @type {string}
|
|
878
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
879
|
+
*/
|
|
880
|
+
'created_at'?: string;
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type {string}
|
|
884
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
885
|
+
*/
|
|
886
|
+
'updated_at'?: string;
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @type {User}
|
|
890
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
891
|
+
*/
|
|
892
|
+
'user'?: User;
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @type {Raffle}
|
|
896
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
897
|
+
*/
|
|
898
|
+
'raffle'?: Raffle;
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {LuckyNumber}
|
|
902
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
903
|
+
*/
|
|
904
|
+
'lucky_number'?: LuckyNumber;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {Award}
|
|
908
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
909
|
+
*/
|
|
910
|
+
'award'?: Award;
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {AwardedsSearch200ResponseContentInnerAllOfAwardedState}
|
|
914
|
+
* @memberof AwardedsSearch200ResponseContentInner
|
|
915
|
+
*/
|
|
916
|
+
'awarded_state'?: AwardedsSearch200ResponseContentInnerAllOfAwardedState;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @export
|
|
921
|
+
* @interface AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
922
|
+
*/
|
|
923
|
+
export interface AwardedsSearch200ResponseContentInnerAllOfAwardedState {
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {number}
|
|
927
|
+
* @memberof AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
928
|
+
*/
|
|
929
|
+
'id'?: number;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @type {string}
|
|
933
|
+
* @memberof AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
934
|
+
*/
|
|
935
|
+
'name'?: string;
|
|
820
936
|
}
|
|
821
937
|
/**
|
|
822
938
|
*
|
|
@@ -906,29 +1022,10 @@ export interface AwardedsStates200Response {
|
|
|
906
1022
|
'result'?: string;
|
|
907
1023
|
/**
|
|
908
1024
|
*
|
|
909
|
-
* @type {Array<
|
|
1025
|
+
* @type {Array<AwardedsSearch200ResponseContentInnerAllOfAwardedState>}
|
|
910
1026
|
* @memberof AwardedsStates200Response
|
|
911
1027
|
*/
|
|
912
|
-
'content'?: Array<
|
|
913
|
-
}
|
|
914
|
-
/**
|
|
915
|
-
*
|
|
916
|
-
* @export
|
|
917
|
-
* @interface AwardedsStates200ResponseContentInner
|
|
918
|
-
*/
|
|
919
|
-
export interface AwardedsStates200ResponseContentInner {
|
|
920
|
-
/**
|
|
921
|
-
*
|
|
922
|
-
* @type {number}
|
|
923
|
-
* @memberof AwardedsStates200ResponseContentInner
|
|
924
|
-
*/
|
|
925
|
-
'id'?: number;
|
|
926
|
-
/**
|
|
927
|
-
*
|
|
928
|
-
* @type {string}
|
|
929
|
-
* @memberof AwardedsStates200ResponseContentInner
|
|
930
|
-
*/
|
|
931
|
-
'name'?: string;
|
|
1028
|
+
'content'?: Array<AwardedsSearch200ResponseContentInnerAllOfAwardedState>;
|
|
932
1029
|
}
|
|
933
1030
|
/**
|
|
934
1031
|
*
|
|
@@ -2593,14 +2690,6 @@ export interface Coupon {
|
|
|
2593
2690
|
* @memberof Coupon
|
|
2594
2691
|
*/
|
|
2595
2692
|
'promotion_codes'?: Array<string>;
|
|
2596
|
-
/**
|
|
2597
|
-
*
|
|
2598
|
-
* @type {{ [key: string]: string; }}
|
|
2599
|
-
* @memberof Coupon
|
|
2600
|
-
*/
|
|
2601
|
-
'custom_data'?: {
|
|
2602
|
-
[key: string]: string;
|
|
2603
|
-
};
|
|
2604
2693
|
}
|
|
2605
2694
|
/**
|
|
2606
2695
|
*
|
|
@@ -2890,10 +2979,79 @@ export interface CouponsCreate409Response {
|
|
|
2890
2979
|
export interface CouponsCreateRequest {
|
|
2891
2980
|
/**
|
|
2892
2981
|
*
|
|
2893
|
-
* @type {Array<
|
|
2982
|
+
* @type {Array<CouponsCreateRequestCouponsInner>}
|
|
2894
2983
|
* @memberof CouponsCreateRequest
|
|
2895
2984
|
*/
|
|
2896
|
-
'coupons'?: Array<
|
|
2985
|
+
'coupons'?: Array<CouponsCreateRequestCouponsInner>;
|
|
2986
|
+
}
|
|
2987
|
+
/**
|
|
2988
|
+
*
|
|
2989
|
+
* @export
|
|
2990
|
+
* @interface CouponsCreateRequestCouponsInner
|
|
2991
|
+
*/
|
|
2992
|
+
export interface CouponsCreateRequestCouponsInner {
|
|
2993
|
+
/**
|
|
2994
|
+
*
|
|
2995
|
+
* @type {number}
|
|
2996
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
2997
|
+
*/
|
|
2998
|
+
'id'?: number;
|
|
2999
|
+
/**
|
|
3000
|
+
*
|
|
3001
|
+
* @type {number}
|
|
3002
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3003
|
+
*/
|
|
3004
|
+
'user_id': number;
|
|
3005
|
+
/**
|
|
3006
|
+
*
|
|
3007
|
+
* @type {string}
|
|
3008
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3009
|
+
*/
|
|
3010
|
+
'purchase_date': string;
|
|
3011
|
+
/**
|
|
3012
|
+
*
|
|
3013
|
+
* @type {string}
|
|
3014
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3015
|
+
*/
|
|
3016
|
+
'cnpj': string;
|
|
3017
|
+
/**
|
|
3018
|
+
*
|
|
3019
|
+
* @type {string}
|
|
3020
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3021
|
+
*/
|
|
3022
|
+
'code': string;
|
|
3023
|
+
/**
|
|
3024
|
+
*
|
|
3025
|
+
* @type {number}
|
|
3026
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3027
|
+
*/
|
|
3028
|
+
'cost': number;
|
|
3029
|
+
/**
|
|
3030
|
+
*
|
|
3031
|
+
* @type {number}
|
|
3032
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3033
|
+
*/
|
|
3034
|
+
'serie'?: number;
|
|
3035
|
+
/**
|
|
3036
|
+
*
|
|
3037
|
+
* @type {Array<CouponProductsInner>}
|
|
3038
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3039
|
+
*/
|
|
3040
|
+
'products'?: Array<CouponProductsInner>;
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @type {Array<string>}
|
|
3044
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3045
|
+
*/
|
|
3046
|
+
'promotion_codes'?: Array<string>;
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @type {{ [key: string]: string; }}
|
|
3050
|
+
* @memberof CouponsCreateRequestCouponsInner
|
|
3051
|
+
*/
|
|
3052
|
+
'custom_data'?: {
|
|
3053
|
+
[key: string]: string;
|
|
3054
|
+
};
|
|
2897
3055
|
}
|
|
2898
3056
|
/**
|
|
2899
3057
|
*
|
|
@@ -4588,6 +4746,12 @@ export interface Me200Response {
|
|
|
4588
4746
|
* @memberof Me200Response
|
|
4589
4747
|
*/
|
|
4590
4748
|
'name'?: string;
|
|
4749
|
+
/**
|
|
4750
|
+
*
|
|
4751
|
+
* @type {string}
|
|
4752
|
+
* @memberof Me200Response
|
|
4753
|
+
*/
|
|
4754
|
+
'role'?: string;
|
|
4591
4755
|
/**
|
|
4592
4756
|
* Promoções que o usuário tem acesso
|
|
4593
4757
|
* @type {Array<Me200ResponsePromotionsInner>}
|
|
@@ -7475,14 +7639,6 @@ export interface User {
|
|
|
7475
7639
|
* @memberof User
|
|
7476
7640
|
*/
|
|
7477
7641
|
'agree_terms'?: boolean;
|
|
7478
|
-
/**
|
|
7479
|
-
*
|
|
7480
|
-
* @type {{ [key: string]: string; }}
|
|
7481
|
-
* @memberof User
|
|
7482
|
-
*/
|
|
7483
|
-
'custom_data'?: {
|
|
7484
|
-
[key: string]: string;
|
|
7485
|
-
};
|
|
7486
7642
|
}
|
|
7487
7643
|
/**
|
|
7488
7644
|
*
|
|
@@ -7689,10 +7845,10 @@ export interface UserWebhookSuccess {
|
|
|
7689
7845
|
'result'?: string;
|
|
7690
7846
|
/**
|
|
7691
7847
|
*
|
|
7692
|
-
* @type {
|
|
7848
|
+
* @type {UsersIndex200ResponseContentInner}
|
|
7693
7849
|
* @memberof UserWebhookSuccess
|
|
7694
7850
|
*/
|
|
7695
|
-
'content'?:
|
|
7851
|
+
'content'?: UsersIndex200ResponseContentInner;
|
|
7696
7852
|
}
|
|
7697
7853
|
/**
|
|
7698
7854
|
*
|
|
@@ -7795,10 +7951,10 @@ export interface UsersCreate409Response {
|
|
|
7795
7951
|
export interface UsersCreateRequest {
|
|
7796
7952
|
/**
|
|
7797
7953
|
*
|
|
7798
|
-
* @type {Array<
|
|
7954
|
+
* @type {Array<UsersIndex200ResponseContentInner>}
|
|
7799
7955
|
* @memberof UsersCreateRequest
|
|
7800
7956
|
*/
|
|
7801
|
-
'users'?: Array<
|
|
7957
|
+
'users'?: Array<UsersIndex200ResponseContentInner>;
|
|
7802
7958
|
}
|
|
7803
7959
|
/**
|
|
7804
7960
|
*
|
|
@@ -7925,10 +8081,133 @@ export interface UsersIndex200Response {
|
|
|
7925
8081
|
'paging'?: Pagination;
|
|
7926
8082
|
/**
|
|
7927
8083
|
*
|
|
7928
|
-
* @type {Array<
|
|
8084
|
+
* @type {Array<UsersIndex200ResponseContentInner>}
|
|
7929
8085
|
* @memberof UsersIndex200Response
|
|
7930
8086
|
*/
|
|
7931
|
-
'content'?: Array<
|
|
8087
|
+
'content'?: Array<UsersIndex200ResponseContentInner>;
|
|
8088
|
+
}
|
|
8089
|
+
/**
|
|
8090
|
+
*
|
|
8091
|
+
* @export
|
|
8092
|
+
* @interface UsersIndex200ResponseContentInner
|
|
8093
|
+
*/
|
|
8094
|
+
export interface UsersIndex200ResponseContentInner {
|
|
8095
|
+
/**
|
|
8096
|
+
*
|
|
8097
|
+
* @type {number}
|
|
8098
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8099
|
+
*/
|
|
8100
|
+
'id'?: number;
|
|
8101
|
+
/**
|
|
8102
|
+
*
|
|
8103
|
+
* @type {string}
|
|
8104
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8105
|
+
*/
|
|
8106
|
+
'name'?: string;
|
|
8107
|
+
/**
|
|
8108
|
+
*
|
|
8109
|
+
* @type {string}
|
|
8110
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8111
|
+
*/
|
|
8112
|
+
'email'?: string;
|
|
8113
|
+
/**
|
|
8114
|
+
*
|
|
8115
|
+
* @type {string}
|
|
8116
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8117
|
+
*/
|
|
8118
|
+
'cpf'?: string;
|
|
8119
|
+
/**
|
|
8120
|
+
*
|
|
8121
|
+
* @type {string}
|
|
8122
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8123
|
+
*/
|
|
8124
|
+
'cnpj'?: string;
|
|
8125
|
+
/**
|
|
8126
|
+
*
|
|
8127
|
+
* @type {string}
|
|
8128
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8129
|
+
*/
|
|
8130
|
+
'phone'?: string;
|
|
8131
|
+
/**
|
|
8132
|
+
*
|
|
8133
|
+
* @type {string}
|
|
8134
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8135
|
+
*/
|
|
8136
|
+
'birth'?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
*
|
|
8139
|
+
* @type {string}
|
|
8140
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8141
|
+
*/
|
|
8142
|
+
'cep'?: string;
|
|
8143
|
+
/**
|
|
8144
|
+
*
|
|
8145
|
+
* @type {string}
|
|
8146
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8147
|
+
*/
|
|
8148
|
+
'address'?: string;
|
|
8149
|
+
/**
|
|
8150
|
+
*
|
|
8151
|
+
* @type {string}
|
|
8152
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8153
|
+
*/
|
|
8154
|
+
'number'?: string;
|
|
8155
|
+
/**
|
|
8156
|
+
*
|
|
8157
|
+
* @type {string}
|
|
8158
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8159
|
+
*/
|
|
8160
|
+
'neighborhood'?: string;
|
|
8161
|
+
/**
|
|
8162
|
+
*
|
|
8163
|
+
* @type {string}
|
|
8164
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8165
|
+
*/
|
|
8166
|
+
'city'?: string;
|
|
8167
|
+
/**
|
|
8168
|
+
*
|
|
8169
|
+
* @type {string}
|
|
8170
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8171
|
+
*/
|
|
8172
|
+
'state'?: string;
|
|
8173
|
+
/**
|
|
8174
|
+
*
|
|
8175
|
+
* @type {string}
|
|
8176
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8177
|
+
*/
|
|
8178
|
+
'cel'?: string;
|
|
8179
|
+
/**
|
|
8180
|
+
*
|
|
8181
|
+
* @type {string}
|
|
8182
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8183
|
+
*/
|
|
8184
|
+
'sex'?: string;
|
|
8185
|
+
/**
|
|
8186
|
+
*
|
|
8187
|
+
* @type {boolean}
|
|
8188
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8189
|
+
*/
|
|
8190
|
+
'newsletter'?: boolean;
|
|
8191
|
+
/**
|
|
8192
|
+
*
|
|
8193
|
+
* @type {boolean}
|
|
8194
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8195
|
+
*/
|
|
8196
|
+
'policy_privacy'?: boolean;
|
|
8197
|
+
/**
|
|
8198
|
+
*
|
|
8199
|
+
* @type {boolean}
|
|
8200
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8201
|
+
*/
|
|
8202
|
+
'agree_terms'?: boolean;
|
|
8203
|
+
/**
|
|
8204
|
+
*
|
|
8205
|
+
* @type {{ [key: string]: string; }}
|
|
8206
|
+
* @memberof UsersIndex200ResponseContentInner
|
|
8207
|
+
*/
|
|
8208
|
+
'custom_data'?: {
|
|
8209
|
+
[key: string]: string;
|
|
8210
|
+
};
|
|
7932
8211
|
}
|
|
7933
8212
|
/**
|
|
7934
8213
|
*
|
|
@@ -7956,10 +8235,10 @@ export interface UsersUpdate201Response {
|
|
|
7956
8235
|
'result'?: string;
|
|
7957
8236
|
/**
|
|
7958
8237
|
*
|
|
7959
|
-
* @type {Array<
|
|
8238
|
+
* @type {Array<UsersIndex200ResponseContentInner>}
|
|
7960
8239
|
* @memberof UsersUpdate201Response
|
|
7961
8240
|
*/
|
|
7962
|
-
'content'?: Array<
|
|
8241
|
+
'content'?: Array<UsersIndex200ResponseContentInner>;
|
|
7963
8242
|
}
|
|
7964
8243
|
/**
|
|
7965
8244
|
*
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**action** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**result** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**paging** | [**Pagination**](Pagination.md) | | [optional] [default to undefined]
|
|
12
|
-
**content** | [**Array<
|
|
12
|
+
**content** | [**Array<AwardedsSearch200ResponseContentInner>**](AwardedsSearch200ResponseContentInner.md) | | [optional] [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# AwardedsSearch200ResponseContentInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**raffle_id** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**lucky_number_id** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**award_id** | **number** | | [default to undefined]
|
|
12
|
+
**awarded_state_id** | **number** | | [default to undefined]
|
|
13
|
+
**checklist** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**justificativa** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**observacoes** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**user** | [**User**](User.md) | | [optional] [default to undefined]
|
|
19
|
+
**raffle** | [**Raffle**](Raffle.md) | | [optional] [default to undefined]
|
|
20
|
+
**lucky_number** | [**LuckyNumber**](LuckyNumber.md) | | [optional] [default to undefined]
|
|
21
|
+
**award** | [**Award**](Award.md) | | [optional] [default to undefined]
|
|
22
|
+
**awarded_state** | [**AwardedsSearch200ResponseContentInnerAllOfAwardedState**](AwardedsSearch200ResponseContentInnerAllOfAwardedState.md) | | [optional] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { AwardedsSearch200ResponseContentInner } from '@handsondigital/idplugger-promotion';
|
|
28
|
+
|
|
29
|
+
const instance: AwardedsSearch200ResponseContentInner = {
|
|
30
|
+
id,
|
|
31
|
+
raffle_id,
|
|
32
|
+
lucky_number_id,
|
|
33
|
+
award_id,
|
|
34
|
+
awarded_state_id,
|
|
35
|
+
checklist,
|
|
36
|
+
justificativa,
|
|
37
|
+
observacoes,
|
|
38
|
+
created_at,
|
|
39
|
+
updated_at,
|
|
40
|
+
user,
|
|
41
|
+
raffle,
|
|
42
|
+
lucky_number,
|
|
43
|
+
award,
|
|
44
|
+
awarded_state,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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,22 @@
|
|
|
1
|
+
# AwardedsSearch200ResponseContentInnerAllOfAwardedState
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AwardedsSearch200ResponseContentInnerAllOfAwardedState } from '@handsondigital/idplugger-promotion';
|
|
15
|
+
|
|
16
|
+
const instance: AwardedsSearch200ResponseContentInnerAllOfAwardedState = {
|
|
17
|
+
id,
|
|
18
|
+
name,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**entity** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**action** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**content** | [**Array<
|
|
11
|
+
**content** | [**Array<AwardedsSearch200ResponseContentInnerAllOfAwardedState>**](AwardedsSearch200ResponseContentInnerAllOfAwardedState.md) | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
package/docs/Coupon.md
CHANGED
|
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**serie** | **number** | | [optional] [default to undefined]
|
|
15
15
|
**products** | [**Array<CouponProductsInner>**](CouponProductsInner.md) | | [optional] [default to undefined]
|
|
16
16
|
**promotion_codes** | **Array<string>** | | [optional] [default to undefined]
|
|
17
|
-
**custom_data** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
18
17
|
|
|
19
18
|
## Example
|
|
20
19
|
|
|
@@ -31,7 +30,6 @@ const instance: Coupon = {
|
|
|
31
30
|
serie,
|
|
32
31
|
products,
|
|
33
32
|
promotion_codes,
|
|
34
|
-
custom_data,
|
|
35
33
|
};
|
|
36
34
|
```
|
|
37
35
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**coupons** | [**Array<
|
|
8
|
+
**coupons** | [**Array<CouponsCreateRequestCouponsInner>**](CouponsCreateRequestCouponsInner.md) | | [optional] [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# CouponsCreateRequestCouponsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**user_id** | **number** | | [default to undefined]
|
|
10
|
+
**purchase_date** | **string** | | [default to undefined]
|
|
11
|
+
**cnpj** | **string** | | [default to undefined]
|
|
12
|
+
**code** | **string** | | [default to undefined]
|
|
13
|
+
**cost** | **number** | | [default to undefined]
|
|
14
|
+
**serie** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**products** | [**Array<CouponProductsInner>**](CouponProductsInner.md) | | [optional] [default to undefined]
|
|
16
|
+
**promotion_codes** | **Array<string>** | | [optional] [default to undefined]
|
|
17
|
+
**custom_data** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { CouponsCreateRequestCouponsInner } from '@handsondigital/idplugger-promotion';
|
|
23
|
+
|
|
24
|
+
const instance: CouponsCreateRequestCouponsInner = {
|
|
25
|
+
id,
|
|
26
|
+
user_id,
|
|
27
|
+
purchase_date,
|
|
28
|
+
cnpj,
|
|
29
|
+
code,
|
|
30
|
+
cost,
|
|
31
|
+
serie,
|
|
32
|
+
products,
|
|
33
|
+
promotion_codes,
|
|
34
|
+
custom_data,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Me200Response.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**username** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**email** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**name** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**role** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**promotions** | [**Array<Me200ResponsePromotionsInner>**](Me200ResponsePromotionsInner.md) | Promoções que o usuário tem acesso | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
@@ -21,6 +22,7 @@ const instance: Me200Response = {
|
|
|
21
22
|
username,
|
|
22
23
|
email,
|
|
23
24
|
name,
|
|
25
|
+
role,
|
|
24
26
|
promotions,
|
|
25
27
|
};
|
|
26
28
|
```
|
package/docs/User.md
CHANGED
|
@@ -23,7 +23,6 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**newsletter** | **boolean** | | [optional] [default to undefined]
|
|
24
24
|
**policy_privacy** | **boolean** | | [optional] [default to undefined]
|
|
25
25
|
**agree_terms** | **boolean** | | [optional] [default to undefined]
|
|
26
|
-
**custom_data** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
27
26
|
|
|
28
27
|
## Example
|
|
29
28
|
|
|
@@ -49,7 +48,6 @@ const instance: User = {
|
|
|
49
48
|
newsletter,
|
|
50
49
|
policy_privacy,
|
|
51
50
|
agree_terms,
|
|
52
|
-
custom_data,
|
|
53
51
|
};
|
|
54
52
|
```
|
|
55
53
|
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**entity** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**action** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**content** | [**
|
|
11
|
+
**content** | [**UsersIndex200ResponseContentInner**](UsersIndex200ResponseContentInner.md) | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**users** | [**Array<
|
|
8
|
+
**users** | [**Array<UsersIndex200ResponseContentInner>**](UsersIndex200ResponseContentInner.md) | | [optional] [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**action** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**result** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**paging** | [**Pagination**](Pagination.md) | | [optional] [default to undefined]
|
|
12
|
-
**content** | [**Array<
|
|
12
|
+
**content** | [**Array<UsersIndex200ResponseContentInner>**](UsersIndex200ResponseContentInner.md) | | [optional] [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# UsersIndex200ResponseContentInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**cpf** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**cnpj** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**birth** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**cep** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**address** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**number** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**neighborhood** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**city** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**state** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**cel** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**sex** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**newsletter** | **boolean** | | [optional] [default to undefined]
|
|
24
|
+
**policy_privacy** | **boolean** | | [optional] [default to undefined]
|
|
25
|
+
**agree_terms** | **boolean** | | [optional] [default to undefined]
|
|
26
|
+
**custom_data** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
27
|
+
|
|
28
|
+
## Example
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
import { UsersIndex200ResponseContentInner } from '@handsondigital/idplugger-promotion';
|
|
32
|
+
|
|
33
|
+
const instance: UsersIndex200ResponseContentInner = {
|
|
34
|
+
id,
|
|
35
|
+
name,
|
|
36
|
+
email,
|
|
37
|
+
cpf,
|
|
38
|
+
cnpj,
|
|
39
|
+
phone,
|
|
40
|
+
birth,
|
|
41
|
+
cep,
|
|
42
|
+
address,
|
|
43
|
+
number,
|
|
44
|
+
neighborhood,
|
|
45
|
+
city,
|
|
46
|
+
state,
|
|
47
|
+
cel,
|
|
48
|
+
sex,
|
|
49
|
+
newsletter,
|
|
50
|
+
policy_privacy,
|
|
51
|
+
agree_terms,
|
|
52
|
+
custom_data,
|
|
53
|
+
};
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**entity** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**action** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**result** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**content** | [**Array<
|
|
11
|
+
**content** | [**Array<UsersIndex200ResponseContentInner>**](UsersIndex200ResponseContentInner.md) | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|