@secrecy/lib 1.6.0-integration-stripe-invoices.2 → 1.7.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.
@@ -235,7 +235,7 @@ export type ScalarCoders = {
235
235
  Json?: ScalarResolver;
236
236
  Bytes?: ScalarResolver;
237
237
  };
238
- type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["ApplicationsResult"] | GraphQLTypes["BlogResult"] | GraphQLTypes["DbConfigResult"] | GraphQLTypes["DbGetResult"] | GraphQLTypes["DbSearchResult"] | GraphQLTypes["DeletedMailsResult"] | GraphQLTypes["DeletedNodesResult"] | GraphQLTypes["FaqResult"] | GraphQLTypes["FileResult"] | GraphQLTypes["FileContentResult"] | GraphQLTypes["FilesContentResult"] | GraphQLTypes["GetJwtResult"] | GraphQLTypes["IsCryptoTransactionDoneResult"] | GraphQLTypes["LimitsResult"] | GraphQLTypes["MailResult"] | GraphQLTypes["MyCryptoBalanceResult"] | GraphQLTypes["NodeResult"] | GraphQLTypes["NodesSharedWithMeResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedNodesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["GetCardIdentificationResult"] | GraphQLTypes["GetStripeBalanceResult"] | GraphQLTypes["GetStripeBalanceTransactionResult"] | GraphQLTypes["GetStripeTransactionResult"] | GraphQLTypes["HasStripeAccountResult"] | GraphQLTypes["KycStripeCompletedResult"] | GraphQLTypes["GetAllStripeTransferResult"] | GraphQLTypes["GetStripeTransferResult"] | GraphQLTypes["GetAllStripePayoutResult"] | GraphQLTypes["GetStripePayoutResult"] | GraphQLTypes["GetAllPaymentRequestToCollectResult"] | GraphQLTypes["GetAllPaymentRequestToPayResult"] | GraphQLTypes["GetPaymentRequestToCollectResult"] | GraphQLTypes["GetPaymentRequestToPayResult"] | GraphQLTypes["IsValidPaymentIntentResult"] | GraphQLTypes["GetInvoiceResult"] | GraphQLTypes["GetInvoicesResult"] | GraphQLTypes["AddFileToHistoryResult"] | GraphQLTypes["CancelPaymentResult"] | GraphQLTypes["CreateCryptoWalletResult"] | GraphQLTypes["CreateDraftMailResult"] | GraphQLTypes["CreateFolderResult"] | GraphQLTypes["DbConfigMutationResult"] | GraphQLTypes["DbSetResult"] | GraphQLTypes["DeleteDraftMailResult"] | GraphQLTypes["DeleteFileResult"] | GraphQLTypes["DeleteMailResult"] | GraphQLTypes["DeleteMailTrashResult"] | GraphQLTypes["DeleteNodeResult"] | GraphQLTypes["DeleteNodeCloudTrashResult"] | GraphQLTypes["DeleteNodeSharingResult"] | GraphQLTypes["DeleteUserResult"] | GraphQLTypes["DuplicateNodeResult"] | GraphQLTypes["EmptyCloudTrashResult"] | GraphQLTypes["EmptyMailTrashResult"] | GraphQLTypes["LogoutResult"] | GraphQLTypes["MoveNodesResult"] | GraphQLTypes["PayResult"] | GraphQLTypes["ReadMailResult"] | GraphQLTypes["RecoverMailResult"] | GraphQLTypes["RecoverNodeResult"] | GraphQLTypes["SaveInCloudResult"] | GraphQLTypes["SendAppMailResult"] | GraphQLTypes["SendCryptoTransactionResult"] | GraphQLTypes["SendDraftMailResult"] | GraphQLTypes["SendOneMailResult"] | GraphQLTypes["SendReportResult"] | GraphQLTypes["ShareFileInHistoryResult"] | GraphQLTypes["ShareNodeResult"] | GraphQLTypes["ShareNodeFinishResult"] | GraphQLTypes["UnreadMailResult"] | GraphQLTypes["UpdateAppNotificationsResult"] | GraphQLTypes["UpdateAppSettingsResult"] | GraphQLTypes["UpdateAutoDisconnectDelayResult"] | GraphQLTypes["UpdateDraftMailResult"] | GraphQLTypes["UpdateNodeResult"] | GraphQLTypes["UpdateProfileResult"] | GraphQLTypes["UploadFileResult"] | GraphQLTypes["UploadFileEndResult"] | GraphQLTypes["UploadFilePartEndResult"] | GraphQLTypes["UploadLiteFileResult"] | GraphQLTypes["ChangeUserPlanResult"] | GraphQLTypes["CreateCardTokenResult"] | GraphQLTypes["CreateStripeTransferResult"] | GraphQLTypes["DeleteCardTokenResult"] | GraphQLTypes["StripeOnBoardingResult"] | GraphQLTypes["CancelStripePayoutResult"] | GraphQLTypes["CreateStripePayoutResult"] | GraphQLTypes["AddCartToPaymentIntentResult"] | GraphQLTypes["CancelPaymentIntentResult"] | GraphQLTypes["ConfirmPaymentIntentResult"] | GraphQLTypes["CreatePaymentIntentResult"] | GraphQLTypes["RenewAppCodeResult"] | GraphQLTypes["UpdateOriginUrlResult"] | GraphQLTypes["CreateApplicationResult"] | GraphQLTypes["DeleteApplicationResult"] | GraphQLTypes["EditColorsResult"] | GraphQLTypes["EditLogoResult"] | GraphQLTypes["EditNameResult"] | GraphQLTypes["AddDeveloperResult"] | GraphQLTypes["DeleteDeveloperResult"] | GraphQLTypes["EditDeveloperResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
238
+ type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["ApplicationsResult"] | GraphQLTypes["BlogResult"] | GraphQLTypes["DbConfigResult"] | GraphQLTypes["DbGetResult"] | GraphQLTypes["DbGetDiffResult"] | GraphQLTypes["DbSearchResult"] | GraphQLTypes["DeletedMailsResult"] | GraphQLTypes["DeletedNodesResult"] | GraphQLTypes["FaqResult"] | GraphQLTypes["FileResult"] | GraphQLTypes["FileContentResult"] | GraphQLTypes["FilesContentResult"] | GraphQLTypes["GetJwtResult"] | GraphQLTypes["IsCryptoTransactionDoneResult"] | GraphQLTypes["LimitsResult"] | GraphQLTypes["MailResult"] | GraphQLTypes["MyCryptoBalanceResult"] | GraphQLTypes["NodeResult"] | GraphQLTypes["NodesSharedWithMeResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedNodesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["GetCardIdentificationResult"] | GraphQLTypes["GetStripeBalanceResult"] | GraphQLTypes["GetStripeBalanceTransactionResult"] | GraphQLTypes["GetStripeTransactionResult"] | GraphQLTypes["HasStripeAccountResult"] | GraphQLTypes["KycStripeCompletedResult"] | GraphQLTypes["GetAllStripeTransferResult"] | GraphQLTypes["GetStripeTransferResult"] | GraphQLTypes["GetAllStripePayoutResult"] | GraphQLTypes["GetStripePayoutResult"] | GraphQLTypes["GetAllPaymentRequestToCollectResult"] | GraphQLTypes["GetAllPaymentRequestToPayResult"] | GraphQLTypes["GetPaymentRequestToCollectResult"] | GraphQLTypes["GetPaymentRequestToPayResult"] | GraphQLTypes["IsValidPaymentIntentResult"] | GraphQLTypes["AddFileToHistoryResult"] | GraphQLTypes["CancelPaymentResult"] | GraphQLTypes["CreateCryptoWalletResult"] | GraphQLTypes["CreateDraftMailResult"] | GraphQLTypes["CreateFolderResult"] | GraphQLTypes["DbConfigMutationResult"] | GraphQLTypes["DbConfigToProdMutationResult"] | GraphQLTypes["DbSetResult"] | GraphQLTypes["DeleteDraftMailResult"] | GraphQLTypes["DeleteFileResult"] | GraphQLTypes["DeleteMailResult"] | GraphQLTypes["DeleteMailTrashResult"] | GraphQLTypes["DeleteNodeResult"] | GraphQLTypes["DeleteNodeCloudTrashResult"] | GraphQLTypes["DeleteNodeSharingResult"] | GraphQLTypes["DeleteUserResult"] | GraphQLTypes["DuplicateNodeResult"] | GraphQLTypes["EmptyCloudTrashResult"] | GraphQLTypes["EmptyMailTrashResult"] | GraphQLTypes["LogoutResult"] | GraphQLTypes["MoveNodesResult"] | GraphQLTypes["PayResult"] | GraphQLTypes["ReadMailResult"] | GraphQLTypes["RecoverMailResult"] | GraphQLTypes["RecoverNodeResult"] | GraphQLTypes["SaveInCloudResult"] | GraphQLTypes["SendAppMailResult"] | GraphQLTypes["SendCryptoTransactionResult"] | GraphQLTypes["SendDraftMailResult"] | GraphQLTypes["SendOneMailResult"] | GraphQLTypes["SendReportResult"] | GraphQLTypes["ShareFileInHistoryResult"] | GraphQLTypes["ShareNodeResult"] | GraphQLTypes["ShareNodeFinishResult"] | GraphQLTypes["UnreadMailResult"] | GraphQLTypes["UpdateAppNotificationsResult"] | GraphQLTypes["UpdateAppSettingsResult"] | GraphQLTypes["UpdateAutoDisconnectDelayResult"] | GraphQLTypes["UpdateDraftMailResult"] | GraphQLTypes["UpdateNodeResult"] | GraphQLTypes["UpdateProfileResult"] | GraphQLTypes["UploadFileResult"] | GraphQLTypes["UploadFileEndResult"] | GraphQLTypes["UploadFilePartEndResult"] | GraphQLTypes["UploadLiteFileResult"] | GraphQLTypes["ChangeUserPlanResult"] | GraphQLTypes["CreateCardTokenResult"] | GraphQLTypes["CreateStripeTransferResult"] | GraphQLTypes["DeleteCardTokenResult"] | GraphQLTypes["StripeOnBoardingResult"] | GraphQLTypes["CancelStripePayoutResult"] | GraphQLTypes["CreateStripePayoutResult"] | GraphQLTypes["AddCartToPaymentIntentResult"] | GraphQLTypes["CancelPaymentIntentResult"] | GraphQLTypes["ConfirmPaymentIntentResult"] | GraphQLTypes["CreatePaymentIntentResult"] | GraphQLTypes["RenewAppCodeResult"] | GraphQLTypes["UpdateOriginUrlResult"] | GraphQLTypes["CreateApplicationResult"] | GraphQLTypes["DeleteApplicationResult"] | GraphQLTypes["EditColorsResult"] | GraphQLTypes["EditLogoResult"] | GraphQLTypes["EditNameResult"] | GraphQLTypes["AddDeveloperResult"] | GraphQLTypes["DeleteDeveloperResult"] | GraphQLTypes["EditDeveloperResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
239
239
  export type ValueTypes = {
240
240
  ["BigInt"]: unknown;
241
241
  ["DateTime"]: unknown;
@@ -267,17 +267,23 @@ export type ValueTypes = {
267
267
  ["DbConfigResult"]: AliasType<{
268
268
  ["...on DbConfigResponse"]: ValueTypes["DbConfigResponse"];
269
269
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
270
- ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
271
270
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
272
271
  __typename?: boolean | `@${string}`;
273
272
  }>;
274
273
  ["DbGetResult"]: AliasType<{
275
274
  ["...on DbGetResponse"]: ValueTypes["DbGetResponse"];
276
275
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
276
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
277
277
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
278
278
  ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
279
279
  __typename?: boolean | `@${string}`;
280
280
  }>;
281
+ ["DbGetDiffResult"]: AliasType<{
282
+ ["...on DbGetDiffConfigResponse"]: ValueTypes["DbGetDiffConfigResponse"];
283
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
284
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
285
+ __typename?: boolean | `@${string}`;
286
+ }>;
281
287
  ["DbSearchResult"]: AliasType<{
282
288
  ["...on DbSearchResponse"]: ValueTypes["DbSearchResponse"];
283
289
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -484,18 +490,6 @@ export type ValueTypes = {
484
490
  ["...on ErrorStripe"]: ValueTypes["ErrorStripe"];
485
491
  __typename?: boolean | `@${string}`;
486
492
  }>;
487
- ["GetInvoiceResult"]: AliasType<{
488
- ["...on InvoiceResponse"]: ValueTypes["InvoiceResponse"];
489
- ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
490
- ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
491
- __typename?: boolean | `@${string}`;
492
- }>;
493
- ["GetInvoicesResult"]: AliasType<{
494
- ["...on InvoiceResponse"]: ValueTypes["InvoiceResponse"];
495
- ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
496
- ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
497
- __typename?: boolean | `@${string}`;
498
- }>;
499
493
  ["AddFileToHistoryResult"]: AliasType<{
500
494
  ["...on AddFileToHistoryResponse"]: ValueTypes["AddFileToHistoryResponse"];
501
495
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -527,11 +521,19 @@ export type ValueTypes = {
527
521
  ["DbConfigMutationResult"]: AliasType<{
528
522
  ["...on DbConfigMutationResponse"]: ValueTypes["DbConfigMutationResponse"];
529
523
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
524
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
525
+ __typename?: boolean | `@${string}`;
526
+ }>;
527
+ ["DbConfigToProdMutationResult"]: AliasType<{
528
+ ["...on DbConfigToProdMutationResponse"]: ValueTypes["DbConfigToProdMutationResponse"];
529
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
530
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
530
531
  __typename?: boolean | `@${string}`;
531
532
  }>;
532
533
  ["DbSetResult"]: AliasType<{
533
534
  ["...on DbSetResponse"]: ValueTypes["DbSetResponse"];
534
535
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
536
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
535
537
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
536
538
  __typename?: boolean | `@${string}`;
537
539
  }>;
@@ -965,6 +967,22 @@ export type ValueTypes = {
965
967
  privateKeyEncrypted?: boolean | `@${string}`;
966
968
  __typename?: boolean | `@${string}`;
967
969
  }>;
970
+ ["DbDiffField"]: AliasType<{
971
+ action?: boolean | `@${string}`;
972
+ key?: boolean | `@${string}`;
973
+ current?: boolean | `@${string}`;
974
+ next?: boolean | `@${string}`;
975
+ details?: boolean | `@${string}`;
976
+ __typename?: boolean | `@${string}`;
977
+ }>;
978
+ ["DbDiffSchema"]: AliasType<{
979
+ fields?: ValueTypes["DbDiffField"];
980
+ __typename?: boolean | `@${string}`;
981
+ }>;
982
+ ["MongoDbConfigType"]: MongoDbConfigType;
983
+ ["MongoDbEnv"]: MongoDbEnv;
984
+ ["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
985
+ ["MongoDbFieldType"]: MongoDbFieldType;
968
986
  ["Developer"]: AliasType<{
969
987
  id?: boolean | `@${string}`;
970
988
  user?: ValueTypes["User"];
@@ -1444,6 +1462,10 @@ export type ValueTypes = {
1444
1462
  dbConfigMutation?: boolean | `@${string}`;
1445
1463
  __typename?: boolean | `@${string}`;
1446
1464
  }>;
1465
+ ["DbConfigToProdMutationResponse"]: AliasType<{
1466
+ dbConfigToProdMutation?: boolean | `@${string}`;
1467
+ __typename?: boolean | `@${string}`;
1468
+ }>;
1447
1469
  ["DbSetResponse"]: AliasType<{
1448
1470
  dbSet?: boolean | `@${string}`;
1449
1471
  __typename?: boolean | `@${string}`;
@@ -1745,6 +1767,18 @@ export type ValueTypes = {
1745
1767
  userList?: ValueTypes["User"];
1746
1768
  __typename?: boolean | `@${string}`;
1747
1769
  }>;
1770
+ ["DbGetDiffConfig"]: AliasType<{
1771
+ env?: boolean | `@${string}`;
1772
+ current?: boolean | `@${string}`;
1773
+ next?: boolean | `@${string}`;
1774
+ diff?: boolean | `@${string}`;
1775
+ hash?: boolean | `@${string}`;
1776
+ __typename?: boolean | `@${string}`;
1777
+ }>;
1778
+ ["DbGetDiffConfigResponse"]: AliasType<{
1779
+ dbGetDiffConfig?: ValueTypes["DbGetDiffConfig"];
1780
+ __typename?: boolean | `@${string}`;
1781
+ }>;
1748
1782
  ["BalanceStripeResponse"]: AliasType<{
1749
1783
  amount?: boolean | `@${string}`;
1750
1784
  currency?: boolean | `@${string}`;
@@ -1944,32 +1978,6 @@ export type ValueTypes = {
1944
1978
  __typename?: boolean | `@${string}`;
1945
1979
  }>;
1946
1980
  ["PayoutType"]: PayoutType;
1947
- ["InvoiceResponse"]: AliasType<{
1948
- id?: boolean | `@${string}`;
1949
- account_country?: boolean | `@${string}`;
1950
- account_name?: boolean | `@${string}`;
1951
- amount_due?: boolean | `@${string}`;
1952
- amount_paid?: boolean | `@${string}`;
1953
- amount_remaining?: boolean | `@${string}`;
1954
- application_fee_amount?: boolean | `@${string}`;
1955
- attempt_count?: boolean | `@${string}`;
1956
- attempted?: boolean | `@${string}`;
1957
- created?: boolean | `@${string}`;
1958
- currency?: boolean | `@${string}`;
1959
- due_date?: boolean | `@${string}`;
1960
- ending_balance?: boolean | `@${string}`;
1961
- hosted_invoice_url?: boolean | `@${string}`;
1962
- invoice_pdf?: boolean | `@${string}`;
1963
- paid?: boolean | `@${string}`;
1964
- receipt_number?: boolean | `@${string}`;
1965
- tax?: boolean | `@${string}`;
1966
- total?: boolean | `@${string}`;
1967
- __typename?: boolean | `@${string}`;
1968
- }>;
1969
- ["InvoicesResponse"]: AliasType<{
1970
- invoices?: ValueTypes["InvoiceResponse"];
1971
- __typename?: boolean | `@${string}`;
1972
- }>;
1973
1981
  ["TemporaryUser"]: AliasType<{
1974
1982
  id?: boolean | `@${string}`;
1975
1983
  mails?: ValueTypes["MailIntegrity"];
@@ -2108,21 +2116,37 @@ export type ValueTypes = {
2108
2116
  ];
2109
2117
  dbConfig?: [
2110
2118
  {
2111
- appCode: string | Variable<any, string>;
2119
+ appId: string | Variable<any, string>;
2120
+ env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
2112
2121
  },
2113
2122
  ValueTypes["DbConfigResult"]
2114
2123
  ];
2115
2124
  dbGet?: [
2116
2125
  {
2117
2126
  field: string | Variable<any, string>;
2127
+ appId: string | Variable<any, string>;
2118
2128
  userId?: string | undefined | null | Variable<any, string>;
2129
+ env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
2119
2130
  },
2120
2131
  ValueTypes["DbGetResult"]
2121
2132
  ];
2133
+ dbGetDiff?: [
2134
+ {
2135
+ appId: string | Variable<any, string>;
2136
+ env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
2137
+ config?: string | undefined | null | Variable<any, string>;
2138
+ },
2139
+ ValueTypes["DbGetDiffResult"]
2140
+ ];
2122
2141
  dbSearch?: [
2123
2142
  {
2143
+ appId: string | Variable<any, string>;
2124
2144
  search: string | Variable<any, string>;
2125
2145
  field: string | Variable<any, string>;
2146
+ take?: number | undefined | null | Variable<any, string>;
2147
+ skip?: number | undefined | null | Variable<any, string>;
2148
+ orderBy?: string | undefined | null | Variable<any, string>;
2149
+ env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
2126
2150
  },
2127
2151
  ValueTypes["DbSearchResult"]
2128
2152
  ];
@@ -2279,19 +2303,6 @@ export type ValueTypes = {
2279
2303
  },
2280
2304
  ValueTypes["IsValidPaymentIntentResult"]
2281
2305
  ];
2282
- getInvoice?: [
2283
- {
2284
- idInvoice: string | Variable<any, string>;
2285
- idApplication: string | Variable<any, string>;
2286
- },
2287
- ValueTypes["GetInvoiceResult"]
2288
- ];
2289
- getInvoices?: [
2290
- {
2291
- idApplication: string | Variable<any, string>;
2292
- },
2293
- ValueTypes["GetInvoicesResult"]
2294
- ];
2295
2306
  __typename?: boolean | `@${string}`;
2296
2307
  }>;
2297
2308
  ["Mutation"]: AliasType<{
@@ -2332,15 +2343,25 @@ export type ValueTypes = {
2332
2343
  ];
2333
2344
  dbConfigMutation?: [
2334
2345
  {
2335
- appCode: string | Variable<any, string>;
2346
+ appId: string | Variable<any, string>;
2347
+ env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
2336
2348
  config: string | Variable<any, string>;
2337
2349
  },
2338
2350
  ValueTypes["DbConfigMutationResult"]
2339
2351
  ];
2352
+ dbConfigToProdMutation?: [
2353
+ {
2354
+ appId: string | Variable<any, string>;
2355
+ diffHash: string | Variable<any, string>;
2356
+ },
2357
+ ValueTypes["DbConfigToProdMutationResult"]
2358
+ ];
2340
2359
  dbSet?: [
2341
2360
  {
2342
2361
  value: string | Variable<any, string>;
2362
+ appId: string | Variable<any, string>;
2343
2363
  userId?: string | undefined | null | Variable<any, string>;
2364
+ env: ValueTypes["MongoDbEnv"] | Variable<any, string>;
2344
2365
  },
2345
2366
  ValueTypes["DbSetResult"]
2346
2367
  ];
@@ -2808,17 +2829,23 @@ export type ResolverInputTypes = {
2808
2829
  ["DbConfigResult"]: AliasType<{
2809
2830
  DbConfigResponse?: ResolverInputTypes["DbConfigResponse"];
2810
2831
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2811
- ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
2812
2832
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
2813
2833
  __typename?: boolean | `@${string}`;
2814
2834
  }>;
2815
2835
  ["DbGetResult"]: AliasType<{
2816
2836
  DbGetResponse?: ResolverInputTypes["DbGetResponse"];
2817
2837
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2838
+ ErrorBasic?: ResolverInputTypes["ErrorBasic"];
2818
2839
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
2819
2840
  ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
2820
2841
  __typename?: boolean | `@${string}`;
2821
2842
  }>;
2843
+ ["DbGetDiffResult"]: AliasType<{
2844
+ DbGetDiffConfigResponse?: ResolverInputTypes["DbGetDiffConfigResponse"];
2845
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2846
+ ErrorBasic?: ResolverInputTypes["ErrorBasic"];
2847
+ __typename?: boolean | `@${string}`;
2848
+ }>;
2822
2849
  ["DbSearchResult"]: AliasType<{
2823
2850
  DbSearchResponse?: ResolverInputTypes["DbSearchResponse"];
2824
2851
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -3025,18 +3052,6 @@ export type ResolverInputTypes = {
3025
3052
  ErrorStripe?: ResolverInputTypes["ErrorStripe"];
3026
3053
  __typename?: boolean | `@${string}`;
3027
3054
  }>;
3028
- ["GetInvoiceResult"]: AliasType<{
3029
- InvoiceResponse?: ResolverInputTypes["InvoiceResponse"];
3030
- ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3031
- ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
3032
- __typename?: boolean | `@${string}`;
3033
- }>;
3034
- ["GetInvoicesResult"]: AliasType<{
3035
- InvoiceResponse?: ResolverInputTypes["InvoiceResponse"];
3036
- ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3037
- ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
3038
- __typename?: boolean | `@${string}`;
3039
- }>;
3040
3055
  ["AddFileToHistoryResult"]: AliasType<{
3041
3056
  AddFileToHistoryResponse?: ResolverInputTypes["AddFileToHistoryResponse"];
3042
3057
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -3068,11 +3083,19 @@ export type ResolverInputTypes = {
3068
3083
  ["DbConfigMutationResult"]: AliasType<{
3069
3084
  DbConfigMutationResponse?: ResolverInputTypes["DbConfigMutationResponse"];
3070
3085
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3086
+ ErrorBasic?: ResolverInputTypes["ErrorBasic"];
3087
+ __typename?: boolean | `@${string}`;
3088
+ }>;
3089
+ ["DbConfigToProdMutationResult"]: AliasType<{
3090
+ DbConfigToProdMutationResponse?: ResolverInputTypes["DbConfigToProdMutationResponse"];
3091
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3092
+ ErrorBasic?: ResolverInputTypes["ErrorBasic"];
3071
3093
  __typename?: boolean | `@${string}`;
3072
3094
  }>;
3073
3095
  ["DbSetResult"]: AliasType<{
3074
3096
  DbSetResponse?: ResolverInputTypes["DbSetResponse"];
3075
3097
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3098
+ ErrorBasic?: ResolverInputTypes["ErrorBasic"];
3076
3099
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
3077
3100
  __typename?: boolean | `@${string}`;
3078
3101
  }>;
@@ -3506,6 +3529,22 @@ export type ResolverInputTypes = {
3506
3529
  privateKeyEncrypted?: boolean | `@${string}`;
3507
3530
  __typename?: boolean | `@${string}`;
3508
3531
  }>;
3532
+ ["DbDiffField"]: AliasType<{
3533
+ action?: boolean | `@${string}`;
3534
+ key?: boolean | `@${string}`;
3535
+ current?: boolean | `@${string}`;
3536
+ next?: boolean | `@${string}`;
3537
+ details?: boolean | `@${string}`;
3538
+ __typename?: boolean | `@${string}`;
3539
+ }>;
3540
+ ["DbDiffSchema"]: AliasType<{
3541
+ fields?: ResolverInputTypes["DbDiffField"];
3542
+ __typename?: boolean | `@${string}`;
3543
+ }>;
3544
+ ["MongoDbConfigType"]: MongoDbConfigType;
3545
+ ["MongoDbEnv"]: MongoDbEnv;
3546
+ ["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
3547
+ ["MongoDbFieldType"]: MongoDbFieldType;
3509
3548
  ["Developer"]: AliasType<{
3510
3549
  id?: boolean | `@${string}`;
3511
3550
  user?: ResolverInputTypes["User"];
@@ -3985,6 +4024,10 @@ export type ResolverInputTypes = {
3985
4024
  dbConfigMutation?: boolean | `@${string}`;
3986
4025
  __typename?: boolean | `@${string}`;
3987
4026
  }>;
4027
+ ["DbConfigToProdMutationResponse"]: AliasType<{
4028
+ dbConfigToProdMutation?: boolean | `@${string}`;
4029
+ __typename?: boolean | `@${string}`;
4030
+ }>;
3988
4031
  ["DbSetResponse"]: AliasType<{
3989
4032
  dbSet?: boolean | `@${string}`;
3990
4033
  __typename?: boolean | `@${string}`;
@@ -4286,6 +4329,18 @@ export type ResolverInputTypes = {
4286
4329
  userList?: ResolverInputTypes["User"];
4287
4330
  __typename?: boolean | `@${string}`;
4288
4331
  }>;
4332
+ ["DbGetDiffConfig"]: AliasType<{
4333
+ env?: boolean | `@${string}`;
4334
+ current?: boolean | `@${string}`;
4335
+ next?: boolean | `@${string}`;
4336
+ diff?: boolean | `@${string}`;
4337
+ hash?: boolean | `@${string}`;
4338
+ __typename?: boolean | `@${string}`;
4339
+ }>;
4340
+ ["DbGetDiffConfigResponse"]: AliasType<{
4341
+ dbGetDiffConfig?: ResolverInputTypes["DbGetDiffConfig"];
4342
+ __typename?: boolean | `@${string}`;
4343
+ }>;
4289
4344
  ["BalanceStripeResponse"]: AliasType<{
4290
4345
  amount?: boolean | `@${string}`;
4291
4346
  currency?: boolean | `@${string}`;
@@ -4485,32 +4540,6 @@ export type ResolverInputTypes = {
4485
4540
  __typename?: boolean | `@${string}`;
4486
4541
  }>;
4487
4542
  ["PayoutType"]: PayoutType;
4488
- ["InvoiceResponse"]: AliasType<{
4489
- id?: boolean | `@${string}`;
4490
- account_country?: boolean | `@${string}`;
4491
- account_name?: boolean | `@${string}`;
4492
- amount_due?: boolean | `@${string}`;
4493
- amount_paid?: boolean | `@${string}`;
4494
- amount_remaining?: boolean | `@${string}`;
4495
- application_fee_amount?: boolean | `@${string}`;
4496
- attempt_count?: boolean | `@${string}`;
4497
- attempted?: boolean | `@${string}`;
4498
- created?: boolean | `@${string}`;
4499
- currency?: boolean | `@${string}`;
4500
- due_date?: boolean | `@${string}`;
4501
- ending_balance?: boolean | `@${string}`;
4502
- hosted_invoice_url?: boolean | `@${string}`;
4503
- invoice_pdf?: boolean | `@${string}`;
4504
- paid?: boolean | `@${string}`;
4505
- receipt_number?: boolean | `@${string}`;
4506
- tax?: boolean | `@${string}`;
4507
- total?: boolean | `@${string}`;
4508
- __typename?: boolean | `@${string}`;
4509
- }>;
4510
- ["InvoicesResponse"]: AliasType<{
4511
- invoices?: ResolverInputTypes["InvoiceResponse"];
4512
- __typename?: boolean | `@${string}`;
4513
- }>;
4514
4543
  ["TemporaryUser"]: AliasType<{
4515
4544
  id?: boolean | `@${string}`;
4516
4545
  mails?: ResolverInputTypes["MailIntegrity"];
@@ -4647,20 +4676,39 @@ export type ResolverInputTypes = {
4647
4676
  },
4648
4677
  ResolverInputTypes["BlogResult"]
4649
4678
  ];
4650
- dbConfig?: [{
4651
- appCode: string;
4652
- }, ResolverInputTypes["DbConfigResult"]];
4679
+ dbConfig?: [
4680
+ {
4681
+ appId: string;
4682
+ env: ResolverInputTypes["MongoDbEnv"];
4683
+ },
4684
+ ResolverInputTypes["DbConfigResult"]
4685
+ ];
4653
4686
  dbGet?: [
4654
4687
  {
4655
4688
  field: string;
4689
+ appId: string;
4656
4690
  userId?: string | undefined | null;
4691
+ env: ResolverInputTypes["MongoDbEnv"];
4657
4692
  },
4658
4693
  ResolverInputTypes["DbGetResult"]
4659
4694
  ];
4695
+ dbGetDiff?: [
4696
+ {
4697
+ appId: string;
4698
+ env: ResolverInputTypes["MongoDbEnv"];
4699
+ config?: string | undefined | null;
4700
+ },
4701
+ ResolverInputTypes["DbGetDiffResult"]
4702
+ ];
4660
4703
  dbSearch?: [
4661
4704
  {
4705
+ appId: string;
4662
4706
  search: string;
4663
4707
  field: string;
4708
+ take?: number | undefined | null;
4709
+ skip?: number | undefined | null;
4710
+ orderBy?: string | undefined | null;
4711
+ env: ResolverInputTypes["MongoDbEnv"];
4664
4712
  },
4665
4713
  ResolverInputTypes["DbSearchResult"]
4666
4714
  ];
@@ -4814,19 +4862,6 @@ export type ResolverInputTypes = {
4814
4862
  },
4815
4863
  ResolverInputTypes["IsValidPaymentIntentResult"]
4816
4864
  ];
4817
- getInvoice?: [
4818
- {
4819
- idInvoice: string;
4820
- idApplication: string;
4821
- },
4822
- ResolverInputTypes["GetInvoiceResult"]
4823
- ];
4824
- getInvoices?: [
4825
- {
4826
- idApplication: string;
4827
- },
4828
- ResolverInputTypes["GetInvoicesResult"]
4829
- ];
4830
4865
  __typename?: boolean | `@${string}`;
4831
4866
  }>;
4832
4867
  ["Mutation"]: AliasType<{
@@ -4867,15 +4902,25 @@ export type ResolverInputTypes = {
4867
4902
  ];
4868
4903
  dbConfigMutation?: [
4869
4904
  {
4870
- appCode: string;
4905
+ appId: string;
4906
+ env: ResolverInputTypes["MongoDbEnv"];
4871
4907
  config: string;
4872
4908
  },
4873
4909
  ResolverInputTypes["DbConfigMutationResult"]
4874
4910
  ];
4911
+ dbConfigToProdMutation?: [
4912
+ {
4913
+ appId: string;
4914
+ diffHash: string;
4915
+ },
4916
+ ResolverInputTypes["DbConfigToProdMutationResult"]
4917
+ ];
4875
4918
  dbSet?: [
4876
4919
  {
4877
4920
  value: string;
4921
+ appId: string;
4878
4922
  userId?: string | undefined | null;
4923
+ env: ResolverInputTypes["MongoDbEnv"];
4879
4924
  },
4880
4925
  ResolverInputTypes["DbSetResult"]
4881
4926
  ];
@@ -5309,8 +5354,9 @@ export type ModelTypes = {
5309
5354
  ["AppNotificationsResult"]: ModelTypes["UserAppNotifications"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5310
5355
  ["ApplicationsResult"]: ModelTypes["ApplicationsResponse"] | ModelTypes["ErrorAccessDenied"];
5311
5356
  ["BlogResult"]: ModelTypes["BlogResponse"] | ModelTypes["ErrorLangNotExist"];
5312
- ["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorNotFound"];
5313
- ["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
5357
+ ["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5358
+ ["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
5359
+ ["DbGetDiffResult"]: ModelTypes["DbGetDiffConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
5314
5360
  ["DbSearchResult"]: ModelTypes["DbSearchResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorBasic"];
5315
5361
  ["DeletedMailsResult"]: ModelTypes["DeletedMailsResponse"] | ModelTypes["ErrorAccessDenied"];
5316
5362
  ["DeletedNodesResult"]: ModelTypes["DeletedNodesResponse"] | ModelTypes["ErrorAccessDenied"];
@@ -5346,15 +5392,14 @@ export type ModelTypes = {
5346
5392
  ["GetPaymentRequestToCollectResult"]: ModelTypes["GetPaymentRequestToCollectResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorStripe"];
5347
5393
  ["GetPaymentRequestToPayResult"]: ModelTypes["GetPaymentRequestToPayResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5348
5394
  ["IsValidPaymentIntentResult"]: ModelTypes["ValidPaymentIntentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorStripe"];
5349
- ["GetInvoiceResult"]: ModelTypes["InvoiceResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5350
- ["GetInvoicesResult"]: ModelTypes["InvoiceResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5351
5395
  ["AddFileToHistoryResult"]: ModelTypes["AddFileToHistoryResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
5352
5396
  ["CancelPaymentResult"]: ModelTypes["CancelPaymentResponse"] | ModelTypes["ErrorAccessDenied"];
5353
5397
  ["CreateCryptoWalletResult"]: ModelTypes["CreateCryptoWalletResponse"] | ModelTypes["ErrorAccessDenied"];
5354
5398
  ["CreateDraftMailResult"]: ModelTypes["CreateDraftMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
5355
5399
  ["CreateFolderResult"]: ModelTypes["CreateFolderResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
5356
- ["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"];
5357
- ["DbSetResult"]: ModelTypes["DbSetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5400
+ ["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
5401
+ ["DbConfigToProdMutationResult"]: ModelTypes["DbConfigToProdMutationResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
5402
+ ["DbSetResult"]: ModelTypes["DbSetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"];
5358
5403
  ["DeleteDraftMailResult"]: ModelTypes["DeleteDraftMailResponse"] | ModelTypes["ErrorAccessDenied"];
5359
5404
  ["DeleteFileResult"]: ModelTypes["DeleteFileResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
5360
5405
  ["DeleteMailResult"]: ModelTypes["DeleteMailResponse"] | ModelTypes["ErrorAccessDenied"];
@@ -5492,6 +5537,20 @@ export type ModelTypes = {
5492
5537
  address: string;
5493
5538
  privateKeyEncrypted: string;
5494
5539
  };
5540
+ ["DbDiffField"]: {
5541
+ action: ModelTypes["MongoDbFieldDiffAction"];
5542
+ key: string;
5543
+ current: ModelTypes["Json"];
5544
+ next: ModelTypes["Json"];
5545
+ details?: ModelTypes["Json"] | undefined;
5546
+ };
5547
+ ["DbDiffSchema"]: {
5548
+ fields: Array<ModelTypes["DbDiffField"] | undefined>;
5549
+ };
5550
+ ["MongoDbConfigType"]: MongoDbConfigType;
5551
+ ["MongoDbEnv"]: MongoDbEnv;
5552
+ ["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
5553
+ ["MongoDbFieldType"]: MongoDbFieldType;
5495
5554
  ["Developer"]: {
5496
5555
  id: string;
5497
5556
  user?: ModelTypes["User"] | undefined;
@@ -5882,6 +5941,9 @@ export type ModelTypes = {
5882
5941
  ["DbConfigMutationResponse"]: {
5883
5942
  dbConfigMutation: ModelTypes["Json"];
5884
5943
  };
5944
+ ["DbConfigToProdMutationResponse"]: {
5945
+ dbConfigToProdMutation: ModelTypes["Json"];
5946
+ };
5885
5947
  ["DbSetResponse"]: {
5886
5948
  dbSet?: ModelTypes["Json"] | undefined;
5887
5949
  };
@@ -6108,6 +6170,16 @@ export type ModelTypes = {
6108
6170
  ["UserListResponse"]: {
6109
6171
  userList: Array<ModelTypes["User"]>;
6110
6172
  };
6173
+ ["DbGetDiffConfig"]: {
6174
+ env: ModelTypes["MongoDbEnv"];
6175
+ current: ModelTypes["Json"];
6176
+ next: ModelTypes["Json"];
6177
+ diff: ModelTypes["Json"];
6178
+ hash: string;
6179
+ };
6180
+ ["DbGetDiffConfigResponse"]: {
6181
+ dbGetDiffConfig: ModelTypes["DbGetDiffConfig"];
6182
+ };
6111
6183
  ["BalanceStripeResponse"]: {
6112
6184
  amount: number;
6113
6185
  currency: string;
@@ -6281,30 +6353,6 @@ export type ModelTypes = {
6281
6353
  type: ModelTypes["PayoutType"];
6282
6354
  };
6283
6355
  ["PayoutType"]: PayoutType;
6284
- ["InvoiceResponse"]: {
6285
- id: string;
6286
- account_country?: string | undefined;
6287
- account_name?: string | undefined;
6288
- amount_due: number;
6289
- amount_paid: number;
6290
- amount_remaining: number;
6291
- application_fee_amount?: number | undefined;
6292
- attempt_count?: number | undefined;
6293
- attempted?: boolean | undefined;
6294
- created: number;
6295
- currency: string;
6296
- due_date?: number | undefined;
6297
- ending_balance?: number | undefined;
6298
- hosted_invoice_url?: string | undefined;
6299
- invoice_pdf?: string | undefined;
6300
- paid: boolean;
6301
- receipt_number?: string | undefined;
6302
- tax?: number | undefined;
6303
- total?: number | undefined;
6304
- };
6305
- ["InvoicesResponse"]: {
6306
- invoices: ModelTypes["InvoiceResponse"];
6307
- };
6308
6356
  ["TemporaryUser"]: {
6309
6357
  id: string;
6310
6358
  mails: Array<ModelTypes["MailIntegrity"]>;
@@ -6422,6 +6470,7 @@ export type ModelTypes = {
6422
6470
  blog?: ModelTypes["BlogResult"] | undefined;
6423
6471
  dbConfig?: ModelTypes["DbConfigResult"] | undefined;
6424
6472
  dbGet?: ModelTypes["DbGetResult"] | undefined;
6473
+ dbGetDiff?: ModelTypes["DbGetDiffResult"] | undefined;
6425
6474
  dbSearch?: ModelTypes["DbSearchResult"] | undefined;
6426
6475
  deletedMails?: ModelTypes["DeletedMailsResult"] | undefined;
6427
6476
  deletedNodes?: ModelTypes["DeletedNodesResult"] | undefined;
@@ -6459,8 +6508,6 @@ export type ModelTypes = {
6459
6508
  getPaymentRequestToCollect?: ModelTypes["GetPaymentRequestToCollectResult"] | undefined;
6460
6509
  getPaymentRequestToPay?: ModelTypes["GetPaymentRequestToPayResult"] | undefined;
6461
6510
  isValidPaymentIntent?: ModelTypes["IsValidPaymentIntentResult"] | undefined;
6462
- getInvoice?: ModelTypes["GetInvoiceResult"] | undefined;
6463
- getInvoices?: ModelTypes["GetInvoicesResult"] | undefined;
6464
6511
  };
6465
6512
  ["Mutation"]: {
6466
6513
  addFileToHistory?: ModelTypes["AddFileToHistoryResult"] | undefined;
@@ -6469,6 +6516,7 @@ export type ModelTypes = {
6469
6516
  createDraftMail?: ModelTypes["CreateDraftMailResult"] | undefined;
6470
6517
  createFolder?: ModelTypes["CreateFolderResult"] | undefined;
6471
6518
  dbConfigMutation?: ModelTypes["DbConfigMutationResult"] | undefined;
6519
+ dbConfigToProdMutation?: ModelTypes["DbConfigToProdMutationResult"] | undefined;
6472
6520
  dbSet?: ModelTypes["DbSetResult"] | undefined;
6473
6521
  deleteAllData: boolean;
6474
6522
  deleteDraftMail?: ModelTypes["DeleteDraftMailResult"] | undefined;
@@ -6572,19 +6620,25 @@ export type GraphQLTypes = {
6572
6620
  ["...on ErrorLangNotExist"]: "__union" & GraphQLTypes["ErrorLangNotExist"];
6573
6621
  };
6574
6622
  ["DbConfigResult"]: {
6575
- __typename: "DbConfigResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorNotFound";
6623
+ __typename: "DbConfigResponse" | "ErrorAccessDenied" | "ErrorNotFound";
6576
6624
  ["...on DbConfigResponse"]: "__union" & GraphQLTypes["DbConfigResponse"];
6577
6625
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6578
- ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
6579
6626
  ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6580
6627
  };
6581
6628
  ["DbGetResult"]: {
6582
- __typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist";
6629
+ __typename: "DbGetResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound" | "ErrorNotExist";
6583
6630
  ["...on DbGetResponse"]: "__union" & GraphQLTypes["DbGetResponse"];
6584
6631
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6632
+ ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
6585
6633
  ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6586
6634
  ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
6587
6635
  };
6636
+ ["DbGetDiffResult"]: {
6637
+ __typename: "DbGetDiffConfigResponse" | "ErrorAccessDenied" | "ErrorBasic";
6638
+ ["...on DbGetDiffConfigResponse"]: "__union" & GraphQLTypes["DbGetDiffConfigResponse"];
6639
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6640
+ ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
6641
+ };
6588
6642
  ["DbSearchResult"]: {
6589
6643
  __typename: "DbSearchResponse" | "ErrorAccessDenied" | "ErrorNotExist" | "ErrorBasic";
6590
6644
  ["...on DbSearchResponse"]: "__union" & GraphQLTypes["DbSearchResponse"];
@@ -6791,18 +6845,6 @@ export type GraphQLTypes = {
6791
6845
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6792
6846
  ["...on ErrorStripe"]: "__union" & GraphQLTypes["ErrorStripe"];
6793
6847
  };
6794
- ["GetInvoiceResult"]: {
6795
- __typename: "InvoiceResponse" | "ErrorAccessDenied" | "ErrorNotFound";
6796
- ["...on InvoiceResponse"]: "__union" & GraphQLTypes["InvoiceResponse"];
6797
- ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6798
- ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6799
- };
6800
- ["GetInvoicesResult"]: {
6801
- __typename: "InvoiceResponse" | "ErrorAccessDenied" | "ErrorNotFound";
6802
- ["...on InvoiceResponse"]: "__union" & GraphQLTypes["InvoiceResponse"];
6803
- ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6804
- ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6805
- };
6806
6848
  ["AddFileToHistoryResult"]: {
6807
6849
  __typename: "AddFileToHistoryResponse" | "ErrorAccessDenied" | "ErrorNotExist";
6808
6850
  ["...on AddFileToHistoryResponse"]: "__union" & GraphQLTypes["AddFileToHistoryResponse"];
@@ -6832,14 +6874,22 @@ export type GraphQLTypes = {
6832
6874
  ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
6833
6875
  };
6834
6876
  ["DbConfigMutationResult"]: {
6835
- __typename: "DbConfigMutationResponse" | "ErrorAccessDenied";
6877
+ __typename: "DbConfigMutationResponse" | "ErrorAccessDenied" | "ErrorBasic";
6836
6878
  ["...on DbConfigMutationResponse"]: "__union" & GraphQLTypes["DbConfigMutationResponse"];
6837
6879
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6880
+ ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
6881
+ };
6882
+ ["DbConfigToProdMutationResult"]: {
6883
+ __typename: "DbConfigToProdMutationResponse" | "ErrorAccessDenied" | "ErrorBasic";
6884
+ ["...on DbConfigToProdMutationResponse"]: "__union" & GraphQLTypes["DbConfigToProdMutationResponse"];
6885
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6886
+ ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
6838
6887
  };
6839
6888
  ["DbSetResult"]: {
6840
- __typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorNotFound";
6889
+ __typename: "DbSetResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotFound";
6841
6890
  ["...on DbSetResponse"]: "__union" & GraphQLTypes["DbSetResponse"];
6842
6891
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6892
+ ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
6843
6893
  ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6844
6894
  };
6845
6895
  ["DeleteDraftMailResult"]: {
@@ -7272,6 +7322,22 @@ export type GraphQLTypes = {
7272
7322
  address: string;
7273
7323
  privateKeyEncrypted: string;
7274
7324
  };
7325
+ ["DbDiffField"]: {
7326
+ __typename: "DbDiffField";
7327
+ action: GraphQLTypes["MongoDbFieldDiffAction"];
7328
+ key: string;
7329
+ current: GraphQLTypes["Json"];
7330
+ next: GraphQLTypes["Json"];
7331
+ details?: GraphQLTypes["Json"] | undefined;
7332
+ };
7333
+ ["DbDiffSchema"]: {
7334
+ __typename: "DbDiffSchema";
7335
+ fields: Array<GraphQLTypes["DbDiffField"] | undefined>;
7336
+ };
7337
+ ["MongoDbConfigType"]: MongoDbConfigType;
7338
+ ["MongoDbEnv"]: MongoDbEnv;
7339
+ ["MongoDbFieldDiffAction"]: MongoDbFieldDiffAction;
7340
+ ["MongoDbFieldType"]: MongoDbFieldType;
7275
7341
  ["Developer"]: {
7276
7342
  __typename: "Developer";
7277
7343
  id: string;
@@ -7751,6 +7817,10 @@ export type GraphQLTypes = {
7751
7817
  __typename: "DbConfigMutationResponse";
7752
7818
  dbConfigMutation: GraphQLTypes["Json"];
7753
7819
  };
7820
+ ["DbConfigToProdMutationResponse"]: {
7821
+ __typename: "DbConfigToProdMutationResponse";
7822
+ dbConfigToProdMutation: GraphQLTypes["Json"];
7823
+ };
7754
7824
  ["DbSetResponse"]: {
7755
7825
  __typename: "DbSetResponse";
7756
7826
  dbSet?: GraphQLTypes["Json"] | undefined;
@@ -8052,6 +8122,18 @@ export type GraphQLTypes = {
8052
8122
  __typename: "UserListResponse";
8053
8123
  userList: Array<GraphQLTypes["User"]>;
8054
8124
  };
8125
+ ["DbGetDiffConfig"]: {
8126
+ __typename: "DbGetDiffConfig";
8127
+ env: GraphQLTypes["MongoDbEnv"];
8128
+ current: GraphQLTypes["Json"];
8129
+ next: GraphQLTypes["Json"];
8130
+ diff: GraphQLTypes["Json"];
8131
+ hash: string;
8132
+ };
8133
+ ["DbGetDiffConfigResponse"]: {
8134
+ __typename: "DbGetDiffConfigResponse";
8135
+ dbGetDiffConfig: GraphQLTypes["DbGetDiffConfig"];
8136
+ };
8055
8137
  ["BalanceStripeResponse"]: {
8056
8138
  __typename: "BalanceStripeResponse";
8057
8139
  amount: number;
@@ -8251,32 +8333,6 @@ export type GraphQLTypes = {
8251
8333
  type: GraphQLTypes["PayoutType"];
8252
8334
  };
8253
8335
  ["PayoutType"]: PayoutType;
8254
- ["InvoiceResponse"]: {
8255
- __typename: "InvoiceResponse";
8256
- id: string;
8257
- account_country?: string | undefined;
8258
- account_name?: string | undefined;
8259
- amount_due: number;
8260
- amount_paid: number;
8261
- amount_remaining: number;
8262
- application_fee_amount?: number | undefined;
8263
- attempt_count?: number | undefined;
8264
- attempted?: boolean | undefined;
8265
- created: number;
8266
- currency: string;
8267
- due_date?: number | undefined;
8268
- ending_balance?: number | undefined;
8269
- hosted_invoice_url?: string | undefined;
8270
- invoice_pdf?: string | undefined;
8271
- paid: boolean;
8272
- receipt_number?: string | undefined;
8273
- tax?: number | undefined;
8274
- total?: number | undefined;
8275
- };
8276
- ["InvoicesResponse"]: {
8277
- __typename: "InvoicesResponse";
8278
- invoices: GraphQLTypes["InvoiceResponse"];
8279
- };
8280
8336
  ["TemporaryUser"]: {
8281
8337
  __typename: "TemporaryUser";
8282
8338
  id: string;
@@ -8406,6 +8462,7 @@ export type GraphQLTypes = {
8406
8462
  blog?: GraphQLTypes["BlogResult"] | undefined;
8407
8463
  dbConfig?: GraphQLTypes["DbConfigResult"] | undefined;
8408
8464
  dbGet?: GraphQLTypes["DbGetResult"] | undefined;
8465
+ dbGetDiff?: GraphQLTypes["DbGetDiffResult"] | undefined;
8409
8466
  dbSearch?: GraphQLTypes["DbSearchResult"] | undefined;
8410
8467
  deletedMails?: GraphQLTypes["DeletedMailsResult"] | undefined;
8411
8468
  deletedNodes?: GraphQLTypes["DeletedNodesResult"] | undefined;
@@ -8443,8 +8500,6 @@ export type GraphQLTypes = {
8443
8500
  getPaymentRequestToCollect?: GraphQLTypes["GetPaymentRequestToCollectResult"] | undefined;
8444
8501
  getPaymentRequestToPay?: GraphQLTypes["GetPaymentRequestToPayResult"] | undefined;
8445
8502
  isValidPaymentIntent?: GraphQLTypes["IsValidPaymentIntentResult"] | undefined;
8446
- getInvoice?: GraphQLTypes["GetInvoiceResult"] | undefined;
8447
- getInvoices?: GraphQLTypes["GetInvoicesResult"] | undefined;
8448
8503
  };
8449
8504
  ["Mutation"]: {
8450
8505
  __typename: "Mutation";
@@ -8454,6 +8509,7 @@ export type GraphQLTypes = {
8454
8509
  createDraftMail?: GraphQLTypes["CreateDraftMailResult"] | undefined;
8455
8510
  createFolder?: GraphQLTypes["CreateFolderResult"] | undefined;
8456
8511
  dbConfigMutation?: GraphQLTypes["DbConfigMutationResult"] | undefined;
8512
+ dbConfigToProdMutation?: GraphQLTypes["DbConfigToProdMutationResult"] | undefined;
8457
8513
  dbSet?: GraphQLTypes["DbSetResult"] | undefined;
8458
8514
  deleteAllData: boolean;
8459
8515
  deleteDraftMail?: GraphQLTypes["DeleteDraftMailResult"] | undefined;
@@ -8552,6 +8608,25 @@ export declare enum PaymentMethod {
8552
8608
  card = "card",
8553
8609
  wire_transfer = "wire_transfer"
8554
8610
  }
8611
+ export declare enum MongoDbConfigType {
8612
+ current = "current",
8613
+ next = "next"
8614
+ }
8615
+ export declare enum MongoDbEnv {
8616
+ dev = "dev",
8617
+ prod = "prod"
8618
+ }
8619
+ export declare enum MongoDbFieldDiffAction {
8620
+ add = "add",
8621
+ update = "update",
8622
+ delete = "delete"
8623
+ }
8624
+ export declare enum MongoDbFieldType {
8625
+ string = "string",
8626
+ number = "number",
8627
+ boolean = "boolean",
8628
+ object = "object"
8629
+ }
8555
8630
  export declare enum SortByDate {
8556
8631
  createdAt = "createdAt",
8557
8632
  createdAt_asc = "createdAt_asc",
@@ -8621,6 +8696,10 @@ type ZEUS_VARIABLES = {
8621
8696
  ["Rights"]: ValueTypes["Rights"];
8622
8697
  ["NodeType"]: ValueTypes["NodeType"];
8623
8698
  ["PaymentMethod"]: ValueTypes["PaymentMethod"];
8699
+ ["MongoDbConfigType"]: ValueTypes["MongoDbConfigType"];
8700
+ ["MongoDbEnv"]: ValueTypes["MongoDbEnv"];
8701
+ ["MongoDbFieldDiffAction"]: ValueTypes["MongoDbFieldDiffAction"];
8702
+ ["MongoDbFieldType"]: ValueTypes["MongoDbFieldType"];
8624
8703
  ["SortByDate"]: ValueTypes["SortByDate"];
8625
8704
  ["FileContentType"]: ValueTypes["FileContentType"];
8626
8705
  ["InfuraNetwork"]: ValueTypes["InfuraNetwork"];