@promoboxx/graphql-gateway-types 1.1096.0 → 1.1097.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.
@@ -11330,6 +11330,22 @@
11330
11330
  "description": null,
11331
11331
  "isOneOf": null,
11332
11332
  "fields": [
11333
+ {
11334
+ "name": "brand_id",
11335
+ "description": null,
11336
+ "args": [],
11337
+ "type": {
11338
+ "kind": "NON_NULL",
11339
+ "name": null,
11340
+ "ofType": {
11341
+ "kind": "SCALAR",
11342
+ "name": "ID",
11343
+ "ofType": null
11344
+ }
11345
+ },
11346
+ "isDeprecated": false,
11347
+ "deprecationReason": null
11348
+ },
11333
11349
  {
11334
11350
  "name": "createdAt",
11335
11351
  "description": null,
@@ -11433,6 +11449,22 @@
11433
11449
  },
11434
11450
  "isDeprecated": false,
11435
11451
  "deprecationReason": null
11452
+ },
11453
+ {
11454
+ "name": "prompt_type",
11455
+ "description": null,
11456
+ "args": [],
11457
+ "type": {
11458
+ "kind": "NON_NULL",
11459
+ "name": null,
11460
+ "ofType": {
11461
+ "kind": "SCALAR",
11462
+ "name": "String",
11463
+ "ofType": null
11464
+ }
11465
+ },
11466
+ "isDeprecated": false,
11467
+ "deprecationReason": null
11436
11468
  }
11437
11469
  ],
11438
11470
  "inputFields": null,
@@ -11447,6 +11479,22 @@
11447
11479
  "isOneOf": false,
11448
11480
  "fields": null,
11449
11481
  "inputFields": [
11482
+ {
11483
+ "name": "brand_id",
11484
+ "description": null,
11485
+ "type": {
11486
+ "kind": "NON_NULL",
11487
+ "name": null,
11488
+ "ofType": {
11489
+ "kind": "SCALAR",
11490
+ "name": "ID",
11491
+ "ofType": null
11492
+ }
11493
+ },
11494
+ "defaultValue": null,
11495
+ "isDeprecated": false,
11496
+ "deprecationReason": null
11497
+ },
11450
11498
  {
11451
11499
  "name": "fragment_ids",
11452
11500
  "description": null,
@@ -11526,6 +11574,22 @@
11526
11574
  "defaultValue": null,
11527
11575
  "isDeprecated": false,
11528
11576
  "deprecationReason": null
11577
+ },
11578
+ {
11579
+ "name": "prompt_type",
11580
+ "description": null,
11581
+ "type": {
11582
+ "kind": "NON_NULL",
11583
+ "name": null,
11584
+ "ofType": {
11585
+ "kind": "SCALAR",
11586
+ "name": "String",
11587
+ "ofType": null
11588
+ }
11589
+ },
11590
+ "defaultValue": null,
11591
+ "isDeprecated": false,
11592
+ "deprecationReason": null
11529
11593
  }
11530
11594
  ],
11531
11595
  "interfaces": null,
@@ -69844,6 +69908,51 @@
69844
69908
  "isDeprecated": false,
69845
69909
  "deprecationReason": null
69846
69910
  },
