@stripe/extensibility-dev-tools 0.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/LICENSE.md +19 -0
  2. package/dist/bin/build-custom-object-definitions.cjs +2111 -0
  3. package/dist/bin/build-custom-object-definitions.d.ts +11 -0
  4. package/dist/bin/build-custom-object-definitions.d.ts.map +1 -0
  5. package/dist/bin/build-custom-object-definitions.js +2088 -0
  6. package/dist/bin/create-upload-image.cjs +2136 -0
  7. package/dist/bin/create-upload-image.d.ts +17 -0
  8. package/dist/bin/create-upload-image.d.ts.map +1 -0
  9. package/dist/bin/create-upload-image.js +2113 -0
  10. package/dist/bin/dev-tools-rpc.cjs +3874 -0
  11. package/dist/bin/dev-tools-rpc.d.ts +3 -0
  12. package/dist/bin/dev-tools-rpc.d.ts.map +1 -0
  13. package/dist/bin/dev-tools-rpc.js +3864 -0
  14. package/dist/bin/gen-schemas.cjs +20739 -0
  15. package/dist/bin/gen-schemas.d.ts +8 -0
  16. package/dist/bin/gen-schemas.d.ts.map +1 -0
  17. package/dist/bin/gen-schemas.js +20715 -0
  18. package/dist/bin/gen-workspace.cjs +3847 -0
  19. package/dist/bin/gen-workspace.d.ts +8 -0
  20. package/dist/bin/gen-workspace.d.ts.map +1 -0
  21. package/dist/bin/gen-workspace.js +3841 -0
  22. package/dist/bin/manifest.cjs +686 -0
  23. package/dist/bin/manifest.d.ts +10 -0
  24. package/dist/bin/manifest.d.ts.map +1 -0
  25. package/dist/bin/manifest.js +663 -0
  26. package/dist/bin/rpc/dispatch.d.ts +10 -0
  27. package/dist/bin/rpc/dispatch.d.ts.map +1 -0
  28. package/dist/bin/rpc/handlers.d.ts +4 -0
  29. package/dist/bin/rpc/handlers.d.ts.map +1 -0
  30. package/dist/bin/rpc/types.d.ts +29 -0
  31. package/dist/bin/rpc/types.d.ts.map +1 -0
  32. package/dist/bin/template-info.cjs +1511 -0
  33. package/dist/bin/template-info.d.ts +9 -0
  34. package/dist/bin/template-info.d.ts.map +1 -0
  35. package/dist/bin/template-info.js +1488 -0
  36. package/dist/custom-objects/build-definitions.d.ts +98 -0
  37. package/dist/custom-objects/build-definitions.d.ts.map +1 -0
  38. package/dist/custom-objects/generated/proto/custom_objects/pub/api/app_api/object_definitions_app_service.pb.d.ts +191 -0
  39. package/dist/custom-objects/generated/proto/custom_objects/pub/api/app_api/object_definitions_app_service.pb.d.ts.map +1 -0
  40. package/dist/custom-objects/generated/proto/custom_objects/pub/api/common/schema.pb.d.ts +131 -0
  41. package/dist/custom-objects/generated/proto/custom_objects/pub/api/common/schema.pb.d.ts.map +1 -0
  42. package/dist/custom-objects/generated/proto/google/protobuf/descriptor.pb.d.ts +1482 -0
  43. package/dist/custom-objects/generated/proto/google/protobuf/descriptor.pb.d.ts.map +1 -0
  44. package/dist/custom-objects/generated/proto/google/protobuf/timestamp.pb.d.ts +167 -0
  45. package/dist/custom-objects/generated/proto/google/protobuf/timestamp.pb.d.ts.map +1 -0
  46. package/dist/custom-objects/generated/proto/proto/annotations.pb.d.ts +64 -0
  47. package/dist/custom-objects/generated/proto/proto/annotations.pb.d.ts.map +1 -0
  48. package/dist/custom-objects/generated/proto/proto/extensions.pb.d.ts +657 -0
  49. package/dist/custom-objects/generated/proto/proto/extensions.pb.d.ts.map +1 -0
  50. package/dist/custom-objects/generated/proto/vendor/metadata/pub/api/api_metadata.pb.d.ts +105 -0
  51. package/dist/custom-objects/generated/proto/vendor/metadata/pub/api/api_metadata.pb.d.ts.map +1 -0
  52. package/dist/custom-objects/generated/proto/vendor/net/idempotency/idempotency_model.pb.d.ts +79 -0
  53. package/dist/custom-objects/generated/proto/vendor/net/idempotency/idempotency_model.pb.d.ts.map +1 -0
  54. package/dist/custom-objects/generated/proto/vendor/publicapi/api_group_enum.pb.d.ts +129 -0
  55. package/dist/custom-objects/generated/proto/vendor/publicapi/api_group_enum.pb.d.ts.map +1 -0
  56. package/dist/custom-objects/generated/proto/vendor/publicapi/api_visibility.pb.d.ts +76 -0
  57. package/dist/custom-objects/generated/proto/vendor/publicapi/api_visibility.pb.d.ts.map +1 -0
  58. package/dist/custom-objects/generated/proto/vendor/publicapi/customize_dispatch_middleware_enum.pb.d.ts +78 -0
  59. package/dist/custom-objects/generated/proto/vendor/publicapi/customize_dispatch_middleware_enum.pb.d.ts.map +1 -0
  60. package/dist/custom-objects/generated/proto/vendor/publicapi/docs_namespace_group_enum.pb.d.ts +146 -0
  61. package/dist/custom-objects/generated/proto/vendor/publicapi/docs_namespace_group_enum.pb.d.ts.map +1 -0
  62. package/dist/custom-objects/generated/proto/vendor/publicapi/documented_enum.pb.d.ts +76 -0
  63. package/dist/custom-objects/generated/proto/vendor/publicapi/documented_enum.pb.d.ts.map +1 -0
  64. package/dist/custom-objects/generated/proto/vendor/publicapi/event_scope_enum.pb.d.ts +92 -0
  65. package/dist/custom-objects/generated/proto/vendor/publicapi/event_scope_enum.pb.d.ts.map +1 -0
  66. package/dist/custom-objects/generated/proto/vendor/publicapi/extension_interface.pb.d.ts +124 -0
  67. package/dist/custom-objects/generated/proto/vendor/publicapi/extension_interface.pb.d.ts.map +1 -0
  68. package/dist/custom-objects/generated/proto/vendor/publicapi/feature_enum.pb.d.ts +1070 -0
  69. package/dist/custom-objects/generated/proto/vendor/publicapi/feature_enum.pb.d.ts.map +1 -0
  70. package/dist/custom-objects/generated/proto/vendor/publicapi/field_validation_rules.pb.d.ts +279 -0
  71. package/dist/custom-objects/generated/proto/vendor/publicapi/field_validation_rules.pb.d.ts.map +1 -0
  72. package/dist/custom-objects/generated/proto/vendor/publicapi/flavor_enum.pb.d.ts +78 -0
  73. package/dist/custom-objects/generated/proto/vendor/publicapi/flavor_enum.pb.d.ts.map +1 -0
  74. package/dist/custom-objects/generated/proto/vendor/publicapi/http_error_status.pb.d.ts +102 -0
  75. package/dist/custom-objects/generated/proto/vendor/publicapi/http_error_status.pb.d.ts.map +1 -0
  76. package/dist/custom-objects/generated/proto/vendor/publicapi/method_kind_enum.pb.d.ts +86 -0
  77. package/dist/custom-objects/generated/proto/vendor/publicapi/method_kind_enum.pb.d.ts.map +1 -0
  78. package/dist/custom-objects/generated/proto/vendor/publicapi/method_priority.pb.d.ts +80 -0
  79. package/dist/custom-objects/generated/proto/vendor/publicapi/method_priority.pb.d.ts.map +1 -0
  80. package/dist/custom-objects/generated/proto/vendor/publicapi/permission_check_enum.pb.d.ts +74 -0
  81. package/dist/custom-objects/generated/proto/vendor/publicapi/permission_check_enum.pb.d.ts.map +1 -0
  82. package/dist/custom-objects/generated/proto/vendor/publicapi/redaction_enum.pb.d.ts +76 -0
  83. package/dist/custom-objects/generated/proto/vendor/publicapi/redaction_enum.pb.d.ts.map +1 -0
  84. package/dist/custom-objects/generated/proto/vendor/publicapi/region_routers.pb.d.ts +103 -0
  85. package/dist/custom-objects/generated/proto/vendor/publicapi/region_routers.pb.d.ts.map +1 -0
  86. package/dist/custom-objects/generated/proto/vendor/publicapi/rollout_configs.pb.d.ts +153 -0
  87. package/dist/custom-objects/generated/proto/vendor/publicapi/rollout_configs.pb.d.ts.map +1 -0
  88. package/dist/custom-objects/generated/proto/vendor/publicapi/v2ext.pb.d.ts +1111 -0
  89. package/dist/custom-objects/generated/proto/vendor/publicapi/v2ext.pb.d.ts.map +1 -0
  90. package/dist/custom-objects/generated/proto/vendor/vext/annotations.pb.d.ts +602 -0
  91. package/dist/custom-objects/generated/proto/vendor/vext/annotations.pb.d.ts.map +1 -0
  92. package/dist/custom-objects/generated/proto/vendor/vext/extensions.pb.d.ts +144 -0
  93. package/dist/custom-objects/generated/proto/vendor/vext/extensions.pb.d.ts.map +1 -0
  94. package/dist/custom-objects/generated/proto/vendor/vext/privacy_unified_annotations.pb.d.ts +851 -0
  95. package/dist/custom-objects/generated/proto/vendor/vext/privacy_unified_annotations.pb.d.ts.map +1 -0
  96. package/dist/custom-objects/generated/proto/vendor/vext/xml_annotations.pb.d.ts +125 -0
  97. package/dist/custom-objects/generated/proto/vendor/vext/xml_annotations.pb.d.ts.map +1 -0
  98. package/dist/custom-objects/to-proto-json.d.ts +17 -0
  99. package/dist/custom-objects/to-proto-json.d.ts.map +1 -0
  100. package/dist/dependencies/index.cjs +601 -0
  101. package/dist/dependencies/index.d.ts +320 -0
  102. package/dist/dependencies/index.d.ts.map +1 -0
  103. package/dist/dependencies/index.js +560 -0
  104. package/dist/extensibility-dev-tools-alpha.d.ts +199 -0
  105. package/dist/extensibility-dev-tools-beta.d.ts +199 -0
  106. package/dist/extensibility-dev-tools-dependencies-alpha.d.ts +51 -0
  107. package/dist/extensibility-dev-tools-dependencies-beta.d.ts +51 -0
  108. package/dist/extensibility-dev-tools-dependencies-internal.d.ts +372 -0
  109. package/dist/extensibility-dev-tools-dependencies-public.d.ts +51 -0
  110. package/dist/extensibility-dev-tools-internal.d.ts +1722 -0
  111. package/dist/extensibility-dev-tools-jsonschema-tools-alpha.d.ts +57 -0
  112. package/dist/extensibility-dev-tools-jsonschema-tools-beta.d.ts +57 -0
  113. package/dist/extensibility-dev-tools-jsonschema-tools-internal.d.ts +123 -0
  114. package/dist/extensibility-dev-tools-jsonschema-tools-public.d.ts +57 -0
  115. package/dist/extensibility-dev-tools-manifest-alpha.d.ts +31 -0
  116. package/dist/extensibility-dev-tools-manifest-beta.d.ts +31 -0
  117. package/dist/extensibility-dev-tools-manifest-internal.d.ts +461 -0
  118. package/dist/extensibility-dev-tools-manifest-public.d.ts +31 -0
  119. package/dist/extensibility-dev-tools-public.d.ts +199 -0
  120. package/dist/extensibility-dev-tools-schemas-alpha.d.ts +9 -0
  121. package/dist/extensibility-dev-tools-schemas-beta.d.ts +9 -0
  122. package/dist/extensibility-dev-tools-schemas-internal.d.ts +41 -0
  123. package/dist/extensibility-dev-tools-schemas-public.d.ts +9 -0
  124. package/dist/extensibility-dev-tools-templates-alpha.d.ts +67 -0
  125. package/dist/extensibility-dev-tools-templates-beta.d.ts +67 -0
  126. package/dist/extensibility-dev-tools-templates-internal.d.ts +554 -0
  127. package/dist/extensibility-dev-tools-templates-public.d.ts +67 -0
  128. package/dist/extensibility-dev-tools-workspace-alpha.d.ts +51 -0
  129. package/dist/extensibility-dev-tools-workspace-beta.d.ts +51 -0
  130. package/dist/extensibility-dev-tools-workspace-internal.d.ts +410 -0
  131. package/dist/extensibility-dev-tools-workspace-public.d.ts +51 -0
  132. package/dist/index.cjs +3810 -0
  133. package/dist/index.d.ts +18 -0
  134. package/dist/index.d.ts.map +1 -0
  135. package/dist/index.js +3758 -0
  136. package/dist/jsonschema-tools.cjs +20451 -0
  137. package/dist/jsonschema-tools.d.ts +98 -0
  138. package/dist/jsonschema-tools.d.ts.map +1 -0
  139. package/dist/jsonschema-tools.js +20404 -0
  140. package/dist/manifest/index.cjs +610 -0
  141. package/dist/manifest/index.d.ts +8 -0
  142. package/dist/manifest/index.d.ts.map +1 -0
  143. package/dist/manifest/index.js +571 -0
  144. package/dist/manifest/manifest-v1.d.ts +102 -0
  145. package/dist/manifest/manifest-v1.d.ts.map +1 -0
  146. package/dist/manifest/manifest-v2.d.ts +253 -0
  147. package/dist/manifest/manifest-v2.d.ts.map +1 -0
  148. package/dist/manifest/stripe-app-manifest.d.ts +114 -0
  149. package/dist/manifest/stripe-app-manifest.d.ts.map +1 -0
  150. package/dist/schemas/index.cjs +20692 -0
  151. package/dist/schemas/index.d.ts +37 -0
  152. package/dist/schemas/index.d.ts.map +1 -0
  153. package/dist/schemas/index.js +20656 -0
  154. package/dist/templates/diff-viewer/diff-generator.d.ts +22 -0
  155. package/dist/templates/diff-viewer/diff-generator.d.ts.map +1 -0
  156. package/dist/templates/diff-viewer/diff-prompt.d.ts +13 -0
  157. package/dist/templates/diff-viewer/diff-prompt.d.ts.map +1 -0
  158. package/dist/templates/diff-viewer/index.d.ts +7 -0
  159. package/dist/templates/diff-viewer/index.d.ts.map +1 -0
  160. package/dist/templates/diff-viewer/terminal-renderer.d.ts +29 -0
  161. package/dist/templates/diff-viewer/terminal-renderer.d.ts.map +1 -0
  162. package/dist/templates/diff-viewer/types.d.ts +58 -0
  163. package/dist/templates/diff-viewer/types.d.ts.map +1 -0
  164. package/dist/templates/extensions/base.d.ts +23 -0
  165. package/dist/templates/extensions/base.d.ts.map +1 -0
  166. package/dist/templates/extensions/billing.bill.discount_calculation.d.ts +6 -0
  167. package/dist/templates/extensions/billing.bill.discount_calculation.d.ts.map +1 -0
  168. package/dist/templates/extensions/billing.customer_balance_application.d.ts +6 -0
  169. package/dist/templates/extensions/billing.customer_balance_application.d.ts.map +1 -0
  170. package/dist/templates/extensions/billing.invoice_collection_setting.d.ts +6 -0
  171. package/dist/templates/extensions/billing.invoice_collection_setting.d.ts.map +1 -0
  172. package/dist/templates/extensions/billing.prorations.d.ts +6 -0
  173. package/dist/templates/extensions/billing.prorations.d.ts.map +1 -0
  174. package/dist/templates/extensions/billing.recurring_billing_item_handling.d.ts +6 -0
  175. package/dist/templates/extensions/billing.recurring_billing_item_handling.d.ts.map +1 -0
  176. package/dist/templates/extensions/core.workflows.custom_action.d.ts +6 -0
  177. package/dist/templates/extensions/core.workflows.custom_action.d.ts.map +1 -0
  178. package/dist/templates/extensions/extend.objects.custom_objects.d.ts +6 -0
  179. package/dist/templates/extensions/extend.objects.custom_objects.d.ts.map +1 -0
  180. package/dist/templates/extensions/extend.workflows.custom_action.d.ts +6 -0
  181. package/dist/templates/extensions/extend.workflows.custom_action.d.ts.map +1 -0
  182. package/dist/templates/extensions/index.d.ts +13 -0
  183. package/dist/templates/extensions/index.d.ts.map +1 -0
  184. package/dist/templates/extensions/registry.d.ts +10 -0
  185. package/dist/templates/extensions/registry.d.ts.map +1 -0
  186. package/dist/templates/extensions/types.d.ts +104 -0
  187. package/dist/templates/extensions/types.d.ts.map +1 -0
  188. package/dist/templates/file-writer.d.ts +140 -0
  189. package/dist/templates/file-writer.d.ts.map +1 -0
  190. package/dist/templates/fs/_impl.d.ts +29 -0
  191. package/dist/templates/fs/_impl.d.ts.map +1 -0
  192. package/dist/templates/fs/filesystem.d.ts +8 -0
  193. package/dist/templates/fs/filesystem.d.ts.map +1 -0
  194. package/dist/templates/fs/in-memory.d.ts +9 -0
  195. package/dist/templates/fs/in-memory.d.ts.map +1 -0
  196. package/dist/templates/fs/index.d.ts +25 -0
  197. package/dist/templates/fs/index.d.ts.map +1 -0
  198. package/dist/templates/fs-utils.d.ts +17 -0
  199. package/dist/templates/fs-utils.d.ts.map +1 -0
  200. package/dist/templates/index.cjs +2248 -0
  201. package/dist/templates/index.d.ts +32 -0
  202. package/dist/templates/index.d.ts.map +1 -0
  203. package/dist/templates/index.js +2203 -0
  204. package/dist/templates/root/index.d.ts +60 -0
  205. package/dist/templates/root/index.d.ts.map +1 -0
  206. package/dist/templates/simple-templates.d.ts +8 -0
  207. package/dist/templates/simple-templates.d.ts.map +1 -0
  208. package/dist/templates/template-manager.d.ts +8 -0
  209. package/dist/templates/template-manager.d.ts.map +1 -0
  210. package/dist/templates/types.d.ts +9 -0
  211. package/dist/templates/types.d.ts.map +1 -0
  212. package/dist/tsconfig.build.tsbuildinfo +1 -0
  213. package/dist/workspace/index.cjs +3756 -0
  214. package/dist/workspace/index.d.ts +336 -0
  215. package/dist/workspace/index.d.ts.map +1 -0
  216. package/dist/workspace/index.js +3731 -0
  217. package/package.json +137 -0
  218. package/templates/extensions/billing.bill.discount_calculation/index.test.ts +15 -0
  219. package/templates/extensions/billing.bill.discount_calculation/index.ts +20 -0
  220. package/templates/extensions/billing.customer_balance_application/index.test.ts +15 -0
  221. package/templates/extensions/billing.customer_balance_application/index.ts +18 -0
  222. package/templates/extensions/billing.invoice_collection_setting/index.test.ts +15 -0
  223. package/templates/extensions/billing.invoice_collection_setting/index.ts +16 -0
  224. package/templates/extensions/billing.prorations/index.test.ts +15 -0
  225. package/templates/extensions/billing.prorations/index.ts +18 -0
  226. package/templates/extensions/billing.recurring_billing_item_handling/index.test.ts +15 -0
  227. package/templates/extensions/billing.recurring_billing_item_handling/index.ts +42 -0
  228. package/templates/extensions/common/.prettierignore +3 -0
  229. package/templates/extensions/common/eslint.config.mts.mustache +95 -0
  230. package/templates/extensions/common/package.json.mustache +26 -0
  231. package/templates/extensions/common/tsconfig.build.json.mustache +15 -0
  232. package/templates/extensions/common/tsconfig.json.mustache +16 -0
  233. package/templates/extensions/core.workflows.custom_action/custom_input.schema.json +6 -0
  234. package/templates/extensions/core.workflows.custom_action/index.test.ts +15 -0
  235. package/templates/extensions/core.workflows.custom_action/index.ts +31 -0
  236. package/templates/extensions/extend.workflows.custom_action/custom_input.schema.json +6 -0
  237. package/templates/extensions/extend.workflows.custom_action/index.test.ts +15 -0
  238. package/templates/extensions/extend.workflows.custom_action/index.ts +31 -0
  239. package/templates/root/.husky/pre-commit +1 -0
  240. package/templates/root/.prettierignore +5 -0
  241. package/templates/root/.prettierrc +7 -0
  242. package/templates/root/_gitignore +28 -0
  243. package/templates/root/custom-objects/package.json +20 -0
  244. package/templates/root/custom-objects/tsconfig.json +9 -0
  245. package/templates/root/eslint.config.mts +95 -0
  246. package/templates/root/package.json.mustache +32 -0
  247. package/templates/root/pnpm-workspace.yaml +7 -0
  248. package/templates/root/stripe-app.yaml.mustache +6 -0
  249. package/templates/root/tools/test.mts +38 -0
  250. package/templates/root/tsconfig.base.json +23 -0
  251. package/templates/root/tsconfig.json +15 -0
  252. package/templates/root/ui/package.json +17 -0
  253. package/templates/root/vitest.config.mts +47 -0
