@promoboxx/graphql-gateway-types 1.1097.0 → 1.1098.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/graphql.schema.json +186 -9
- package/index.d.ts +24 -2
- package/package.json +1 -1
- package/schema.graphql +18 -3
package/graphql.schema.json
CHANGED
|
@@ -10444,11 +10444,11 @@
|
|
|
10444
10444
|
"fields": null,
|
|
10445
10445
|
"inputFields": [
|
|
10446
10446
|
{
|
|
10447
|
-
"name": "
|
|
10447
|
+
"name": "content",
|
|
10448
10448
|
"description": null,
|
|
10449
10449
|
"type": {
|
|
10450
|
-
"kind": "
|
|
10451
|
-
"name": "
|
|
10450
|
+
"kind": "SCALAR",
|
|
10451
|
+
"name": "String",
|
|
10452
10452
|
"ofType": null
|
|
10453
10453
|
},
|
|
10454
10454
|
"defaultValue": null,
|
|
@@ -10496,7 +10496,7 @@
|
|
|
10496
10496
|
"fields": null,
|
|
10497
10497
|
"inputFields": [
|
|
10498
10498
|
{
|
|
10499
|
-
"name": "
|
|
10499
|
+
"name": "contents",
|
|
10500
10500
|
"description": null,
|
|
10501
10501
|
"type": {
|
|
10502
10502
|
"kind": "LIST",
|
|
@@ -10506,7 +10506,7 @@
|
|
|
10506
10506
|
"name": null,
|
|
10507
10507
|
"ofType": {
|
|
10508
10508
|
"kind": "SCALAR",
|
|
10509
|
-
"name": "
|
|
10509
|
+
"name": "String",
|
|
10510
10510
|
"ofType": null
|
|
10511
10511
|
}
|
|
10512
10512
|
}
|
|
@@ -10516,7 +10516,7 @@
|
|
|
10516
10516
|
"deprecationReason": null
|
|
10517
10517
|
},
|
|
10518
10518
|
{
|
|
10519
|
-
"name": "
|
|
10519
|
+
"name": "fragmentIds",
|
|
10520
10520
|
"description": null,
|
|
10521
10521
|
"type": {
|
|
10522
10522
|
"kind": "LIST",
|
|
@@ -10525,8 +10525,8 @@
|
|
|
10525
10525
|
"kind": "NON_NULL",
|
|
10526
10526
|
"name": null,
|
|
10527
10527
|
"ofType": {
|
|
10528
|
-
"kind": "
|
|
10529
|
-
"name": "
|
|
10528
|
+
"kind": "SCALAR",
|
|
10529
|
+
"name": "ID",
|
|
10530
10530
|
"ofType": null
|
|
10531
10531
|
}
|
|
10532
10532
|
}
|
|
@@ -11106,6 +11106,18 @@
|
|
|
11106
11106
|
"isDeprecated": false,
|
|
11107
11107
|
"deprecationReason": null
|
|
11108
11108
|
},
|
|
11109
|
+
{
|
|
11110
|
+
"name": "metadata",
|
|
11111
|
+
"description": null,
|
|
11112
|
+
"args": [],
|
|
11113
|
+
"type": {
|
|
11114
|
+
"kind": "SCALAR",
|
|
11115
|
+
"name": "Map",
|
|
11116
|
+
"ofType": null
|
|
11117
|
+
},
|
|
11118
|
+
"isDeprecated": false,
|
|
11119
|
+
"deprecationReason": null
|
|
11120
|
+
},
|
|
11109
11121
|
{
|
|
11110
11122
|
"name": "text",
|
|
11111
11123
|
"description": null,
|
|
@@ -11135,6 +11147,18 @@
|
|
|
11135
11147
|
"isOneOf": false,
|
|
11136
11148
|
"fields": null,
|
|
11137
11149
|
"inputFields": [
|
|
11150
|
+
{
|
|
11151
|
+
"name": "metadata",
|
|
11152
|
+
"description": null,
|
|
11153
|
+
"type": {
|
|
11154
|
+
"kind": "SCALAR",
|
|
11155
|
+
"name": "Map",
|
|
11156
|
+
"ofType": null
|
|
11157
|
+
},
|
|
11158
|
+
"defaultValue": null,
|
|
11159
|
+
"isDeprecated": false,
|
|
11160
|
+
"deprecationReason": null
|
|
11161
|
+
},
|
|
11138
11162
|
{
|
|
11139
11163
|
"name": "text",
|
|
11140
11164
|
"description": null,
|
|
@@ -11156,6 +11180,126 @@
|
|
|
11156
11180
|
"enumValues": null,
|
|
11157
11181
|
"possibleTypes": null
|
|
11158
11182
|
},
|
|
11183
|
+
{
|
|
11184
|
+
"kind": "OBJECT",
|
|
11185
|
+
"name": "CASvcFragmentTemplate",
|
|
11186
|
+
"description": null,
|
|
11187
|
+
"isOneOf": null,
|
|
11188
|
+
"fields": [
|
|
11189
|
+
{
|
|
11190
|
+
"name": "createdAt",
|
|
11191
|
+
"description": null,
|
|
11192
|
+
"args": [],
|
|
11193
|
+
"type": {
|
|
11194
|
+
"kind": "NON_NULL",
|
|
11195
|
+
"name": null,
|
|
11196
|
+
"ofType": {
|
|
11197
|
+
"kind": "SCALAR",
|
|
11198
|
+
"name": "String",
|
|
11199
|
+
"ofType": null
|
|
11200
|
+
}
|
|
11201
|
+
},
|
|
11202
|
+
"isDeprecated": false,
|
|
11203
|
+
"deprecationReason": null
|
|
11204
|
+
},
|
|
11205
|
+
{
|
|
11206
|
+
"name": "id",
|
|
11207
|
+
"description": null,
|
|
11208
|
+
"args": [],
|
|
11209
|
+
"type": {
|
|
11210
|
+
"kind": "NON_NULL",
|
|
11211
|
+
"name": null,
|
|
11212
|
+
"ofType": {
|
|
11213
|
+
"kind": "SCALAR",
|
|
11214
|
+
"name": "ID",
|
|
11215
|
+
"ofType": null
|
|
11216
|
+
}
|
|
11217
|
+
},
|
|
11218
|
+
"isDeprecated": false,
|
|
11219
|
+
"deprecationReason": null
|
|
11220
|
+
},
|
|
11221
|
+
{
|
|
11222
|
+
"name": "promptTemplateId",
|
|
11223
|
+
"description": null,
|
|
11224
|
+
"args": [],
|
|
11225
|
+
"type": {
|
|
11226
|
+
"kind": "NON_NULL",
|
|
11227
|
+
"name": null,
|
|
11228
|
+
"ofType": {
|
|
11229
|
+
"kind": "SCALAR",
|
|
11230
|
+
"name": "ID",
|
|
11231
|
+
"ofType": null
|
|
11232
|
+
}
|
|
11233
|
+
},
|
|
11234
|
+
"isDeprecated": false,
|
|
11235
|
+
"deprecationReason": null
|
|
11236
|
+
},
|
|
11237
|
+
{
|
|
11238
|
+
"name": "template",
|
|
11239
|
+
"description": null,
|
|
11240
|
+
"args": [],
|
|
11241
|
+
"type": {
|
|
11242
|
+
"kind": "NON_NULL",
|
|
11243
|
+
"name": null,
|
|
11244
|
+
"ofType": {
|
|
11245
|
+
"kind": "SCALAR",
|
|
11246
|
+
"name": "String",
|
|
11247
|
+
"ofType": null
|
|
11248
|
+
}
|
|
11249
|
+
},
|
|
11250
|
+
"isDeprecated": false,
|
|
11251
|
+
"deprecationReason": null
|
|
11252
|
+
}
|
|
11253
|
+
],
|
|
11254
|
+
"inputFields": null,
|
|
11255
|
+
"interfaces": [],
|
|
11256
|
+
"enumValues": null,
|
|
11257
|
+
"possibleTypes": null
|
|
11258
|
+
},
|
|
11259
|
+
{
|
|
11260
|
+
"kind": "INPUT_OBJECT",
|
|
11261
|
+
"name": "CASvcFragmentTemplateInput",
|
|
11262
|
+
"description": null,
|
|
11263
|
+
"isOneOf": false,
|
|
11264
|
+
"fields": null,
|
|
11265
|
+
"inputFields": [
|
|
11266
|
+
{
|
|
11267
|
+
"name": "promptTemplateId",
|
|
11268
|
+
"description": null,
|
|
11269
|
+
"type": {
|
|
11270
|
+
"kind": "NON_NULL",
|
|
11271
|
+
"name": null,
|
|
11272
|
+
"ofType": {
|
|
11273
|
+
"kind": "SCALAR",
|
|
11274
|
+
"name": "ID",
|
|
11275
|
+
"ofType": null
|
|
11276
|
+
}
|
|
11277
|
+
},
|
|
11278
|
+
"defaultValue": null,
|
|
11279
|
+
"isDeprecated": false,
|
|
11280
|
+
"deprecationReason": null
|
|
11281
|
+
},
|
|
11282
|
+
{
|
|
11283
|
+
"name": "template",
|
|
11284
|
+
"description": null,
|
|
11285
|
+
"type": {
|
|
11286
|
+
"kind": "NON_NULL",
|
|
11287
|
+
"name": null,
|
|
11288
|
+
"ofType": {
|
|
11289
|
+
"kind": "SCALAR",
|
|
11290
|
+
"name": "String",
|
|
11291
|
+
"ofType": null
|
|
11292
|
+
}
|
|
11293
|
+
},
|
|
11294
|
+
"defaultValue": null,
|
|
11295
|
+
"isDeprecated": false,
|
|
11296
|
+
"deprecationReason": null
|
|
11297
|
+
}
|
|
11298
|
+
],
|
|
11299
|
+
"interfaces": null,
|
|
11300
|
+
"enumValues": null,
|
|
11301
|
+
"possibleTypes": null
|
|
11302
|
+
},
|
|
11159
11303
|
{
|
|
11160
11304
|
"kind": "OBJECT",
|
|
11161
11305
|
"name": "CASvcFragmentsCollection",
|
|
@@ -50795,6 +50939,39 @@
|
|
|
50795
50939
|
"isDeprecated": false,
|
|
50796
50940
|
"deprecationReason": null
|
|
50797
50941
|
},
|
|
50942
|
+
{
|
|
50943
|
+
"name": "caSvcCreateFragmentTemplate",
|
|
50944
|
+
"description": null,
|
|
50945
|
+
"args": [
|
|
50946
|
+
{
|
|
50947
|
+
"name": "input",
|
|
50948
|
+
"description": null,
|
|
50949
|
+
"type": {
|
|
50950
|
+
"kind": "NON_NULL",
|
|
50951
|
+
"name": null,
|
|
50952
|
+
"ofType": {
|
|
50953
|
+
"kind": "INPUT_OBJECT",
|
|
50954
|
+
"name": "CASvcFragmentTemplateInput",
|
|
50955
|
+
"ofType": null
|
|
50956
|
+
}
|
|
50957
|
+
},
|
|
50958
|
+
"defaultValue": null,
|
|
50959
|
+
"isDeprecated": false,
|
|
50960
|
+
"deprecationReason": null
|
|
50961
|
+
}
|
|
50962
|
+
],
|
|
50963
|
+
"type": {
|
|
50964
|
+
"kind": "NON_NULL",
|
|
50965
|
+
"name": null,
|
|
50966
|
+
"ofType": {
|
|
50967
|
+
"kind": "OBJECT",
|
|
50968
|
+
"name": "CASvcFragmentTemplate",
|
|
50969
|
+
"ofType": null
|
|
50970
|
+
}
|
|
50971
|
+
},
|
|
50972
|
+
"isDeprecated": false,
|
|
50973
|
+
"deprecationReason": null
|
|
50974
|
+
},
|
|
50798
50975
|
{
|
|
50799
50976
|
"name": "caSvcCreatePrompt",
|
|
50800
50977
|
"description": null,
|
|
@@ -69493,7 +69670,7 @@
|
|
|
69493
69670
|
},
|
|
69494
69671
|
{
|
|
69495
69672
|
"name": "brand_retailer_ledgers",
|
|
69496
|
-
"description": "get brand_retailer_ledgers\na list of business/retailer wallets that are associated to the requested brand
|
|
69673
|
+
"description": "get brand_retailer_ledgers\na list of business/retailer wallets that are associated to the requested brand.\nEach wallet contains the list of ledgers associated to the business/retailer and their expiration date if applicable.",
|
|
69497
69674
|
"args": [
|
|
69498
69675
|
{
|
|
69499
69676
|
"name": "brand_id",
|
package/index.d.ts
CHANGED
|
@@ -1151,14 +1151,14 @@ export type BulkUpdateDigitalAssetParams = {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
|
|
1153
1153
|
export type CaSvcAddFragmentToPromptInput = {
|
|
1154
|
-
|
|
1154
|
+
content?: InputMaybe<Scalars['String']['input']>;
|
|
1155
1155
|
fragment_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1156
1156
|
prompt_id: Scalars['ID']['input'];
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
1159
|
export type CaSvcAddFragmentsToPromptInput = {
|
|
1160
|
+
contents?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1160
1161
|
fragmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1161
|
-
fragments?: InputMaybe<Array<CaSvcFragmentInput>>;
|
|
1162
1162
|
promptId: Scalars['ID']['input'];
|
|
1163
1163
|
};
|
|
1164
1164
|
|
|
@@ -1222,13 +1222,28 @@ export type CaSvcFragment = {
|
|
|
1222
1222
|
__typename?: 'CASvcFragment';
|
|
1223
1223
|
createdAt: Scalars['String']['output'];
|
|
1224
1224
|
id: Scalars['ID']['output'];
|
|
1225
|
+
metadata?: Maybe<Scalars['Map']['output']>;
|
|
1225
1226
|
text: Scalars['String']['output'];
|
|
1226
1227
|
};
|
|
1227
1228
|
|
|
1228
1229
|
export type CaSvcFragmentInput = {
|
|
1230
|
+
metadata?: InputMaybe<Scalars['Map']['input']>;
|
|
1229
1231
|
text: Scalars['String']['input'];
|
|
1230
1232
|
};
|
|
1231
1233
|
|
|
1234
|
+
export type CaSvcFragmentTemplate = {
|
|
1235
|
+
__typename?: 'CASvcFragmentTemplate';
|
|
1236
|
+
createdAt: Scalars['String']['output'];
|
|
1237
|
+
id: Scalars['ID']['output'];
|
|
1238
|
+
promptTemplateId: Scalars['ID']['output'];
|
|
1239
|
+
template: Scalars['String']['output'];
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
export type CaSvcFragmentTemplateInput = {
|
|
1243
|
+
promptTemplateId: Scalars['ID']['input'];
|
|
1244
|
+
template: Scalars['String']['input'];
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1232
1247
|
export type CaSvcFragmentsCollection = {
|
|
1233
1248
|
__typename?: 'CASvcFragmentsCollection';
|
|
1234
1249
|
data?: Maybe<Array<CaSvcFragment>>;
|
|
@@ -5342,6 +5357,7 @@ export type Mutation = {
|
|
|
5342
5357
|
caSvcCreateAnalysisRun: CaSvcAnalysisRun;
|
|
5343
5358
|
caSvcCreateAnalysisRunForGroup: CaSvcAnalysisRun;
|
|
5344
5359
|
caSvcCreateFragment: CaSvcFragment;
|
|
5360
|
+
caSvcCreateFragmentTemplate: CaSvcFragmentTemplate;
|
|
5345
5361
|
caSvcCreatePrompt: CaSvcPrompt;
|
|
5346
5362
|
caSvcCreatePromptTemplate: CaSvcPromptTemplate;
|
|
5347
5363
|
caSvcCreateResourceGroup: CaSvcResourceGroup;
|
|
@@ -6046,6 +6062,12 @@ export type MutationCaSvcCreateFragmentArgs = {
|
|
|
6046
6062
|
};
|
|
6047
6063
|
|
|
6048
6064
|
|
|
6065
|
+
/** mutation root */
|
|
6066
|
+
export type MutationCaSvcCreateFragmentTemplateArgs = {
|
|
6067
|
+
input: CaSvcFragmentTemplateInput;
|
|
6068
|
+
};
|
|
6069
|
+
|
|
6070
|
+
|
|
6049
6071
|
/** mutation root */
|
|
6050
6072
|
export type MutationCaSvcCreatePromptArgs = {
|
|
6051
6073
|
input: CaSvcPromptInput;
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -1122,14 +1122,14 @@ input BulkUpdateDigitalAssetParams {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
|
|
1124
1124
|
input CASvcAddFragmentToPromptInput {
|
|
1125
|
-
|
|
1125
|
+
content: String
|
|
1126
1126
|
fragment_id: ID
|
|
1127
1127
|
prompt_id: ID!
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
input CASvcAddFragmentsToPromptInput {
|
|
1131
|
+
contents: [String!]
|
|
1131
1132
|
fragmentIds: [ID!]
|
|
1132
|
-
fragments: [CASvcFragmentInput!]
|
|
1133
1133
|
promptId: ID!
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
@@ -1188,13 +1188,27 @@ type CASvcAnalysisRunsCollection {
|
|
|
1188
1188
|
type CASvcFragment {
|
|
1189
1189
|
createdAt: String!
|
|
1190
1190
|
id: ID!
|
|
1191
|
+
metadata: Map
|
|
1191
1192
|
text: String!
|
|
1192
1193
|
}
|
|
1193
1194
|
|
|
1194
1195
|
input CASvcFragmentInput {
|
|
1196
|
+
metadata: Map
|
|
1195
1197
|
text: String!
|
|
1196
1198
|
}
|
|
1197
1199
|
|
|
1200
|
+
type CASvcFragmentTemplate {
|
|
1201
|
+
createdAt: String!
|
|
1202
|
+
id: ID!
|
|
1203
|
+
promptTemplateId: ID!
|
|
1204
|
+
template: String!
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
input CASvcFragmentTemplateInput {
|
|
1208
|
+
promptTemplateId: ID!
|
|
1209
|
+
template: String!
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1198
1212
|
type CASvcFragmentsCollection {
|
|
1199
1213
|
data: [CASvcFragment!]
|
|
1200
1214
|
hasNextPage: Boolean!
|
|
@@ -5109,6 +5123,7 @@ type Mutation {
|
|
|
5109
5123
|
caSvcCreateAnalysisRun(input: CASvcAnalysisRunInput!): CASvcAnalysisRun!
|
|
5110
5124
|
caSvcCreateAnalysisRunForGroup(input: CASvcAnalysisRunGroupInput!): CASvcAnalysisRun!
|
|
5111
5125
|
caSvcCreateFragment(input: CASvcFragmentInput!): CASvcFragment!
|
|
5126
|
+
caSvcCreateFragmentTemplate(input: CASvcFragmentTemplateInput!): CASvcFragmentTemplate!
|
|
5112
5127
|
caSvcCreatePrompt(input: CASvcPromptInput!): CASvcPrompt!
|
|
5113
5128
|
caSvcCreatePromptTemplate(input: CASvcPromptTemplateInput!): CASvcPromptTemplate!
|
|
5114
5129
|
caSvcCreateResourceGroup(input: CASvcResourceGroupInput!): CASvcResourceGroup!
|
|
@@ -7566,7 +7581,7 @@ type Query {
|
|
|
7566
7581
|
|
|
7567
7582
|
"""
|
|
7568
7583
|
get brand_retailer_ledgers
|
|
7569
|
-
a list of business/retailer wallets that are associated to the requested brand.
|
|
7584
|
+
a list of business/retailer wallets that are associated to the requested brand.
|
|
7570
7585
|
Each wallet contains the list of ledgers associated to the business/retailer and their expiration date if applicable.
|
|
7571
7586
|
"""
|
|
7572
7587
|
brand_retailer_ledgers(brand_id: ID!, business_ids: [ID!]!, funded: Boolean): WalletsResponse!
|