@shopify/shop-minis-cli 0.0.154 → 0.0.156

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 (78) hide show
  1. package/build/commands/proxies/apply.d.ts +3 -0
  2. package/build/commands/proxies/apply.js +53 -0
  3. package/build/commands/proxies/apply.js.map +1 -0
  4. package/build/commands/proxies/index.d.ts +2 -0
  5. package/build/commands/proxies/index.js +14 -0
  6. package/build/commands/proxies/index.js.map +1 -0
  7. package/build/commands/proxies/list.d.ts +2 -0
  8. package/build/commands/proxies/list.js +48 -0
  9. package/build/commands/proxies/list.js.map +1 -0
  10. package/build/commands/proxies/pull.d.ts +2 -0
  11. package/build/commands/proxies/pull.js +34 -0
  12. package/build/commands/proxies/pull.js.map +1 -0
  13. package/build/commands/secrets/delete.d.ts +2 -0
  14. package/build/commands/secrets/delete.js +53 -0
  15. package/build/commands/secrets/delete.js.map +1 -0
  16. package/build/commands/secrets/index.d.ts +2 -0
  17. package/build/commands/secrets/index.js +14 -0
  18. package/build/commands/secrets/index.js.map +1 -0
  19. package/build/commands/secrets/list.d.ts +2 -0
  20. package/build/commands/secrets/list.js +29 -0
  21. package/build/commands/secrets/list.js.map +1 -0
  22. package/build/commands/secrets/set.d.ts +2 -0
  23. package/build/commands/secrets/set.js +57 -0
  24. package/build/commands/secrets/set.js.map +1 -0
  25. package/build/commands/sync-user-metafield-definitions/index.d.ts +3 -0
  26. package/build/commands/sync-user-metafield-definitions/index.js +98 -0
  27. package/build/commands/sync-user-metafield-definitions/index.js.map +1 -0
  28. package/build/data/gql-client.js +2 -0
  29. package/build/data/gql-client.js.map +1 -1
  30. package/build/data/proxies/proxies-list.d.ts +9 -0
  31. package/build/data/proxies/proxies-list.js +19 -0
  32. package/build/data/proxies/proxies-list.js.map +1 -0
  33. package/build/data/proxies/proxies-set.d.ts +5 -0
  34. package/build/data/proxies/proxies-set.js +18 -0
  35. package/build/data/proxies/proxies-set.js.map +1 -0
  36. package/build/data/proxies/types.d.ts +10 -0
  37. package/build/data/proxies/types.js +2 -0
  38. package/build/data/proxies/types.js.map +1 -0
  39. package/build/data/secrets/secret-delete.d.ts +12 -0
  40. package/build/data/secrets/secret-delete.js +20 -0
  41. package/build/data/secrets/secret-delete.js.map +1 -0
  42. package/build/data/secrets/secret-set.d.ts +11 -0
  43. package/build/data/secrets/secret-set.js +19 -0
  44. package/build/data/secrets/secret-set.js.map +1 -0
  45. package/build/data/secrets/secrets-list.d.ts +8 -0
  46. package/build/data/secrets/secrets-list.js +14 -0
  47. package/build/data/secrets/secrets-list.js.map +1 -0
  48. package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +57 -7
  49. package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +8 -1
  50. package/build/data/types/autogenerated/shop-minis-admin-api/gql.js.map +1 -1
  51. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +309 -41
  52. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +471 -48
  53. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -1
  54. package/build/data/user-metafield-definitions/create-user-metafield-definition.d.ts +7 -0
  55. package/build/data/user-metafield-definitions/create-user-metafield-definition.js +25 -0
  56. package/build/data/user-metafield-definitions/create-user-metafield-definition.js.map +1 -0
  57. package/build/data/user-metafield-definitions/delete-user-metafield-definition.d.ts +4 -0
  58. package/build/data/user-metafield-definitions/delete-user-metafield-definition.js +21 -0
  59. package/build/data/user-metafield-definitions/delete-user-metafield-definition.js.map +1 -0
  60. package/build/data/user-metafield-definitions/get-user-metafield-definitions.d.ts +7 -0
  61. package/build/data/user-metafield-definitions/get-user-metafield-definitions.js +19 -0
  62. package/build/data/user-metafield-definitions/get-user-metafield-definitions.js.map +1 -0
  63. package/build/index.js +6 -0
  64. package/build/index.js.map +1 -1
  65. package/build/schemas/manifest.schema.json +84 -1
  66. package/build/utils/minis-manifest.d.ts +2 -0
  67. package/build/utils/minis-manifest.js +8 -0
  68. package/build/utils/minis-manifest.js.map +1 -1
  69. package/build/utils/patch-package.js +4 -1
  70. package/build/utils/patch-package.js.map +1 -1
  71. package/build/utils/proxies.d.ts +11 -0
  72. package/build/utils/proxies.js +91 -0
  73. package/build/utils/proxies.js.map +1 -0
  74. package/package.json +3 -1
  75. package/scripts/graphql-codegen.ts +1 -0
  76. package/build/data/accept-invitation.d.ts +0 -4
  77. package/build/data/accept-invitation.js +0 -16
  78. package/build/data/accept-invitation.js.map +0 -1
