@digital8/lighting-illusions-ts-sdk 0.0.2025 → 0.0.2026
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 +6 -0
- package/README.md +5 -2
- package/dist/apis/TransactionsApi.d.ts +3 -3
- package/dist/apis/TransactionsApi.js +2 -2
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +8 -2
- package/dist/models/AddressResource.js +4 -6
- package/dist/models/AdminNoteResource.d.ts +0 -12
- package/dist/models/AdminNoteResource.js +0 -8
- package/dist/models/AdminOrderResource.d.ts +3 -3
- package/dist/models/AdminOrderResource.js +3 -3
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- package/dist/models/CustomerListResource.d.ts +0 -7
- package/dist/models/CustomerListResource.js +0 -5
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/PaginatedTransactionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTransactionListResourceResponse.js +57 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/TransactionListResource.d.ts +80 -0
- package/dist/models/TransactionListResource.js +81 -0
- package/dist/models/TransactionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TransactionListResourceArrayResponse.js +50 -0
- package/dist/models/TransactionLiteResource.d.ts +6 -0
- package/dist/models/TransactionLiteResource.js +2 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/AddressResource.md +2 -0
- package/docs/AdminNoteResource.md +0 -4
- package/docs/AdminOrderResource.md +1 -1
- package/docs/CartResource.md +1 -1
- package/docs/CustomerListResource.md +0 -2
- package/docs/PaginatedTransactionListResourceResponse.md +36 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/TransactionListResource.md +50 -0
- package/docs/TransactionListResourceArrayResponse.md +34 -0
- package/docs/TransactionLiteResource.md +2 -0
- package/docs/TransactionsApi.md +3 -3
- package/package.json +1 -1
- package/src/apis/TransactionsApi.ts +7 -7
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +12 -6
- package/src/models/AdminNoteResource.ts +0 -18
- package/src/models/AdminOrderResource.ts +11 -11
- package/src/models/CartResource.ts +11 -11
- package/src/models/CustomerListResource.ts +0 -16
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/PaginatedTransactionListResourceResponse.ts +90 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/TransactionListResource.ts +137 -0
- package/src/models/TransactionListResourceArrayResponse.ts +73 -0
- package/src/models/TransactionLiteResource.ts +8 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { TransactionListResource } from './TransactionListResource';
|
|
17
|
+
import {
|
|
18
|
+
TransactionListResourceFromJSON,
|
|
19
|
+
TransactionListResourceFromJSONTyped,
|
|
20
|
+
TransactionListResourceToJSON,
|
|
21
|
+
TransactionListResourceToJSONTyped,
|
|
22
|
+
} from './TransactionListResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface TransactionListResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface TransactionListResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<TransactionListResource>}
|
|
33
|
+
* @memberof TransactionListResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<TransactionListResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the TransactionListResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfTransactionListResourceArrayResponse(value: object): value is TransactionListResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function TransactionListResourceArrayResponseFromJSON(json: any): TransactionListResourceArrayResponse {
|
|
46
|
+
return TransactionListResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function TransactionListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(TransactionListResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function TransactionListResourceArrayResponseToJSON(json: any): TransactionListResourceArrayResponse {
|
|
60
|
+
return TransactionListResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function TransactionListResourceArrayResponseToJSONTyped(value?: TransactionListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(TransactionListResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface TransactionLiteResource
|
|
20
20
|
*/
|
|
21
21
|
export interface TransactionLiteResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof TransactionLiteResource
|
|
26
|
+
*/
|
|
27
|
+
id?: number | null;
|
|
22
28
|
/**
|
|
23
29
|
*
|
|
24
30
|
* @type {string}
|
|
@@ -107,6 +113,7 @@ export function TransactionLiteResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
107
113
|
}
|
|
108
114
|
return {
|
|
109
115
|
|
|
116
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
110
117
|
'paymentSource': json['paymentSource'],
|
|
111
118
|
'paymentMethod': json['paymentMethod'],
|
|
112
119
|
'paymentMethodThumbnail': json['paymentMethodThumbnail'],
|
|
@@ -131,6 +138,7 @@ export function TransactionLiteResourceToJSONTyped(value?: TransactionLiteResour
|
|
|
131
138
|
|
|
132
139
|
return {
|
|
133
140
|
|
|
141
|
+
'id': value['id'],
|
|
134
142
|
'paymentSource': value['paymentSource'],
|
|
135
143
|
'paymentMethod': value['paymentMethod'],
|
|
136
144
|
'paymentMethodThumbnail': value['paymentMethodThumbnail'],
|
package/src/models/index.ts
CHANGED
|
@@ -329,6 +329,7 @@ export * from './PaginatedSupplierResourceResponse';
|
|
|
329
329
|
export * from './PaginatedTagListResourceResponse';
|
|
330
330
|
export * from './PaginatedTagLiteResourceResponse';
|
|
331
331
|
export * from './PaginatedTagResourceResponse';
|
|
332
|
+
export * from './PaginatedTransactionListResourceResponse';
|
|
332
333
|
export * from './PaginatedTransactionResourceResponse';
|
|
333
334
|
export * from './PagingMetadata';
|
|
334
335
|
export * from './PaymentMethod';
|
|
@@ -564,6 +565,8 @@ export * from './TagResource';
|
|
|
564
565
|
export * from './TagResourceArrayResponse';
|
|
565
566
|
export * from './TagType';
|
|
566
567
|
export * from './Thumbnail';
|
|
568
|
+
export * from './TransactionListResource';
|
|
569
|
+
export * from './TransactionListResourceArrayResponse';
|
|
567
570
|
export * from './TransactionLiteResource';
|
|
568
571
|
export * from './TransactionLiteResourceArrayResponse';
|
|
569
572
|
export * from './TransactionResource';
|