69911
+ {
69912
+ "name": "caSvcGetPromptByBrandAndType",
69913
+ "description": null,
69914
+ "args": [
69915
+ {
69916
+ "name": "brand_id",
69917
+ "description": null,
69918
+ "type": {
69919
+ "kind": "NON_NULL",
69920
+ "name": null,
69921
+ "ofType": {
69922
+ "kind": "SCALAR",
69923
+ "name": "ID",
69924
+ "ofType": null
69925
+ }
69926
+ },
69927
+ "defaultValue": null,
69928
+ "isDeprecated": false,
69929
+ "deprecationReason": null
69930
+ },
69931
+ {
69932
+ "name": "prompt_type",
69933
+ "description": null,
69934
+ "type": {
69935
+ "kind": "NON_NULL",
69936
+ "name": null,
69937
+ "ofType": {
69938
+ "kind": "SCALAR",
69939
+ "name": "String",
69940
+ "ofType": null
69941
+ }
69942
+ },
69943
+ "defaultValue": null,
69944
+ "isDeprecated": false,
69945
+ "deprecationReason": null
69946
+ }
69947
+ ],
69948
+ "type": {
69949
+ "kind": "OBJECT",
69950
+ "name": "CASvcPrompt",
69951
+ "ofType": null
69952
+ },
69953
+ "isDeprecated": false,
69954
+ "deprecationReason": null
69955
+ },
69847
69956
  {
69848
69957
  "name": "caSvcPromptTemplate",
69849
69958
  "description": null,
package/index.d.ts CHANGED
@@ -1247,20 +1247,24 @@ export type CaSvcGeneratePromptInput = {
1247
1247
 
1248
1248
  export type CaSvcPrompt = {
1249
1249
  __typename?: 'CASvcPrompt';
1250
+ brand_id: Scalars['ID']['output'];
1250
1251
  createdAt: Scalars['String']['output'];
1251
1252
  fragments: Array<CaSvcFragment>;
1252
1253
  id: Scalars['ID']['output'];
1253
1254
  prompt_name: Scalars['String']['output'];
1254
1255
  prompt_template: CaSvcPromptTemplate;
1255
1256
  prompt_template_id: Scalars['ID']['output'];
1257
+ prompt_type: Scalars['String']['output'];
1256
1258
  };
1257
1259
 
1258
1260
  export type CaSvcPromptInput = {
1261
+ brand_id: Scalars['ID']['input'];
1259
1262
  fragment_ids?: InputMaybe<Array<Scalars['ID']['input']>>;
1260
1263
  fragments?: InputMaybe<Array<CaSvcFragmentInput>>;
1261
1264
  prompt_name: Scalars['String']['input'];
1262
1265
  prompt_template?: InputMaybe<CaSvcPromptTemplateInput>;
1263
1266
  prompt_template_id?: InputMaybe<Scalars['ID']['input']>;
1267
+ prompt_type: Scalars['String']['input'];
1264
1268
  };
1265
1269
 
1266
1270
  export type CaSvcPromptTemplate = {
@@ -8749,6 +8753,7 @@ export type Query = {
8749
8753
  caSvcFragment?: Maybe<CaSvcFragment>;
8750
8754
  caSvcFragments: CaSvcFragmentsCollection;
8751
8755
  caSvcGetPrompt: CaSvcPrompt;
8756
+ caSvcGetPromptByBrandAndType?: Maybe<CaSvcPrompt>;
8752
8757
  caSvcPromptTemplate?: Maybe<CaSvcPromptTemplate>;
8753
8758
  caSvcPromptTemplates: CaSvcPromptTemplatesCollection;
8754
8759
  caSvcPrompts: CaSvcPromptsCollection;
@@ -9205,6 +9210,12 @@ export type QueryCaSvcGetPromptArgs = {
9205
9210
  };
9206
9211
 
9207
9212
 
9213
+ export type QueryCaSvcGetPromptByBrandAndTypeArgs = {
9214
+ brand_id: Scalars['ID']['input'];
9215
+ prompt_type: Scalars['String']['input'];
9216
+ };
9217
+
9218
+
9208
9219
  export type QueryCaSvcPromptTemplateArgs = {
9209
9220
  id: Scalars['ID']['input'];
9210
9221
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.1096.0",
3
+ "version": "1.1097.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1211,20 +1211,24 @@ input CASvcGeneratePromptInput {
1211
1211
  }
1212
1212
 
1213
1213
  type CASvcPrompt {
1214
+ brand_id: ID!
1214
1215
  createdAt: String!
1215
1216
  fragments: [CASvcFragment!]!
1216
1217
  id: ID!
1217
1218
  prompt_name: String!
1218
1219
  prompt_template: CASvcPromptTemplate!
1219
1220
  prompt_template_id: ID!
1221
+ prompt_type: String!
1220
1222
  }
1221
1223
 
1222
1224
  input CASvcPromptInput {
1225
+ brand_id: ID!
1223
1226
  fragment_ids: [ID!]
1224
1227
  fragments: [CASvcFragmentInput!]
1225
1228
  prompt_name: String!
1226
1229
  prompt_template: CASvcPromptTemplateInput
1227
1230
  prompt_template_id: ID
1231
+ prompt_type: String!
1228
1232
  }
1229
1233
 
1230
1234
  type CASvcPromptTemplate {
@@ -7574,6 +7578,7 @@ type Query {
7574
7578
  caSvcFragment(id: ID!): CASvcFragment
7575
7579
  caSvcFragments(limit: Int, offset: Int): CASvcFragmentsCollection!
7576
7580
  caSvcGetPrompt(id: ID!): CASvcPrompt!
7581
+ caSvcGetPromptByBrandAndType(brand_id: ID!, prompt_type: String!): CASvcPrompt
7577
7582
  caSvcPromptTemplate(id: ID!): CASvcPromptTemplate
7578
7583
  caSvcPromptTemplates(limit: Int, offset: Int): CASvcPromptTemplatesCollection!
7579
7584
  caSvcPrompts(limit: Int, offset: Int): CASvcPromptsCollection!