@@ -23,6 +23,8 @@ export type Scalars = {
23
23
  Decimal: any;
24
24
  /** An ISO 8601-encoded datetime */
25
25
  ISO8601DateTime: any;
26
+ /** Represents untyped JSON */
27
+ JSON: any;
26
28
  /**
27
29
  * Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and [RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
28
30
  *
@@ -74,6 +76,49 @@ export type AttributionField = {
74
76
  /** The value of the field. */
75
77
  value: Scalars['String'];
76
78
  };
79
+ /** Represents content in a Mini. */
80
+ export type Content = {
81
+ __typename?: 'Content';
82
+ /** Description of the content. */
83
+ description?: Maybe<Scalars['String']>;
84
+ /** External identifier for the content. */
85
+ externalId?: Maybe<Scalars['ID']>;
86
+ /** Image associated with the content. */
87
+ image: Image;
88
+ /** Products associated with the content. */
89
+ productIds: Array<Scalars['ID']>;
90
+ /** Public identifier for the content. */
91
+ publicId: Scalars['ID'];
92
+ /** Shareable URL for the content. */
93
+ shareableUrl: Scalars['URL'];
94
+ /** Title of the content. */
95
+ title: Scalars['String'];
96
+ };
97
+ /** Return type for the `contentCreate` mutation. */
98
+ export type ContentCreatePayload = {
99
+ __typename?: 'ContentCreatePayload';
100
+ /** The created content. */
101
+ content?: Maybe<Content>;
102
+ /** List of errors that occured while executing the mutation. */
103
+ userErrors: Array<ContentCreateUserError>;
104
+ };
105
+ /** A user or client error that could occur during the execution of the `contentCreate` mutation. */
106
+ export type ContentCreateUserError = {
107
+ __typename?: 'ContentCreateUserError';
108
+ /** Error code associated with the error. */
109
+ code: ContentCreateUserErrorCode;
110
+ /** Which input value this error came from. */
111
+ field?: Maybe<Array<Scalars['String']>>;
112
+ /** A description of the error. */
113
+ message: Scalars['String'];
114
+ };
115
+ /** Possible error codes that can be returned by ContentCreateUserError. */
116
+ export declare enum ContentCreateUserErrorCode {
117
+ /** Content with this external ID already exists. */
118
+ DuplicateExternalId = "DUPLICATE_EXTERNAL_ID",
119
+ /** Some products are not eligible for Shop. */
120
+ IneligibleProducts = "INELIGIBLE_PRODUCTS"
121
+ }
77
122
  /** This is a content creator that may appear next to a Mini entry point. */
