@marteye/studiojs 1.1.26 → 1.1.27
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/index.d.ts +2 -2
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/resources/{applications.d.ts → bidderApplications.d.ts} +3 -0
- package/dist/resources.d.ts +4 -4
- package/dist/studio.d.ts +4 -4
- package/package.json +3 -2
|
@@ -37,6 +37,9 @@ export interface ListApplicationsResponse {
|
|
|
37
37
|
lastId: string | null;
|
|
38
38
|
hasMore: boolean;
|
|
39
39
|
}
|
|
40
|
+
/***
|
|
41
|
+
* Bidder applications
|
|
42
|
+
*/
|
|
40
43
|
export default function create(httpClient: HttpClient): {
|
|
41
44
|
/**
|
|
42
45
|
* List applications for a market with optional filtering
|
package/dist/resources.d.ts
CHANGED
|
@@ -133,11 +133,11 @@ export default function resources(httpClient: HttpClient): {
|
|
|
133
133
|
actions: {
|
|
134
134
|
constructAction: (bodyAsBuffer: Buffer, signature: string, endpointSecret: string) => Promise<any>;
|
|
135
135
|
};
|
|
136
|
-
|
|
137
|
-
list: (marketId: string, options?: import("./resources/
|
|
136
|
+
bidderApplications: {
|
|
137
|
+
list: (marketId: string, options?: import("./resources/bidderApplications").ListApplicationsOptions) => Promise<import("./resources/bidderApplications").ListApplicationsResponse>;
|
|
138
138
|
get: (marketId: string, applicationId: string) => Promise<import("./types").Application>;
|
|
139
|
-
create: (marketId: string, applicationData: import("./resources/
|
|
140
|
-
update: (marketId: string, applicationId: string, updateData: import("./resources/
|
|
139
|
+
create: (marketId: string, applicationData: import("./resources/bidderApplications").CreateApplicationPayload) => Promise<import("./types").Application>;
|
|
140
|
+
update: (marketId: string, applicationId: string, updateData: import("./resources/bidderApplications").UpdateApplicationPayload) => Promise<import("./types").Application>;
|
|
141
141
|
approve: (marketId: string, applicationId: string, notes?: string) => Promise<import("./types").Application>;
|
|
142
142
|
reject: (marketId: string, applicationId: string, notes?: string) => Promise<import("./types").Application>;
|
|
143
143
|
};
|
package/dist/studio.d.ts
CHANGED
|
@@ -142,11 +142,11 @@ export declare function Studio(info?: {
|
|
|
142
142
|
actions: {
|
|
143
143
|
constructAction: (bodyAsBuffer: Buffer, signature: string, endpointSecret: string) => Promise<any>;
|
|
144
144
|
};
|
|
145
|
-
|
|
146
|
-
list: (marketId: string, options?: import("./resources/
|
|
145
|
+
bidderApplications: {
|
|
146
|
+
list: (marketId: string, options?: import("./resources/bidderApplications").ListApplicationsOptions) => Promise<import("./resources/bidderApplications").ListApplicationsResponse>;
|
|
147
147
|
get: (marketId: string, applicationId: string) => Promise<import("./types").Application>;
|
|
148
|
-
create: (marketId: string, applicationData: import("./resources/
|
|
149
|
-
update: (marketId: string, applicationId: string, updateData: import("./resources/
|
|
148
|
+
create: (marketId: string, applicationData: import("./resources/bidderApplications").CreateApplicationPayload) => Promise<import("./types").Application>;
|
|
149
|
+
update: (marketId: string, applicationId: string, updateData: import("./resources/bidderApplications").UpdateApplicationPayload) => Promise<import("./types").Application>;
|
|
150
150
|
approve: (marketId: string, applicationId: string, notes?: string) => Promise<import("./types").Application>;
|
|
151
151
|
reject: (marketId: string, applicationId: string, notes?: string) => Promise<import("./types").Application>;
|
|
152
152
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marteye/studiojs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.27",
|
|
4
4
|
"description": "MartEye Studio JavaScript SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
19
|
"require": "./dist/index.js",
|
|
20
|
-
"import": "./dist/index.esm.js"
|
|
20
|
+
"import": "./dist/index.esm.js",
|
|
21
|
+
"types": "./dist/index.d.ts"
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
24
|
"scripts": {
|