flexinet-api 0.0.560-prerelease0 → 0.0.562-prerelease0

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.560-prerelease0
1
+ ## flexinet-api@0.0.562-prerelease0
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 flexinet-api@0.0.560-prerelease0 --save
39
+ npm install flexinet-api@0.0.562-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -184,6 +184,31 @@ export interface BalanceUpdateRequest {
184
184
  }
185
185
 
186
186
 
187
+ /**
188
+ *
189
+ * @export
190
+ * @interface BalanceWithBeneficiaryRef
191
+ */
192
+ export interface BalanceWithBeneficiaryRef {
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof BalanceWithBeneficiaryRef
197
+ */
198
+ 'id': string;
199
+ /**
200
+ *
201
+ * @type {number}
202
+ * @memberof BalanceWithBeneficiaryRef
203
+ */
204
+ 'amount': number;
205
+ /**
206
+ *
207
+ * @type {BeneficiaryWithRef}
208
+ * @memberof BalanceWithBeneficiaryRef
209
+ */
210
+ 'beneficiaryRef': BeneficiaryWithRef;
211
+ }
187
212
  /**
188
213
  *
189
214
  * @export
@@ -232,6 +257,33 @@ export const BeneficiaryKind = {
232
257
  export type BeneficiaryKind = typeof BeneficiaryKind[keyof typeof BeneficiaryKind];
233
258
 
234
259
 
260
+ /**
261
+ *
262
+ * @export
263
+ * @interface BeneficiaryWithRef
264
+ */
265
+ export interface BeneficiaryWithRef {
266
+ /**
267
+ *
268
+ * @type {BeneficiaryWithRefReference}
269
+ * @memberof BeneficiaryWithRef
270
+ */
271
+ 'reference': BeneficiaryWithRefReference;
272
+ /**
273
+ *
274
+ * @type {BeneficiaryKind}
275
+ * @memberof BeneficiaryWithRef
276
+ */
277
+ 'kind': BeneficiaryKind;
278
+ }
279
+
280
+
281
+ /**
282
+ * @type BeneficiaryWithRefReference
283
+ * @export
284
+ */
285
+ export type BeneficiaryWithRefReference = Client | User;
286
+
235
287
  /**
236
288
  *
237
289
  * @export
@@ -1072,7 +1124,7 @@ export interface Order {
1072
1124
  * @type {string}
1073
1125
  * @memberof Order
1074
1126
  */
1075
- 'id'?: string;
1127
+ 'id': string;
1076
1128
  /**
1077
1129
  *
1078
1130
  * @type {string}
@@ -1188,6 +1240,25 @@ export interface Period {
1188
1240
  */
1189
1241
  'endAt': string;
1190
1242
  }
1243
+ /**
1244
+ *
1245
+ * @export
1246
+ * @interface PeriodPromotion
1247
+ */
1248
+ export interface PeriodPromotion {
1249
+ /**
1250
+ *
1251
+ * @type {Promotion}
1252
+ * @memberof PeriodPromotion
1253
+ */
1254
+ 'promotion': Promotion;
1255
+ /**
1256
+ *
1257
+ * @type {Period}
1258
+ * @memberof PeriodPromotion
1259
+ */
1260
+ 'period': Period;
1261
+ }
1191
1262
  /**
1192
1263
  *
1193
1264
  * @export
@@ -2064,25 +2135,6 @@ export const PromotionType = {
2064
2135
  export type PromotionType = typeof PromotionType[keyof typeof PromotionType];
2065
2136
 
2066
2137
 
2067
- /**
2068
- *
2069
- * @export
2070
- * @interface PromotionWithProgress
2071
- */
2072
- export interface PromotionWithProgress {
2073
- /**
2074
- *
2075
- * @type {Promotion}
2076
- * @memberof PromotionWithProgress
2077
- */
2078
- 'promotion': Promotion;
2079
- /**
2080
- *
2081
- * @type {Progress}
2082
- * @memberof PromotionWithProgress
2083
- */
2084
- 'progress': Progress;
2085
- }
2086
2138
  /**
2087
2139
  *
2088
2140
  * @export
@@ -2893,7 +2945,7 @@ export type TransactionSource = typeof TransactionSource[keyof typeof Transactio
2893
2945
  * @type TransactionSourceReference
2894
2946
  * @export
2895
2947
  */
2896
- export type TransactionSourceReference = Balance | Order | PromotionWithProgress | User;
2948
+ export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
2897
2949
 
