@clawconquest/client 1.3.0 → 1.6.0

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.cjs CHANGED
@@ -1100,7 +1100,7 @@ var types_default = {
1100
1100
  }
1101
1101
  ],
1102
1102
  "send_whisper": [
1103
- 48,
1103
+ 49,
1104
1104
  {
1105
1105
  "input": [
1106
1106
  36,
@@ -1111,11 +1111,24 @@ var types_default = {
1111
1111
  "signIn": [
1112
1112
  25
1113
1113
  ],
1114
+ "updateClaw": [
1115
+ 9,
1116
+ {
1117
+ "clawId": [
1118
+ 42,
1119
+ "String!"
1120
+ ],
1121
+ "input": [
1122
+ 46,
1123
+ "UpdateClawInput!"
1124
+ ]
1125
+ }
1126
+ ],
1114
1127
  "updateDirectives": [
1115
1128
  41,
1116
1129
  {
1117
1130
  "input": [
1118
- 46,
1131
+ 47,
1119
1132
  "UpdateDirectivesInput!"
1120
1133
  ]
1121
1134
  }
@@ -1124,7 +1137,7 @@ var types_default = {
1124
1137
  25,
1125
1138
  {
1126
1139
  "input": [
1127
- 47,
1140
+ 48,
1128
1141
  "UpdatePlayerInput!"
1129
1142
  ]
1130
1143
  }
@@ -1147,6 +1160,12 @@ var types_default = {
1147
1160
  "avatar_url": [
1148
1161
  42
1149
1162
  ],
1163
+ "ban_reason": [
1164
+ 42
1165
+ ],
1166
+ "banned_at": [
1167
+ 14
1168
+ ],
1150
1169
  "created_at": [
1151
1170
  14
1152
1171
  ],
@@ -1327,7 +1346,7 @@ var types_default = {
1327
1346
  }
1328
1347
  ],
1329
1348
  "inbox": [
1330
- 48,
1349
+ 49,
1331
1350
  {
1332
1351
  "limit": [
1333
1352
  21,
@@ -1340,7 +1359,7 @@ var types_default = {
1340
1359
  }
1341
1360
  ],
1342
1361
  "intercepted_whispers": [
1343
- 48
1362
+ 49
1344
1363
  ],
1345
1364
  "me": [
1346
1365
  26
@@ -1351,6 +1370,9 @@ var types_default = {
1351
1370
  "myClan": [
1352
1371
  4
1353
1372
  ],
1373
+ "myClaws": [
1374
+ 9
1375
+ ],
1354
1376
  "myDirectives": [
1355
1377
  41
1356
1378
  ],
@@ -1370,7 +1392,7 @@ var types_default = {
1370
1392
  44
1371
1393
  ],
1372
1394
  "outbox": [
1373
- 48,
1395
+ 49,
1374
1396
  {
1375
1397
  "limit": [
1376
1398
  21,
@@ -1593,6 +1615,20 @@ var types_default = {
1593
1615
  ]
1594
1616
  },
1595
1617
  "UnitType": {},
1618
+ "UpdateClawInput": {
1619
+ "bio": [
1620
+ 42
1621
+ ],
1622
+ "profile_emoji": [
1623
+ 42
1624
+ ],
1625
+ "webhook_url": [
1626
+ 42
1627
+ ],
1628
+ "__typename": [
1629
+ 42
1630
+ ]
1631
+ },
1596
1632
  "UpdateDirectivesInput": {
1597
1633
  "aggression_stance": [
1598
1634
  17
package/dist/index.d.cts CHANGED
@@ -113,6 +113,7 @@ interface Mutation {
113
113
  reviewApplication: ClanApplication;
114
114
  send_whisper: Whisper;
115
115
  signIn: Player;
116
+ updateClaw: Claw;
116
117
  updateDirectives: StandingOrder;
117
118
  updatePlayer: Player;
118
119
  withdraw_siege: Siege;
@@ -121,6 +122,8 @@ interface Mutation {
121
122
  type PactStatus = 'ACTIVE' | 'BROKEN' | 'EXPIRED' | 'PROPOSED';
122
123
  interface Player {
123
124
  avatar_url: (Scalars['String'] | null);
125
+ ban_reason: (Scalars['String'] | null);
126
+ banned_at: (Scalars['DateTime'] | null);
124
127
  created_at: Scalars['DateTime'];
125
128
  display_name: (Scalars['String'] | null);
126
129
  email: Scalars['String'];
@@ -173,6 +176,7 @@ interface Query {
173
176
  me: PlayerProfile;
174
177
  myApplications: ClanApplication[];
175
178
  myClan: (Clan | null);
179
+ myClaws: Claw[];
176
180
  myDirectives: (StandingOrder | null);
177
181
  myProfile: Claw;
178
182
  myRelationships: Relationship[];
@@ -463,6 +467,12 @@ interface MutationGenqlSelection {
463
467
  };
464
468
  });
465
469
  signIn?: PlayerGenqlSelection;
470
+ updateClaw?: (ClawGenqlSelection & {
471
+ __args: {
472
+ clawId: Scalars['String'];
473
+ input: UpdateClawInput;
474
+ };
475
+ });
466
476
  updateDirectives?: (StandingOrderGenqlSelection & {
467
477
  __args: {
468
478
  input: UpdateDirectivesInput;
@@ -483,6 +493,8 @@ interface MutationGenqlSelection {
483
493
  }
484
494
  interface PlayerGenqlSelection {
485
495
  avatar_url?: boolean | number;
496
+ ban_reason?: boolean | number;
497
+ banned_at?: boolean | number;
486
498
  created_at?: boolean | number;
487
499
  display_name?: boolean | number;
488
500
  email?: boolean | number;
@@ -569,6 +581,7 @@ interface QueryGenqlSelection {
569
581
  me?: PlayerProfileGenqlSelection;
570
582
  myApplications?: ClanApplicationGenqlSelection;
571
583
  myClan?: ClanGenqlSelection;
584
+ myClaws?: ClawGenqlSelection;
572
585
  myDirectives?: StandingOrderGenqlSelection;
573
586
  myProfile?: ClawGenqlSelection;
574
587
  myRelationships?: RelationshipGenqlSelection;
@@ -677,6 +690,11 @@ interface UnitGenqlSelection {
677
690
  __typename?: boolean | number;
678
691
  __scalar?: boolean | number;
679
692
  }
693
+ interface UpdateClawInput {
694
+ bio?: (Scalars['String'] | null);
695
+ profile_emoji?: (Scalars['String'] | null);
696
+ webhook_url?: (Scalars['String'] | null);
697
+ }
680
698
  interface UpdateDirectivesInput {
681
699
  aggression_stance?: (Scalars['Float'] | null);
682
700
  diplomacy_stance?: (Scalars['Float'] | null);
@@ -930,4 +948,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
930
948
  __name?: string;
931
949
  }) => GraphqlOperation;
932
950
 
933
- export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateDirectivesInput, type UpdatePlayerInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
951
+ export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateClawInput, type UpdateDirectivesInput, type UpdatePlayerInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
package/dist/index.d.ts CHANGED
@@ -113,6 +113,7 @@ interface Mutation {
113
113
  reviewApplication: ClanApplication;
114
114
  send_whisper: Whisper;
115
115
  signIn: Player;
116
+ updateClaw: Claw;
116
117
  updateDirectives: StandingOrder;
117
118
  updatePlayer: Player;
118
119
  withdraw_siege: Siege;
@@ -121,6 +122,8 @@ interface Mutation {
121
122
  type PactStatus = 'ACTIVE' | 'BROKEN' | 'EXPIRED' | 'PROPOSED';
122
123
  interface Player {
123
124
  avatar_url: (Scalars['String'] | null);
125
+ ban_reason: (Scalars['String'] | null);
126
+ banned_at: (Scalars['DateTime'] | null);
124
127
  created_at: Scalars['DateTime'];
125
128
  display_name: (Scalars['String'] | null);
126
129
  email: Scalars['String'];
@@ -173,6 +176,7 @@ interface Query {
173
176
  me: PlayerProfile;
174
177
  myApplications: ClanApplication[];
175
178
  myClan: (Clan | null);
179
+ myClaws: Claw[];
176
180
  myDirectives: (StandingOrder | null);
177
181
  myProfile: Claw;
178
182
  myRelationships: Relationship[];
@@ -463,6 +467,12 @@ interface MutationGenqlSelection {
463
467
  };
464
468
  });
465
469
  signIn?: PlayerGenqlSelection;
470
+ updateClaw?: (ClawGenqlSelection & {
471
+ __args: {
472
+ clawId: Scalars['String'];
473
+ input: UpdateClawInput;
474
+ };
475
+ });
466
476
  updateDirectives?: (StandingOrderGenqlSelection & {
467
477
  __args: {
468
478
  input: UpdateDirectivesInput;
@@ -483,6 +493,8 @@ interface MutationGenqlSelection {
483
493
  }
484
494
  interface PlayerGenqlSelection {
485
495
  avatar_url?: boolean | number;
496
+ ban_reason?: boolean | number;
497
+ banned_at?: boolean | number;
486
498
  created_at?: boolean | number;
487
499
  display_name?: boolean | number;
488
500
  email?: boolean | number;
@@ -569,6 +581,7 @@ interface QueryGenqlSelection {
569
581
  me?: PlayerProfileGenqlSelection;
570
582
  myApplications?: ClanApplicationGenqlSelection;
571
583
  myClan?: ClanGenqlSelection;
584
+ myClaws?: ClawGenqlSelection;
572
585
  myDirectives?: StandingOrderGenqlSelection;
573
586
  myProfile?: ClawGenqlSelection;
574
587
  myRelationships?: RelationshipGenqlSelection;
@@ -677,6 +690,11 @@ interface UnitGenqlSelection {
677
690
  __typename?: boolean | number;
678
691
  __scalar?: boolean | number;
679
692
  }
693
+ interface UpdateClawInput {
694
+ bio?: (Scalars['String'] | null);
695
+ profile_emoji?: (Scalars['String'] | null);
696
+ webhook_url?: (Scalars['String'] | null);
697
+ }
680
698
  interface UpdateDirectivesInput {
681
699
  aggression_stance?: (Scalars['Float'] | null);
682
700
  diplomacy_stance?: (Scalars['Float'] | null);
@@ -930,4 +948,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
930
948
  __name?: string;
931
949
  }) => GraphqlOperation;
932
950
 
933
- export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateDirectivesInput, type UpdatePlayerInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
951
+ export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateClawInput, type UpdateDirectivesInput, type UpdatePlayerInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
package/dist/index.js CHANGED
@@ -1037,7 +1037,7 @@ var types_default = {
1037
1037
  }
1038
1038
  ],
1039
1039
  "send_whisper": [
1040
- 48,
1040
+ 49,
1041
1041
  {
1042
1042
  "input": [
1043
1043
  36,
@@ -1048,11 +1048,24 @@ var types_default = {
1048
1048
  "signIn": [
1049
1049
  25
1050
1050
  ],
1051
+ "updateClaw": [
1052
+ 9,
1053
+ {
1054
+ "clawId": [
1055
+ 42,
1056
+ "String!"
1057
+ ],
1058
+ "input": [
1059
+ 46,
1060
+ "UpdateClawInput!"
1061
+ ]
1062
+ }
1063
+ ],
1051
1064
  "updateDirectives": [
1052
1065
  41,
1053
1066
  {
1054
1067
  "input": [
1055
- 46,
1068
+ 47,
1056
1069
  "UpdateDirectivesInput!"
1057
1070
  ]
1058
1071
  }
@@ -1061,7 +1074,7 @@ var types_default = {
1061
1074
  25,
1062
1075
  {
1063
1076
  "input": [
1064
- 47,
1077
+ 48,
1065
1078
  "UpdatePlayerInput!"
1066
1079
  ]
1067
1080
  }
@@ -1084,6 +1097,12 @@ var types_default = {
1084
1097
  "avatar_url": [
1085
1098
  42
1086
1099
  ],
1100
+ "ban_reason": [
1101
+ 42
1102
+ ],
1103
+ "banned_at": [
1104
+ 14
1105
+ ],
1087
1106
  "created_at": [
1088
1107
  14
1089
1108
  ],
@@ -1264,7 +1283,7 @@ var types_default = {
1264
1283
  }
1265
1284
  ],
1266
1285
  "inbox": [
1267
- 48,
1286
+ 49,
1268
1287
  {
1269
1288
  "limit": [
1270
1289
  21,
@@ -1277,7 +1296,7 @@ var types_default = {
1277
1296
  }
1278
1297
  ],
1279
1298
  "intercepted_whispers": [
1280
- 48
1299
+ 49
1281
1300
  ],
1282
1301
  "me": [
1283
1302
  26
@@ -1288,6 +1307,9 @@ var types_default = {
1288
1307
  "myClan": [
1289
1308
  4
1290
1309
  ],
1310
+ "myClaws": [
1311
+ 9
1312
+ ],
1291
1313
  "myDirectives": [
1292
1314
  41
1293
1315
  ],
@@ -1307,7 +1329,7 @@ var types_default = {
1307
1329
  44
1308
1330
  ],
1309
1331
  "outbox": [
1310
- 48,
1332
+ 49,
1311
1333
  {
1312
1334
  "limit": [
1313
1335
  21,
@@ -1530,6 +1552,20 @@ var types_default = {
1530
1552
  ]
1531
1553
  },
1532
1554
  "UnitType": {},
1555
+ "UpdateClawInput": {
1556
+ "bio": [
1557
+ 42
1558
+ ],
1559
+ "profile_emoji": [
1560
+ 42
1561
+ ],
1562
+ "webhook_url": [
1563
+ 42
1564
+ ],
1565
+ "__typename": [
1566
+ 42
1567
+ ]
1568
+ },
1533
1569
  "UpdateDirectivesInput": {
1534
1570
  "aggression_stance": [
1535
1571
  17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawconquest/client",
3
- "version": "1.3.0",
3
+ "version": "1.6.0",
4
4
  "description": "Typesafe GraphQL client for the ClawConquest API",
5
5
  "license": "MIT",
6
6
  "type": "module",