@drttix/drt-sdk 0.2.91 → 0.3.1
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/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +1 -0
- package/dist/cjs/src/generated/portal/models/FundResponseDto.d.ts +29 -0
- package/dist/cjs/src/generated/portal/models/FundResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/ShowDetailDto.d.ts +1 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.d.ts +10 -0
- package/dist/cjs/src/generated/portal/services/FeaturesDonationsService.js +20 -0
- package/dist/cjs/src/generated/portal/types.d.ts +1 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +1 -0
- package/dist/esm/src/generated/portal/models/FundResponseDto.d.ts +29 -0
- package/dist/esm/src/generated/portal/models/FundResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/ShowDetailDto.d.ts +1 -0
- package/dist/esm/src/generated/portal/services/FeaturesDonationsService.d.ts +10 -0
- package/dist/esm/src/generated/portal/services/FeaturesDonationsService.js +20 -0
- package/dist/esm/src/generated/portal/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +1 -0
- package/src/generated/portal/models/FundResponseDto.ts +34 -0
- package/src/generated/portal/models/ShowDetailDto.ts +1 -0
- package/src/generated/portal/services/FeaturesDonationsService.ts +24 -0
- package/src/generated/portal/types.ts +1 -0
|
@@ -95,6 +95,7 @@ export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequ
|
|
|
95
95
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
96
96
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
97
97
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
98
|
+
export type { FundResponseDto } from './models/FundResponseDto';
|
|
98
99
|
export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
99
100
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
100
101
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type FundResponseDto = {
|
|
2
|
+
addRate: number;
|
|
3
|
+
dateCreated: string;
|
|
4
|
+
dateEnd: Record<string, any>;
|
|
5
|
+
dateStart: Record<string, any>;
|
|
6
|
+
dedication: Record<string, any>;
|
|
7
|
+
depositAccount: Record<string, any>;
|
|
8
|
+
depositRouting: Record<string, any>;
|
|
9
|
+
description: Record<string, any>;
|
|
10
|
+
embedRate: number;
|
|
11
|
+
embedSc: number;
|
|
12
|
+
fixedAmount: number;
|
|
13
|
+
fixedList: Record<string, any>;
|
|
14
|
+
fundingGoal: Record<string, any>;
|
|
15
|
+
guid: Record<string, any>;
|
|
16
|
+
hrefInfo: Record<string, any>;
|
|
17
|
+
id: number;
|
|
18
|
+
is501c3: number;
|
|
19
|
+
isEnabled: number;
|
|
20
|
+
maxAmount: Record<string, any>;
|
|
21
|
+
minAmount: Record<string, any>;
|
|
22
|
+
name: string;
|
|
23
|
+
receiptText: Record<string, any>;
|
|
24
|
+
studioId: number;
|
|
25
|
+
thankYouText: Record<string, any>;
|
|
26
|
+
totalCollected: number;
|
|
27
|
+
totalFunding: number;
|
|
28
|
+
totalServiceCharge: number;
|
|
29
|
+
};
|
|
@@ -2,6 +2,7 @@ import type { createServiceAgreementRequestDto } from '../models/createServiceAg
|
|
|
2
2
|
import type { CreateUpdateFundRequestDto } from '../models/CreateUpdateFundRequestDto';
|
|
3
3
|
import type { DuplicateFundRequestDto } from '../models/DuplicateFundRequestDto';
|
|
4
4
|
import type { FundListResponseDto } from '../models/FundListResponseDto';
|
|
5
|
+
import type { FundResponseDto } from '../models/FundResponseDto';
|
|
5
6
|
import type { SendMailRequestDto } from '../models/SendMailRequestDto';
|
|
6
7
|
import type { SingleFundDetailResponseDto } from '../models/SingleFundDetailResponseDto';
|
|
7
8
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
@@ -69,6 +70,15 @@ export declare class FeaturesDonationsService {
|
|
|
69
70
|
* @throws ApiError
|
|
70
71
|
*/
|
|
71
72
|
static deleteFund(xStudioId: string, fundId: string): CancelablePromise<SuccessResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Fetch fund details
|
|
75
|
+
* Get detailed information about a specific fund
|
|
76
|
+
* @param xStudioId The ID of the studio
|
|
77
|
+
* @param fundId The ID of the fund
|
|
78
|
+
* @returns FundResponseDto Fund fetched successfully
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
static getFund(xStudioId: string, fundId: string): CancelablePromise<FundResponseDto>;
|
|
72
82
|
/**
|
|
73
83
|
* Duplicate the fund
|
|
74
84
|
* Create a copy of an existing fund
|
|
@@ -137,6 +137,26 @@ class FeaturesDonationsService {
|
|
|
137
137
|
},
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* Fetch fund details
|
|
142
|
+
* Get detailed information about a specific fund
|
|
143
|
+
* @param xStudioId The ID of the studio
|
|
144
|
+
* @param fundId The ID of the fund
|
|
145
|
+
* @returns FundResponseDto Fund fetched successfully
|
|
146
|
+
* @throws ApiError
|
|
147
|
+
*/
|
|
148
|
+
static getFund(xStudioId, fundId) {
|
|
149
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
150
|
+
method: 'GET',
|
|
151
|
+
url: '/features/donations/{fundId}/detail',
|
|
152
|
+
path: {
|
|
153
|
+
'fundId': fundId,
|
|
154
|
+
},
|
|
155
|
+
headers: {
|
|
156
|
+
'x-studio-id': xStudioId,
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
}
|
|
140
160
|
/**
|
|
141
161
|
* Duplicate the fund
|
|
142
162
|
* Create a copy of an existing fund
|
|
@@ -91,6 +91,7 @@ export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequ
|
|
|
91
91
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
92
92
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
93
93
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
94
|
+
export type { FundResponseDto } from './models/FundResponseDto';
|
|
94
95
|
export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
95
96
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
96
97
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
@@ -95,6 +95,7 @@ export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequ
|
|
|
95
95
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
96
96
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
97
97
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
98
|
+
export type { FundResponseDto } from './models/FundResponseDto';
|
|
98
99
|
export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
99
100
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
100
101
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type FundResponseDto = {
|
|
2
|
+
addRate: number;
|
|
3
|
+
dateCreated: string;
|
|
4
|
+
dateEnd: Record<string, any>;
|
|
5
|
+
dateStart: Record<string, any>;
|
|
6
|
+
dedication: Record<string, any>;
|
|
7
|
+
depositAccount: Record<string, any>;
|
|
8
|
+
depositRouting: Record<string, any>;
|
|
9
|
+
description: Record<string, any>;
|
|
10
|
+
embedRate: number;
|
|
11
|
+
embedSc: number;
|
|
12
|
+
fixedAmount: number;
|
|
13
|
+
fixedList: Record<string, any>;
|
|
14
|
+
fundingGoal: Record<string, any>;
|
|
15
|
+
guid: Record<string, any>;
|
|
16
|
+
hrefInfo: Record<string, any>;
|
|
17
|
+
id: number;
|
|
18
|
+
is501c3: number;
|
|
19
|
+
isEnabled: number;
|
|
20
|
+
maxAmount: Record<string, any>;
|
|
21
|
+
minAmount: Record<string, any>;
|
|
22
|
+
name: string;
|
|
23
|
+
receiptText: Record<string, any>;
|
|
24
|
+
studioId: number;
|
|
25
|
+
thankYouText: Record<string, any>;
|
|
26
|
+
totalCollected: number;
|
|
27
|
+
totalFunding: number;
|
|
28
|
+
totalServiceCharge: number;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import type { createServiceAgreementRequestDto } from '../models/createServiceAg
|
|
|
2
2
|
import type { CreateUpdateFundRequestDto } from '../models/CreateUpdateFundRequestDto';
|
|
3
3
|
import type { DuplicateFundRequestDto } from '../models/DuplicateFundRequestDto';
|
|
4
4
|
import type { FundListResponseDto } from '../models/FundListResponseDto';
|
|
5
|
+
import type { FundResponseDto } from '../models/FundResponseDto';
|
|
5
6
|
import type { SendMailRequestDto } from '../models/SendMailRequestDto';
|
|
6
7
|
import type { SingleFundDetailResponseDto } from '../models/SingleFundDetailResponseDto';
|
|
7
8
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
@@ -69,6 +70,15 @@ export declare class FeaturesDonationsService {
|
|
|
69
70
|
* @throws ApiError
|
|
70
71
|
*/
|
|
71
72
|
static deleteFund(xStudioId: string, fundId: string): CancelablePromise<SuccessResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Fetch fund details
|
|
75
|
+
* Get detailed information about a specific fund
|
|
76
|
+
* @param xStudioId The ID of the studio
|
|
77
|
+
* @param fundId The ID of the fund
|
|
78
|
+
* @returns FundResponseDto Fund fetched successfully
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
static getFund(xStudioId: string, fundId: string): CancelablePromise<FundResponseDto>;
|
|
72
82
|
/**
|
|
73
83
|
* Duplicate the fund
|
|
74
84
|
* Create a copy of an existing fund
|
|
@@ -134,6 +134,26 @@ export class FeaturesDonationsService {
|
|
|
134
134
|
},
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* Fetch fund details
|
|
139
|
+
* Get detailed information about a specific fund
|
|
140
|
+
* @param xStudioId The ID of the studio
|
|
141
|
+
* @param fundId The ID of the fund
|
|
142
|
+
* @returns FundResponseDto Fund fetched successfully
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
static getFund(xStudioId, fundId) {
|
|
146
|
+
return __request(OpenAPI, {
|
|
147
|
+
method: 'GET',
|
|
148
|
+
url: '/features/donations/{fundId}/detail',
|
|
149
|
+
path: {
|
|
150
|
+
'fundId': fundId,
|
|
151
|
+
},
|
|
152
|
+
headers: {
|
|
153
|
+
'x-studio-id': xStudioId,
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
}
|
|
137
157
|
/**
|
|
138
158
|
* Duplicate the fund
|
|
139
159
|
* Create a copy of an existing fund
|
|
@@ -91,6 +91,7 @@ export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequ
|
|
|
91
91
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
92
92
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
93
93
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
94
|
+
export type { FundResponseDto } from './models/FundResponseDto';
|
|
94
95
|
export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
95
96
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
96
97
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
package/package.json
CHANGED
|
@@ -100,6 +100,7 @@ export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequ
|
|
|
100
100
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
101
101
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
102
102
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
103
|
+
export type { FundResponseDto } from './models/FundResponseDto';
|
|
103
104
|
export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
104
105
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
105
106
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type FundResponseDto = {
|
|
6
|
+
addRate: number;
|
|
7
|
+
dateCreated: string;
|
|
8
|
+
dateEnd: Record<string, any>;
|
|
9
|
+
dateStart: Record<string, any>;
|
|
10
|
+
dedication: Record<string, any>;
|
|
11
|
+
depositAccount: Record<string, any>;
|
|
12
|
+
depositRouting: Record<string, any>;
|
|
13
|
+
description: Record<string, any>;
|
|
14
|
+
embedRate: number;
|
|
15
|
+
embedSc: number;
|
|
16
|
+
fixedAmount: number;
|
|
17
|
+
fixedList: Record<string, any>;
|
|
18
|
+
fundingGoal: Record<string, any>;
|
|
19
|
+
guid: Record<string, any>;
|
|
20
|
+
hrefInfo: Record<string, any>;
|
|
21
|
+
id: number;
|
|
22
|
+
is501c3: number;
|
|
23
|
+
isEnabled: number;
|
|
24
|
+
maxAmount: Record<string, any>;
|
|
25
|
+
minAmount: Record<string, any>;
|
|
26
|
+
name: string;
|
|
27
|
+
receiptText: Record<string, any>;
|
|
28
|
+
studioId: number;
|
|
29
|
+
thankYouText: Record<string, any>;
|
|
30
|
+
totalCollected: number;
|
|
31
|
+
totalFunding: number;
|
|
32
|
+
totalServiceCharge: number;
|
|
33
|
+
};
|
|
34
|
+
|
|
@@ -6,6 +6,7 @@ import type { createServiceAgreementRequestDto } from '../models/createServiceAg
|
|
|
6
6
|
import type { CreateUpdateFundRequestDto } from '../models/CreateUpdateFundRequestDto';
|
|
7
7
|
import type { DuplicateFundRequestDto } from '../models/DuplicateFundRequestDto';
|
|
8
8
|
import type { FundListResponseDto } from '../models/FundListResponseDto';
|
|
9
|
+
import type { FundResponseDto } from '../models/FundResponseDto';
|
|
9
10
|
import type { SendMailRequestDto } from '../models/SendMailRequestDto';
|
|
10
11
|
import type { SingleFundDetailResponseDto } from '../models/SingleFundDetailResponseDto';
|
|
11
12
|
import type { SuccessResponse } from '../models/SuccessResponse';
|
|
@@ -166,6 +167,29 @@ export class FeaturesDonationsService {
|
|
|
166
167
|
},
|
|
167
168
|
});
|
|
168
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* Fetch fund details
|
|
172
|
+
* Get detailed information about a specific fund
|
|
173
|
+
* @param xStudioId The ID of the studio
|
|
174
|
+
* @param fundId The ID of the fund
|
|
175
|
+
* @returns FundResponseDto Fund fetched successfully
|
|
176
|
+
* @throws ApiError
|
|
177
|
+
*/
|
|
178
|
+
public static getFund(
|
|
179
|
+
xStudioId: string,
|
|
180
|
+
fundId: string,
|
|
181
|
+
): CancelablePromise<FundResponseDto> {
|
|
182
|
+
return __request(OpenAPI, {
|
|
183
|
+
method: 'GET',
|
|
184
|
+
url: '/features/donations/{fundId}/detail',
|
|
185
|
+
path: {
|
|
186
|
+
'fundId': fundId,
|
|
187
|
+
},
|
|
188
|
+
headers: {
|
|
189
|
+
'x-studio-id': xStudioId,
|
|
190
|
+
},
|
|
191
|
+
});
|
|
192
|
+
}
|
|
169
193
|
/**
|
|
170
194
|
* Duplicate the fund
|
|
171
195
|
* Create a copy of an existing fund
|
|
@@ -94,6 +94,7 @@ export type { ExpireHiddenCodesRequestDto } from './models/ExpireHiddenCodesRequ
|
|
|
94
94
|
export type { FilterShowsResponseDto } from './models/FilterShowsResponseDto';
|
|
95
95
|
export type { ForgotPasswordRequestDto } from './models/ForgotPasswordRequestDto';
|
|
96
96
|
export type { FundListResponseDto } from './models/FundListResponseDto';
|
|
97
|
+
export type { FundResponseDto } from './models/FundResponseDto';
|
|
97
98
|
export type { FutureMailResponseDto } from './models/FutureMailResponseDto';
|
|
98
99
|
export type { GatewayStatus } from './models/GatewayStatus';
|
|
99
100
|
export type { GenerateCodeRequestDto } from './models/GenerateCodeRequestDto';
|