2898
2950
  /**
2899
2951
  *
package/dist/api.d.ts CHANGED
@@ -165,6 +165,31 @@ export interface BalanceUpdateRequest {
165
165
  */
166
166
  'transactionKind'?: TransactionKind;
167
167
  }
168
+ /**
169
+ *
170
+ * @export
171
+ * @interface BalanceWithBeneficiaryRef
172
+ */
173
+ export interface BalanceWithBeneficiaryRef {
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof BalanceWithBeneficiaryRef
178
+ */
179
+ 'id': string;
180
+ /**
181
+ *
182
+ * @type {number}
183
+ * @memberof BalanceWithBeneficiaryRef
184
+ */
185
+ 'amount': number;
186
+ /**
187
+ *
188
+ * @type {BeneficiaryWithRef}
189
+ * @memberof BalanceWithBeneficiaryRef
190
+ */
191
+ 'beneficiaryRef': BeneficiaryWithRef;
192
+ }
168
193
  /**
169
194
  *
170
195
  * @export
@@ -207,6 +232,30 @@ export declare const BeneficiaryKind: {
207
232
  readonly Client: "client";
208
233
  };
209
234
  export type BeneficiaryKind = typeof BeneficiaryKind[keyof typeof BeneficiaryKind];
235
+ /**
236
+ *
237
+ * @export
238
+ * @interface BeneficiaryWithRef
239
+ */
240
+ export interface BeneficiaryWithRef {
241
+ /**
242
+ *
243
+ * @type {BeneficiaryWithRefReference}
244
+ * @memberof BeneficiaryWithRef
245
+ */
246
+ 'reference': BeneficiaryWithRefReference;
247
+ /**
248
+ *
249
+ * @type {BeneficiaryKind}
250
+ * @memberof BeneficiaryWithRef
251
+ */
252
+ 'kind': BeneficiaryKind;
253
+ }
254
+ /**
255
+ * @type BeneficiaryWithRefReference
256
+ * @export
257
+ */
258
+ export type BeneficiaryWithRefReference = Client | User;
210
259
  /**
211
260
  *
212
261
  * @export
@@ -1016,7 +1065,7 @@ export interface Order {
1016
1065
  * @type {string}
1017
1066
  * @memberof Order
1018
1067
  */
1019
- 'id'?: string;
1068
+ 'id': string;
1020
1069
  /**
1021
1070
  *
1022
1071
  * @type {string}
@@ -1129,6 +1178,25 @@ export interface Period {
1129
1178
  */
1130
1179
  'endAt': string;
1131
1180
  }
1181
+ /**
1182
+ *
1183
+ * @export
1184
+ * @interface PeriodPromotion
1185
+ */
1186
+ export interface PeriodPromotion {
1187
+ /**
1188
+ *
1189
+ * @type {Promotion}
1190
+ * @memberof PeriodPromotion
1191
+ */
1192
+ 'promotion': Promotion;
1193
+ /**
1194
+ *
1195
+ * @type {Period}
1196
+ * @memberof PeriodPromotion
1197
+ */
1198
+ 'period': Period;
1199
+ }
1132
1200
  /**
1133
1201
  *
1134
1202
  * @export
@@ -1964,25 +2032,6 @@ export declare const PromotionType: {
1964
2032
  readonly CustomDeal: "custom_deal";
1965
2033
  };
1966
2034
  export type PromotionType = typeof PromotionType[keyof typeof PromotionType];
1967
- /**
1968
- *
1969
- * @export
1970
- * @interface PromotionWithProgress
1971
- */
1972
- export interface PromotionWithProgress {
1973
- /**
1974
- *
1975
- * @type {Promotion}
1976
- * @memberof PromotionWithProgress
1977
- */
1978
- 'promotion': Promotion;
1979
- /**
1980
- *
1981
- * @type {Progress}
1982
- * @memberof PromotionWithProgress
1983
- */
1984
- 'progress': Progress;
1985
- }
1986
2035
  /**
1987
2036
  *
1988
2037
  * @export
@@ -2737,7 +2786,7 @@ export type TransactionSource = typeof TransactionSource[keyof typeof Transactio
2737
2786
  * @type TransactionSourceReference
2738
2787
  * @export
2739
2788
  */
2740
- export type TransactionSourceReference = Balance | Order | PromotionWithProgress | User;
2789
+ export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
2741
2790
  /**
2742
2791
  *
2743
2792
  * @export
package/dist/esm/api.d.ts CHANGED
@@ -165,6 +165,31 @@ export interface BalanceUpdateRequest {
165
165
  */
