@shopify/shop-minis-cli 0.0.37 → 0.0.82
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/.eslintrc.cjs +78 -0
- package/.vscode/extensions.json +3 -0
- package/.vscode/launch.json +29 -0
- package/.vscode/settings.json +8 -0
- package/.vscode/shop-minis-cli.code-workspace +8 -0
- package/build/commands/cancel-submission/cancel-submission.d.ts +1 -0
- package/build/commands/cancel-submission/cancel-submission.js +57 -0
- package/build/commands/cancel-submission/cancel-submission.js.map +1 -0
- package/build/commands/cancel-submission/index.d.ts +2 -0
- package/build/commands/cancel-submission/index.js +18 -0
- package/build/commands/cancel-submission/index.js.map +1 -0
- package/build/commands/cancel-submission/types.d.ts +3 -0
- package/build/commands/cancel-submission/types.js +2 -0
- package/build/commands/cancel-submission/types.js.map +1 -0
- package/build/commands/check-submission/index.d.ts +2 -0
- package/build/commands/check-submission/index.js +55 -0
- package/build/commands/check-submission/index.js.map +1 -0
- package/build/commands/check-submission/types.d.ts +3 -0
- package/build/commands/check-submission/types.js +2 -0
- package/build/commands/check-submission/types.js.map +1 -0
- package/build/commands/codemod/index.d.ts +3 -0
- package/build/commands/codemod/index.js +47 -0
- package/build/commands/codemod/index.js.map +1 -0
- package/build/commands/codemod/releases/index.d.ts +7 -0
- package/build/commands/codemod/releases/index.js +58 -0
- package/build/commands/codemod/releases/index.js.map +1 -0
- package/build/commands/codemod/releases/types.d.ts +9 -0
- package/build/commands/codemod/releases/types.js +2 -0
- package/build/commands/codemod/releases/types.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-42/index.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-42/index.js +46 -0
- package/build/commands/codemod/releases/v0-0-42/index.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-42/reset-files.d.ts +7 -0
- package/build/commands/codemod/releases/v0-0-42/reset-files.js +83 -0
- package/build/commands/codemod/releases/v0-0-42/reset-files.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-43.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-43.js +32 -0
- package/build/commands/codemod/releases/v0-0-43.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-44.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-44.js +214 -0
- package/build/commands/codemod/releases/v0-0-44.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-45.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-45.js +23 -0
- package/build/commands/codemod/releases/v0-0-45.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-50.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-50.js +34 -0
- package/build/commands/codemod/releases/v0-0-50.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-54.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-54.js +70 -0
- package/build/commands/codemod/releases/v0-0-54.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-56.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-56.js +48 -0
- package/build/commands/codemod/releases/v0-0-56.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-57.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-57.js +41 -0
- package/build/commands/codemod/releases/v0-0-57.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-58.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-58.js +68 -0
- package/build/commands/codemod/releases/v0-0-58.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-61.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-61.js +30 -0
- package/build/commands/codemod/releases/v0-0-61.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-63.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-63.js +42 -0
- package/build/commands/codemod/releases/v0-0-63.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-64.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-64.js +47 -0
- package/build/commands/codemod/releases/v0-0-64.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-75.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-75.js +30 -0
- package/build/commands/codemod/releases/v0-0-75.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-76.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-76.js +32 -0
- package/build/commands/codemod/releases/v0-0-76.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-77.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-77.js +39 -0
- package/build/commands/codemod/releases/v0-0-77.js.map +1 -0
- package/build/commands/codemod/releases/v0-0-79.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-79.js +35 -0
- package/build/commands/codemod/releases/v0-0-79.js.map +1 -0
- package/build/commands/config.d.ts +14 -0
- package/build/commands/config.js +42 -0
- package/build/commands/config.js.map +1 -0
- package/build/commands/create-mini/index.js +84 -68
- package/build/commands/create-mini/index.js.map +1 -1
- package/build/commands/create-mini/utils/template-app.d.ts +1 -1
- package/build/commands/create-mini/utils/template-app.js +38 -38
- package/build/commands/create-mini/utils/template-app.js.map +1 -1
- package/build/commands/dev/index.d.ts +3 -0
- package/build/commands/dev/index.js +51 -22
- package/build/commands/dev/index.js.map +1 -1
- package/build/commands/dev/utils/android.d.ts +6 -4
- package/build/commands/dev/utils/android.js +55 -67
- package/build/commands/dev/utils/android.js.map +1 -1
- package/build/commands/dev/utils/binaries.d.ts +2 -80
- package/build/commands/dev/utils/binaries.js +10 -166
- package/build/commands/dev/utils/binaries.js.map +1 -1
- package/build/commands/dev/utils/build-type.d.ts +2 -0
- package/build/commands/dev/utils/build-type.js +14 -0
- package/build/commands/dev/utils/build-type.js.map +1 -0
- package/build/commands/dev/utils/deeplink.d.ts +3 -3
- package/build/commands/dev/utils/deeplink.js +13 -18
- package/build/commands/dev/utils/deeplink.js.map +1 -1
- package/build/commands/dev/utils/interactive-terminal.d.ts +4 -2
- package/build/commands/dev/utils/interactive-terminal.js +66 -107
- package/build/commands/dev/utils/interactive-terminal.js.map +1 -1
- package/build/commands/dev/utils/metro/metro-config.js +17 -20
- package/build/commands/dev/utils/metro/metro-config.js.map +1 -1
- package/build/commands/dev/utils/metro/metro-reporter.d.ts +3 -4
- package/build/commands/dev/utils/metro/metro-reporter.js +6 -13
- package/build/commands/dev/utils/metro/metro-reporter.js.map +1 -1
- package/build/commands/dev/utils/metro/metro-server-middleware.d.ts +1 -0
- package/build/commands/dev/utils/metro/metro-server-middleware.js +11 -12
- package/build/commands/dev/utils/metro/metro-server-middleware.js.map +1 -1
- package/build/commands/dev/utils/metro/metro-server.d.ts +2 -2
- package/build/commands/dev/utils/metro/metro-server.js +7 -14
- package/build/commands/dev/utils/metro/metro-server.js.map +1 -1
- package/build/commands/dev/utils/network.d.ts +20 -0
- package/build/commands/dev/utils/network.js +122 -0
- package/build/commands/dev/utils/network.js.map +1 -0
- package/build/commands/dev/utils/platform.d.ts +18 -0
- package/build/commands/dev/utils/platform.js +41 -0
- package/build/commands/dev/utils/platform.js.map +1 -0
- package/build/commands/dev/utils/prompt-binary-upgrade.d.ts +1 -0
- package/build/commands/dev/utils/prompt-binary-upgrade.js +12 -0
- package/build/commands/dev/utils/prompt-binary-upgrade.js.map +1 -0
- package/build/commands/dev/utils/qr-code.js +3 -10
- package/build/commands/dev/utils/qr-code.js.map +1 -1
- package/build/commands/dev/utils/simulator.d.ts +5 -2
- package/build/commands/dev/utils/simulator.js +43 -37
- package/build/commands/dev/utils/simulator.js.map +1 -1
- package/build/commands/dev/utils/start-app/config.d.ts +5 -0
- package/build/commands/dev/utils/start-app/config.js +25 -0
- package/build/commands/dev/utils/start-app/config.js.map +1 -0
- package/build/commands/dev/utils/start-app/start-app-with-options.d.ts +2 -0
- package/build/commands/dev/utils/start-app/start-app-with-options.js +94 -0
- package/build/commands/dev/utils/start-app/start-app-with-options.js.map +1 -0
- package/build/commands/dev/utils/start-app/start-app.d.ts +2 -0
- package/build/commands/dev/utils/start-app/start-app.js +10 -0
- package/build/commands/dev/utils/start-app/start-app.js.map +1 -0
- package/build/commands/dev/utils/start-app/types.d.ts +20 -0
- package/build/commands/dev/utils/start-app/types.js +2 -0
- package/build/commands/dev/utils/start-app/types.js.map +1 -0
- package/build/commands/dev/utils/types.d.ts +24 -0
- package/build/commands/dev/utils/types.js +7 -0
- package/build/commands/dev/utils/types.js.map +1 -0
- package/build/commands/dev/utils/version.d.ts +64 -0
- package/build/commands/dev/utils/version.js +101 -0
- package/build/commands/dev/utils/version.js.map +1 -0
- package/build/commands/dev/utils/with-retries.js +1 -5
- package/build/commands/dev/utils/with-retries.js.map +1 -1
- package/build/commands/doctor/index.d.ts +6 -0
- package/build/commands/doctor/index.js +21 -0
- package/build/commands/doctor/index.js.map +1 -0
- package/build/commands/doctor/utils/diagnose-dependencies.d.ts +7 -0
- package/build/commands/doctor/utils/diagnose-dependencies.js +108 -0
- package/build/commands/doctor/utils/diagnose-dependencies.js.map +1 -0
- package/build/commands/generate-graphql-types/index.d.ts +1 -0
- package/build/commands/generate-graphql-types/index.js +43 -27
- package/build/commands/generate-graphql-types/index.js.map +1 -1
- package/build/commands/info/index.d.ts +3 -0
- package/build/commands/info/index.js +42 -0
- package/build/commands/info/index.js.map +1 -0
- package/build/commands/setup/index.d.ts +2 -0
- package/build/commands/setup/index.js +81 -0
- package/build/commands/setup/index.js.map +1 -0
- package/build/commands/submit/config.d.ts +9 -0
- package/build/commands/submit/config.js +18 -0
- package/build/commands/submit/config.js.map +1 -0
- package/build/commands/submit/errors.d.ts +19 -0
- package/build/commands/submit/errors.js +87 -0
- package/build/commands/submit/errors.js.map +1 -0
- package/build/commands/submit/gcs.d.ts +6 -0
- package/build/commands/submit/gcs.js +10 -0
- package/build/commands/submit/gcs.js.map +1 -0
- package/build/commands/submit/index.d.ts +2 -0
- package/build/commands/submit/index.js +25 -0
- package/build/commands/submit/index.js.map +1 -0
- package/build/commands/submit/submit.d.ts +5 -0
- package/build/commands/submit/submit.js +222 -0
- package/build/commands/submit/submit.js.map +1 -0
- package/build/commands/submit/tasks.d.ts +37 -0
- package/build/commands/submit/tasks.js +91 -0
- package/build/commands/submit/tasks.js.map +1 -0
- package/build/commands/submit/types.d.ts +14 -0
- package/build/commands/submit/types.js +2 -0
- package/build/commands/submit/types.js.map +1 -0
- package/build/commands/submit/utils/assert-core-dependencies-version.d.ts +1 -0
- package/build/commands/submit/utils/assert-core-dependencies-version.js +58 -0
- package/build/commands/submit/utils/assert-core-dependencies-version.js.map +1 -0
- package/build/commands/submit/utils/request-entry-point-params.d.ts +1 -0
- package/build/commands/submit/utils/request-entry-point-params.js +41 -0
- package/build/commands/submit/utils/request-entry-point-params.js.map +1 -0
- package/build/commands/submit/validation.d.ts +1 -0
- package/build/commands/submit/validation.js +11 -0
- package/build/commands/submit/validation.js.map +1 -0
- package/build/commands/upgrade/index.d.ts +13 -0
- package/build/commands/upgrade/index.js +53 -0
- package/build/commands/upgrade/index.js.map +1 -0
- package/build/commands/upgrade/utils/cli.d.ts +1 -0
- package/build/commands/upgrade/utils/cli.js +15 -0
- package/build/commands/upgrade/utils/cli.js.map +1 -0
- package/build/commands/validate-manifest/index.d.ts +3 -0
- package/build/commands/validate-manifest/index.js +29 -0
- package/build/commands/validate-manifest/index.js.map +1 -0
- package/build/data/accept-invitation.d.ts +4 -0
- package/build/data/accept-invitation.js +16 -0
- package/build/data/accept-invitation.js.map +1 -0
- package/build/data/cancel-submission.d.ts +22 -0
- package/build/data/cancel-submission.js +26 -0
- package/build/data/cancel-submission.js.map +1 -0
- package/build/data/create-submission.d.ts +20 -0
- package/build/data/create-submission.js +27 -0
- package/build/data/create-submission.js.map +1 -0
- package/build/data/create-upload.d.ts +21 -0
- package/build/data/create-upload.js +40 -0
- package/build/data/create-upload.js.map +1 -0
- package/build/data/get-submissions.d.ts +27 -0
- package/build/data/get-submissions.js +33 -0
- package/build/data/get-submissions.js.map +1 -0
- package/build/data/gql-client.d.ts +8 -0
- package/build/data/gql-client.js +9 -0
- package/build/data/gql-client.js.map +1 -0
- package/build/data/mini.d.ts +5 -0
- package/build/data/mini.js +14 -0
- package/build/data/mini.js.map +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/fragment-masking.d.ts +13 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/fragment-masking.js +7 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/fragment-masking.js.map +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +75 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +24 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js.map +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +1570 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +1062 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/index.d.ts +2 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/index.js +3 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/index.js.map +1 -0
- package/build/dev-panel/asset-manifest.json +6 -9
- package/build/dev-panel/index.html +1 -1
- package/build/dev-panel/static/css/{main.31436fe3.css → main.7f1ee407.css} +2 -2
- package/build/dev-panel/static/css/main.7f1ee407.css.map +1 -0
- package/build/dev-panel/static/js/{main.27f47095.js → main.6625699c.js} +3 -3
- package/build/dev-panel/static/js/main.6625699c.js.map +1 -0
- package/build/index.d.ts +1 -1
- package/build/index.js +30 -15
- package/build/index.js.map +1 -1
- package/build/schemas/manifest.schema.json +198 -0
- package/build/utils/archive.d.ts +30 -0
- package/build/utils/archive.js +38 -0
- package/build/utils/archive.js.map +1 -0
- package/build/utils/common-tasks.d.ts +1 -0
- package/build/utils/common-tasks.js +49 -0
- package/build/utils/common-tasks.js.map +1 -0
- package/build/utils/development-params.d.ts +13 -0
- package/build/utils/development-params.js +42 -0
- package/build/utils/development-params.js.map +1 -0
- package/build/{commands/utils → utils}/exec-async-child-process.d.ts +1 -1
- package/build/{commands/utils → utils}/exec-async-child-process.js +6 -13
- package/build/utils/exec-async-child-process.js.map +1 -0
- package/build/utils/file.d.ts +1 -0
- package/build/utils/file.js +7 -0
- package/build/utils/file.js.map +1 -0
- package/build/utils/minis-manifest.d.ts +6 -0
- package/build/utils/minis-manifest.js +56 -0
- package/build/utils/minis-manifest.js.map +1 -0
- package/build/utils/package-manager.d.ts +38 -0
- package/build/utils/package-manager.js +98 -0
- package/build/utils/package-manager.js.map +1 -0
- package/build/utils/patch-package.d.ts +5 -0
- package/build/utils/patch-package.js +76 -0
- package/build/utils/patch-package.js.map +1 -0
- package/build/utils/replace-strings-in-template.d.ts +1 -0
- package/build/utils/replace-strings-in-template.js +15 -0
- package/build/utils/replace-strings-in-template.js.map +1 -0
- package/build/utils/semver.d.ts +1 -0
- package/build/utils/semver.js +19 -0
- package/build/utils/semver.js.map +1 -0
- package/build/{commands/utils → utils}/wrap-with-loading-indicator.d.ts +1 -1
- package/build/utils/wrap-with-loading-indicator.js +16 -0
- package/build/utils/wrap-with-loading-indicator.js.map +1 -0
- package/package.json +35 -28
- package/scripts/graphql-codegen.ts +23 -0
- package/scripts/test-template.ts +63 -0
- package/shipit.alpha.yml +3 -0
- package/templates/__template_blank/src/index.tsx +5 -4
- package/templates/__template_blank/src/types.ts +1 -1
- package/templates/__template_common/.eslintrc.js +16 -0
- package/templates/__template_common/assets.d.ts +14 -0
- package/templates/__template_common/babel.config.js +3 -17
- package/templates/__template_common/gitignore +2 -0
- package/templates/__template_common/index.tsx +3 -6
- package/templates/__template_common/metro.config.js +4 -30
- package/templates/__template_common/package.json +17 -47
- package/templates/__template_common/src/manifest.json +1 -27
- package/templates/__template_hello_world/src/components/ComponentLink.ts +31 -19
- package/templates/__template_hello_world/src/components/ComponentListItem.tsx +1 -0
- package/templates/__template_hello_world/src/components/FeaturedComponents.tsx +4 -2
- package/templates/__template_hello_world/src/components/quiz/ImageCarouselSlide.tsx +54 -0
- package/templates/__template_hello_world/src/components/quiz/MultipleChoiceSlide.tsx +77 -0
- package/templates/__template_hello_world/src/components/quiz/QuizProvider.tsx +64 -0
- package/templates/__template_hello_world/src/components/quiz/QuizSlide.tsx +79 -0
- package/templates/__template_hello_world/src/components/quiz/QuizSlideCommander.tsx +35 -0
- package/templates/__template_hello_world/src/components/quiz/TextFieldSlide.tsx +84 -0
- package/templates/__template_hello_world/src/components/quiz/TextSlide.tsx +6 -0
- package/templates/__template_hello_world/src/components/quiz/types.ts +72 -0
- package/templates/__template_hello_world/src/data/Test.graphql.d.ts +69 -76
- package/templates/__template_hello_world/src/data/TestProducts.graphql +30 -0
- package/templates/__template_hello_world/src/data/TestProducts.graphql.d.ts +159 -81
- package/templates/__template_hello_world/src/fixtures/mocked-products-with-variants.ts +274 -0
- package/templates/__template_hello_world/src/hooks/useQuizData.ts +26 -0
- package/templates/__template_hello_world/src/hooks/useQuizState.ts +27 -0
- package/templates/__template_hello_world/src/index.tsx +6 -5
- package/templates/__template_hello_world/src/routes.tsx +46 -22
- package/templates/__template_hello_world/src/screens/AccordionScreen.tsx +73 -0
- package/templates/__template_hello_world/src/screens/BottomSheetScreen.tsx +6 -5
- package/templates/__template_hello_world/src/screens/HomeScreen.tsx +14 -3
- package/templates/__template_hello_world/src/screens/{ImageCarouselScreen.tsx → ImageMultipleChoiceScreen.tsx} +4 -6
- package/templates/__template_hello_world/src/screens/InputScreen.tsx +13 -70
- package/templates/__template_hello_world/src/screens/QuizResultScreen.tsx +82 -0
- package/templates/__template_hello_world/src/screens/QuizScreen.tsx +40 -0
- package/templates/__template_hello_world/src/screens/QuizSlideScreen.tsx +150 -0
- package/templates/__template_hello_world/src/screens/ShopActionsScreen.tsx +48 -0
- package/templates/__template_hello_world/src/screens/VariantPickerScreen.tsx +120 -0
- package/templates/__template_hello_world/src/types.ts +27 -24
- package/templates/__template_hello_world/src/utils/mockQuizData.ts +330 -0
- package/templates/__template_hello_world/src/utils/quizUtils.ts +75 -0
- package/templates/__template_snowboardz/src/components/SkillLevelIcon.tsx +1 -4
- package/templates/__template_snowboardz/src/components/SkillLevelPicker.tsx +7 -1
- package/templates/__template_snowboardz/src/data/TestProducts.graphql +1 -1
- package/templates/__template_snowboardz/src/data/TestProducts.graphql.d.ts +84 -74
- package/templates/__template_snowboardz/src/index.tsx +6 -5
- package/templates/__template_snowboardz/src/routes.tsx +2 -2
- package/templates/__template_snowboardz/src/types.ts +3 -3
- package/build/commands/check/index.d.ts +0 -5
- package/build/commands/check/index.js +0 -77
- package/build/commands/check/index.js.map +0 -1
- package/build/commands/check/utils/versions.d.ts +0 -1
- package/build/commands/check/utils/versions.js +0 -14
- package/build/commands/check/utils/versions.js.map +0 -1
- package/build/commands/dev/utils/binaries.test.d.ts +0 -1
- package/build/commands/dev/utils/binaries.test.js +0 -275
- package/build/commands/dev/utils/binaries.test.js.map +0 -1
- package/build/commands/dev/utils/minis-manifest.d.ts +0 -1
- package/build/commands/dev/utils/minis-manifest.js +0 -24
- package/build/commands/dev/utils/minis-manifest.js.map +0 -1
- package/build/commands/utils/exec-async-child-process.js.map +0 -1
- package/build/commands/utils/wrap-with-loading-indicator.js +0 -23
- package/build/commands/utils/wrap-with-loading-indicator.js.map +0 -1
- package/build/dev-panel/middleware.d.ts +0 -4
- package/build/dev-panel/middleware.js +0 -11
- package/build/dev-panel/middleware.js.map +0 -1
- package/build/dev-panel/static/css/main.31436fe3.css.map +0 -1
- package/build/dev-panel/static/js/main.27f47095.js.map +0 -1
- package/build/dev-panel/static/media/bottomsheet.fe525b8722f6d504a185.png +0 -0
- package/build/dev-panel/static/media/navigation.597434370a97c328a970.png +0 -0
- package/build/dev-panel/static/media/stories.a425b6972a5338fabdad.png +0 -0
- package/templates/__template_blank/src/custom.d.ts +0 -4
- package/templates/__template_common/.eslintrc.json +0 -132
- package/templates/__template_common/patches/react-native+0.68.5.patch +0 -173
- package/templates/__template_hello_world/src/utils/getFlagEmoji.spec.tsx +0 -19
- /package/build/dev-panel/static/js/{main.27f47095.js.LICENSE.txt → main.6625699c.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,1062 @@
|
|
|
1
|
+
/** ISO currency code. */
|
|
2
|
+
export var CurrencyCode;
|
|
3
|
+
(function (CurrencyCode) {
|
|
4
|
+
/** United Arab Emirates Dirham. */
|
|
5
|
+
CurrencyCode["Aed"] = "AED";
|
|
6
|
+
/** Afghan Afghani. */
|
|
7
|
+
CurrencyCode["Afn"] = "AFN";
|
|
8
|
+
/** Albanian Lek. */
|
|
9
|
+
CurrencyCode["All"] = "ALL";
|
|
10
|
+
/** Armenian Dram. */
|
|
11
|
+
CurrencyCode["Amd"] = "AMD";
|
|
12
|
+
/** Netherlands Antillean Gulden. */
|
|
13
|
+
CurrencyCode["Ang"] = "ANG";
|
|
14
|
+
/** Angolan Kwanza. */
|
|
15
|
+
CurrencyCode["Aoa"] = "AOA";
|
|
16
|
+
/** Argentine Peso. */
|
|
17
|
+
CurrencyCode["Ars"] = "ARS";
|
|
18
|
+
/** Australian Dollar. */
|
|
19
|
+
CurrencyCode["Aud"] = "AUD";
|
|
20
|
+
/** Aruban Florin. */
|
|
21
|
+
CurrencyCode["Awg"] = "AWG";
|
|
22
|
+
/** Azerbaijani Manat. */
|
|
23
|
+
CurrencyCode["Azn"] = "AZN";
|
|
24
|
+
/** Bosnia and Herzegovina Convertible Mark. */
|
|
25
|
+
CurrencyCode["Bam"] = "BAM";
|
|
26
|
+
/** Barbadian Dollar. */
|
|
27
|
+
CurrencyCode["Bbd"] = "BBD";
|
|
28
|
+
/** Bangladeshi Taka. */
|
|
29
|
+
CurrencyCode["Bdt"] = "BDT";
|
|
30
|
+
/** Bulgarian Lev. */
|
|
31
|
+
CurrencyCode["Bgn"] = "BGN";
|
|
32
|
+
/** Bahraini Dinar. */
|
|
33
|
+
CurrencyCode["Bhd"] = "BHD";
|
|
34
|
+
/** Burundian Franc. */
|
|
35
|
+
CurrencyCode["Bif"] = "BIF";
|
|
36
|
+
/** Bermudian Dollar. */
|
|
37
|
+
CurrencyCode["Bmd"] = "BMD";
|
|
38
|
+
/** Brunei Dollar. */
|
|
39
|
+
CurrencyCode["Bnd"] = "BND";
|
|
40
|
+
/** Bolivian Boliviano. */
|
|
41
|
+
CurrencyCode["Bob"] = "BOB";
|
|
42
|
+
/** Brazilian Real. */
|
|
43
|
+
CurrencyCode["Brl"] = "BRL";
|
|
44
|
+
/** Bahamian Dollar. */
|
|
45
|
+
CurrencyCode["Bsd"] = "BSD";
|
|
46
|
+
/** Bhutanese Ngultrum. */
|
|
47
|
+
CurrencyCode["Btn"] = "BTN";
|
|
48
|
+
/** Botswana Pula. */
|
|
49
|
+
CurrencyCode["Bwp"] = "BWP";
|
|
50
|
+
/** Belarusian Ruble. */
|
|
51
|
+
CurrencyCode["Byn"] = "BYN";
|
|
52
|
+
/** Belarusian Ruble. */
|
|
53
|
+
CurrencyCode["Byr"] = "BYR";
|
|
54
|
+
/** Belize Dollar. */
|
|
55
|
+
CurrencyCode["Bzd"] = "BZD";
|
|
56
|
+
/** Canadian Dollar. */
|
|
57
|
+
CurrencyCode["Cad"] = "CAD";
|
|
58
|
+
/** Congolese Franc. */
|
|
59
|
+
CurrencyCode["Cdf"] = "CDF";
|
|
60
|
+
/** Swiss Franc. */
|
|
61
|
+
CurrencyCode["Chf"] = "CHF";
|
|
62
|
+
/** Unidad de Fomento. */
|
|
63
|
+
CurrencyCode["Clf"] = "CLF";
|
|
64
|
+
/** Chilean Peso. */
|
|
65
|
+
CurrencyCode["Clp"] = "CLP";
|
|
66
|
+
/** Chinese Renminbi Yuan. */
|
|
67
|
+
CurrencyCode["Cny"] = "CNY";
|
|
68
|
+
/** Colombian Peso. */
|
|
69
|
+
CurrencyCode["Cop"] = "COP";
|
|
70
|
+
/** Costa Rican Colón. */
|
|
71
|
+
CurrencyCode["Crc"] = "CRC";
|
|
72
|
+
/** Cuban Convertible Peso. */
|
|
73
|
+
CurrencyCode["Cuc"] = "CUC";
|
|
74
|
+
/** Cuban Peso. */
|
|
75
|
+
CurrencyCode["Cup"] = "CUP";
|
|
76
|
+
/** Cape Verdean Escudo. */
|
|
77
|
+
CurrencyCode["Cve"] = "CVE";
|
|
78
|
+
/** Cypriot pound. */
|
|
79
|
+
CurrencyCode["Cyp"] = "CYP";
|
|
80
|
+
/** Czech Koruna. */
|
|
81
|
+
CurrencyCode["Czk"] = "CZK";
|
|
82
|
+
/** Djiboutian Franc. */
|
|
83
|
+
CurrencyCode["Djf"] = "DJF";
|
|
84
|
+
/** Danish Krone. */
|
|
85
|
+
CurrencyCode["Dkk"] = "DKK";
|
|
86
|
+
/** Dominican Peso. */
|
|
87
|
+
CurrencyCode["Dop"] = "DOP";
|
|
88
|
+
/** Algerian Dinar. */
|
|
89
|
+
CurrencyCode["Dzd"] = "DZD";
|
|
90
|
+
/** Estonian Kroon. */
|
|
91
|
+
CurrencyCode["Eek"] = "EEK";
|
|
92
|
+
/** Egyptian Pound. */
|
|
93
|
+
CurrencyCode["Egp"] = "EGP";
|
|
94
|
+
/** Eritrean Nakfa. */
|
|
95
|
+
CurrencyCode["Ern"] = "ERN";
|
|
96
|
+
/** Ethiopian Birr. */
|
|
97
|
+
CurrencyCode["Etb"] = "ETB";
|
|
98
|
+
/** Euro. */
|
|
99
|
+
CurrencyCode["Eur"] = "EUR";
|
|
100
|
+
/** Fijian Dollar. */
|
|
101
|
+
CurrencyCode["Fjd"] = "FJD";
|
|
102
|
+
/** Falkland Pound. */
|
|
103
|
+
CurrencyCode["Fkp"] = "FKP";
|
|
104
|
+
/** British Pound. */
|
|
105
|
+
CurrencyCode["Gbp"] = "GBP";
|
|
106
|
+
/** British Penny. */
|
|
107
|
+
CurrencyCode["Gbx"] = "GBX";
|
|
108
|
+
/** Georgian Lari. */
|
|
109
|
+
CurrencyCode["Gel"] = "GEL";
|
|
110
|
+
/** Guernsey Pound. */
|
|
111
|
+
CurrencyCode["Ggp"] = "GGP";
|
|
112
|
+
/** Ghanaian Cedi. */
|
|
113
|
+
CurrencyCode["Ghc"] = "GHC";
|
|
114
|
+
/** Ghanaian Cedi. */
|
|
115
|
+
CurrencyCode["Ghs"] = "GHS";
|
|
116
|
+
/** Gibraltar Pound. */
|
|
117
|
+
CurrencyCode["Gip"] = "GIP";
|
|
118
|
+
/** Gambian Dalasi. */
|
|
119
|
+
CurrencyCode["Gmd"] = "GMD";
|
|
120
|
+
/** Guinean Franc. */
|
|
121
|
+
CurrencyCode["Gnf"] = "GNF";
|
|
122
|
+
/** Guatemalan Quetzal. */
|
|
123
|
+
CurrencyCode["Gtq"] = "GTQ";
|
|
124
|
+
/** Guyanese Dollar. */
|
|
125
|
+
CurrencyCode["Gyd"] = "GYD";
|
|
126
|
+
/** Hong Kong Dollar. */
|
|
127
|
+
CurrencyCode["Hkd"] = "HKD";
|
|
128
|
+
/** Honduran Lempira. */
|
|
129
|
+
CurrencyCode["Hnl"] = "HNL";
|
|
130
|
+
/** Croatian Kuna. */
|
|
131
|
+
CurrencyCode["Hrk"] = "HRK";
|
|
132
|
+
/** Haitian Gourde. */
|
|
133
|
+
CurrencyCode["Htg"] = "HTG";
|
|
134
|
+
/** Hungarian Forint. */
|
|
135
|
+
CurrencyCode["Huf"] = "HUF";
|
|
136
|
+
/** Indonesian Rupiah. */
|
|
137
|
+
CurrencyCode["Idr"] = "IDR";
|
|
138
|
+
/** Israeli New Sheqel. */
|
|
139
|
+
CurrencyCode["Ils"] = "ILS";
|
|
140
|
+
/** Isle of Man Pound. */
|
|
141
|
+
CurrencyCode["Imp"] = "IMP";
|
|
142
|
+
/** Indian Rupee. */
|
|
143
|
+
CurrencyCode["Inr"] = "INR";
|
|
144
|
+
/** Iraqi Dinar. */
|
|
145
|
+
CurrencyCode["Iqd"] = "IQD";
|
|
146
|
+
/** Iranian Rial. */
|
|
147
|
+
CurrencyCode["Irr"] = "IRR";
|
|
148
|
+
/** Icelandic Króna. */
|
|
149
|
+
CurrencyCode["Isk"] = "ISK";
|
|
150
|
+
/** Jersey Pound. */
|
|
151
|
+
CurrencyCode["Jep"] = "JEP";
|
|
152
|
+
/** Jamaican Dollar. */
|
|
153
|
+
CurrencyCode["Jmd"] = "JMD";
|
|
154
|
+
/** Jordanian Dinar. */
|
|
155
|
+
CurrencyCode["Jod"] = "JOD";
|
|
156
|
+
/** Japanese Yen. */
|
|
157
|
+
CurrencyCode["Jpy"] = "JPY";
|
|
158
|
+
/** Kenyan Shilling. */
|
|
159
|
+
CurrencyCode["Kes"] = "KES";
|
|
160
|
+
/** Kyrgyzstani Som. */
|
|
161
|
+
CurrencyCode["Kgs"] = "KGS";
|
|
162
|
+
/** Cambodian Riel. */
|
|
163
|
+
CurrencyCode["Khr"] = "KHR";
|
|
164
|
+
/** Kiribati Dollar. */
|
|
165
|
+
CurrencyCode["Kid"] = "KID";
|
|
166
|
+
/** Comorian Franc. */
|
|
167
|
+
CurrencyCode["Kmf"] = "KMF";
|
|
168
|
+
/** North Korean Won. */
|
|
169
|
+
CurrencyCode["Kpw"] = "KPW";
|
|
170
|
+
/** South Korean Won. */
|
|
171
|
+
CurrencyCode["Krw"] = "KRW";
|
|
172
|
+
/** Kuwaiti Dinar. */
|
|
173
|
+
CurrencyCode["Kwd"] = "KWD";
|
|
174
|
+
/** Cayman Islands Dollar. */
|
|
175
|
+
CurrencyCode["Kyd"] = "KYD";
|
|
176
|
+
/** Kazakhstani Tenge. */
|
|
177
|
+
CurrencyCode["Kzt"] = "KZT";
|
|
178
|
+
/** Lao Kip. */
|
|
179
|
+
CurrencyCode["Lak"] = "LAK";
|
|
180
|
+
/** Lebanese Pound. */
|
|
181
|
+
CurrencyCode["Lbp"] = "LBP";
|
|
182
|
+
/** Sri Lankan Rupee. */
|
|
183
|
+
CurrencyCode["Lkr"] = "LKR";
|
|
184
|
+
/** Liberian Dollar. */
|
|
185
|
+
CurrencyCode["Lrd"] = "LRD";
|
|
186
|
+
/** Lesotho Loti. */
|
|
187
|
+
CurrencyCode["Lsl"] = "LSL";
|
|
188
|
+
/** Lithuanian Litas. */
|
|
189
|
+
CurrencyCode["Ltl"] = "LTL";
|
|
190
|
+
/** Latvian Lats. */
|
|
191
|
+
CurrencyCode["Lvl"] = "LVL";
|
|
192
|
+
/** Libyan Dinar. */
|
|
193
|
+
CurrencyCode["Lyd"] = "LYD";
|
|
194
|
+
/** Moroccan Dirham. */
|
|
195
|
+
CurrencyCode["Mad"] = "MAD";
|
|
196
|
+
/** Moldovan Leu. */
|
|
197
|
+
CurrencyCode["Mdl"] = "MDL";
|
|
198
|
+
/** Malagasy Ariary. */
|
|
199
|
+
CurrencyCode["Mga"] = "MGA";
|
|
200
|
+
/** Macedonian Denar. */
|
|
201
|
+
CurrencyCode["Mkd"] = "MKD";
|
|
202
|
+
/** Myanmar Kyat. */
|
|
203
|
+
CurrencyCode["Mmk"] = "MMK";
|
|
204
|
+
/** Mongolian Tögrög. */
|
|
205
|
+
CurrencyCode["Mnt"] = "MNT";
|
|
206
|
+
/** Macanese Pataca. */
|
|
207
|
+
CurrencyCode["Mop"] = "MOP";
|
|
208
|
+
/** Mauritanian Ouguiya. */
|
|
209
|
+
CurrencyCode["Mro"] = "MRO";
|
|
210
|
+
/** Mauritanian New Ouguiya. */
|
|
211
|
+
CurrencyCode["Mru"] = "MRU";
|
|
212
|
+
/** Maltese Lira. */
|
|
213
|
+
CurrencyCode["Mtl"] = "MTL";
|
|
214
|
+
/** Mauritian Rupee. */
|
|
215
|
+
CurrencyCode["Mur"] = "MUR";
|
|
216
|
+
/** Maldivian Rufiyaa. */
|
|
217
|
+
CurrencyCode["Mvr"] = "MVR";
|
|
218
|
+
/** Malawian Kwacha. */
|
|
219
|
+
CurrencyCode["Mwk"] = "MWK";
|
|
220
|
+
/** Mexican Peso. */
|
|
221
|
+
CurrencyCode["Mxn"] = "MXN";
|
|
222
|
+
/** Malaysian Ringgit. */
|
|
223
|
+
CurrencyCode["Myr"] = "MYR";
|
|
224
|
+
/** Mozambican Metical. */
|
|
225
|
+
CurrencyCode["Mzn"] = "MZN";
|
|
226
|
+
/** Namibian Dollar. */
|
|
227
|
+
CurrencyCode["Nad"] = "NAD";
|
|
228
|
+
/** Nigerian Naira. */
|
|
229
|
+
CurrencyCode["Ngn"] = "NGN";
|
|
230
|
+
/** Nicaraguan Córdoba. */
|
|
231
|
+
CurrencyCode["Nio"] = "NIO";
|
|
232
|
+
/** Norwegian Krone. */
|
|
233
|
+
CurrencyCode["Nok"] = "NOK";
|
|
234
|
+
/** Nepalese Rupee. */
|
|
235
|
+
CurrencyCode["Npr"] = "NPR";
|
|
236
|
+
/** New Zealand Dollar. */
|
|
237
|
+
CurrencyCode["Nzd"] = "NZD";
|
|
238
|
+
/** Omani Rial. */
|
|
239
|
+
CurrencyCode["Omr"] = "OMR";
|
|
240
|
+
/** Panamanian Balboa. */
|
|
241
|
+
CurrencyCode["Pab"] = "PAB";
|
|
242
|
+
/** Peruvian Sol. */
|
|
243
|
+
CurrencyCode["Pen"] = "PEN";
|
|
244
|
+
/** Papua New Guinean Kina. */
|
|
245
|
+
CurrencyCode["Pgk"] = "PGK";
|
|
246
|
+
/** Philippine Peso. */
|
|
247
|
+
CurrencyCode["Php"] = "PHP";
|
|
248
|
+
/** Pakistani Rupee. */
|
|
249
|
+
CurrencyCode["Pkr"] = "PKR";
|
|
250
|
+
/** Polish Złoty. */
|
|
251
|
+
CurrencyCode["Pln"] = "PLN";
|
|
252
|
+
/** Paraguayan Guaraní. */
|
|
253
|
+
CurrencyCode["Pyg"] = "PYG";
|
|
254
|
+
/** Qatari Riyal. */
|
|
255
|
+
CurrencyCode["Qar"] = "QAR";
|
|
256
|
+
/** Romanian Leu. */
|
|
257
|
+
CurrencyCode["Ron"] = "RON";
|
|
258
|
+
/** Serbian Dinar. */
|
|
259
|
+
CurrencyCode["Rsd"] = "RSD";
|
|
260
|
+
/** Russian Ruble. */
|
|
261
|
+
CurrencyCode["Rub"] = "RUB";
|
|
262
|
+
/** Rwandan Franc. */
|
|
263
|
+
CurrencyCode["Rwf"] = "RWF";
|
|
264
|
+
/** Saudi Riyal. */
|
|
265
|
+
CurrencyCode["Sar"] = "SAR";
|
|
266
|
+
/** Solomon Islands Dollar. */
|
|
267
|
+
CurrencyCode["Sbd"] = "SBD";
|
|
268
|
+
/** Seychellois Rupee. */
|
|
269
|
+
CurrencyCode["Scr"] = "SCR";
|
|
270
|
+
/** Sudanese Pound. */
|
|
271
|
+
CurrencyCode["Sdg"] = "SDG";
|
|
272
|
+
/** Swedish Krona. */
|
|
273
|
+
CurrencyCode["Sek"] = "SEK";
|
|
274
|
+
/** Singapore Dollar. */
|
|
275
|
+
CurrencyCode["Sgd"] = "SGD";
|
|
276
|
+
/** Saint Helenian Pound. */
|
|
277
|
+
CurrencyCode["Shp"] = "SHP";
|
|
278
|
+
/** Slovak Koruna. */
|
|
279
|
+
CurrencyCode["Skk"] = "SKK";
|
|
280
|
+
/** Sierra Leonean Leone. */
|
|
281
|
+
CurrencyCode["Sll"] = "SLL";
|
|
282
|
+
/** Somali Shilling. */
|
|
283
|
+
CurrencyCode["Sos"] = "SOS";
|
|
284
|
+
/** Surinamese Dollar. */
|
|
285
|
+
CurrencyCode["Srd"] = "SRD";
|
|
286
|
+
/** South Sudanese Pound. */
|
|
287
|
+
CurrencyCode["Ssp"] = "SSP";
|
|
288
|
+
/** São Tomé and Príncipe Dobra. */
|
|
289
|
+
CurrencyCode["Std"] = "STD";
|
|
290
|
+
/** São Tomé and Príncipe Dobra. */
|
|
291
|
+
CurrencyCode["Stn"] = "STN";
|
|
292
|
+
/** Salvadoran Colón. */
|
|
293
|
+
CurrencyCode["Svc"] = "SVC";
|
|
294
|
+
/** Syrian Pound. */
|
|
295
|
+
CurrencyCode["Syp"] = "SYP";
|
|
296
|
+
/** Swazi Lilangeni. */
|
|
297
|
+
CurrencyCode["Szl"] = "SZL";
|
|
298
|
+
/** Thai Baht. */
|
|
299
|
+
CurrencyCode["Thb"] = "THB";
|
|
300
|
+
/** Tajikistani Somoni. */
|
|
301
|
+
CurrencyCode["Tjs"] = "TJS";
|
|
302
|
+
/** Turkmenistani Manat. */
|
|
303
|
+
CurrencyCode["Tmm"] = "TMM";
|
|
304
|
+
/** Turkmenistani Manat. */
|
|
305
|
+
CurrencyCode["Tmt"] = "TMT";
|
|
306
|
+
/** Tunisian Dinar. */
|
|
307
|
+
CurrencyCode["Tnd"] = "TND";
|
|
308
|
+
/** Tongan Paʻanga. */
|
|
309
|
+
CurrencyCode["Top"] = "TOP";
|
|
310
|
+
/** Turkish Lira. */
|
|
311
|
+
CurrencyCode["Try"] = "TRY";
|
|
312
|
+
/** Trinidad and Tobago Dollar. */
|
|
313
|
+
CurrencyCode["Ttd"] = "TTD";
|
|
314
|
+
/** New Taiwan Dollar. */
|
|
315
|
+
CurrencyCode["Twd"] = "TWD";
|
|
316
|
+
/** Tanzanian Shilling. */
|
|
317
|
+
CurrencyCode["Tzs"] = "TZS";
|
|
318
|
+
/** Ukrainian Hryvnia. */
|
|
319
|
+
CurrencyCode["Uah"] = "UAH";
|
|
320
|
+
/** Ugandan Shilling. */
|
|
321
|
+
CurrencyCode["Ugx"] = "UGX";
|
|
322
|
+
/** United States Dollar. */
|
|
323
|
+
CurrencyCode["Usd"] = "USD";
|
|
324
|
+
/** Uruguayan Peso. */
|
|
325
|
+
CurrencyCode["Uyu"] = "UYU";
|
|
326
|
+
/** Uzbekistan Som. */
|
|
327
|
+
CurrencyCode["Uzs"] = "UZS";
|
|
328
|
+
/** Venezuelan Bolívar. */
|
|
329
|
+
CurrencyCode["Veb"] = "VEB";
|
|
330
|
+
/** Venezuelan Bolívar soberano. */
|
|
331
|
+
CurrencyCode["Ved"] = "VED";
|
|
332
|
+
/** Venezuelan Bolívar fuerte. */
|
|
333
|
+
CurrencyCode["Vef"] = "VEF";
|
|
334
|
+
/** Venezuelan Bolívar soberano. */
|
|
335
|
+
CurrencyCode["Ves"] = "VES";
|
|
336
|
+
/** Vietnamese Đồng. */
|
|
337
|
+
CurrencyCode["Vnd"] = "VND";
|
|
338
|
+
/** Vanuatu Vatu. */
|
|
339
|
+
CurrencyCode["Vuv"] = "VUV";
|
|
340
|
+
/** Samoan Tala. */
|
|
341
|
+
CurrencyCode["Wst"] = "WST";
|
|
342
|
+
/** Central African Cfa Franc. */
|
|
343
|
+
CurrencyCode["Xaf"] = "XAF";
|
|
344
|
+
/** Silver (Troy Ounce). */
|
|
345
|
+
CurrencyCode["Xag"] = "XAG";
|
|
346
|
+
/** Gold (Troy Ounce). */
|
|
347
|
+
CurrencyCode["Xau"] = "XAU";
|
|
348
|
+
/** European Composite Unit. */
|
|
349
|
+
CurrencyCode["Xba"] = "XBA";
|
|
350
|
+
/** European Monetary Unit. */
|
|
351
|
+
CurrencyCode["Xbb"] = "XBB";
|
|
352
|
+
/** European Unit of Account 9. */
|
|
353
|
+
CurrencyCode["Xbc"] = "XBC";
|
|
354
|
+
/** European Unit of Account 17. */
|
|
355
|
+
CurrencyCode["Xbd"] = "XBD";
|
|
356
|
+
/** East Caribbean Dollar. */
|
|
357
|
+
CurrencyCode["Xcd"] = "XCD";
|
|
358
|
+
/** Special Drawing Rights. */
|
|
359
|
+
CurrencyCode["Xdr"] = "XDR";
|
|
360
|
+
/** UIC Franc. */
|
|
361
|
+
CurrencyCode["Xfu"] = "XFU";
|
|
362
|
+
/** West African Cfa Franc. */
|
|
363
|
+
CurrencyCode["Xof"] = "XOF";
|
|
364
|
+
/** Palladium. */
|
|
365
|
+
CurrencyCode["Xpd"] = "XPD";
|
|
366
|
+
/** Cfp Franc. */
|
|
367
|
+
CurrencyCode["Xpf"] = "XPF";
|
|
368
|
+
/** Platinum. */
|
|
369
|
+
CurrencyCode["Xpt"] = "XPT";
|
|
370
|
+
/** Codes specifically reserved for testing purposes. */
|
|
371
|
+
CurrencyCode["Xts"] = "XTS";
|
|
372
|
+
/** Yemeni Rial. */
|
|
373
|
+
CurrencyCode["Yer"] = "YER";
|
|
374
|
+
/** South African Rand. */
|
|
375
|
+
CurrencyCode["Zar"] = "ZAR";
|
|
376
|
+
/** Zambian Kwacha. */
|
|
377
|
+
CurrencyCode["Zmk"] = "ZMK";
|
|
378
|
+
/** Zambian Kwacha. */
|
|
379
|
+
CurrencyCode["Zmw"] = "ZMW";
|
|
380
|
+
/** Zimbabwean Dollar. */
|
|
381
|
+
CurrencyCode["Zwd"] = "ZWD";
|
|
382
|
+
/** Zimbabwean Dollar. */
|
|
383
|
+
CurrencyCode["Zwl"] = "ZWL";
|
|
384
|
+
/** Zimbabwean Dollar. */
|
|
385
|
+
CurrencyCode["Zwn"] = "ZWN";
|
|
386
|
+
/** Zimbabwean Dollar. */
|
|
387
|
+
CurrencyCode["Zwr"] = "ZWR";
|
|
388
|
+
})(CurrencyCode || (CurrencyCode = {}));
|
|
389
|
+
/** Possible error codes that can be returned by EntryPointDeleteByOwnerUserError. */
|
|
390
|
+
export var EntryPointDeleteByOwnerUserErrorCode;
|
|
391
|
+
(function (EntryPointDeleteByOwnerUserErrorCode) {
|
|
392
|
+
/** Error code when the entry point definition is not found from the manifest. */
|
|
393
|
+
EntryPointDeleteByOwnerUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
|
|
394
|
+
/** Error code when the entry point to be deleted is not found. */
|
|
395
|
+
EntryPointDeleteByOwnerUserErrorCode["EntryPointNotFound"] = "ENTRY_POINT_NOT_FOUND";
|
|
396
|
+
/** Error code when the shop is not found. */
|
|
397
|
+
EntryPointDeleteByOwnerUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
|
|
398
|
+
})(EntryPointDeleteByOwnerUserErrorCode || (EntryPointDeleteByOwnerUserErrorCode = {}));
|
|
399
|
+
/** Possible error codes that can be returned by EntryPointDeleteByRuleUserError. */
|
|
400
|
+
export var EntryPointDeleteByRuleUserErrorCode;
|
|
401
|
+
(function (EntryPointDeleteByRuleUserErrorCode) {
|
|
402
|
+
/** Error code when the entry point definition is not found from the manifest. */
|
|
403
|
+
EntryPointDeleteByRuleUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
|
|
404
|
+
/** Error code when the entry point to be deleted is not found. */
|
|
405
|
+
EntryPointDeleteByRuleUserErrorCode["EntryPointNotFound"] = "ENTRY_POINT_NOT_FOUND";
|
|
406
|
+
/** Error code when the shop is not found. */
|
|
407
|
+
EntryPointDeleteByRuleUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
|
|
408
|
+
})(EntryPointDeleteByRuleUserErrorCode || (EntryPointDeleteByRuleUserErrorCode = {}));
|
|
409
|
+
/** The event status enum for an entry point. */
|
|
410
|
+
export var EntryPointEventStatus;
|
|
411
|
+
(function (EntryPointEventStatus) {
|
|
412
|
+
/** The active status for Mini entry point event type. */
|
|
413
|
+
EntryPointEventStatus["Active"] = "ACTIVE";
|
|
414
|
+
/** The post active status for Mini entry point event type. */
|
|
415
|
+
EntryPointEventStatus["PostActive"] = "POST_ACTIVE";
|
|
416
|
+
/** The pre active status for Mini entry point event type. */
|
|
417
|
+
EntryPointEventStatus["PreActive"] = "PRE_ACTIVE";
|
|
418
|
+
})(EntryPointEventStatus || (EntryPointEventStatus = {}));
|
|
419
|
+
/** Possible error codes that can be returned by EntryPointEventStatusUpdateUserError. */
|
|
420
|
+
export var EntryPointEventStatusUpdateUserErrorCode;
|
|
421
|
+
(function (EntryPointEventStatusUpdateUserErrorCode) {
|
|
422
|
+
/** Error code when the product is not found. */
|
|
423
|
+
EntryPointEventStatusUpdateUserErrorCode["ProductNotFound"] = "PRODUCT_NOT_FOUND";
|
|
424
|
+
/** Error code when the shop is not found. */
|
|
425
|
+
EntryPointEventStatusUpdateUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
|
|
426
|
+
})(EntryPointEventStatusUpdateUserErrorCode || (EntryPointEventStatusUpdateUserErrorCode = {}));
|
|
427
|
+
/** The entry point location of a Mini. */
|
|
428
|
+
export var EntryPointLocation;
|
|
429
|
+
(function (EntryPointLocation) {
|
|
430
|
+
/** The Mini should be displayed on the order confirmation page. */
|
|
431
|
+
EntryPointLocation["OrderConfirmationPage"] = "ORDER_CONFIRMATION_PAGE";
|
|
432
|
+
/** The Mini should be displayed on the product page. */
|
|
433
|
+
EntryPointLocation["ProductPage"] = "PRODUCT_PAGE";
|
|
434
|
+
/** The Mini should be displayed on the product details page context menu. */
|
|
435
|
+
EntryPointLocation["ProductPageContextMenu"] = "PRODUCT_PAGE_CONTEXT_MENU";
|
|
436
|
+
/** The Mini should be displayed on the store page. */
|
|
437
|
+
EntryPointLocation["StorePage"] = "STORE_PAGE";
|
|
438
|
+
/** The Mini should be displayed on the store page context menu. */
|
|
439
|
+
EntryPointLocation["StorePageContextMenu"] = "STORE_PAGE_CONTEXT_MENU";
|
|
440
|
+
})(EntryPointLocation || (EntryPointLocation = {}));
|
|
441
|
+
/** Possible error codes that can be returned by EntryPointSetByOwnerUserError. */
|
|
442
|
+
export var EntryPointSetByOwnerUserErrorCode;
|
|
443
|
+
(function (EntryPointSetByOwnerUserErrorCode) {
|
|
444
|
+
/** Error code when the entry point definition is not found from the manifest. */
|
|
445
|
+
EntryPointSetByOwnerUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
|
|
446
|
+
/** Error code when the product is not eligible for Shop Minis. */
|
|
447
|
+
EntryPointSetByOwnerUserErrorCode["ProductNotEligible"] = "PRODUCT_NOT_ELIGIBLE";
|
|
448
|
+
/** Error code when the shop does not have any Shopify App installed for the associated Shop Mini. */
|
|
449
|
+
EntryPointSetByOwnerUserErrorCode["ShopifyAppNotInstalled"] = "SHOPIFY_APP_NOT_INSTALLED";
|
|
450
|
+
/** Error code when the shop is not eligible for Shop Minis. */
|
|
451
|
+
EntryPointSetByOwnerUserErrorCode["ShopNotEligible"] = "SHOP_NOT_ELIGIBLE";
|
|
452
|
+
/** Error code when the shop is not found. */
|
|
453
|
+
EntryPointSetByOwnerUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
|
|
454
|
+
/** Error code when the entry point owner is not the expected type for the given entry point location. */
|
|
455
|
+
EntryPointSetByOwnerUserErrorCode["UnexpectedOwnerId"] = "UNEXPECTED_OWNER_ID";
|
|
456
|
+
})(EntryPointSetByOwnerUserErrorCode || (EntryPointSetByOwnerUserErrorCode = {}));
|
|
457
|
+
/** Possible error codes that can be returned by EntryPointSetByRuleUserError. */
|
|
458
|
+
export var EntryPointSetByRuleUserErrorCode;
|
|
459
|
+
(function (EntryPointSetByRuleUserErrorCode) {
|
|
460
|
+
/** The entry point definition is not found from the manifest. */
|
|
461
|
+
EntryPointSetByRuleUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
|
|
462
|
+
/** The visibility rule is invalid. */
|
|
463
|
+
EntryPointSetByRuleUserErrorCode["InvalidVisibilityRule"] = "INVALID_VISIBILITY_RULE";
|
|
464
|
+
/** Error code when the shop does not have any Shopify App installed for the associated Shop Mini. */
|
|
465
|
+
EntryPointSetByRuleUserErrorCode["ShopifyAppNotInstalled"] = "SHOPIFY_APP_NOT_INSTALLED";
|
|
466
|
+
/** The shop is not eligible for Shop Minis. */
|
|
467
|
+
EntryPointSetByRuleUserErrorCode["ShopNotEligible"] = "SHOP_NOT_ELIGIBLE";
|
|
468
|
+
/** The shop is not found. */
|
|
469
|
+
EntryPointSetByRuleUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
|
|
470
|
+
})(EntryPointSetByRuleUserErrorCode || (EntryPointSetByRuleUserErrorCode = {}));
|
|
471
|
+
/** The entry point type of a Mini. */
|
|
472
|
+
export var EntryPointType;
|
|
473
|
+
(function (EntryPointType) {
|
|
474
|
+
/** The Mini should be displayed as an action button. */
|
|
475
|
+
EntryPointType["ActionButton"] = "ACTION_BUTTON";
|
|
476
|
+
/** The Mini should be displayed as a call to action. */
|
|
477
|
+
EntryPointType["CallToAction"] = "CALL_TO_ACTION";
|
|
478
|
+
/** The Mini should be displayed as a card with content. */
|
|
479
|
+
EntryPointType["ContentCard"] = "CONTENT_CARD";
|
|
480
|
+
/** The Mini should be displayed as a card with content. */
|
|
481
|
+
EntryPointType["DefaultCard"] = "DEFAULT_CARD";
|
|
482
|
+
/** The Mini should be displayed as a card with a reminder button. */
|
|
483
|
+
EntryPointType["EventCard"] = "EVENT_CARD";
|
|
484
|
+
/** The Mini should be displayed as a card with a reminder button. */
|
|
485
|
+
EntryPointType["EventCardV2"] = "EVENT_CARD_V2";
|
|
486
|
+
/** The Mini should be displayed as a collection of images. */
|
|
487
|
+
EntryPointType["ImageCollection"] = "IMAGE_COLLECTION";
|
|
488
|
+
/** The Mini should be displayed as a card with an image and content. */
|
|
489
|
+
EntryPointType["ImageContentCard"] = "IMAGE_CONTENT_CARD";
|
|
490
|
+
/** The Mini should be displayed as a link. */
|
|
491
|
+
EntryPointType["Link"] = "LINK";
|
|
492
|
+
/** The Mini should be displayed as a live event. */
|
|
493
|
+
EntryPointType["LiveEvent"] = "LIVE_EVENT";
|
|
494
|
+
/** The Mini should be displayed as a collection of images. */
|
|
495
|
+
EntryPointType["ProductImageCollection"] = "PRODUCT_IMAGE_COLLECTION";
|
|
496
|
+
/** The Mini should be displayed as a product offer card. */
|
|
497
|
+
EntryPointType["ProductOfferCard"] = "PRODUCT_OFFER_CARD";
|
|
498
|
+
/** The Mini should be displayed as a collection of videos. */
|
|
499
|
+
EntryPointType["ProductVideoCollection"] = "PRODUCT_VIDEO_COLLECTION";
|
|
500
|
+
/** The Mini should be displayed as a collection of videos. */
|
|
501
|
+
EntryPointType["VideoCollection"] = "VIDEO_COLLECTION";
|
|
502
|
+
})(EntryPointType || (EntryPointType = {}));
|
|
503
|
+
/** The error code for an entry point visibility rule error. */
|
|
504
|
+
export var EntryPointVisibilityRuleValidityErrorCode;
|
|
505
|
+
(function (EntryPointVisibilityRuleValidityErrorCode) {
|
|
506
|
+
/** Rules cannot be applied to all fields. Please specify the field name. */
|
|
507
|
+
EntryPointVisibilityRuleValidityErrorCode["FieldsUnspecified"] = "FIELDS_UNSPECIFIED";
|
|
508
|
+
/** Incompatible comparator found for the given fields. */
|
|
509
|
+
EntryPointVisibilityRuleValidityErrorCode["IncompatibleComparators"] = "INCOMPATIBLE_COMPARATORS";
|
|
510
|
+
/** Incompatible values given to the fields. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
|
|
511
|
+
EntryPointVisibilityRuleValidityErrorCode["IncompatibleQueryTypes"] = "INCOMPATIBLE_QUERY_TYPES";
|
|
512
|
+
/** Rule is not parseable. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
|
|
513
|
+
EntryPointVisibilityRuleValidityErrorCode["IncorrectSyntax"] = "INCORRECT_SYNTAX";
|
|
514
|
+
/** Unsupported fields given. Please refer to https://github.com/Shopify/shop-minis/blob/main/docs/ENTRY_POINT_VISIBILITY_RULE_FOR_PRODUCT_DETAILS_PAGES.md for more information. */
|
|
515
|
+
EntryPointVisibilityRuleValidityErrorCode["UnsupportedFields"] = "UNSUPPORTED_FIELDS";
|
|
516
|
+
})(EntryPointVisibilityRuleValidityErrorCode || (EntryPointVisibilityRuleValidityErrorCode = {}));
|
|
517
|
+
/** The validity status of an entry point visibility rule. */
|
|
518
|
+
export var EntryPointVisibilityRuleValidityStatus;
|
|
519
|
+
(function (EntryPointVisibilityRuleValidityStatus) {
|
|
520
|
+
/** The rule is not valid. */
|
|
521
|
+
EntryPointVisibilityRuleValidityStatus["Invalid"] = "INVALID";
|
|
522
|
+
/** The rule is valid. */
|
|
523
|
+
EntryPointVisibilityRuleValidityStatus["Valid"] = "VALID";
|
|
524
|
+
})(EntryPointVisibilityRuleValidityStatus || (EntryPointVisibilityRuleValidityStatus = {}));
|
|
525
|
+
/** The event status of the Mini event card entry point. */
|
|
526
|
+
export var EventCardV2EntryPointEventStatus;
|
|
527
|
+
(function (EventCardV2EntryPointEventStatus) {
|
|
528
|
+
/** The active status for Mini entry point event type. */
|
|
529
|
+
EventCardV2EntryPointEventStatus["Active"] = "ACTIVE";
|
|
530
|
+
/** The post active status for Mini entry point event type. */
|
|
531
|
+
EventCardV2EntryPointEventStatus["PostActive"] = "POST_ACTIVE";
|
|
532
|
+
/** The pre active status for Mini entry point event type. */
|
|
533
|
+
EventCardV2EntryPointEventStatus["PreActive"] = "PRE_ACTIVE";
|
|
534
|
+
})(EventCardV2EntryPointEventStatus || (EventCardV2EntryPointEventStatus = {}));
|
|
535
|
+
/** The layout of the Mini Image Collection entry point. */
|
|
536
|
+
export var ImageCollectionEntryPointLayout;
|
|
537
|
+
(function (ImageCollectionEntryPointLayout) {
|
|
538
|
+
/** The layout is a carousel. */
|
|
539
|
+
ImageCollectionEntryPointLayout["Carousel"] = "CAROUSEL";
|
|
540
|
+
/** The layout is a grid. */
|
|
541
|
+
ImageCollectionEntryPointLayout["Grid"] = "GRID";
|
|
542
|
+
})(ImageCollectionEntryPointLayout || (ImageCollectionEntryPointLayout = {}));
|
|
543
|
+
/** Possible error codes that can be returned by InvitationAcceptUserError. */
|
|
544
|
+
export var InvitationAcceptUserErrorCode;
|
|
545
|
+
(function (InvitationAcceptUserErrorCode) {
|
|
546
|
+
/** Error code when the invitation is not found. */
|
|
547
|
+
InvitationAcceptUserErrorCode["InvitationNotFound"] = "INVITATION_NOT_FOUND";
|
|
548
|
+
})(InvitationAcceptUserErrorCode || (InvitationAcceptUserErrorCode = {}));
|
|
549
|
+
/** Possible error codes that can be returned by NotificationTriggerUserError. */
|
|
550
|
+
export var NotificationTriggerUserErrorCode;
|
|
551
|
+
(function (NotificationTriggerUserErrorCode) {
|
|
552
|
+
/** Error code when the scoped entity is not found. */
|
|
553
|
+
NotificationTriggerUserErrorCode["ScopedEntityNotFound"] = "SCOPED_ENTITY_NOT_FOUND";
|
|
554
|
+
/** Error code when the shop is not found. */
|
|
555
|
+
NotificationTriggerUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
|
|
556
|
+
/** Error code when the template handle is not found in the Mini's manifest. */
|
|
557
|
+
NotificationTriggerUserErrorCode["TemplateNotFound"] = "TEMPLATE_NOT_FOUND";
|
|
558
|
+
/** Error code when the template's topic_handle is invalid. */
|
|
559
|
+
NotificationTriggerUserErrorCode["TopicNotFound"] = "TOPIC_NOT_FOUND";
|
|
560
|
+
/** Error code when scopedEntityId object does not match topic scope. */
|
|
561
|
+
NotificationTriggerUserErrorCode["TopicScopeNotMatchingEntity"] = "TOPIC_SCOPE_NOT_MATCHING_ENTITY";
|
|
562
|
+
})(NotificationTriggerUserErrorCode || (NotificationTriggerUserErrorCode = {}));
|
|
563
|
+
/** The eligibility status of a product. */
|
|
564
|
+
export var ProductEligibilityStatus;
|
|
565
|
+
(function (ProductEligibilityStatus) {
|
|
566
|
+
/** The product is eligible to appear in Shop. */
|
|
567
|
+
ProductEligibilityStatus["Eligible"] = "ELIGIBLE";
|
|
568
|
+
/** The product is ineligible to appear in Shop. */
|
|
569
|
+
ProductEligibilityStatus["Ineligible"] = "INELIGIBLE";
|
|
570
|
+
})(ProductEligibilityStatus || (ProductEligibilityStatus = {}));
|
|
571
|
+
/** The eligibility status of a shop. */
|
|
572
|
+
export var ShopEligibilityStatus;
|
|
573
|
+
(function (ShopEligibilityStatus) {
|
|
574
|
+
/** The shop is eligible to appear in Shop. */
|
|
575
|
+
ShopEligibilityStatus["Eligible"] = "ELIGIBLE";
|
|
576
|
+
/** The shop is ineligible to appear in Shop. */
|
|
577
|
+
ShopEligibilityStatus["Ineligible"] = "INELIGIBLE";
|
|
578
|
+
})(ShopEligibilityStatus || (ShopEligibilityStatus = {}));
|
|
579
|
+
/** Possible error codes that can be returned by SubmissionCancelUserError. */
|
|
580
|
+
export var SubmissionCancelUserErrorCode;
|
|
581
|
+
(function (SubmissionCancelUserErrorCode) {
|
|
582
|
+
/** Error code when the submission is not found. */
|
|
583
|
+
SubmissionCancelUserErrorCode["NotFound"] = "NOT_FOUND";
|
|
584
|
+
/** Error code when the submission does not have a pending status. */
|
|
585
|
+
SubmissionCancelUserErrorCode["NotPending"] = "NOT_PENDING";
|
|
586
|
+
})(SubmissionCancelUserErrorCode || (SubmissionCancelUserErrorCode = {}));
|
|
587
|
+
/** Possible error codes that can be returned by SubmissionCreateUserError. */
|
|
588
|
+
export var SubmissionCreateUserErrorCode;
|
|
589
|
+
(function (SubmissionCreateUserErrorCode) {
|
|
590
|
+
/** Error code when there is already a pending submission. */
|
|
591
|
+
SubmissionCreateUserErrorCode["AlreadyPendingSubmission"] = "ALREADY_PENDING_SUBMISSION";
|
|
592
|
+
/** Error code when the file does not exist in the storage service. */
|
|
593
|
+
SubmissionCreateUserErrorCode["FileNotFound"] = "FILE_NOT_FOUND";
|
|
594
|
+
/** Error code when the upload ID is not valid. Either it is does not point to a blob or is not signed correctly. */
|
|
595
|
+
SubmissionCreateUserErrorCode["UploadNotFound"] = "UPLOAD_NOT_FOUND";
|
|
596
|
+
})(SubmissionCreateUserErrorCode || (SubmissionCreateUserErrorCode = {}));
|
|
597
|
+
/** The status of a submission. */
|
|
598
|
+
export var SubmissionStatus;
|
|
599
|
+
(function (SubmissionStatus) {
|
|
600
|
+
/** The submission has been approved. */
|
|
601
|
+
SubmissionStatus["Approved"] = "APPROVED";
|
|
602
|
+
/** The submission has been cancelled. */
|
|
603
|
+
SubmissionStatus["Cancelled"] = "CANCELLED";
|
|
604
|
+
/** The submission is pending review. */
|
|
605
|
+
SubmissionStatus["Pending"] = "PENDING";
|
|
606
|
+
/** The submission has been rejected. */
|
|
607
|
+
SubmissionStatus["Rejected"] = "REJECTED";
|
|
608
|
+
})(SubmissionStatus || (SubmissionStatus = {}));
|
|
609
|
+
/** Possible error codes that can be returned by SubmissionUploadCreateUserError. */
|
|
610
|
+
export var SubmissionUploadCreateUserErrorCode;
|
|
611
|
+
(function (SubmissionUploadCreateUserErrorCode) {
|
|
612
|
+
/** Error code when an invalid checksum is provided. */
|
|
613
|
+
SubmissionUploadCreateUserErrorCode["InvalidChecksum"] = "INVALID_CHECKSUM";
|
|
614
|
+
/** Error code when the file size is less than 0 or exceeds 1048576 bytes. */
|
|
615
|
+
SubmissionUploadCreateUserErrorCode["InvalidFileSize"] = "INVALID_FILE_SIZE";
|
|
616
|
+
/** Error code when an invalid MIME type is provided. */
|
|
617
|
+
SubmissionUploadCreateUserErrorCode["InvalidMimeType"] = "INVALID_MIME_TYPE";
|
|
618
|
+
})(SubmissionUploadCreateUserErrorCode || (SubmissionUploadCreateUserErrorCode = {}));
|
|
619
|
+
export const AcceptInvitationDocument = {
|
|
620
|
+
kind: 'Document',
|
|
621
|
+
definitions: [
|
|
622
|
+
{
|
|
623
|
+
kind: 'OperationDefinition',
|
|
624
|
+
operation: 'mutation',
|
|
625
|
+
name: { kind: 'Name', value: 'AcceptInvitation' },
|
|
626
|
+
variableDefinitions: [
|
|
627
|
+
{
|
|
628
|
+
kind: 'VariableDefinition',
|
|
629
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'code' } },
|
|
630
|
+
type: {
|
|
631
|
+
kind: 'NonNullType',
|
|
632
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
],
|
|
636
|
+
selectionSet: {
|
|
637
|
+
kind: 'SelectionSet',
|
|
638
|
+
selections: [
|
|
639
|
+
{
|
|
640
|
+
kind: 'Field',
|
|
641
|
+
name: { kind: 'Name', value: 'invitationAccept' },
|
|
642
|
+
arguments: [
|
|
643
|
+
{
|
|
644
|
+
kind: 'Argument',
|
|
645
|
+
name: { kind: 'Name', value: 'code' },
|
|
646
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'code' } },
|
|
647
|
+
},
|
|
648
|
+
],
|
|
649
|
+
selectionSet: {
|
|
650
|
+
kind: 'SelectionSet',
|
|
651
|
+
selections: [
|
|
652
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'token' } },
|
|
653
|
+
],
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
],
|
|
657
|
+
},
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
};
|
|
661
|
+
export const CancelSubmissionDocument = {
|
|
662
|
+
kind: 'Document',
|
|
663
|
+
definitions: [
|
|
664
|
+
{
|
|
665
|
+
kind: 'OperationDefinition',
|
|
666
|
+
operation: 'mutation',
|
|
667
|
+
name: { kind: 'Name', value: 'CancelSubmission' },
|
|
668
|
+
variableDefinitions: [
|
|
669
|
+
{
|
|
670
|
+
kind: 'VariableDefinition',
|
|
671
|
+
variable: {
|
|
672
|
+
kind: 'Variable',
|
|
673
|
+
name: { kind: 'Name', value: 'reference' },
|
|
674
|
+
},
|
|
675
|
+
type: {
|
|
676
|
+
kind: 'NonNullType',
|
|
677
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
],
|
|
681
|
+
selectionSet: {
|
|
682
|
+
kind: 'SelectionSet',
|
|
683
|
+
selections: [
|
|
684
|
+
{
|
|
685
|
+
kind: 'Field',
|
|
686
|
+
name: { kind: 'Name', value: 'submissionCancel' },
|
|
687
|
+
arguments: [
|
|
688
|
+
{
|
|
689
|
+
kind: 'Argument',
|
|
690
|
+
name: { kind: 'Name', value: 'reference' },
|
|
691
|
+
value: {
|
|
692
|
+
kind: 'Variable',
|
|
693
|
+
name: { kind: 'Name', value: 'reference' },
|
|
694
|
+
},
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
selectionSet: {
|
|
698
|
+
kind: 'SelectionSet',
|
|
699
|
+
selections: [
|
|
700
|
+
{
|
|
701
|
+
kind: 'Field',
|
|
702
|
+
name: { kind: 'Name', value: 'submission' },
|
|
703
|
+
selectionSet: {
|
|
704
|
+
kind: 'SelectionSet',
|
|
705
|
+
selections: [
|
|
706
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reference' } },
|
|
707
|
+
{
|
|
708
|
+
kind: 'Field',
|
|
709
|
+
name: { kind: 'Name', value: 'description' },
|
|
710
|
+
},
|
|
711
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
712
|
+
{
|
|
713
|
+
kind: 'Field',
|
|
714
|
+
name: { kind: 'Name', value: 'submittedAt' },
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
},
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
kind: 'Field',
|
|
721
|
+
name: { kind: 'Name', value: 'userErrors' },
|
|
722
|
+
selectionSet: {
|
|
723
|
+
kind: 'SelectionSet',
|
|
724
|
+
selections: [
|
|
725
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
726
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
727
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
728
|
+
],
|
|
729
|
+
},
|
|
730
|
+
},
|
|
731
|
+
],
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
],
|
|
735
|
+
},
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
};
|
|
739
|
+
export const CreateSubmissionDocument = {
|
|
740
|
+
kind: 'Document',
|
|
741
|
+
definitions: [
|
|
742
|
+
{
|
|
743
|
+
kind: 'OperationDefinition',
|
|
744
|
+
operation: 'mutation',
|
|
745
|
+
name: { kind: 'Name', value: 'CreateSubmission' },
|
|
746
|
+
variableDefinitions: [
|
|
747
|
+
{
|
|
748
|
+
kind: 'VariableDefinition',
|
|
749
|
+
variable: {
|
|
750
|
+
kind: 'Variable',
|
|
751
|
+
name: { kind: 'Name', value: 'description' },
|
|
752
|
+
},
|
|
753
|
+
type: {
|
|
754
|
+
kind: 'NonNullType',
|
|
755
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
756
|
+
},
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
kind: 'VariableDefinition',
|
|
760
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'uploadId' } },
|
|
761
|
+
type: {
|
|
762
|
+
kind: 'NonNullType',
|
|
763
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
764
|
+
},
|
|
765
|
+
},
|
|
766
|
+
],
|
|
767
|
+
selectionSet: {
|
|
768
|
+
kind: 'SelectionSet',
|
|
769
|
+
selections: [
|
|
770
|
+
{
|
|
771
|
+
kind: 'Field',
|
|
772
|
+
name: { kind: 'Name', value: 'submissionCreate' },
|
|
773
|
+
arguments: [
|
|
774
|
+
{
|
|
775
|
+
kind: 'Argument',
|
|
776
|
+
name: { kind: 'Name', value: 'description' },
|
|
777
|
+
value: {
|
|
778
|
+
kind: 'Variable',
|
|
779
|
+
name: { kind: 'Name', value: 'description' },
|
|
780
|
+
},
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
kind: 'Argument',
|
|
784
|
+
name: { kind: 'Name', value: 'uploadId' },
|
|
785
|
+
value: {
|
|
786
|
+
kind: 'Variable',
|
|
787
|
+
name: { kind: 'Name', value: 'uploadId' },
|
|
788
|
+
},
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
selectionSet: {
|
|
792
|
+
kind: 'SelectionSet',
|
|
793
|
+
selections: [
|
|
794
|
+
{
|
|
795
|
+
kind: 'Field',
|
|
796
|
+
name: { kind: 'Name', value: 'submission' },
|
|
797
|
+
selectionSet: {
|
|
798
|
+
kind: 'SelectionSet',
|
|
799
|
+
selections: [
|
|
800
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reference' } },
|
|
801
|
+
{
|
|
802
|
+
kind: 'Field',
|
|
803
|
+
name: { kind: 'Name', value: 'description' },
|
|
804
|
+
},
|
|
805
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
806
|
+
{
|
|
807
|
+
kind: 'Field',
|
|
808
|
+
name: { kind: 'Name', value: 'submittedAt' },
|
|
809
|
+
},
|
|
810
|
+
],
|
|
811
|
+
},
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
kind: 'Field',
|
|
815
|
+
name: { kind: 'Name', value: 'userErrors' },
|
|
816
|
+
selectionSet: {
|
|
817
|
+
kind: 'SelectionSet',
|
|
818
|
+
selections: [
|
|
819
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
820
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
821
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
822
|
+
],
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
],
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
],
|
|
829
|
+
},
|
|
830
|
+
},
|
|
831
|
+
],
|
|
832
|
+
};
|
|
833
|
+
export const CreateUploadDocument = {
|
|
834
|
+
kind: 'Document',
|
|
835
|
+
definitions: [
|
|
836
|
+
{
|
|
837
|
+
kind: 'OperationDefinition',
|
|
838
|
+
operation: 'mutation',
|
|
839
|
+
name: { kind: 'Name', value: 'CreateUpload' },
|
|
840
|
+
variableDefinitions: [
|
|
841
|
+
{
|
|
842
|
+
kind: 'VariableDefinition',
|
|
843
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'filename' } },
|
|
844
|
+
type: {
|
|
845
|
+
kind: 'NonNullType',
|
|
846
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
847
|
+
},
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
kind: 'VariableDefinition',
|
|
851
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'fileSize' } },
|
|
852
|
+
type: {
|
|
853
|
+
kind: 'NonNullType',
|
|
854
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
855
|
+
},
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
kind: 'VariableDefinition',
|
|
859
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'checksum' } },
|
|
860
|
+
type: {
|
|
861
|
+
kind: 'NonNullType',
|
|
862
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
863
|
+
},
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
kind: 'VariableDefinition',
|
|
867
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'mimeType' } },
|
|
868
|
+
type: {
|
|
869
|
+
kind: 'NonNullType',
|
|
870
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
871
|
+
},
|
|
872
|
+
},
|
|
873
|
+
],
|
|
874
|
+
selectionSet: {
|
|
875
|
+
kind: 'SelectionSet',
|
|
876
|
+
selections: [
|
|
877
|
+
{
|
|
878
|
+
kind: 'Field',
|
|
879
|
+
name: { kind: 'Name', value: 'submissionUploadCreate' },
|
|
880
|
+
arguments: [
|
|
881
|
+
{
|
|
882
|
+
kind: 'Argument',
|
|
883
|
+
name: { kind: 'Name', value: 'input' },
|
|
884
|
+
value: {
|
|
885
|
+
kind: 'ObjectValue',
|
|
886
|
+
fields: [
|
|
887
|
+
{
|
|
888
|
+
kind: 'ObjectField',
|
|
889
|
+
name: { kind: 'Name', value: 'filename' },
|
|
890
|
+
value: {
|
|
891
|
+
kind: 'Variable',
|
|
892
|
+
name: { kind: 'Name', value: 'filename' },
|
|
893
|
+
},
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
kind: 'ObjectField',
|
|
897
|
+
name: { kind: 'Name', value: 'fileSize' },
|
|
898
|
+
value: {
|
|
899
|
+
kind: 'Variable',
|
|
900
|
+
name: { kind: 'Name', value: 'fileSize' },
|
|
901
|
+
},
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
kind: 'ObjectField',
|
|
905
|
+
name: { kind: 'Name', value: 'checksum' },
|
|
906
|
+
value: {
|
|
907
|
+
kind: 'Variable',
|
|
908
|
+
name: { kind: 'Name', value: 'checksum' },
|
|
909
|
+
},
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
kind: 'ObjectField',
|
|
913
|
+
name: { kind: 'Name', value: 'mimeType' },
|
|
914
|
+
value: {
|
|
915
|
+
kind: 'Variable',
|
|
916
|
+
name: { kind: 'Name', value: 'mimeType' },
|
|
917
|
+
},
|
|
918
|
+
},
|
|
919
|
+
],
|
|
920
|
+
},
|
|
921
|
+
},
|
|
922
|
+
],
|
|
923
|
+
selectionSet: {
|
|
924
|
+
kind: 'SelectionSet',
|
|
925
|
+
selections: [
|
|
926
|
+
{
|
|
927
|
+
kind: 'Field',
|
|
928
|
+
name: { kind: 'Name', value: 'upload' },
|
|
929
|
+
selectionSet: {
|
|
930
|
+
kind: 'SelectionSet',
|
|
931
|
+
selections: [
|
|
932
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
933
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'headers' } },
|
|
934
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
935
|
+
],
|
|
936
|
+
},
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
kind: 'Field',
|
|
940
|
+
name: { kind: 'Name', value: 'userErrors' },
|
|
941
|
+
selectionSet: {
|
|
942
|
+
kind: 'SelectionSet',
|
|
943
|
+
selections: [
|
|
944
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
945
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
946
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
947
|
+
],
|
|
948
|
+
},
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
},
|
|
952
|
+
},
|
|
953
|
+
],
|
|
954
|
+
},
|
|
955
|
+
},
|
|
956
|
+
],
|
|
957
|
+
};
|
|
958
|
+
export const SubmissionsDocument = {
|
|
959
|
+
kind: 'Document',
|
|
960
|
+
definitions: [
|
|
961
|
+
{
|
|
962
|
+
kind: 'OperationDefinition',
|
|
963
|
+
operation: 'query',
|
|
964
|
+
name: { kind: 'Name', value: 'Submissions' },
|
|
965
|
+
variableDefinitions: [
|
|
966
|
+
{
|
|
967
|
+
kind: 'VariableDefinition',
|
|
968
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'first' } },
|
|
969
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
970
|
+
},
|
|
971
|
+
],
|
|
972
|
+
selectionSet: {
|
|
973
|
+
kind: 'SelectionSet',
|
|
974
|
+
selections: [
|
|
975
|
+
{
|
|
976
|
+
kind: 'Field',
|
|
977
|
+
name: { kind: 'Name', value: 'submissions' },
|
|
978
|
+
arguments: [
|
|
979
|
+
{
|
|
980
|
+
kind: 'Argument',
|
|
981
|
+
name: { kind: 'Name', value: 'first' },
|
|
982
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'first' } },
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
selectionSet: {
|
|
986
|
+
kind: 'SelectionSet',
|
|
987
|
+
selections: [
|
|
988
|
+
{
|
|
989
|
+
kind: 'Field',
|
|
990
|
+
name: { kind: 'Name', value: 'nodes' },
|
|
991
|
+
selectionSet: {
|
|
992
|
+
kind: 'SelectionSet',
|
|
993
|
+
selections: [
|
|
994
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reference' } },
|
|
995
|
+
{
|
|
996
|
+
kind: 'Field',
|
|
997
|
+
name: { kind: 'Name', value: 'description' },
|
|
998
|
+
},
|
|
999
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
1000
|
+
{
|
|
1001
|
+
kind: 'Field',
|
|
1002
|
+
name: { kind: 'Name', value: 'submittedAt' },
|
|
1003
|
+
},
|
|
1004
|
+
],
|
|
1005
|
+
},
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
kind: 'Field',
|
|
1009
|
+
name: { kind: 'Name', value: 'pageInfo' },
|
|
1010
|
+
selectionSet: {
|
|
1011
|
+
kind: 'SelectionSet',
|
|
1012
|
+
selections: [
|
|
1013
|
+
{
|
|
1014
|
+
kind: 'Field',
|
|
1015
|
+
name: { kind: 'Name', value: 'hasNextPage' },
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
kind: 'Field',
|
|
1019
|
+
name: { kind: 'Name', value: 'hasPreviousPage' },
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
kind: 'Field',
|
|
1023
|
+
name: { kind: 'Name', value: 'startCursor' },
|
|
1024
|
+
},
|
|
1025
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'endCursor' } },
|
|
1026
|
+
],
|
|
1027
|
+
},
|
|
1028
|
+
},
|
|
1029
|
+
],
|
|
1030
|
+
},
|
|
1031
|
+
},
|
|
1032
|
+
],
|
|
1033
|
+
},
|
|
1034
|
+
},
|
|
1035
|
+
],
|
|
1036
|
+
};
|
|
1037
|
+
export const MiniDocument = {
|
|
1038
|
+
kind: 'Document',
|
|
1039
|
+
definitions: [
|
|
1040
|
+
{
|
|
1041
|
+
kind: 'OperationDefinition',
|
|
1042
|
+
operation: 'query',
|
|
1043
|
+
name: { kind: 'Name', value: 'Mini' },
|
|
1044
|
+
selectionSet: {
|
|
1045
|
+
kind: 'SelectionSet',
|
|
1046
|
+
selections: [
|
|
1047
|
+
{
|
|
1048
|
+
kind: 'Field',
|
|
1049
|
+
name: { kind: 'Name', value: 'mini' },
|
|
1050
|
+
selectionSet: {
|
|
1051
|
+
kind: 'SelectionSet',
|
|
1052
|
+
selections: [
|
|
1053
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'handle' } },
|
|
1054
|
+
],
|
|
1055
|
+
},
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
},
|
|
1059
|
+
},
|
|
1060
|
+
],
|
|
1061
|
+
};
|
|
1062
|
+
//# sourceMappingURL=graphql.js.map
|