@@ -0,0 +1,657 @@
1
+ export declare const protobufPackage = "com.stripe.ext";
2
+ /** Proto3 extensions are still written in proto2 */
3
+ /**
4
+ * Stripe recognizes these types of personally identifiable information.
5
+ * (See option 51000 in `FieldOptions`.)
6
+ */
7
+ export declare const PII: {
8
+ /**
9
+ * ACCOUNT_NUMBER - An institutional account number, e.g. card, bank, social media,
10
+ * digital wallet. For gov't-issued ID numbers, use `id_number`..
11
+ */
12
+ readonly ACCOUNT_NUMBER: "ACCOUNT_NUMBER";
13
+ /** DEVICE - A device identifier */
14
+ readonly DEVICE: "DEVICE";
15
+ /** DOB - Date of birth */
16
+ readonly DOB: "DOB";
17
+ readonly EMAIL_ADDRESS: "EMAIL_ADDRESS";
18
+ /**
19
+ * FREEFORM - Freeform text that can be connected to an individual. Examples would
20
+ * include Stripe employee bios, user correspondence, or narratives
21
+ * describing account activity.
22
+ */
23
+ readonly FREEFORM: "FREEFORM";
24
+ /** GENDER - A gender identifier. */
25
+ readonly GENDER: "GENDER";
26
+ /**
27
+ * ID_NUMBER - A gov't-issued identity document code, e.g. TIN, Passport,
28
+ * driver's license. For non-gov't account numbers, use `account_number`.
29
+ */
30
+ readonly ID_NUMBER: "ID_NUMBER";
31
+ /** IMAGE - e.g. photo ID scans, profile pics */
32
+ readonly IMAGE: "IMAGE";
33
+ /**
34
+ * IP_ADDRESS - Generaly this refers source IP addresses that could identify an
35
+ * individual's activity or location.
36
+ */
37
+ readonly IP_ADDRESS: "IP_ADDRESS";
38
+ /**
39
+ * LOCATION - Refers to a physical location. Anything more granular than country should
40
+ * have this label (e.g. geo coordinates, state, ZIP, etc.)
41
+ */
42
+ readonly LOCATION: "LOCATION";
43
+ /** NAME - A legal name or alias. For online identifiers, use `username`. */
44
+ readonly NAME: "NAME";
45
+ /** ORGANIZATION - e.g. employer, school */
46
+ readonly ORGANIZATION: "ORGANIZATION";
47
+ /** PASSWORD - Password belonging to a customer, merchant, or Stripe employee. */
48
+ readonly PASSWORD: "PASSWORD";
49
+ readonly PHONE_NUMBER: "PHONE_NUMBER";
50
+ /** RELATIONSHIP - e.g. social network connection, employment position */
51
+ readonly RELATIONSHIP: "RELATIONSHIP";
52
+ /**
53
+ * URL - e.g. a personal homepage, a link to a social media profile, or a businees
54
+ * url tied to an individual.
55
+ */
56
+ readonly URL: "URL";
57
+ /**
58
+ * USERNAME - A username, login, or other online identifier.
59
+ * (Use the more specific `email_address` if applicable.)
60
+ */
61
+ readonly USERNAME: "USERNAME";
62
+ /** ANY_PII - Could be any type of PII defined here (e.g., "*") */
63
+ readonly ANY_PII: "ANY_PII";
64
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
65
+ };
66
+ export type PII = typeof PII[keyof typeof PII];
67
+ export declare namespace PII {
68
+ type ACCOUNT_NUMBER = typeof PII.ACCOUNT_NUMBER;
69
+ type DEVICE = typeof PII.DEVICE;
70
+ type DOB = typeof PII.DOB;
71
+ type EMAIL_ADDRESS = typeof PII.EMAIL_ADDRESS;
72
+ type FREEFORM = typeof PII.FREEFORM;
73
+ type GENDER = typeof PII.GENDER;
74
+ type ID_NUMBER = typeof PII.ID_NUMBER;
75
+ type IMAGE = typeof PII.IMAGE;
76
+ type IP_ADDRESS = typeof PII.IP_ADDRESS;
77
+ type LOCATION = typeof PII.LOCATION;
78
+ type NAME = typeof PII.NAME;
79
+ type ORGANIZATION = typeof PII.ORGANIZATION;
80
+ type PASSWORD = typeof PII.PASSWORD;
81
+ type PHONE_NUMBER = typeof PII.PHONE_NUMBER;
82
+ type RELATIONSHIP = typeof PII.RELATIONSHIP;
83
+ type URL = typeof PII.URL;
84
+ type USERNAME = typeof PII.USERNAME;
85
+ type ANY_PII = typeof PII.ANY_PII;
86
+ type UNRECOGNIZED = typeof PII.UNRECOGNIZED;
87
+ }
88
+ /** These are annotations for values that are not PII but is sensitive */
89
+ export declare const NonPII: {
90
+ /** SECURITY_TOKEN - A randomly-generated key such as an API key, 2FA token, or session cookie. */
91
+ readonly SECURITY_TOKEN: "SECURITY_TOKEN";
92
+ /** NOT_SENSITIVE_BUT_HIDDEN_FROM_USERS - Something that technically isn't actually sensitive, but we should still hide the value from users for whatever reason. */
93
+ readonly NOT_SENSITIVE_BUT_HIDDEN_FROM_USERS: "NOT_SENSITIVE_BUT_HIDDEN_FROM_USERS";
94
+ /** STRIPE_CONTROLLED_ACCOUNT_NUMBER - These are Stripe-controlled external account numbers. EG: Stripe's bank account numbers. Do not use for Stripe-created IDs like `acct_`, `pi_`, etc. */
95
+ readonly STRIPE_CONTROLLED_ACCOUNT_NUMBER: "STRIPE_CONTROLLED_ACCOUNT_NUMBER";
96
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
97
+ };
98
+ export type NonPII = typeof NonPII[keyof typeof NonPII];
99
+ export declare namespace NonPII {
100
+ type SECURITY_TOKEN = typeof NonPII.SECURITY_TOKEN;
101
+ type NOT_SENSITIVE_BUT_HIDDEN_FROM_USERS = typeof NonPII.NOT_SENSITIVE_BUT_HIDDEN_FROM_USERS;
102
+ type STRIPE_CONTROLLED_ACCOUNT_NUMBER = typeof NonPII.STRIPE_CONTROLLED_ACCOUNT_NUMBER;
103
+ type UNRECOGNIZED = typeof NonPII.UNRECOGNIZED;
104
+ }
105
+ export declare const DataSubject: {
106
+ readonly EMPLOYEE: "EMPLOYEE";
107
+ readonly END_CUSTOMER: "END_CUSTOMER";
108
+ readonly END_CUSTOMER_CHECKOUT: "END_CUSTOMER_CHECKOUT";
109
+ readonly MERCHANT: "MERCHANT";
110
+ readonly OTHER_PEP: "OTHER_PEP";
111
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
112
+ };
113
+ export type DataSubject = typeof DataSubject[keyof typeof DataSubject];
114
+ export declare namespace DataSubject {
115
+ type EMPLOYEE = typeof DataSubject.EMPLOYEE;
116
+ type END_CUSTOMER = typeof DataSubject.END_CUSTOMER;
117
+ type END_CUSTOMER_CHECKOUT = typeof DataSubject.END_CUSTOMER_CHECKOUT;
118
+ type MERCHANT = typeof DataSubject.MERCHANT;
119
+ type OTHER_PEP = typeof DataSubject.OTHER_PEP;
120
+ type UNRECOGNIZED = typeof DataSubject.UNRECOGNIZED;
121
+ }
122
+ export declare const IdFormat: {
123
+ /**
124
+ * INVALID - Invalid default option - choose one of the others explicitly
125
+ * buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
126
+ */
127
+ readonly INVALID: "INVALID";
128
+ /** RAW - A raw ID can be used as a shard key as-is. */
129
+ readonly RAW: "RAW";
130
+ /** COMPOSED - A composed ID is prefixed with a type identifier e.g. acct_ or MR) */
131
+ readonly COMPOSED: "COMPOSED";
132
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
133
+ };
134
+ export type IdFormat = typeof IdFormat[keyof typeof IdFormat];
135
+ export declare namespace IdFormat {
136
+ type INVALID = typeof IdFormat.INVALID;
137
+ type RAW = typeof IdFormat.RAW;
138
+ type COMPOSED = typeof IdFormat.COMPOSED;
139
+ type UNRECOGNIZED = typeof IdFormat.UNRECOGNIZED;
140
+ }
141
+ export declare const ShardRouting: {
142
+ /** ANY - Route to any shard. */
143
+ readonly ANY: "ANY";
144
+ /** DEFAULT_SHARD - Always route to the default shard (i.e. shard 0). */
145
+ readonly DEFAULT_SHARD: "DEFAULT_SHARD";
146
+ /**
147
+ * ID - Route to a shard based on an id in the message (a field annotated with
148
+ * IdFormat).
149
+ */
150
+ readonly ID: "ID";
151
+ /** CUSTOM - Use a custom user-provided shard function. */
152
+ readonly CUSTOM: "CUSTOM";
153
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
154
+ };
155
+ export type ShardRouting = typeof ShardRouting[keyof typeof ShardRouting];
156
+ export declare namespace ShardRouting {
157
+ type ANY = typeof ShardRouting.ANY;
158
+ type DEFAULT_SHARD = typeof ShardRouting.DEFAULT_SHARD;
159
+ type ID = typeof ShardRouting.ID;
160
+ type CUSTOM = typeof ShardRouting.CUSTOM;
161
+ type UNRECOGNIZED = typeof ShardRouting.UNRECOGNIZED;
162
+ }
163
+ export declare const RequestPriority: {
164
+ /** P0 - Ops that are on the critical path (i.e. needed for the reader to transact and accept payments). */
165
+ readonly P0: "P0";
166
+ /** P1 - All other ops which are not part of the aforementioned critical payment path. */
167
+ readonly P1: "P1";
168
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
169
+ };
170
+ export type RequestPriority = typeof RequestPriority[keyof typeof RequestPriority];
171
+ export declare namespace RequestPriority {
172
+ type P0 = typeof RequestPriority.P0;
173
+ type P1 = typeof RequestPriority.P1;
174
+ type UNRECOGNIZED = typeof RequestPriority.UNRECOGNIZED;
175
+ }
176
+ export declare const Cluster: {
177
+ /** CLUSTER_INVALID - buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX */
178
+ readonly CLUSTER_INVALID: "CLUSTER_INVALID";
179
+ readonly NORTHWEST: "NORTHWEST";
180
+ readonly CMH: "CMH";
181
+ readonly BOM: "BOM";
182
+ readonly EAST: "EAST";
183
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
184
+ };
185
+ export type Cluster = typeof Cluster[keyof typeof Cluster];
186
+ export declare namespace Cluster {
187
+ type CLUSTER_INVALID = typeof Cluster.CLUSTER_INVALID;
188
+ type NORTHWEST = typeof Cluster.NORTHWEST;
189
+ type CMH = typeof Cluster.CMH;
190
+ type BOM = typeof Cluster.BOM;
191
+ type EAST = typeof Cluster.EAST;
192
+ type UNRECOGNIZED = typeof Cluster.UNRECOGNIZED;
193
+ }
194
+ export interface KafkaPublishConfiguration {
195
+ /**
196
+ * Wait for an ack from the Kafka cluster before returning successfully from
197
+ * the `report` method?
198
+ *
199
+ * Use `sync = false` when you would rather silently drop a message than fail
200
+ * the surrounding operation on a Kafka failure (this is reasonable for many
201
+ * logging use cases).
202
+ *
203
+ * (If unset, defaults to true)
204
+ */
205
+ sync?: boolean | undefined;
206
+ /**
207
+ * How should the event be serialized in the Kafka topic? (If unset,
208
+ * defaults to BSON)
209
+ */
210
+ wireFormat?: KafkaPublishConfiguration_WireFormat | undefined;
211
+ /**
212
+ * Setting envelope_collection will cause events to be serialized as:
213
+ * {collection: 'your_collection', event: {...}}
214
+ * instead of leaving the event as the top-level object. This is required
215
+ * when multiplexing multiple event types into a single Kafka topic (e.g.
216
+ * 'reporting.events').
217
+ */
218
+ envelopeCollection?: string | undefined;
219
+ /**
220
+ * Can this event wait to be published, possibly until the end of a request?
221
+ * If the so, the publish call-sites will be optimized for latency, with the
222
+ * below behaviours. For more details, see
223
+ *
224
+ * - SYNC events will be batch published at the end of a request, saving on
225
+ * the Kafka round-trips of individual publishes (~6.5ms per publish)
226
+ *
227
+ * - ASYNC events will wait until the request finishes to publish out-of-band,
228
+ * saving on serialization and non-blocking Excon costs (~1.8ms per
229
+ * publish).
230
+ *
231
+ * There are some consequences of opting into this that need to be considered
232
+ * before enabling the feature:
233
+ *
234
+ * 1. Deferring will add latency to the perceived event publish-to-consume
235
+ * time. If your event has sub-30s publish-to-consume requirements, it is
236
+ * possible that long-running requests will delay your event until by
237
+ * that amount.
238
+ *
239
+ * 2. Deferring may drop your event in exceptional failures, such as if the
240
+ * host/process crashes before reaching the end of a request. For SYNC
241
+ * events, deferring still *guarantees* that events are published for
242
+ * status 200/400 and if the publish fails a 500 is returned.
243
+ *
244
+ * Here are examples of events that would NOT be okay to opt-in:
245
+ *
246
+ * - ChargeInitialized, which is produced during the PaymentIntent creation
247
+ * before a card authorization. It is used to reverse a pending transaction
248
+ * for a card holder, including for cleanup on failures (e.g. process
249
+ * crashed before finishing PaymentIntent creation).
250
+ *
251
+ * - 2FA emails, which send a notification to a customer. Deferring these may
252
+ * create a user-visible delay.
253
+ *
254
+ * (If unset, defaults to false)
255
+ */
256
+ allowPublishingLater?: boolean | undefined;
257
+ }
258
+ export declare const KafkaPublishConfiguration_WireFormat: {
259
+ readonly BSON: "BSON";
260
+ readonly JSON: "JSON";
261
+ readonly PROTO: "PROTO";
262
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
263
+ };
264
+ export type KafkaPublishConfiguration_WireFormat = typeof KafkaPublishConfiguration_WireFormat[keyof typeof KafkaPublishConfiguration_WireFormat];
265
+ export declare namespace KafkaPublishConfiguration_WireFormat {
266
+ type BSON = typeof KafkaPublishConfiguration_WireFormat.BSON;
267
+ type JSON = typeof KafkaPublishConfiguration_WireFormat.JSON;
268
+ type PROTO = typeof KafkaPublishConfiguration_WireFormat.PROTO;
269
+ type UNRECOGNIZED = typeof KafkaPublishConfiguration_WireFormat.UNRECOGNIZED;
270
+ }
271
+ export interface MongoModelConfiguration {
272
+ /**
273
+ * The source class name. Could be a Chalk::ODM model or DataView. Added here
274
+ * to help programmers understand the source of this data.
275
+ */
276
+ rubyType?: string | undefined;
277
+ /**
278
+ * The Mongo collection name, for use when loads the data from
279
+ * Mongo snapshots.
280
+ */
281
+ collectionName?: string | undefined;
282
+ /**
283
+ * The Redshift/Presto table name, for use when copies the
284
+ * Mongo data into a table.
285
+ */
286
+ tableName?: string | undefined;
287
+ /** The team/project that owns this Chalk::ODM document type. */
288
+ owningProject?: string | undefined;
289
+ /** Should we automatically import this from Mongo to Presto? */
290
+ prestoEnabled?: boolean | undefined;
291
+ /** Should we automatically import this into Redshift? */
292
+ redshiftEnabled?: boolean | undefined;
293
+ /** A custom schema name for the table in Redshift/Presto */
294
+ schemaName?: string | undefined;
295
+ /** Enable or disable validation of the snapshot in the mugatu pipeline (uncommonly used, but some collections have duplicate ids and need to disable this) */
296
+ enableSnapshotValidation?: boolean | undefined;
297
+ /** Enable or disable model version framework integration (DATALIB) */
298
+ enableModelVersion?: boolean | undefined;
299
+ /** Which jira project owns the resulting data. */
300
+ dataOwner?: string | undefined;
301
+ /** Categorizes how the dataset will be used in */
302
+ datasetUsage?: string | undefined;
303
+ }
304
+ export interface CodeGenMetadata {
305
+ /** */
306
+ viewType?: string | undefined;
307
+ /** */
308
+ specType?: string | undefined;
309
+ /** */
310
+ modelType?: string | undefined;
311
+ }
312
+ /** Table-level metadata to propagate into Hubble */
313
+ export interface HubbleTableMetadata {
314
+ description?: string | undefined;
315
+ }
316
+ /** Column-level metadata to propagate into Hubble */
317
+ export interface HubbleColumnMetadata {
318
+ description?: string | undefined;
319
+ }
320
+ /**
321
+ * Mongo index annotation for Horizon models
322
+ * Example proto with index and queries:
323
+ * option (com.stripe.proto.mongo_index) = {
324
+ * field: {
325
+ * name: "ALPHA"
326
+ * order: ASC
327
+ * }
328
+ * field: {
329
+ * name: "BETA"
330
+ * order: ASC
331
+ * }
332
+ * query: {
333
+ * name: "first_query"
334
+ * eq: "ALPHA"
335
+ * in: "BETA"
336
+ * sort: {
337
+ * asc: "ALPHA"
338
+ * }
339
+ * limit: 100
340
+ * }
341
+ * };
342
+ */
343
+ export interface MongoIndex {
344
+ /** index definition */
345
+ field: MongoIndex_Field[];
346
+ /** unique index or not */
347
+ unique?: boolean | undefined;
348
+ /** list of queries that use this index */
349
+ query: MongoIndex_Query[];
350
+ }
351
+ export declare const MongoIndex_Order: {
352
+ readonly ASC: "ASC";
353
+ readonly DESC: "DESC";
354
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
355
+ };
356
+ export type MongoIndex_Order = typeof MongoIndex_Order[keyof typeof MongoIndex_Order];
357
+ export declare namespace MongoIndex_Order {
358
+ type ASC = typeof MongoIndex_Order.ASC;
359
+ type DESC = typeof MongoIndex_Order.DESC;
360
+ type UNRECOGNIZED = typeof MongoIndex_Order.UNRECOGNIZED;
361
+ }
362
+ export declare const MongoIndex_Operator: {
363
+ readonly EQ: "EQ";
364
+ readonly NE: "NE";
365
+ readonly GT: "GT";
366
+ readonly GTE: "GTE";
367
+ readonly LT: "LT";
368
+ readonly LTE: "LTE";
369
+ readonly IN: "IN";
370
+ readonly NIN: "NIN";
371
+ readonly REGEX: "REGEX";
372
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
373
+ };
374
+ export type MongoIndex_Operator = typeof MongoIndex_Operator[keyof typeof MongoIndex_Operator];
375
+ export declare namespace MongoIndex_Operator {
376
+ type EQ = typeof MongoIndex_Operator.EQ;
377
+ type NE = typeof MongoIndex_Operator.NE;
378
+ type GT = typeof MongoIndex_Operator.GT;
379
+ type GTE = typeof MongoIndex_Operator.GTE;
380
+ type LT = typeof MongoIndex_Operator.LT;
381
+ type LTE = typeof MongoIndex_Operator.LTE;
382
+ type IN = typeof MongoIndex_Operator.IN;
383
+ type NIN = typeof MongoIndex_Operator.NIN;
384
+ type REGEX = typeof MongoIndex_Operator.REGEX;
385
+ type UNRECOGNIZED = typeof MongoIndex_Operator.UNRECOGNIZED;
386
+ }
387
+ export interface MongoIndex_Field {
388
+ name: string;
389
+ order?: MongoIndex_Order | undefined;
390
+ }
391
+ /** Prop is deprecated */
392
+ export interface MongoIndex_Prop {
393
+ name: string;
394
+ /** defaults to EQ */
395
+ is?: MongoIndex_Operator | undefined;
396
+ }
397
+ export interface MongoIndex_Sort {
398
+ asc: string[];
399
+ desc: string[];
400
+ }
401
+ export interface MongoIndex_Query {
402
+ name: string;
403
+ sort: MongoIndex_Sort[];
404
+ /** limit of 0 means a dynamic limit */
405
+ limit?: number | undefined;
406
+ /** following query operators that are ANDed together */
407
+ eq: string[];
408
+ ne: string[];
409
+ gt: string[];
410
+ gte: string[];
411
+ lt: string[];
412
+ lte: string[];
413
+ in: string[];
414
+ regex: string[];
415
+ }
416
+ /**
417
+ * Main interface of the gRPC cell pinning annotation. It appears that we cannot
418
+ * directly use oneof fields for an extension, hence we have wrapped a message
419
+ * around the two options -- a service owner needs to either have a cell pinning
420
+ * strategy or provide a business reason to opt out of cell pinning
421
+ */
422
+ export interface CellPinning {
423
+ pinningStrategy: {
424
+ $case: "spec";
425
+ value: CellPinning_CellPinningSpec;
426
+ } | {
427
+ $case: "bypass";
428
+ value: CellPinning_CellPinningBypass;
429
+ } | undefined;
430
+ regionalResiliencyCheck?: CellPinning_RegionalResiliencyCheck | undefined;
431
+ }
432
+ /**
433
+ * Routing preference based on consistency semantics of an endpoint. For the primary mode,
434
+ * the RPC is intended to only service a request only in the primary region of the pinned
435
+ * entity of the request. For the secondary mode, the RPC is intended to be able to service
436
+ * a request in any cluster that the pinned entity's data is replicated to.
437
+ */
438
+ export declare const CellPinning_RoutingPreference: {
439
+ /** PREFERENCE_INVALID - buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX */
440
+ readonly PREFERENCE_INVALID: "PREFERENCE_INVALID";
441
+ readonly SECONDARY: "SECONDARY";
442
+ readonly PRIMARY: "PRIMARY";
443
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
444
+ };
445
+ export type CellPinning_RoutingPreference = typeof CellPinning_RoutingPreference[keyof typeof CellPinning_RoutingPreference];
446
+ export declare namespace CellPinning_RoutingPreference {
447
+ type PREFERENCE_INVALID = typeof CellPinning_RoutingPreference.PREFERENCE_INVALID;
448
+ type SECONDARY = typeof CellPinning_RoutingPreference.SECONDARY;
449
+ type PRIMARY = typeof CellPinning_RoutingPreference.PRIMARY;
450
+ type UNRECOGNIZED = typeof CellPinning_RoutingPreference.UNRECOGNIZED;
451
+ }
452
+ /** Custom cell enforcement mode for an endpoint. */
453
+ export declare const CellPinning_EnforcementMode: {
454
+ /** MODE_INVALID - buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX */
455
+ readonly MODE_INVALID: "MODE_INVALID";
456
+ /** MODE_ALLOW - Allow all cell violations */
457
+ readonly MODE_ALLOW: "MODE_ALLOW";
458
+ /** MODE_WARN - Log, but don't error on cell violations */
459
+ readonly MODE_WARN: "MODE_WARN";
460
+ /** MODE_DENY - Error on cell violations */
461
+ readonly MODE_DENY: "MODE_DENY";
462
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
463
+ };
464
+ export type CellPinning_EnforcementMode = typeof CellPinning_EnforcementMode[keyof typeof CellPinning_EnforcementMode];
465
+ export declare namespace CellPinning_EnforcementMode {
466
+ type MODE_INVALID = typeof CellPinning_EnforcementMode.MODE_INVALID;
467
+ type MODE_ALLOW = typeof CellPinning_EnforcementMode.MODE_ALLOW;
468
+ type MODE_WARN = typeof CellPinning_EnforcementMode.MODE_WARN;
469
+ type MODE_DENY = typeof CellPinning_EnforcementMode.MODE_DENY;
470
+ type UNRECOGNIZED = typeof CellPinning_EnforcementMode.UNRECOGNIZED;
471
+ }
472
+ /** Cell types available */
473
+ export declare const CellPinning_CellType: {
474
+ /** CELL_TYPE_INVALID - buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX */
475
+ readonly CELL_TYPE_INVALID: "CELL_TYPE_INVALID";
476
+ readonly MERCHANT_CELL: "MERCHANT_CELL";
477
+ readonly GLOBAL_CELL: "GLOBAL_CELL";
478
+ readonly CLUSTER_LOCAL_CELL: "CLUSTER_LOCAL_CELL";
479
+ readonly OFFLINE_LZ_CELL: "OFFLINE_LZ_CELL";
480
+ readonly LEGACY_NW_CELL: "LEGACY_NW_CELL";
481
+ readonly ONLINE_LZ_CELL: "ONLINE_LZ_CELL";
482
+ readonly COMPACT_MERCHANT_CELL: "COMPACT_MERCHANT_CELL";
483
+ readonly KAFKA_CELL_TYPE: "KAFKA_CELL_TYPE";
484
+ readonly MAINLAND_TOKEN_CELL: "MAINLAND_TOKEN_CELL";
485
+ readonly STRIPE_CORP_CELL: "STRIPE_CORP_CELL";
486
+ readonly API_CELL: "API_CELL";
487
+ readonly LIMITED_FAILOVER_API_CELL: "LIMITED_FAILOVER_API_CELL";
488
+ readonly CLEARING_CELL: "CLEARING_CELL";
489
+ /**
490
+ * SINGLETON_DEFAULT_ONLY_CELL - The singleton default only cell isn't its own cell type but a partition
491
+ * on the ONLINE_LZ_CELL. The reason we are adding it to this enum type is to
492
+ * allow teams to annotate their protos to route by the ONLINE_LZ_CELL
493
+ * without having to specify a locality zone entity in their requests.
494
+ * SINGLETON_DEFAULT_ONLY_CELL should not be added to any other CellType enums.
495
+ */
496
+ readonly SINGLETON_DEFAULT_ONLY_CELL: "SINGLETON_DEFAULT_ONLY_CELL";
497
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
498
+ };
499
+ export type CellPinning_CellType = typeof CellPinning_CellType[keyof typeof CellPinning_CellType];
500
+ export declare namespace CellPinning_CellType {
501
+ type CELL_TYPE_INVALID = typeof CellPinning_CellType.CELL_TYPE_INVALID;
502
+ type MERCHANT_CELL = typeof CellPinning_CellType.MERCHANT_CELL;
503
+ type GLOBAL_CELL = typeof CellPinning_CellType.GLOBAL_CELL;
504
+ type CLUSTER_LOCAL_CELL = typeof CellPinning_CellType.CLUSTER_LOCAL_CELL;
505
+ type OFFLINE_LZ_CELL = typeof CellPinning_CellType.OFFLINE_LZ_CELL;
506
+ type LEGACY_NW_CELL = typeof CellPinning_CellType.LEGACY_NW_CELL;
507
+ type ONLINE_LZ_CELL = typeof CellPinning_CellType.ONLINE_LZ_CELL;
508
+ type COMPACT_MERCHANT_CELL = typeof CellPinning_CellType.COMPACT_MERCHANT_CELL;
509
+ type KAFKA_CELL_TYPE = typeof CellPinning_CellType.KAFKA_CELL_TYPE;
510
+ type MAINLAND_TOKEN_CELL = typeof CellPinning_CellType.MAINLAND_TOKEN_CELL;
511
+ type STRIPE_CORP_CELL = typeof CellPinning_CellType.STRIPE_CORP_CELL;
512
+ type API_CELL = typeof CellPinning_CellType.API_CELL;
513
+ type LIMITED_FAILOVER_API_CELL = typeof CellPinning_CellType.LIMITED_FAILOVER_API_CELL;
514
+ type CLEARING_CELL = typeof CellPinning_CellType.CLEARING_CELL;
515
+ type SINGLETON_DEFAULT_ONLY_CELL = typeof CellPinning_CellType.SINGLETON_DEFAULT_ONLY_CELL;
516
+ type UNRECOGNIZED = typeof CellPinning_CellType.UNRECOGNIZED;
517
+ }
518
+ /** Fallback options if cell resolution fails */
519
+ export declare const CellPinning_RoutingFallback: {
520
+ /** FALLBACK_INVALID - buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX */
521
+ readonly FALLBACK_INVALID: "FALLBACK_INVALID";
522
+ /** FALLBACK_LOCAL - Route to currently pinned cell */
523
+ readonly FALLBACK_LOCAL: "FALLBACK_LOCAL";
524
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
525
+ };
526
+ export type CellPinning_RoutingFallback = typeof CellPinning_RoutingFallback[keyof typeof CellPinning_RoutingFallback];
527
+ export declare namespace CellPinning_RoutingFallback {
528
+ type FALLBACK_INVALID = typeof CellPinning_RoutingFallback.FALLBACK_INVALID;
529
+ type FALLBACK_LOCAL = typeof CellPinning_RoutingFallback.FALLBACK_LOCAL;
530
+ type UNRECOGNIZED = typeof CellPinning_RoutingFallback.UNRECOGNIZED;
531
+ }
532
+ /**
533
+ * Only used to annotate gRPC request proto messages to indicate the endpoint's
534
+ * cell pinning specification.
535
+ */
536
+ export interface CellPinning_CellPinningSpec {
537
+ type?: CellPinning_CellType | undefined;
538
+ entityIdField?: string | undefined;
539
+ routingPreference?: CellPinning_RoutingPreference | undefined;
540
+ enforcementMode?: CellPinning_EnforcementMode | undefined;
541
+ routingFallback?: CellPinning_RoutingFallback | undefined;
542
+ }
543
+ /**
544
+ * Used for certain endpoints that do not need pinning or cell enforcement at all.
545
+ * These endpoints are required to supply a business reason. Endpoints with a
546
+ * `CellPinningBypass` will default to pinning to the client's cell and route
547
+ * to the same resolved cluster as the client.
548
+ */
549
+ export interface CellPinning_CellPinningBypass {
550
+ reason?: CellPinning_CellPinningBypass_Reason | undefined;
551
+ }
552
+ export declare const CellPinning_CellPinningBypass_Reason: {
553
+ /** REASON_INVALID - buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX */
554
+ readonly REASON_INVALID: "REASON_INVALID";
555
+ readonly INFRA_ENDPOINT: "INFRA_ENDPOINT";
556
+ readonly ADMIN_ENDPOINT: "ADMIN_ENDPOINT";
557
+ /**
558
+ * INTRA_CLUSTER_SECONDARY_READ_ONLY_ENDPOINT - This was originally introduced in Oct 2023 to support application use
559
+ * cases where the client is pinned to merchant A and calls a service
560
+ * primarily reading data belonging to merchant B, but can tolerate
561
+ * eventually consistent data and routes intra-cluster with secondary
562
+ * reads to avoid 1 RPC C-Cost.
563
+ *
564
+ * In the future, this may be replaced by specifying
565
+ * `RoutingPreference.SECONDARY` in the `CellPinningSpec`.
566
+ * See for more details
567
+ */
568
+ readonly INTRA_CLUSTER_SECONDARY_READ_ONLY_ENDPOINT: "INTRA_CLUSTER_SECONDARY_READ_ONLY_ENDPOINT";
569
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
570
+ };
571
+ export type CellPinning_CellPinningBypass_Reason = typeof CellPinning_CellPinningBypass_Reason[keyof typeof CellPinning_CellPinningBypass_Reason];
572
+ export declare namespace CellPinning_CellPinningBypass_Reason {
573
+ type REASON_INVALID = typeof CellPinning_CellPinningBypass_Reason.REASON_INVALID;
574
+ type INFRA_ENDPOINT = typeof CellPinning_CellPinningBypass_Reason.INFRA_ENDPOINT;
575
+ type ADMIN_ENDPOINT = typeof CellPinning_CellPinningBypass_Reason.ADMIN_ENDPOINT;
576
+ type INTRA_CLUSTER_SECONDARY_READ_ONLY_ENDPOINT = typeof CellPinning_CellPinningBypass_Reason.INTRA_CLUSTER_SECONDARY_READ_ONLY_ENDPOINT;
577
+ type UNRECOGNIZED = typeof CellPinning_CellPinningBypass_Reason.UNRECOGNIZED;
578
+ }
579
+ export interface CellPinning_RegionalResiliencyCheck {
580
+ enforcementMode?: CellPinning_RegionalResiliencyCheck_EnforcementMode | undefined;
581
+ }
582
+ export declare const CellPinning_RegionalResiliencyCheck_EnforcementMode: {
583
+ readonly UNSPECIFIED: "UNSPECIFIED";
584
+ readonly ENFORCE: "ENFORCE";
585
+ /** DO_NOT_ENFORCE - please add a comment about why the endpoint should be opted out */
586
+ readonly DO_NOT_ENFORCE: "DO_NOT_ENFORCE";
587
+ /** WIP_DO_NOT_ENFORCE - endpoint moving to multi-region in progress, by pass the check for now */
588
+ readonly WIP_DO_NOT_ENFORCE: "WIP_DO_NOT_ENFORCE";
589
+ readonly UNRECOGNIZED: "UNRECOGNIZED";
590
+ };
591
+ export type CellPinning_RegionalResiliencyCheck_EnforcementMode = typeof CellPinning_RegionalResiliencyCheck_EnforcementMode[keyof typeof CellPinning_RegionalResiliencyCheck_EnforcementMode];
592
+ export declare namespace CellPinning_RegionalResiliencyCheck_EnforcementMode {
593
+ type UNSPECIFIED = typeof CellPinning_RegionalResiliencyCheck_EnforcementMode.UNSPECIFIED;
594
+ type ENFORCE = typeof CellPinning_RegionalResiliencyCheck_EnforcementMode.ENFORCE;
595
+ type DO_NOT_ENFORCE = typeof CellPinning_RegionalResiliencyCheck_EnforcementMode.DO_NOT_ENFORCE;
596
+ type WIP_DO_NOT_ENFORCE = typeof CellPinning_RegionalResiliencyCheck_EnforcementMode.WIP_DO_NOT_ENFORCE;
597
+ type UNRECOGNIZED = typeof CellPinning_RegionalResiliencyCheck_EnforcementMode.UNRECOGNIZED;
598
+ }
599
+ type ProtoMetaMessageOptions = {
600
+ options?: {
601
+ [key: string]: any;
602
+ };
603
+ fields?: {
604
+ [key: string]: {
605
+ [key: string]: any;
606
+ };
607
+ };
608
+ oneof?: {
609
+ [key: string]: {
610
+ [key: string]: any;
611
+ };
612
+ };
613
+ nested?: {
614
+ [key: string]: ProtoMetaMessageOptions;
615
+ };
616
+ };
617
+ export interface ProtoMetadata {
618
+ references: {
619
+ [key: string]: any;
620
+ };
621
+ dependencies?: ProtoMetadata[];
622
+ options?: {
623
+ options?: {
624
+ [key: string]: any;
625
+ };
626
+ services?: {
627
+ [key: string]: {
628
+ options?: {
629
+ [key: string]: any;
630
+ };
631
+ methods?: {
632
+ [key: string]: {
633
+ [key: string]: any;
634
+ };
635
+ };
636
+ };
637
+ };
638
+ messages?: {
639
+ [key: string]: ProtoMetaMessageOptions;
640
+ };
641
+ enums?: {
642
+ [key: string]: {
643
+ options?: {
644
+ [key: string]: any;
645
+ };
646
+ values?: {
647
+ [key: string]: {
648
+ [key: string]: any;
649
+ };
650
+ };
651
+ };
652
+ };
653
+ };
654
+ }
655
+ export declare const protoMetadata: ProtoMetadata;
656
+ export {};
657
+ //# sourceMappingURL=extensions.pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensions.pb.d.ts","sourceRoot":"","sources":["../../../../../src/custom-objects/generated/proto/proto/extensions.pb.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAEhD,oDAAoD;AAEpD;;;GAGG;AACH,eAAO,MAAM,GAAG;IACd;;;OAGG;;IAEH,mCAAmC;;IAEnC,0BAA0B;;;IAG1B;;;;OAIG;;IAEH,oCAAoC;;IAEpC;;;OAGG;;IAEH,gDAAgD;;IAEhD;;;OAGG;;IAEH;;;OAGG;;IAEH,4EAA4E;;IAE5E,2CAA2C;;IAE3C,iFAAiF;;;IAGjF,yEAAyE;;IAEzE;;;OAGG;;IAEH;;;OAGG;;IAEH,kEAAkE;;;CAG1D,CAAC;AAEX,MAAM,MAAM,GAAG,G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