@aptos-labs/js-pro 0.1.7 → 0.1.8

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.
@@ -514,6 +514,164 @@ export type Block_Metadata_Transactions_Stream_Cursor_Value_Input = {
514
514
  timestamp?: InputMaybe<Scalars['timestamp']['input']>;
515
515
  version?: InputMaybe<Scalars['bigint']['input']>;
516
516
  };
517
+ /** columns and relationships of "confidential_asset_activities" */
518
+ export type Confidential_Asset_Activities = {
519
+ __typename?: 'confidential_asset_activities';
520
+ amount?: Maybe<Scalars['numeric']['output']>;
521
+ asset_type?: Maybe<Scalars['String']['output']>;
522
+ block_height: Scalars['bigint']['output'];
523
+ counterparty_address?: Maybe<Scalars['String']['output']>;
524
+ /** An array relationship */
525
+ counterparty_aptos_names: Array<Current_Aptos_Names>;
526
+ /** An aggregate relationship */
527
+ counterparty_aptos_names_aggregate: Current_Aptos_Names_Aggregate;
528
+ entry_function_id_str?: Maybe<Scalars['String']['output']>;
529
+ event_data: Scalars['jsonb']['output'];
530
+ event_data_version: Scalars['String']['output'];
531
+ event_index: Scalars['bigint']['output'];
532
+ event_type: Scalars['String']['output'];
533
+ is_transaction_success: Scalars['Boolean']['output'];
534
+ /** An object relationship */
535
+ metadata?: Maybe<Fungible_Asset_Metadata>;
536
+ owner_address: Scalars['String']['output'];
537
+ /** An array relationship */
538
+ owner_aptos_names: Array<Current_Aptos_Names>;
539
+ /** An aggregate relationship */
540
+ owner_aptos_names_aggregate: Current_Aptos_Names_Aggregate;
541
+ transaction_timestamp: Scalars['timestamp']['output'];
542
+ transaction_version: Scalars['bigint']['output'];
543
+ };
544
+ /** columns and relationships of "confidential_asset_activities" */
545
+ export type Confidential_Asset_ActivitiesCounterparty_Aptos_NamesArgs = {
546
+ distinct_on?: InputMaybe<Array<Current_Aptos_Names_Select_Column>>;
547
+ limit?: InputMaybe<Scalars['Int']['input']>;
548
+ offset?: InputMaybe<Scalars['Int']['input']>;
549
+ order_by?: InputMaybe<Array<Current_Aptos_Names_Order_By>>;
550
+ where?: InputMaybe<Current_Aptos_Names_Bool_Exp>;
551
+ };
552
+ /** columns and relationships of "confidential_asset_activities" */
553
+ export type Confidential_Asset_ActivitiesCounterparty_Aptos_Names_AggregateArgs = {
554
+ distinct_on?: InputMaybe<Array<Current_Aptos_Names_Select_Column>>;
555
+ limit?: InputMaybe<Scalars['Int']['input']>;
556
+ offset?: InputMaybe<Scalars['Int']['input']>;
557
+ order_by?: InputMaybe<Array<Current_Aptos_Names_Order_By>>;
558
+ where?: InputMaybe<Current_Aptos_Names_Bool_Exp>;
559
+ };
560
+ /** columns and relationships of "confidential_asset_activities" */
561
+ export type Confidential_Asset_ActivitiesEvent_DataArgs = {
562
+ path?: InputMaybe<Scalars['String']['input']>;
563
+ };
564
+ /** columns and relationships of "confidential_asset_activities" */
565
+ export type Confidential_Asset_ActivitiesOwner_Aptos_NamesArgs = {
566
+ distinct_on?: InputMaybe<Array<Current_Aptos_Names_Select_Column>>;
567
+ limit?: InputMaybe<Scalars['Int']['input']>;
568
+ offset?: InputMaybe<Scalars['Int']['input']>;
569
+ order_by?: InputMaybe<Array<Current_Aptos_Names_Order_By>>;
570
+ where?: InputMaybe<Current_Aptos_Names_Bool_Exp>;
571
+ };
572
+ /** columns and relationships of "confidential_asset_activities" */
573
+ export type Confidential_Asset_ActivitiesOwner_Aptos_Names_AggregateArgs = {
574
+ distinct_on?: InputMaybe<Array<Current_Aptos_Names_Select_Column>>;
575
+ limit?: InputMaybe<Scalars['Int']['input']>;
576
+ offset?: InputMaybe<Scalars['Int']['input']>;
577
+ order_by?: InputMaybe<Array<Current_Aptos_Names_Order_By>>;
578
+ where?: InputMaybe<Current_Aptos_Names_Bool_Exp>;
579
+ };
580
+ /** Boolean expression to filter rows from the table "confidential_asset_activities". All fields are combined with a logical 'AND'. */
581
+ export type Confidential_Asset_Activities_Bool_Exp = {
582
+ _and?: InputMaybe<Array<Confidential_Asset_Activities_Bool_Exp>>;
583
+ _not?: InputMaybe<Confidential_Asset_Activities_Bool_Exp>;
584
+ _or?: InputMaybe<Array<Confidential_Asset_Activities_Bool_Exp>>;
585
+ amount?: InputMaybe<Numeric_Comparison_Exp>;
586
+ asset_type?: InputMaybe<String_Comparison_Exp>;
587
+ block_height?: InputMaybe<Bigint_Comparison_Exp>;
588
+ counterparty_address?: InputMaybe<String_Comparison_Exp>;
589
+ counterparty_aptos_names?: InputMaybe<Current_Aptos_Names_Bool_Exp>;
590
+ counterparty_aptos_names_aggregate?: InputMaybe<Current_Aptos_Names_Aggregate_Bool_Exp>;
591
+ entry_function_id_str?: InputMaybe<String_Comparison_Exp>;
592
+ event_data?: InputMaybe<Jsonb_Comparison_Exp>;
593
+ event_data_version?: InputMaybe<String_Comparison_Exp>;
594
+ event_index?: InputMaybe<Bigint_Comparison_Exp>;
595
+ event_type?: InputMaybe<String_Comparison_Exp>;
596
+ is_transaction_success?: InputMaybe<Boolean_Comparison_Exp>;
597
+ metadata?: InputMaybe<Fungible_Asset_Metadata_Bool_Exp>;
598
+ owner_address?: InputMaybe<String_Comparison_Exp>;
599
+ owner_aptos_names?: InputMaybe<Current_Aptos_Names_Bool_Exp>;
600
+ owner_aptos_names_aggregate?: InputMaybe<Current_Aptos_Names_Aggregate_Bool_Exp>;
601
+ transaction_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
602
+ transaction_version?: InputMaybe<Bigint_Comparison_Exp>;
603
+ };
604
+ /** Ordering options when selecting data from "confidential_asset_activities". */
605
+ export type Confidential_Asset_Activities_Order_By = {
606
+ amount?: InputMaybe<Order_By>;
607
+ asset_type?: InputMaybe<Order_By>;
608
+ block_height?: InputMaybe<Order_By>;
609
+ counterparty_address?: InputMaybe<Order_By>;
610
+ counterparty_aptos_names_aggregate?: InputMaybe<Current_Aptos_Names_Aggregate_Order_By>;
611
+ entry_function_id_str?: InputMaybe<Order_By>;
612
+ event_data?: InputMaybe<Order_By>;
613
+ event_data_version?: InputMaybe<Order_By>;
614
+ event_index?: InputMaybe<Order_By>;
615
+ event_type?: InputMaybe<Order_By>;
616
+ is_transaction_success?: InputMaybe<Order_By>;
617
+ metadata?: InputMaybe<Fungible_Asset_Metadata_Order_By>;
618
+ owner_address?: InputMaybe<Order_By>;
619
+ owner_aptos_names_aggregate?: InputMaybe<Current_Aptos_Names_Aggregate_Order_By>;
620
+ transaction_timestamp?: InputMaybe<Order_By>;
621
+ transaction_version?: InputMaybe<Order_By>;
622
+ };
623
+ /** select columns of table "confidential_asset_activities" */
624
+ export declare enum Confidential_Asset_Activities_Select_Column {
625
+ /** column name */
626
+ Amount = "amount",
627
+ /** column name */
628
+ AssetType = "asset_type",
629
+ /** column name */
630
+ BlockHeight = "block_height",
631
+ /** column name */
632
+ CounterpartyAddress = "counterparty_address",
633
+ /** column name */
634
+ EntryFunctionIdStr = "entry_function_id_str",
635
+ /** column name */
636
+ EventData = "event_data",
637
+ /** column name */
638
+ EventDataVersion = "event_data_version",
639
+ /** column name */
640
+ EventIndex = "event_index",
641
+ /** column name */
642
+ EventType = "event_type",
643
+ /** column name */
644
+ IsTransactionSuccess = "is_transaction_success",
645
+ /** column name */
646
+ OwnerAddress = "owner_address",
647
+ /** column name */
648
+ TransactionTimestamp = "transaction_timestamp",
649
+ /** column name */
650
+ TransactionVersion = "transaction_version"
651
+ }
652
+ /** Streaming cursor of the table "confidential_asset_activities" */
653
+ export type Confidential_Asset_Activities_Stream_Cursor_Input = {
654
+ /** Stream column input with initial value */
655
+ initial_value: Confidential_Asset_Activities_Stream_Cursor_Value_Input;
656
+ /** cursor ordering */
657
+ ordering?: InputMaybe<Cursor_Ordering>;
658
+ };
659
+ /** Initial value of the column from where the streaming should start */
660
+ export type Confidential_Asset_Activities_Stream_Cursor_Value_Input = {
661
+ amount?: InputMaybe<Scalars['numeric']['input']>;
662
+ asset_type?: InputMaybe<Scalars['String']['input']>;
663
+ block_height?: InputMaybe<Scalars['bigint']['input']>;
664
+ counterparty_address?: InputMaybe<Scalars['String']['input']>;
665
+ entry_function_id_str?: InputMaybe<Scalars['String']['input']>;
666
+ event_data?: InputMaybe<Scalars['jsonb']['input']>;
667
+ event_data_version?: InputMaybe<Scalars['String']['input']>;
668
+ event_index?: InputMaybe<Scalars['bigint']['input']>;
669
+ event_type?: InputMaybe<Scalars['String']['input']>;
670
+ is_transaction_success?: InputMaybe<Scalars['Boolean']['input']>;
671
+ owner_address?: InputMaybe<Scalars['String']['input']>;
672
+ transaction_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
673
+ transaction_version?: InputMaybe<Scalars['bigint']['input']>;
674
+ };
517
675
  /** columns and relationships of "current_ans_lookup_v2" */