78
123
  export type ContentCreator = {
79
124
  __typename?: 'ContentCreator';
@@ -918,6 +963,19 @@ export type ExternalVideoInput = {
918
963
  /** The preview image for the media. */
919
964
  previewImage?: InputMaybe<ImageInput>;
920
965
  };
966
+ /** An HTTP request method. */
967
+ export declare enum HttpRequestMethod {
968
+ /** The DELETE method. */
969
+ Delete = "DELETE",
970
+ /** The GET method. */
971
+ Get = "GET",
972
+ /** The PATCH method. */
973
+ Patch = "PATCH",
974
+ /** The POST method. */
975
+ Post = "POST",
976
+ /** The PUT method. */
977
+ Put = "PUT"
978
+ }
921
979
  /** The image for the entry point. */
922
980
  export type Image = {
923
981
  __typename?: 'Image';
@@ -1039,29 +1097,6 @@ export type ImageInput = {
1039
1097
  /** The URL of the Shopify hosted image. */
1040
1098
  url: Scalars['URL'];
1041
1099
  };
1042
- /** Return type for the `invitationAccept` mutation. */
1043
- export type InvitationAcceptPayload = {
1044
- __typename?: 'InvitationAcceptPayload';
1045
- /** The API key token that was created. */
1046
- token?: Maybe<Scalars['String']>;
1047
- /** List of errors that occured while executing the mutation. */
1048
- userErrors: Array<InvitationAcceptUserError>;
1049
- };
1050
- /** A user or client error that could occur during the execution of the `invitationAccept` mutation. */
1051
- export type InvitationAcceptUserError = {
1052
- __typename?: 'InvitationAcceptUserError';
1053
- /** Error code associated with the error. */
1054
- code: InvitationAcceptUserErrorCode;
1055
- /** Which input value this error came from. */
1056
- field?: Maybe<Array<Scalars['String']>>;
1057
- /** A description of the error. */
1058
- message: Scalars['String'];
1059
- };
1060
- /** Possible error codes that can be returned by InvitationAcceptUserError. */
1061
- export declare enum InvitationAcceptUserErrorCode {
1062
- /** Error code when the invitation is not found. */
1063
- InvitationNotFound = "INVITATION_NOT_FOUND"
1064
- }
1065
1100
  /** A Link entry point to a Shop Mini. */
1066
1101
  export type LinkEntryPoint = EntryPoint & {
1067
1102
  __typename?: 'LinkEntryPoint';
@@ -1213,6 +1248,8 @@ export type MoneyV2 = {
1213
1248
  };
1214
1249
  export type Mutation = {
1215
1250
  __typename?: 'Mutation';
1251
+ /** Creates a new content. */
1252
+ contentCreate: ContentCreatePayload;
1216
1253
  /** Asynchronously deletes all entry points for the given shopDomain. Entry points created or updated after performing the mutation will not be deleted. */
1217
1254
  entryPointDeleteAll: EntryPointDeleteAllPayload;
1218
1255
  /** Deletes an entry point by using its ownerId. */
@@ -1225,8 +1262,6 @@ export type Mutation = {
1225
1262
  entryPointSetByOwner: EntryPointSetByOwnerPayload;
1226
1263
  /** Creates or updates entry point by setting a visibility rule. */
1227
1264
  entryPointSetByRule: EntryPointSetByRulePayload;
1228
- /** Swap an invitation code for an API key. */
1229
- invitationAccept: InvitationAcceptPayload;
1230
1265
  /** Creates a new Mini. */
1231
1266
  miniCreate: MiniCreatePayload;
1232
1267
  /** Links a Shopify app to a Mini. */
@@ -1237,6 +1272,12 @@ export type Mutation = {
1237
1272
  miniUnlinkApp: MiniUnlinkAppPayload;
1238
1273
  /** Triggers a notification. */
1239
1274
  notificationTrigger: NotificationTriggerPayload;
1275
+ /** Sets the proxies for the Mini. */
1276
+ proxiesSet: ProxiesSetPayload;
1277
+ /** Deletes a secret. */
1278
+ secretDelete: SecretDeletePayload;
1279
+ /** Sets a secret. */
1280
+ secretSet: SecretSetPayload;
1240
1281
  /** Cancels a pending submission. */
1241
1282
  submissionCancel: SubmissionCancelPayload;
1242
1283
  /** Creates a new submission. */
@@ -1250,6 +1291,13 @@ export type Mutation = {
1250
1291
  /** Verifies a user token. */
1251
1292
  userTokenVerify: UserTokenVerifyPayload;
1252
1293
  };
1294
+ export type MutationContentCreateArgs = {
1295
+ description?: InputMaybe<Scalars['String']>;
1296
+ externalId?: InputMaybe<Scalars['ID']>;
1297
+ imageUrl: Scalars['URL'];
1298
+ productIds?: InputMaybe<Array<Scalars['ID']>>;
1299
+ title: Scalars['String'];
1300
+ };
1253
1301
  export type MutationEntryPointDeleteAllArgs = {
1254
1302
  shopDomain: Scalars['String'];
1255
1303
  };
@@ -1280,9 +1328,6 @@ export type MutationEntryPointSetByRuleArgs = {
1280
1328
  shopDomain: Scalars['String'];
1281
1329
  visibilityRule: Scalars['String'];
1282
1330
  };
1283
- export type MutationInvitationAcceptArgs = {
1284
- code: Scalars['String'];
1285
- };
1286
1331
  export type MutationMiniCreateArgs = {
1287
1332
  name: Scalars['String'];
1288
1333
  organizationId: Scalars['ID'];
@@ -1304,6 +1349,16 @@ export type MutationNotificationTriggerArgs = {
1304
1349
  shopDomain?: InputMaybe<Scalars['String']>;
1305
1350
  templateHandle: Scalars['String'];
1306
1351
  };
1352
+ export type MutationProxiesSetArgs = {
1353
+ proxies: Array<ProxyInput>;
1354
+ };
1355
+ export type MutationSecretDeleteArgs = {
1356
+ key: Scalars['String'];
1357
+ };
1358
+ export type MutationSecretSetArgs = {
1359
+ key: Scalars['String'];
1360
+ value: Scalars['String'];
1361
+ };
1307
1362
  export type MutationSubmissionCancelArgs = {
1308
1363
  reference: Scalars['String'];
1309
1364
  };
@@ -1426,6 +1481,43 @@ export type ProductOfferCardEntryPointSetInput = {
1426
1481
  /** The variant ID for the product offer card entry point. */
1427
1482
  variantId?: InputMaybe<Scalars['ID']>;
1428
1483
  };
1484
+ /** Return type for the `proxiesSet` mutation. */
1485
+ export type ProxiesSetPayload = {
1486
+ __typename?: 'ProxiesSetPayload';
1487
+ /** The proxies that were created or updated. */
1488
+ proxies?: Maybe<Array<Proxy>>;
1489
+ };
1490
+ /** A proxy. */
1491
+ export type Proxy = {
1492
+ __typename?: 'Proxy';
1493
+ /** The methods that are allowed to be proxied. */
1494
+ allowedMethods?: Maybe<Array<HttpRequestMethod>>;
1495
+ /** A list of headers that will be appended to the request. Formatted as `Some-Key: Some Value`. */
1496
+ appendedHeaders?: Maybe<Array<Scalars['String']>>;
1497
+ /** A JSON schema to match the request body against. */
1498
+ bodyJsonSchema?: Maybe<Scalars['JSON']>;
1499
+ /** A pattern for matching the target URL. */
1500
+ targetUrlPattern: Scalars['String'];
1501
+ /** The interval of the user rate limit in seconds. */
1502
+ userRateLimitInterval?: Maybe<Scalars['Int']>;
1503
+ /** The number of requests per user per interval. */
1504
+ userRateLimitRequests?: Maybe<Scalars['Int']>;
1505
+ };
1506
+ /** The information needed to create or update a proxy. */
1507
+ export type ProxyInput = {
1508
+ /** The methods that are allowed to be proxied. */
1509
+ allowedMethods?: InputMaybe<Array<HttpRequestMethod>>;
1510
+ /** A list of headers that will be appended to the request. Formatted as `Some-Key: Some Value`. */
1511
+ appendedHeaders?: InputMaybe<Array<Scalars['String']>>;
1512
+ /** A JSON schema to match the request body against. */
1513
+ bodyJsonSchema?: InputMaybe<Scalars['JSON']>;
1514
+ /** A pattern for matching the target URL. */
1515
+ targetUrlPattern: Scalars['String'];
1516
+ /** The interval of the user rate limit in seconds. */
1517
+ userRateLimitInterval?: InputMaybe<Scalars['Int']>;
1518
+ /** The number of requests per user per interval. */
1519
+ userRateLimitRequests?: InputMaybe<Scalars['Int']>;
1520
+ };
1429
1521
  export type Query = {
1430
1522
  __typename?: 'Query';
1431
1523
  /** Returns attributions for orders made through a Mini within Shop. */
@@ -1443,6 +1535,10 @@ export type Query = {
1443
1535
  mini?: Maybe<Mini>;
1444
1536
  /** Returns eligibilities for products within Shop. */
1445
1537
  productEligibilities: Array<ProductEligibility>;
1538
+ /** Returns proxies for the Shop Mini. */
1539
+ proxies: Array<Proxy>;
1540
+ /** Returns secrets for the Shop Mini. */
1541
+ secrets: Array<Secret>;
1446
1542
  /** Returns eligibilities for shops within Shop. */
1447
1543
  shopEligibilities: Array<ShopEligibility>;
1448
1544
  /** Returns submissions for the Shop Mini. */
@@ -1495,6 +1591,43 @@ export type QueryUserMetafieldDefinitionsArgs = {
1495
1591
  first?: InputMaybe<Scalars['Int']>;
1496
1592
  last?: InputMaybe<Scalars['Int']>;
1497
1593
  };
1594
+ /** A secret. */
1595
+ export type Secret = {
1596
+ __typename?: 'Secret';
1597
+ /** The time the secret was created. */
1598
+ createdAt: Scalars['ISO8601DateTime'];
1599
+ /** The key of the secret. */
1600
+ key: Scalars['String'];
1601
+ /** The time the secret was updated. */
1602
+ updatedAt: Scalars['ISO8601DateTime'];
1603
+ };
1604
+ /** Return type for the `secretDelete` mutation. */
1605
+ export type SecretDeletePayload = {
1606
+ __typename?: 'SecretDeletePayload';
1607
+ /** List of errors that occured while executing the mutation. */
1608
+ userErrors: Array<SecretDeleteUserError>;
1609
+ };
1610
+ /** A user or client error that could occur during the execution of the `secretDelete` mutation. */
1611
+ export type SecretDeleteUserError = {
1612
+ __typename?: 'SecretDeleteUserError';
1613
+ /** Error code associated with the error. */
1614
+ code: SecretDeleteUserErrorCode;
1615
+ /** Which input value this error came from. */
1616
+ field?: Maybe<Array<Scalars['String']>>;
1617
+ /** A description of the error. */
1618
+ message: Scalars['String'];
1619
+ };
1620
+ /** Possible error codes that can be returned by SecretDeleteUserError. */
1621
+ export declare enum SecretDeleteUserErrorCode {
1622
+ /** Error code when the secret could not be found. */
1623
+ NotFound = "NOT_FOUND"
1624
+ }
1625
+ /** Return type for the `secretSet` mutation. */
1626
+ export type SecretSetPayload = {
1627
+ __typename?: 'SecretSetPayload';
1628
+ /** The secret that was set. */
1629
+ secret?: Maybe<Secret>;
1630
+ };
1498
1631
  /** Represents the eligibility of a shop within Shop. */
1499
1632
  export type ShopEligibility = {
1500
1633
  __typename?: 'ShopEligibility';
@@ -1938,16 +2071,6 @@ export type Warning = {
1938
2071
  /** Description of the warning. */
1939
2072
  message: Scalars['String'];
1940
2073
  };
1941
- export type AcceptInvitationMutationVariables = Exact<{
1942
- code: Scalars['String'];
1943
- }>;
1944
- export type AcceptInvitationMutation = {
1945
- __typename?: 'Mutation';
1946
- invitationAccept: {
1947
- __typename?: 'InvitationAcceptPayload';
1948
- token?: string | null;
1949
- };
1950
- };
1951
2074
  export type CancelSubmissionMutationVariables = Exact<{
1952
2075
  reference: Scalars['String'];
1953
2076
  }>;
@@ -2137,9 +2260,129 @@ export type MiniQuery = {
2137
2260
  developmentShopifyAppIds: Array<string>;
2138
2261
  } | null;
2139
2262
  };
2140
- export declare const AcceptInvitationDocument: DocumentNode<AcceptInvitationMutation, Exact<{
2141
- code: Scalars['String'];
2142
- }>>;
2263
+ export type ProxiesQueryVariables = Exact<{
2264
+ [key: string]: never;
2265
+ }>;
2266
+ export type ProxiesQuery = {
2267
+ __typename?: 'Query';
2268
+ proxies: Array<{
2269
+ __typename?: 'Proxy';
2270
+ allowedMethods?: Array<HttpRequestMethod> | null;
2271
+ appendedHeaders?: Array<string> | null;
2272
+ bodyJsonSchema?: any | null;
2273
+ targetUrlPattern: string;
2274
+ userRateLimitInterval?: number | null;
2275
+ userRateLimitRequests?: number | null;
2276
+ }>;
2277
+ };
2278
+ export type ProxiesSetMutationVariables = Exact<{
2279
+ proxies: Array<ProxyInput> | ProxyInput;
2280
+ }>;
2281
+ export type ProxiesSetMutation = {
2282
+ __typename?: 'Mutation';
2283
+ proxiesSet: {
2284
+ __typename?: 'ProxiesSetPayload';
2285
+ proxies?: Array<{
2286
+ __typename?: 'Proxy';
2287
+ targetUrlPattern: string;
2288
+ }> | null;
2289
+ };
2290
+ };
2291
+ export type SecretDeleteMutationVariables = Exact<{
2292
+ key: Scalars['String'];
2293
+ }>;
2294
+ export type SecretDeleteMutation = {
2295
+ __typename?: 'Mutation';
2296
+ secretDelete: {
2297
+ __typename?: 'SecretDeletePayload';
2298
+ userErrors: Array<{
2299
+ __typename?: 'SecretDeleteUserError';
2300
+ code: SecretDeleteUserErrorCode;
2301
+ field?: Array<string> | null;
2302
+ message: string;
2303
+ }>;
2304
+ };
2305
+ };
2306
+ export type SecretSetMutationVariables = Exact<{
2307
+ key: Scalars['String'];
2308
+ secretValue: Scalars['String'];
2309
+ }>;
2310
+ export type SecretSetMutation = {
2311
+ __typename?: 'Mutation';
2312
+ secretSet: {
2313
+ __typename?: 'SecretSetPayload';
2314
+ secret?: {
2315
+ __typename?: 'Secret';
2316
+ key: string;
2317
+ } | null;
2318
+ };
2319
+ };
2320
+ export type SecretsQueryVariables = Exact<{
2321
+ [key: string]: never;
2322
+ }>;
2323
+ export type SecretsQuery = {
2324
+ __typename?: 'Query';
2325
+ secrets: Array<{
2326
+ __typename?: 'Secret';
2327
+ key: string;
2328
+ }>;
2329
+ };
2330
+ export type UserMetafieldDefinitionCreateMutationVariables = Exact<{
2331
+ definition: UserMetafieldDefinitionCreateInput;
2332
+ }>;
2333
+ export type UserMetafieldDefinitionCreateMutation = {
2334
+ __typename?: 'Mutation';
2335
+ userMetafieldDefinitionCreate: {
2336
+ __typename?: 'UserMetafieldDefinitionCreatePayload';
2337
+ createdDefinition?: {
2338
+ __typename?: 'UserMetafieldDefinition';
2339
+ description?: string | null;
2340
+ name: string;
2341
+ key: string;
2342
+ } | null;
2343
+ userErrors: Array<{
2344
+ __typename?: 'UserMetafieldDefinitionCreateUserError';
2345
+ code: UserMetafieldDefinitionCreateUserErrorCode;
2346
+ message: string;
2347
+ field?: Array<string> | null;
2348
+ }>;
2349
+ };
2350
+ };
2351
+ export type UserMetafieldDefinitionDeleteMutationVariables = Exact<{
2352
+ key: Scalars['String'];
2353
+ }>;
2354
+ export type UserMetafieldDefinitionDeleteMutation = {
2355
+ __typename?: 'Mutation';
2356
+ userMetafieldDefinitionDelete: {
2357
+ __typename?: 'UserMetafieldDefinitionDeletePayload';
2358
+ deletedDefinition?: {
2359
+ __typename?: 'UserMetafieldDefinition';
2360
+ key: string;
2361
+ } | null;
2362
+ userErrors: Array<{
2363
+ __typename?: 'UserMetafieldDefinitionDeleteUserError';
2364
+ code: UserMetafieldDefinitionDeleteUserErrorCode;
2365
+ message: string;
2366
+ field?: Array<string> | null;
2367
+ }>;
2368
+ };
2369
+ };
2370
+ export type UserMetafieldDefinitionsQueryVariables = Exact<{
2371
+ [key: string]: never;
2372
+ }>;
2373
+ export type UserMetafieldDefinitionsQuery = {
2374
+ __typename?: 'Query';
2375
+ userMetafieldDefinitions: {
2376
+ __typename?: 'UserMetafieldDefinitionConnection';
2377
+ nodes: Array<{
2378
+ __typename?: 'UserMetafieldDefinition';
2379
+ description?: string | null;
2380
+ name: string;
2381
+ key: string;
2382
+ type: string;
2383
+ }>;
2384
+ };
2385
+ };
2143
2386
  export declare const CancelSubmissionDocument: DocumentNode<CancelSubmissionMutation, Exact<{
2144
2387
  reference: Scalars['String'];
2145
2388
  }>>;
@@ -2175,3 +2418,28 @@ export declare const MiniUnlinkAppDocument: DocumentNode<MiniUnlinkAppMutation,
2175
2418
  export declare const MiniDocument: DocumentNode<MiniQuery, Exact<{
2176
2419
  [key: string]: never;
2177
2420
  }>>;
2421
+ export declare const ProxiesDocument: DocumentNode<ProxiesQuery, Exact<{
2422
+ [key: string]: never;
2423
+ }>>;
2424
+ export declare const ProxiesSetDocument: DocumentNode<ProxiesSetMutation, Exact<{
2425
+ proxies: Array<ProxyInput> | ProxyInput;
2426
+ }>>;
2427
+ export declare const SecretDeleteDocument: DocumentNode<SecretDeleteMutation, Exact<{
2428
+ key: Scalars['String'];
2429
+ }>>;
2430
+ export declare const SecretSetDocument: DocumentNode<SecretSetMutation, Exact<{
2431
+ key: Scalars['String'];
2432
+ secretValue: Scalars['String'];
2433
+ }>>;
2434
+ export declare const SecretsDocument: DocumentNode<SecretsQuery, Exact<{
2435
+ [key: string]: never;
2436
+ }>>;
2437
+ export declare const UserMetafieldDefinitionCreateDocument: DocumentNode<UserMetafieldDefinitionCreateMutation, Exact<{
2438
+ definition: UserMetafieldDefinitionCreateInput;
2439
+ }>>;
2440
+ export declare const UserMetafieldDefinitionDeleteDocument: DocumentNode<UserMetafieldDefinitionDeleteMutation, Exact<{
2441
+ key: Scalars['String'];
2442
+ }>>;
2443
+ export declare const UserMetafieldDefinitionsDocument: DocumentNode<UserMetafieldDefinitionsQuery, Exact<{
2444
+ [key: string]: never;
2445
+ }>>;