@seal-protocol/backendjs 0.0.50 → 0.0.52

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.
Files changed (30) hide show
  1. package/lib/api/seal-client.d.ts +295 -2
  2. package/lib/api/seal-client.js +302 -2
  3. package/lib/model/index.d.ts +10 -1
  4. package/lib/model/index.js +10 -1
  5. package/lib/model/seal-chain-config.d.ts +3 -2
  6. package/lib/model/seal-config.d.ts +0 -7
  7. package/lib/model/seal-get-order-activities-response.d.ts +31 -0
  8. package/lib/model/seal-get-order-activities-response.js +15 -0
  9. package/lib/model/seal-get-reservation-settlement-activities-response.d.ts +38 -0
  10. package/lib/model/seal-get-reservation-settlement-activities-response.js +15 -0
  11. package/lib/model/seal-get-seal-contract-params-response.d.ts +25 -0
  12. package/lib/model/seal-get-seal-contract-params-response.js +15 -0
  13. package/lib/model/seal-order-activities-order-by-property.d.ts +22 -0
  14. package/lib/model/seal-order-activities-order-by-property.js +28 -0
  15. package/lib/model/seal-order-activities-order-by.d.ts +31 -0
  16. package/lib/model/seal-order-activities-order-by.js +15 -0
  17. package/lib/model/seal-order-activity-with-order.d.ts +32 -0
  18. package/lib/model/seal-order-activity-with-order.js +15 -0
  19. package/lib/model/seal-order-activity.d.ts +67 -0
  20. package/lib/model/seal-order-activity.js +15 -0
  21. package/lib/model/seal-order-reservation.d.ts +1 -1
  22. package/lib/model/seal-order-reservations-order-by-property.d.ts +1 -1
  23. package/lib/model/seal-order-reservations-order-by-property.js +1 -1
  24. package/lib/model/seal-seal-contract-config.d.ts +32 -0
  25. package/lib/model/seal-seal-contract-config.js +15 -0
  26. package/lib/model/seal-seal-contract-params.d.ts +54 -0
  27. package/lib/model/seal-seal-contract-params.js +15 -0
  28. package/lib/model/types-order-activity-type.d.ts +28 -0
  29. package/lib/model/types-order-activity-type.js +34 -0
  30. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum SealOrderActivitiesOrderByProperty {
18
+ OrderActivitiesOrderByPropertyUnspecified = "OrderActivitiesOrderByProperty_UNSPECIFIED",
19
+ OrderActivitiesOrderByPropertyActivityId = "OrderActivitiesOrderByProperty_ACTIVITY_ID",
20
+ OrderActivitiesOrderByPropertyChainId = "OrderActivitiesOrderByProperty_CHAIN_ID",
21
+ OrderActivitiesOrderByPropertyActivityTime = "OrderActivitiesOrderByProperty_ACTIVITY_TIME"
22
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SealOrderActivitiesOrderByProperty = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var SealOrderActivitiesOrderByProperty;
23
+ (function (SealOrderActivitiesOrderByProperty) {
24
+ SealOrderActivitiesOrderByProperty["OrderActivitiesOrderByPropertyUnspecified"] = "OrderActivitiesOrderByProperty_UNSPECIFIED";
25
+ SealOrderActivitiesOrderByProperty["OrderActivitiesOrderByPropertyActivityId"] = "OrderActivitiesOrderByProperty_ACTIVITY_ID";
26
+ SealOrderActivitiesOrderByProperty["OrderActivitiesOrderByPropertyChainId"] = "OrderActivitiesOrderByProperty_CHAIN_ID";
27
+ SealOrderActivitiesOrderByProperty["OrderActivitiesOrderByPropertyActivityTime"] = "OrderActivitiesOrderByProperty_ACTIVITY_TIME";
28
+ })(SealOrderActivitiesOrderByProperty || (exports.SealOrderActivitiesOrderByProperty = SealOrderActivitiesOrderByProperty = {}));
@@ -0,0 +1,31 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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 type { SealOrderActivitiesOrderByProperty } from './seal-order-activities-order-by-property';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SealOrderActivitiesOrderBy
17
+ */
18
+ export interface SealOrderActivitiesOrderBy {
19
+ /**
20
+ *
21
+ * @type {SealOrderActivitiesOrderByProperty}
22
+ * @memberof SealOrderActivitiesOrderBy
23
+ */
24
+ 'property'?: SealOrderActivitiesOrderByProperty;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof SealOrderActivitiesOrderBy
29
+ */
30
+ 'descending'?: boolean;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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 type { SealOrder } from './seal-order';
13
+ import type { SealOrderActivity } from './seal-order-activity';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SealOrderActivityWithOrder
18
+ */
19
+ export interface SealOrderActivityWithOrder {
20
+ /**
21
+ *
22
+ * @type {SealOrderActivity}
23
+ * @memberof SealOrderActivityWithOrder
24
+ */
25
+ 'activity': SealOrderActivity;
26
+ /**
27
+ *
28
+ * @type {SealOrder}
29
+ * @memberof SealOrderActivityWithOrder
30
+ */
31
+ 'order': SealOrder;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,67 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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 type { TypesOrderActivityType } from './types-order-activity-type';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SealOrderActivity
17
+ */
18
+ export interface SealOrderActivity {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SealOrderActivity
23
+ */
24
+ 'id'?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SealOrderActivity
29
+ */
30
+ 'chainId': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SealOrderActivity
35
+ */
36
+ 'orderIdHash'?: string;
37
+ /**
38
+ *
39
+ * @type {TypesOrderActivityType}
40
+ * @memberof SealOrderActivity
41
+ */
42
+ 'activityType'?: TypesOrderActivityType;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof SealOrderActivity
47
+ */
48
+ 'data'?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof SealOrderActivity
53
+ */
54
+ 'txHash'?: string;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof SealOrderActivity
59
+ */
60
+ 'time': number;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof SealOrderActivity
65
+ */
66
+ 'actor'?: string;
67
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -39,7 +39,7 @@ export interface SealOrderReservation {
39
39
  * @type {string}
40
40
  * @memberof SealOrderReservation
41
41
  */
42
- 'reservationId'?: string;
42
+ 'reservationIdHash'?: string;
43
43
  /**
44
44
  *
45
45
  * @type {string}
@@ -17,7 +17,7 @@
17
17
  export declare enum SealOrderReservationsOrderByProperty {
18
18
  OrderReservationsOrderByPropertyUnspecified = "OrderReservationsOrderByProperty_UNSPECIFIED",
19
19
  OrderReservationsOrderByPropertyOrderIdHash = "OrderReservationsOrderByProperty_ORDER_ID_HASH",
20
- OrderReservationsOrderByPropertyReservationId = "OrderReservationsOrderByProperty_RESERVATION_ID",
20
+ OrderReservationsOrderByPropertyReservationIdHash = "OrderReservationsOrderByProperty_RESERVATION_ID_HASH",
21
21
  OrderReservationsOrderByPropertyTotalAmount = "OrderReservationsOrderByProperty_TOTAL_AMOUNT",
22
22
  OrderReservationsOrderByPropertyRemainingAmount = "OrderReservationsOrderByProperty_REMAINING_AMOUNT",
23
23
  OrderReservationsOrderByPropertyTotalDepositAmount = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT",
@@ -23,7 +23,7 @@ var SealOrderReservationsOrderByProperty;
23
23
  (function (SealOrderReservationsOrderByProperty) {
24
24
  SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyUnspecified"] = "OrderReservationsOrderByProperty_UNSPECIFIED";
25
25
  SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyOrderIdHash"] = "OrderReservationsOrderByProperty_ORDER_ID_HASH";
26
- SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyReservationId"] = "OrderReservationsOrderByProperty_RESERVATION_ID";
26
+ SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyReservationIdHash"] = "OrderReservationsOrderByProperty_RESERVATION_ID_HASH";
27
27
  SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyTotalAmount"] = "OrderReservationsOrderByProperty_TOTAL_AMOUNT";
28
28
  SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyRemainingAmount"] = "OrderReservationsOrderByProperty_REMAINING_AMOUNT";
29
29
  SealOrderReservationsOrderByProperty["OrderReservationsOrderByPropertyTotalDepositAmount"] = "OrderReservationsOrderByProperty_TOTAL_DEPOSIT_AMOUNT";
@@ -0,0 +1,32 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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 type { SealContractConfig } from './seal-contract-config';
13
+ import type { SealSealContractParams } from './seal-seal-contract-params';
14
+ /**
15
+ * SealContractConfig represents the configuration for the Seal smart contract.
16
+ * @export
17
+ * @interface SealSealContractConfig
18
+ */
19
+ export interface SealSealContractConfig {
20
+ /**
21
+ *
22
+ * @type {SealContractConfig}
23
+ * @memberof SealSealContractConfig
24
+ */
25
+ 'contractConfig'?: SealContractConfig;
26
+ /**
27
+ *
28
+ * @type {SealSealContractParams}
29
+ * @memberof SealSealContractConfig
30
+ */
31
+ 'params'?: SealSealContractParams;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,54 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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
+ *
14
+ * @export
15
+ * @interface SealSealContractParams
16
+ */
17
+ export interface SealSealContractParams {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealSealContractParams
22
+ */
23
+ 'makerFee'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SealSealContractParams
28
+ */
29
+ 'reservationDepositToken'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SealSealContractParams
34
+ */
35
+ 'minReservationDepositAmount'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SealSealContractParams
40
+ */
41
+ 'maxReservationDepositAmount'?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof SealSealContractParams
46
+ */
47
+ 'minReservationPeriodSeconds'?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof SealSealContractParams
52
+ */
53
+ 'maxReservationPeriodSeconds'?: number;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
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
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum TypesOrderActivityType {
18
+ OrderActivityTypeUnspecified = "ORDER_ACTIVITY_TYPE_UNSPECIFIED",
19
+ OrderActivityTypeSubmitted = "ORDER_ACTIVITY_TYPE_SUBMITTED",
20
+ OrderActivityTypeCanceledOnChain = "ORDER_ACTIVITY_TYPE_CANCELED_ON_CHAIN",
21
+ OrderActivityTypeCanceledOffChain = "ORDER_ACTIVITY_TYPE_CANCELED_OFF_CHAIN",
22
+ OrderActivityTypeExpired = "ORDER_ACTIVITY_TYPE_EXPIRED",
23
+ OrderActivityTypeSettled = "ORDER_ACTIVITY_TYPE_SETTLED",
24
+ OrderActivityTypeReserved = "ORDER_ACTIVITY_TYPE_RESERVED",
25
+ OrderActivityTypeReservationSettled = "ORDER_ACTIVITY_TYPE_RESERVATION_SETTLED",
26
+ OrderActivityTypeReservationExpired = "ORDER_ACTIVITY_TYPE_RESERVATION_EXPIRED",
27
+ OrderActivityTypeExpiredReservationDepositRefunded = "ORDER_ACTIVITY_TYPE_EXPIRED_RESERVATION_DEPOSIT_REFUNDED"
28
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TypesOrderActivityType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var TypesOrderActivityType;
23
+ (function (TypesOrderActivityType) {
24
+ TypesOrderActivityType["OrderActivityTypeUnspecified"] = "ORDER_ACTIVITY_TYPE_UNSPECIFIED";
25
+ TypesOrderActivityType["OrderActivityTypeSubmitted"] = "ORDER_ACTIVITY_TYPE_SUBMITTED";
26
+ TypesOrderActivityType["OrderActivityTypeCanceledOnChain"] = "ORDER_ACTIVITY_TYPE_CANCELED_ON_CHAIN";
27
+ TypesOrderActivityType["OrderActivityTypeCanceledOffChain"] = "ORDER_ACTIVITY_TYPE_CANCELED_OFF_CHAIN";
28
+ TypesOrderActivityType["OrderActivityTypeExpired"] = "ORDER_ACTIVITY_TYPE_EXPIRED";
29
+ TypesOrderActivityType["OrderActivityTypeSettled"] = "ORDER_ACTIVITY_TYPE_SETTLED";
30
+ TypesOrderActivityType["OrderActivityTypeReserved"] = "ORDER_ACTIVITY_TYPE_RESERVED";
31
+ TypesOrderActivityType["OrderActivityTypeReservationSettled"] = "ORDER_ACTIVITY_TYPE_RESERVATION_SETTLED";
32
+ TypesOrderActivityType["OrderActivityTypeReservationExpired"] = "ORDER_ACTIVITY_TYPE_RESERVATION_EXPIRED";
33
+ TypesOrderActivityType["OrderActivityTypeExpiredReservationDepositRefunded"] = "ORDER_ACTIVITY_TYPE_EXPIRED_RESERVATION_DEPOSIT_REFUNDED";
34
+ })(TypesOrderActivityType || (exports.TypesOrderActivityType = TypesOrderActivityType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seal-protocol/backendjs",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "Javascript SDK for Seal Backend",
5
5
  "author": "amin <amin@refractedlabs.com>",
6
6
  "homepage": "https://github.com/seal-protocol/backend/tree/main/ts-client#readme",