518
676
  export type Current_Ans_Lookup_V2 = {
519
677
  __typename?: 'current_ans_lookup_v2';
@@ -3449,44 +3607,6 @@ export type Fungible_Asset_Metadata_Stream_Cursor_Value_Input = {
3449
3607
  symbol?: InputMaybe<Scalars['String']['input']>;
3450
3608
  token_standard?: InputMaybe<Scalars['String']['input']>;
3451
3609
  };
3452
- /** columns and relationships of "indexer_status" */
3453
- export type Indexer_Status = {
3454
- __typename?: 'indexer_status';
3455
- db: Scalars['String']['output'];
3456
- is_indexer_up: Scalars['Boolean']['output'];
3457
- };
3458
- /** Boolean expression to filter rows from the table "indexer_status". All fields are combined with a logical 'AND'. */
3459
- export type Indexer_Status_Bool_Exp = {
3460
- _and?: InputMaybe<Array<Indexer_Status_Bool_Exp>>;
3461
- _not?: InputMaybe<Indexer_Status_Bool_Exp>;
3462
- _or?: InputMaybe<Array<Indexer_Status_Bool_Exp>>;
3463
- db?: InputMaybe<String_Comparison_Exp>;
3464
- is_indexer_up?: InputMaybe<Boolean_Comparison_Exp>;
3465
- };
3466
- /** Ordering options when selecting data from "indexer_status". */
3467
- export type Indexer_Status_Order_By = {
3468
- db?: InputMaybe<Order_By>;
3469
- is_indexer_up?: InputMaybe<Order_By>;
3470
- };
3471
- /** select columns of table "indexer_status" */
3472
- export declare enum Indexer_Status_Select_Column {
3473
- /** column name */
3474
- Db = "db",
3475
- /** column name */
3476
- IsIndexerUp = "is_indexer_up"
3477
- }
3478
- /** Streaming cursor of the table "indexer_status" */
3479
- export type Indexer_Status_Stream_Cursor_Input = {
3480
- /** Stream column input with initial value */
3481
- initial_value: Indexer_Status_Stream_Cursor_Value_Input;
3482
- /** cursor ordering */
3483
- ordering?: InputMaybe<Cursor_Ordering>;
3484
- };
3485
- /** Initial value of the column from where the streaming should start */
3486
- export type Indexer_Status_Stream_Cursor_Value_Input = {
3487
- db?: InputMaybe<Scalars['String']['input']>;
3488
- is_indexer_up?: InputMaybe<Scalars['Boolean']['input']>;
3489
- };
3490
3610
  export type Jsonb_Cast_Exp = {
3491
3611
  String?: InputMaybe<String_Comparison_Exp>;
3492
3612
  };
@@ -4082,6 +4202,10 @@ export type Query_Root = {
4082
4202
  block_metadata_transactions: Array<Block_Metadata_Transactions>;
4083
4203
  /** fetch data from the table: "block_metadata_transactions" using primary key columns */
4084
4204
  block_metadata_transactions_by_pk?: Maybe<Block_Metadata_Transactions>;
4205
+ /** fetch data from the table: "confidential_asset_activities" */
4206
+ confidential_asset_activities: Array<Confidential_Asset_Activities>;
4207
+ /** fetch data from the table: "confidential_asset_activities" using primary key columns */
4208
+ confidential_asset_activities_by_pk?: Maybe<Confidential_Asset_Activities>;
4085
4209
  /** fetch data from the table: "current_ans_lookup_v2" */
4086
4210
  current_ans_lookup_v2: Array<Current_Ans_Lookup_V2>;
4087
4211
  /** fetch data from the table: "current_ans_lookup_v2" using primary key columns */
@@ -4172,10 +4296,6 @@ export type Query_Root = {
4172
4296
  fungible_asset_metadata: Array<Fungible_Asset_Metadata>;
4173
4297
  /** fetch data from the table: "fungible_asset_metadata" using primary key columns */
4174
4298
  fungible_asset_metadata_by_pk?: Maybe<Fungible_Asset_Metadata>;
4175
- /** fetch data from the table: "indexer_status" */
4176
- indexer_status: Array<Indexer_Status>;
4177
- /** fetch data from the table: "indexer_status" using primary key columns */
4178
- indexer_status_by_pk?: Maybe<Indexer_Status>;
4179
4299
  /** fetch data from the table: "processor_metadata.ledger_infos" */
4180
4300
  ledger_infos: Array<Ledger_Infos>;
4181
4301
  /** fetch data from the table: "processor_metadata.ledger_infos" using primary key columns */
@@ -4270,6 +4390,17 @@ export type Query_RootBlock_Metadata_TransactionsArgs = {
4270
4390
  export type Query_RootBlock_Metadata_Transactions_By_PkArgs = {
4271
4391
  version: Scalars['bigint']['input'];
4272
4392
  };
4393
+ export type Query_RootConfidential_Asset_ActivitiesArgs = {
4394
+ distinct_on?: InputMaybe<Array<Confidential_Asset_Activities_Select_Column>>;
4395
+ limit?: InputMaybe<Scalars['Int']['input']>;
4396
+ offset?: InputMaybe<Scalars['Int']['input']>;
4397
+ order_by?: InputMaybe<Array<Confidential_Asset_Activities_Order_By>>;
4398
+ where?: InputMaybe<Confidential_Asset_Activities_Bool_Exp>;
4399
+ };
4400
+ export type Query_RootConfidential_Asset_Activities_By_PkArgs = {
4401
+ event_index: Scalars['bigint']['input'];
4402
+ transaction_version: Scalars['bigint']['input'];
4403
+ };
4273
4404
  export type Query_RootCurrent_Ans_Lookup_V2Args = {
4274
4405
  distinct_on?: InputMaybe<Array<Current_Ans_Lookup_V2_Select_Column>>;
4275
4406
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4529,16 +4660,6 @@ export type Query_RootFungible_Asset_MetadataArgs = {
4529
4660
  export type Query_RootFungible_Asset_Metadata_By_PkArgs = {
4530
4661
  asset_type: Scalars['String']['input'];
4531
4662
  };
4532
- export type Query_RootIndexer_StatusArgs = {
4533
- distinct_on?: InputMaybe<Array<Indexer_Status_Select_Column>>;
4534
- limit?: InputMaybe<Scalars['Int']['input']>;
4535
- offset?: InputMaybe<Scalars['Int']['input']>;
4536
- order_by?: InputMaybe<Array<Indexer_Status_Order_By>>;
4537
- where?: InputMaybe<Indexer_Status_Bool_Exp>;
4538
- };
4539
- export type Query_RootIndexer_Status_By_PkArgs = {
4540
- db: Scalars['String']['input'];
4541
- };
4542
4663
  export type Query_RootLedger_InfosArgs = {
4543
4664
  distinct_on?: InputMaybe<Array<Ledger_Infos_Select_Column>>;
4544
4665
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -4814,6 +4935,12 @@ export type Subscription_Root = {
4814
4935
  block_metadata_transactions_by_pk?: Maybe<Block_Metadata_Transactions>;
4815
4936
  /** fetch data from the table in a streaming manner: "block_metadata_transactions" */
4816
4937
  block_metadata_transactions_stream: Array<Block_Metadata_Transactions>;
4938
+ /** fetch data from the table: "confidential_asset_activities" */
4939
+ confidential_asset_activities: Array<Confidential_Asset_Activities>;
4940
+ /** fetch data from the table: "confidential_asset_activities" using primary key columns */
4941
+ confidential_asset_activities_by_pk?: Maybe<Confidential_Asset_Activities>;
4942
+ /** fetch data from the table in a streaming manner: "confidential_asset_activities" */
4943
+ confidential_asset_activities_stream: Array<Confidential_Asset_Activities>;
4817
4944
  /** fetch data from the table: "current_ans_lookup_v2" */
4818
4945
  current_ans_lookup_v2: Array<Current_Ans_Lookup_V2>;
4819
4946
  /** fetch data from the table: "current_ans_lookup_v2" using primary key columns */
@@ -4946,12 +5073,6 @@ export type Subscription_Root = {
4946
5073
  fungible_asset_metadata_by_pk?: Maybe<Fungible_Asset_Metadata>;
4947
5074
  /** fetch data from the table in a streaming manner: "fungible_asset_metadata" */
4948
5075
  fungible_asset_metadata_stream: Array<Fungible_Asset_Metadata>;
4949
- /** fetch data from the table: "indexer_status" */
4950
- indexer_status: Array<Indexer_Status>;
4951
- /** fetch data from the table: "indexer_status" using primary key columns */
4952
- indexer_status_by_pk?: Maybe<Indexer_Status>;
4953
- /** fetch data from the table in a streaming manner: "indexer_status" */
4954
- indexer_status_stream: Array<Indexer_Status>;
4955
5076
  /** fetch data from the table: "processor_metadata.ledger_infos" */
4956
5077
  ledger_infos: Array<Ledger_Infos>;
4957
5078
  /** fetch data from the table: "processor_metadata.ledger_infos" using primary key columns */
@@ -5083,6 +5204,22 @@ export type Subscription_RootBlock_Metadata_Transactions_StreamArgs = {
5083
5204
  cursor: Array<InputMaybe<Block_Metadata_Transactions_Stream_Cursor_Input>>;
5084
5205
  where?: InputMaybe<Block_Metadata_Transactions_Bool_Exp>;
5085
5206
  };
5207
+ export type Subscription_RootConfidential_Asset_ActivitiesArgs = {
5208
+ distinct_on?: InputMaybe<Array<Confidential_Asset_Activities_Select_Column>>;
5209
+ limit?: InputMaybe<Scalars['Int']['input']>;
5210
+ offset?: InputMaybe<Scalars['Int']['input']>;
5211
+ order_by?: InputMaybe<Array<Confidential_Asset_Activities_Order_By>>;
5212
+ where?: InputMaybe<Confidential_Asset_Activities_Bool_Exp>;
5213
+ };
5214
+ export type Subscription_RootConfidential_Asset_Activities_By_PkArgs = {
5215
+ event_index: Scalars['bigint']['input'];
5216
+ transaction_version: Scalars['bigint']['input'];
5217
+ };
5218
+ export type Subscription_RootConfidential_Asset_Activities_StreamArgs = {
5219
+ batch_size: Scalars['Int']['input'];
5220
+ cursor: Array<InputMaybe<Confidential_Asset_Activities_Stream_Cursor_Input>>;
5221
+ where?: InputMaybe<Confidential_Asset_Activities_Bool_Exp>;
5222
+ };
5086
5223
  export type Subscription_RootCurrent_Ans_Lookup_V2Args = {
5087
5224
  distinct_on?: InputMaybe<Array<Current_Ans_Lookup_V2_Select_Column>>;
5088
5225
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -5447,21 +5584,6 @@ export type Subscription_RootFungible_Asset_Metadata_StreamArgs = {
5447
5584
  cursor: Array<InputMaybe<Fungible_Asset_Metadata_Stream_Cursor_Input>>;
5448
5585
  where?: InputMaybe<Fungible_Asset_Metadata_Bool_Exp>;
5449
5586
  };
5450
- export type Subscription_RootIndexer_StatusArgs = {
5451
- distinct_on?: InputMaybe<Array<Indexer_Status_Select_Column>>;
5452
- limit?: InputMaybe<Scalars['Int']['input']>;
5453
- offset?: InputMaybe<Scalars['Int']['input']>;
5454
- order_by?: InputMaybe<Array<Indexer_Status_Order_By>>;
5455
- where?: InputMaybe<Indexer_Status_Bool_Exp>;
5456
- };
5457
- export type Subscription_RootIndexer_Status_By_PkArgs = {
5458
- db: Scalars['String']['input'];
5459
- };
5460
- export type Subscription_RootIndexer_Status_StreamArgs = {
5461
- batch_size: Scalars['Int']['input'];
5462
- cursor: Array<InputMaybe<Indexer_Status_Stream_Cursor_Input>>;
5463
- where?: InputMaybe<Indexer_Status_Bool_Exp>;
5464
- };
5465
5587
  export type Subscription_RootLedger_InfosArgs = {
5466
5588
  distinct_on?: InputMaybe<Array<Ledger_Infos_Select_Column>>;
5467
5589
  limit?: InputMaybe<Scalars['Int']['input']>;