@dynamic-labs/sdk-api-core 0.0.826 → 0.0.828
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +149 -0
- package/src/apis/SDKApi.d.ts +49 -1
- package/src/apis/SDKApi.js +149 -0
- package/src/apis/WaasApi.cjs +5 -0
- package/src/apis/WaasApi.js +5 -0
- package/src/index.cjs +76 -0
- package/src/index.js +14 -0
- package/src/models/CoinbaseOnrampFee.cjs +37 -0
- package/src/models/CoinbaseOnrampFee.d.ts +40 -0
- package/src/models/CoinbaseOnrampFee.js +31 -0
- package/src/models/CoinbaseOnrampFeeType.cjs +40 -0
- package/src/models/CoinbaseOnrampFeeType.d.ts +23 -0
- package/src/models/CoinbaseOnrampFeeType.js +34 -0
- package/src/models/CoinbaseOnrampOrder.cjs +66 -0
- package/src/models/CoinbaseOnrampOrder.d.ts +120 -0
- package/src/models/CoinbaseOnrampOrder.js +60 -0
- package/src/models/CoinbaseOnrampOrderCreateRequest.cjs +54 -0
- package/src/models/CoinbaseOnrampOrderCreateRequest.d.ts +88 -0
- package/src/models/CoinbaseOnrampOrderCreateRequest.js +48 -0
- package/src/models/CoinbaseOnrampOrderPaymentLinkType.cjs +39 -0
- package/src/models/CoinbaseOnrampOrderPaymentLinkType.d.ts +22 -0
- package/src/models/CoinbaseOnrampOrderPaymentLinkType.js +33 -0
- package/src/models/CoinbaseOnrampOrderPaymentMethod.cjs +39 -0
- package/src/models/CoinbaseOnrampOrderPaymentMethod.d.ts +22 -0
- package/src/models/CoinbaseOnrampOrderPaymentMethod.js +33 -0
- package/src/models/CoinbaseOnrampOrderResponse.cjs +37 -0
- package/src/models/CoinbaseOnrampOrderResponse.d.ts +35 -0
- package/src/models/CoinbaseOnrampOrderResponse.js +31 -0
- package/src/models/CoinbaseOnrampOrderResponsePaymentLink.cjs +35 -0
- package/src/models/CoinbaseOnrampOrderResponsePaymentLink.d.ts +34 -0
- package/src/models/CoinbaseOnrampOrderResponsePaymentLink.js +29 -0
- package/src/models/CoinbaseOnrampOrderStatus.cjs +43 -0
- package/src/models/CoinbaseOnrampOrderStatus.d.ts +26 -0
- package/src/models/CoinbaseOnrampOrderStatus.js +37 -0
- package/src/models/CreateRoomsRequest.cjs +36 -0
- package/src/models/CreateRoomsRequest.d.ts +34 -0
- package/src/models/CreateRoomsRequest.js +30 -0
- package/src/models/CreateRoomsResponse.cjs +43 -0
- package/src/models/CreateRoomsResponse.d.ts +27 -0
- package/src/models/CreateRoomsResponse.js +37 -0
- package/src/models/CreateRoomsWithoutWalletIdRequest.cjs +39 -0
- package/src/models/CreateRoomsWithoutWalletIdRequest.d.ts +41 -0
- package/src/models/CreateRoomsWithoutWalletIdRequest.js +33 -0
- package/src/models/CreateRoomsWithoutWalletIdResponse.cjs +43 -0
- package/src/models/CreateRoomsWithoutWalletIdResponse.d.ts +27 -0
- package/src/models/CreateRoomsWithoutWalletIdResponse.js +37 -0
- package/src/models/RoomTypeEnum.cjs +40 -0
- package/src/models/RoomTypeEnum.d.ts +23 -0
- package/src/models/RoomTypeEnum.js +34 -0
- package/src/models/index.d.ts +14 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* The type of payment link.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.CoinbaseOnrampOrderPaymentLinkType = void 0;
|
|
24
|
+
(function (CoinbaseOnrampOrderPaymentLinkType) {
|
|
25
|
+
CoinbaseOnrampOrderPaymentLinkType["PaymentLinkTypeApplePayButton"] = "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
|
|
26
|
+
})(exports.CoinbaseOnrampOrderPaymentLinkType || (exports.CoinbaseOnrampOrderPaymentLinkType = {}));
|
|
27
|
+
function CoinbaseOnrampOrderPaymentLinkTypeFromJSON(json) {
|
|
28
|
+
return CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function CoinbaseOnrampOrderPaymentLinkTypeToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.CoinbaseOnrampOrderPaymentLinkTypeFromJSON = CoinbaseOnrampOrderPaymentLinkTypeFromJSON;
|
|
38
|
+
exports.CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped = CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped;
|
|
39
|
+
exports.CoinbaseOnrampOrderPaymentLinkTypeToJSON = CoinbaseOnrampOrderPaymentLinkTypeToJSON;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The type of payment link.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CoinbaseOnrampOrderPaymentLinkType {
|
|
18
|
+
PaymentLinkTypeApplePayButton = "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"
|
|
19
|
+
}
|
|
20
|
+
export declare function CoinbaseOnrampOrderPaymentLinkTypeFromJSON(json: any): CoinbaseOnrampOrderPaymentLinkType;
|
|
21
|
+
export declare function CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampOrderPaymentLinkType;
|
|
22
|
+
export declare function CoinbaseOnrampOrderPaymentLinkTypeToJSON(value?: CoinbaseOnrampOrderPaymentLinkType | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
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
|
+
* The type of payment link.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var CoinbaseOnrampOrderPaymentLinkType;
|
|
20
|
+
(function (CoinbaseOnrampOrderPaymentLinkType) {
|
|
21
|
+
CoinbaseOnrampOrderPaymentLinkType["PaymentLinkTypeApplePayButton"] = "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
|
|
22
|
+
})(CoinbaseOnrampOrderPaymentLinkType || (CoinbaseOnrampOrderPaymentLinkType = {}));
|
|
23
|
+
function CoinbaseOnrampOrderPaymentLinkTypeFromJSON(json) {
|
|
24
|
+
return CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
function CoinbaseOnrampOrderPaymentLinkTypeToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { CoinbaseOnrampOrderPaymentLinkType, CoinbaseOnrampOrderPaymentLinkTypeFromJSON, CoinbaseOnrampOrderPaymentLinkTypeFromJSONTyped, CoinbaseOnrampOrderPaymentLinkTypeToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* The type of payment method to be used to complete an onramp order.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.CoinbaseOnrampOrderPaymentMethod = void 0;
|
|
24
|
+
(function (CoinbaseOnrampOrderPaymentMethod) {
|
|
25
|
+
CoinbaseOnrampOrderPaymentMethod["GuestCheckoutApplePay"] = "GUEST_CHECKOUT_APPLE_PAY";
|
|
26
|
+
})(exports.CoinbaseOnrampOrderPaymentMethod || (exports.CoinbaseOnrampOrderPaymentMethod = {}));
|
|
27
|
+
function CoinbaseOnrampOrderPaymentMethodFromJSON(json) {
|
|
28
|
+
return CoinbaseOnrampOrderPaymentMethodFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function CoinbaseOnrampOrderPaymentMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function CoinbaseOnrampOrderPaymentMethodToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.CoinbaseOnrampOrderPaymentMethodFromJSON = CoinbaseOnrampOrderPaymentMethodFromJSON;
|
|
38
|
+
exports.CoinbaseOnrampOrderPaymentMethodFromJSONTyped = CoinbaseOnrampOrderPaymentMethodFromJSONTyped;
|
|
39
|
+
exports.CoinbaseOnrampOrderPaymentMethodToJSON = CoinbaseOnrampOrderPaymentMethodToJSON;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The type of payment method to be used to complete an onramp order.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CoinbaseOnrampOrderPaymentMethod {
|
|
18
|
+
GuestCheckoutApplePay = "GUEST_CHECKOUT_APPLE_PAY"
|
|
19
|
+
}
|
|
20
|
+
export declare function CoinbaseOnrampOrderPaymentMethodFromJSON(json: any): CoinbaseOnrampOrderPaymentMethod;
|
|
21
|
+
export declare function CoinbaseOnrampOrderPaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampOrderPaymentMethod;
|
|
22
|
+
export declare function CoinbaseOnrampOrderPaymentMethodToJSON(value?: CoinbaseOnrampOrderPaymentMethod | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
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
|
+
* The type of payment method to be used to complete an onramp order.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var CoinbaseOnrampOrderPaymentMethod;
|
|
20
|
+
(function (CoinbaseOnrampOrderPaymentMethod) {
|
|
21
|
+
CoinbaseOnrampOrderPaymentMethod["GuestCheckoutApplePay"] = "GUEST_CHECKOUT_APPLE_PAY";
|
|
22
|
+
})(CoinbaseOnrampOrderPaymentMethod || (CoinbaseOnrampOrderPaymentMethod = {}));
|
|
23
|
+
function CoinbaseOnrampOrderPaymentMethodFromJSON(json) {
|
|
24
|
+
return CoinbaseOnrampOrderPaymentMethodFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function CoinbaseOnrampOrderPaymentMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
function CoinbaseOnrampOrderPaymentMethodToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { CoinbaseOnrampOrderPaymentMethod, CoinbaseOnrampOrderPaymentMethodFromJSON, CoinbaseOnrampOrderPaymentMethodFromJSONTyped, CoinbaseOnrampOrderPaymentMethodToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var CoinbaseOnrampOrder = require('./CoinbaseOnrampOrder.cjs');
|
|
7
|
+
var CoinbaseOnrampOrderResponsePaymentLink = require('./CoinbaseOnrampOrderResponsePaymentLink.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function CoinbaseOnrampOrderResponseFromJSON(json) {
|
|
11
|
+
return CoinbaseOnrampOrderResponseFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function CoinbaseOnrampOrderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'order': CoinbaseOnrampOrder.CoinbaseOnrampOrderFromJSON(json['order']),
|
|
19
|
+
'paymentLink': !runtime.exists(json, 'paymentLink') ? undefined : CoinbaseOnrampOrderResponsePaymentLink.CoinbaseOnrampOrderResponsePaymentLinkFromJSON(json['paymentLink']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function CoinbaseOnrampOrderResponseToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'order': CoinbaseOnrampOrder.CoinbaseOnrampOrderToJSON(value.order),
|
|
31
|
+
'paymentLink': CoinbaseOnrampOrderResponsePaymentLink.CoinbaseOnrampOrderResponsePaymentLinkToJSON(value.paymentLink),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.CoinbaseOnrampOrderResponseFromJSON = CoinbaseOnrampOrderResponseFromJSON;
|
|
36
|
+
exports.CoinbaseOnrampOrderResponseFromJSONTyped = CoinbaseOnrampOrderResponseFromJSONTyped;
|
|
37
|
+
exports.CoinbaseOnrampOrderResponseToJSON = CoinbaseOnrampOrderResponseToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CoinbaseOnrampOrder } from './CoinbaseOnrampOrder';
|
|
13
|
+
import { CoinbaseOnrampOrderResponsePaymentLink } from './CoinbaseOnrampOrderResponsePaymentLink';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CoinbaseOnrampOrderResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface CoinbaseOnrampOrderResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CoinbaseOnrampOrder}
|
|
23
|
+
* @memberof CoinbaseOnrampOrderResponse
|
|
24
|
+
*/
|
|
25
|
+
order: CoinbaseOnrampOrder;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {CoinbaseOnrampOrderResponsePaymentLink}
|
|
29
|
+
* @memberof CoinbaseOnrampOrderResponse
|
|
30
|
+
*/
|
|
31
|
+
paymentLink?: CoinbaseOnrampOrderResponsePaymentLink;
|
|
32
|
+
}
|
|
33
|
+
export declare function CoinbaseOnrampOrderResponseFromJSON(json: any): CoinbaseOnrampOrderResponse;
|
|
34
|
+
export declare function CoinbaseOnrampOrderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampOrderResponse;
|
|
35
|
+
export declare function CoinbaseOnrampOrderResponseToJSON(value?: CoinbaseOnrampOrderResponse | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { CoinbaseOnrampOrderFromJSON, CoinbaseOnrampOrderToJSON } from './CoinbaseOnrampOrder.js';
|
|
3
|
+
import { CoinbaseOnrampOrderResponsePaymentLinkFromJSON, CoinbaseOnrampOrderResponsePaymentLinkToJSON } from './CoinbaseOnrampOrderResponsePaymentLink.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function CoinbaseOnrampOrderResponseFromJSON(json) {
|
|
7
|
+
return CoinbaseOnrampOrderResponseFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function CoinbaseOnrampOrderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'order': CoinbaseOnrampOrderFromJSON(json['order']),
|
|
15
|
+
'paymentLink': !exists(json, 'paymentLink') ? undefined : CoinbaseOnrampOrderResponsePaymentLinkFromJSON(json['paymentLink']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function CoinbaseOnrampOrderResponseToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'order': CoinbaseOnrampOrderToJSON(value.order),
|
|
27
|
+
'paymentLink': CoinbaseOnrampOrderResponsePaymentLinkToJSON(value.paymentLink),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { CoinbaseOnrampOrderResponseFromJSON, CoinbaseOnrampOrderResponseFromJSONTyped, CoinbaseOnrampOrderResponseToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var CoinbaseOnrampOrderPaymentLinkType = require('./CoinbaseOnrampOrderPaymentLinkType.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function CoinbaseOnrampOrderResponsePaymentLinkFromJSON(json) {
|
|
9
|
+
return CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'url': json['url'],
|
|
17
|
+
'paymentLinkType': CoinbaseOnrampOrderPaymentLinkType.CoinbaseOnrampOrderPaymentLinkTypeFromJSON(json['paymentLinkType']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function CoinbaseOnrampOrderResponsePaymentLinkToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'url': value.url,
|
|
29
|
+
'paymentLinkType': CoinbaseOnrampOrderPaymentLinkType.CoinbaseOnrampOrderPaymentLinkTypeToJSON(value.paymentLinkType),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.CoinbaseOnrampOrderResponsePaymentLinkFromJSON = CoinbaseOnrampOrderResponsePaymentLinkFromJSON;
|
|
34
|
+
exports.CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped = CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped;
|
|
35
|
+
exports.CoinbaseOnrampOrderResponsePaymentLinkToJSON = CoinbaseOnrampOrderResponsePaymentLinkToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CoinbaseOnrampOrderPaymentLinkType } from './CoinbaseOnrampOrderPaymentLinkType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CoinbaseOnrampOrderResponsePaymentLink
|
|
17
|
+
*/
|
|
18
|
+
export interface CoinbaseOnrampOrderResponsePaymentLink {
|
|
19
|
+
/**
|
|
20
|
+
* The URL to the hosted widget the user should be redirected to. For certain payment link types you can append your own redirect_url query parameter to this URL to ensure the user is redirected back to your app after the widget completes.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CoinbaseOnrampOrderResponsePaymentLink
|
|
23
|
+
*/
|
|
24
|
+
url: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CoinbaseOnrampOrderPaymentLinkType}
|
|
28
|
+
* @memberof CoinbaseOnrampOrderResponsePaymentLink
|
|
29
|
+
*/
|
|
30
|
+
paymentLinkType: CoinbaseOnrampOrderPaymentLinkType;
|
|
31
|
+
}
|
|
32
|
+
export declare function CoinbaseOnrampOrderResponsePaymentLinkFromJSON(json: any): CoinbaseOnrampOrderResponsePaymentLink;
|
|
33
|
+
export declare function CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampOrderResponsePaymentLink;
|
|
34
|
+
export declare function CoinbaseOnrampOrderResponsePaymentLinkToJSON(value?: CoinbaseOnrampOrderResponsePaymentLink | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CoinbaseOnrampOrderPaymentLinkTypeFromJSON, CoinbaseOnrampOrderPaymentLinkTypeToJSON } from './CoinbaseOnrampOrderPaymentLinkType.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function CoinbaseOnrampOrderResponsePaymentLinkFromJSON(json) {
|
|
5
|
+
return CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'url': json['url'],
|
|
13
|
+
'paymentLinkType': CoinbaseOnrampOrderPaymentLinkTypeFromJSON(json['paymentLinkType']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function CoinbaseOnrampOrderResponsePaymentLinkToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'url': value.url,
|
|
25
|
+
'paymentLinkType': CoinbaseOnrampOrderPaymentLinkTypeToJSON(value.paymentLinkType),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { CoinbaseOnrampOrderResponsePaymentLinkFromJSON, CoinbaseOnrampOrderResponsePaymentLinkFromJSONTyped, CoinbaseOnrampOrderResponsePaymentLinkToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* The status of an onramp order.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.CoinbaseOnrampOrderStatus = void 0;
|
|
24
|
+
(function (CoinbaseOnrampOrderStatus) {
|
|
25
|
+
CoinbaseOnrampOrderStatus["PendingAuth"] = "ONRAMP_ORDER_STATUS_PENDING_AUTH";
|
|
26
|
+
CoinbaseOnrampOrderStatus["PendingPayment"] = "ONRAMP_ORDER_STATUS_PENDING_PAYMENT";
|
|
27
|
+
CoinbaseOnrampOrderStatus["Processing"] = "ONRAMP_ORDER_STATUS_PROCESSING";
|
|
28
|
+
CoinbaseOnrampOrderStatus["Completed"] = "ONRAMP_ORDER_STATUS_COMPLETED";
|
|
29
|
+
CoinbaseOnrampOrderStatus["Failed"] = "ONRAMP_ORDER_STATUS_FAILED";
|
|
30
|
+
})(exports.CoinbaseOnrampOrderStatus || (exports.CoinbaseOnrampOrderStatus = {}));
|
|
31
|
+
function CoinbaseOnrampOrderStatusFromJSON(json) {
|
|
32
|
+
return CoinbaseOnrampOrderStatusFromJSONTyped(json);
|
|
33
|
+
}
|
|
34
|
+
function CoinbaseOnrampOrderStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
function CoinbaseOnrampOrderStatusToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.CoinbaseOnrampOrderStatusFromJSON = CoinbaseOnrampOrderStatusFromJSON;
|
|
42
|
+
exports.CoinbaseOnrampOrderStatusFromJSONTyped = CoinbaseOnrampOrderStatusFromJSONTyped;
|
|
43
|
+
exports.CoinbaseOnrampOrderStatusToJSON = CoinbaseOnrampOrderStatusToJSON;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The status of an onramp order.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CoinbaseOnrampOrderStatus {
|
|
18
|
+
PendingAuth = "ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
19
|
+
PendingPayment = "ONRAMP_ORDER_STATUS_PENDING_PAYMENT",
|
|
20
|
+
Processing = "ONRAMP_ORDER_STATUS_PROCESSING",
|
|
21
|
+
Completed = "ONRAMP_ORDER_STATUS_COMPLETED",
|
|
22
|
+
Failed = "ONRAMP_ORDER_STATUS_FAILED"
|
|
23
|
+
}
|
|
24
|
+
export declare function CoinbaseOnrampOrderStatusFromJSON(json: any): CoinbaseOnrampOrderStatus;
|
|
25
|
+
export declare function CoinbaseOnrampOrderStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampOrderStatus;
|
|
26
|
+
export declare function CoinbaseOnrampOrderStatusToJSON(value?: CoinbaseOnrampOrderStatus | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
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
|
+
* The status of an onramp order.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var CoinbaseOnrampOrderStatus;
|
|
20
|
+
(function (CoinbaseOnrampOrderStatus) {
|
|
21
|
+
CoinbaseOnrampOrderStatus["PendingAuth"] = "ONRAMP_ORDER_STATUS_PENDING_AUTH";
|
|
22
|
+
CoinbaseOnrampOrderStatus["PendingPayment"] = "ONRAMP_ORDER_STATUS_PENDING_PAYMENT";
|
|
23
|
+
CoinbaseOnrampOrderStatus["Processing"] = "ONRAMP_ORDER_STATUS_PROCESSING";
|
|
24
|
+
CoinbaseOnrampOrderStatus["Completed"] = "ONRAMP_ORDER_STATUS_COMPLETED";
|
|
25
|
+
CoinbaseOnrampOrderStatus["Failed"] = "ONRAMP_ORDER_STATUS_FAILED";
|
|
26
|
+
})(CoinbaseOnrampOrderStatus || (CoinbaseOnrampOrderStatus = {}));
|
|
27
|
+
function CoinbaseOnrampOrderStatusFromJSON(json) {
|
|
28
|
+
return CoinbaseOnrampOrderStatusFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function CoinbaseOnrampOrderStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function CoinbaseOnrampOrderStatusToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { CoinbaseOnrampOrderStatus, CoinbaseOnrampOrderStatusFromJSON, CoinbaseOnrampOrderStatusFromJSONTyped, CoinbaseOnrampOrderStatusToJSON };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var RoomTypeEnum = require('./RoomTypeEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function CreateRoomsRequestFromJSON(json) {
|
|
10
|
+
return CreateRoomsRequestFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function CreateRoomsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'roomType': RoomTypeEnum.RoomTypeEnumFromJSON(json['roomType']),
|
|
18
|
+
'roomCount': !runtime.exists(json, 'roomCount') ? undefined : json['roomCount'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function CreateRoomsRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'roomType': RoomTypeEnum.RoomTypeEnumToJSON(value.roomType),
|
|
30
|
+
'roomCount': value.roomCount,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.CreateRoomsRequestFromJSON = CreateRoomsRequestFromJSON;
|
|
35
|
+
exports.CreateRoomsRequestFromJSONTyped = CreateRoomsRequestFromJSONTyped;
|
|
36
|
+
exports.CreateRoomsRequestToJSON = CreateRoomsRequestToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { RoomTypeEnum } from './RoomTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateRoomsRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateRoomsRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {RoomTypeEnum}
|
|
22
|
+
* @memberof CreateRoomsRequest
|
|
23
|
+
*/
|
|
24
|
+
roomType: RoomTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Number of rooms to create
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof CreateRoomsRequest
|
|
29
|
+
*/
|
|
30
|
+
roomCount?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function CreateRoomsRequestFromJSON(json: any): CreateRoomsRequest;
|
|
33
|
+
export declare function CreateRoomsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRoomsRequest;
|
|
34
|
+
export declare function CreateRoomsRequestToJSON(value?: CreateRoomsRequest | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { RoomTypeEnumFromJSON, RoomTypeEnumToJSON } from './RoomTypeEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function CreateRoomsRequestFromJSON(json) {
|
|
6
|
+
return CreateRoomsRequestFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function CreateRoomsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'roomType': RoomTypeEnumFromJSON(json['roomType']),
|
|
14
|
+
'roomCount': !exists(json, 'roomCount') ? undefined : json['roomCount'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function CreateRoomsRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'roomType': RoomTypeEnumToJSON(value.roomType),
|
|
26
|
+
'roomCount': value.roomCount,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { CreateRoomsRequestFromJSON, CreateRoomsRequestFromJSONTyped, CreateRoomsRequestToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function CreateRoomsResponseFromJSON(json) {
|
|
19
|
+
return CreateRoomsResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function CreateRoomsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roomIds': json['roomIds'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function CreateRoomsResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'roomIds': value.roomIds,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.CreateRoomsResponseFromJSON = CreateRoomsResponseFromJSON;
|
|
42
|
+
exports.CreateRoomsResponseFromJSONTyped = CreateRoomsResponseFromJSONTyped;
|
|
43
|
+
exports.CreateRoomsResponseToJSON = CreateRoomsResponseToJSON;
|