166
166
  'transactionKind'?: TransactionKind;
167
167
  }
168
+ /**
169
+ *
170
+ * @export
171
+ * @interface BalanceWithBeneficiaryRef
172
+ */
173
+ export interface BalanceWithBeneficiaryRef {
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof BalanceWithBeneficiaryRef
178
+ */
179
+ 'id': string;
180
+ /**
181
+ *
182
+ * @type {number}
183
+ * @memberof BalanceWithBeneficiaryRef
184
+ */
185
+ 'amount': number;
186
+ /**
187
+ *
188
+ * @type {BeneficiaryWithRef}
189
+ * @memberof BalanceWithBeneficiaryRef
190
+ */
191
+ 'beneficiaryRef': BeneficiaryWithRef;
192
+ }
168
193
  /**
169
194
  *
170
195
  * @export
@@ -207,6 +232,30 @@ export declare const BeneficiaryKind: {
207
232
  readonly Client: "client";
208
233
  };
209
234
  export type BeneficiaryKind = typeof BeneficiaryKind[keyof typeof BeneficiaryKind];
235
+ /**
236
+ *
237
+ * @export
238
+ * @interface BeneficiaryWithRef
239
+ */
240
+ export interface BeneficiaryWithRef {
241
+ /**
242
+ *
243
+ * @type {BeneficiaryWithRefReference}
244
+ * @memberof BeneficiaryWithRef
245
+ */
246
+ 'reference': BeneficiaryWithRefReference;
247
+ /**
248
+ *
249
+ * @type {BeneficiaryKind}
250
+ * @memberof BeneficiaryWithRef
251
+ */
252
+ 'kind': BeneficiaryKind;
253
+ }
254
+ /**
255
+ * @type BeneficiaryWithRefReference
256
+ * @export
257
+ */
258
+ export type BeneficiaryWithRefReference = Client | User;
210
259
  /**
211
260
  *
212
261
  * @export
@@ -1016,7 +1065,7 @@ export interface Order {
1016
1065
  * @type {string}
1017
1066
  * @memberof Order
1018
1067
  */
1019
- 'id'?: string;
1068
+ 'id': string;
1020
1069
  /**
1021
1070
  *
1022
1071
  * @type {string}
@@ -1129,6 +1178,25 @@ export interface Period {
1129
1178
  */
1130
1179
  'endAt': string;
1131
1180
  }
1181
+ /**
1182
+ *
1183
+ * @export
1184
+ * @interface PeriodPromotion
1185
+ */
1186
+ export interface PeriodPromotion {
1187
+ /**
1188
+ *
1189
+ * @type {Promotion}
1190
+ * @memberof PeriodPromotion
1191
+ */
1192
+ 'promotion': Promotion;
1193
+ /**
1194
+ *
1195
+ * @type {Period}
1196
+ * @memberof PeriodPromotion
1197
+ */
1198
+ 'period': Period;
1199
+ }
1132
1200
  /**
1133
1201
  *
1134
1202
  * @export
@@ -1964,25 +2032,6 @@ export declare const PromotionType: {
1964
2032
  readonly CustomDeal: "custom_deal";
1965
2033
  };
1966
2034
  export type PromotionType = typeof PromotionType[keyof typeof PromotionType];
1967
- /**
1968
- *
1969
- * @export
1970
- * @interface PromotionWithProgress
1971
- */
1972
- export interface PromotionWithProgress {
1973
- /**
1974
- *
1975
- * @type {Promotion}
1976
- * @memberof PromotionWithProgress
1977
- */
1978
- 'promotion': Promotion;
1979
- /**
1980
- *
1981
- * @type {Progress}
1982
- * @memberof PromotionWithProgress
1983
- */
1984
- 'progress': Progress;
1985
- }
1986
2035
  /**
1987
2036
  *
1988
2037
  * @export
@@ -2737,7 +2786,7 @@ export type TransactionSource = typeof TransactionSource[keyof typeof Transactio
2737
2786
  * @type TransactionSourceReference
2738
2787
  * @export
2739
2788
  */
2740
- export type TransactionSourceReference = Balance | Order | PromotionWithProgress | User;
2789
+ export type TransactionSourceReference = BalanceWithBeneficiaryRef | Order | PeriodPromotion | User;
2741
2790
  /**
2742
2791
  *
2743
2792
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.560-prerelease0",
3
+ "version": "0.0.562-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {